Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a cluster within an instance.
See: Cloud Bigtable Admin API Reference for bigtableadmin.projects.instances.clusters.create
.
Synopsis
- type ProjectsInstancesClustersCreateResource = "v2" :> (Capture "parent" Text :> ("clusters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "clusterId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Cluster :> Post '[JSON] Operation))))))))))
- projectsInstancesClustersCreate :: Text -> Cluster -> ProjectsInstancesClustersCreate
- data ProjectsInstancesClustersCreate
- piccParent :: Lens' ProjectsInstancesClustersCreate Text
- piccXgafv :: Lens' ProjectsInstancesClustersCreate (Maybe Xgafv)
- piccUploadProtocol :: Lens' ProjectsInstancesClustersCreate (Maybe Text)
- piccAccessToken :: Lens' ProjectsInstancesClustersCreate (Maybe Text)
- piccUploadType :: Lens' ProjectsInstancesClustersCreate (Maybe Text)
- piccPayload :: Lens' ProjectsInstancesClustersCreate Cluster
- piccClusterId :: Lens' ProjectsInstancesClustersCreate (Maybe Text)
- piccCallback :: Lens' ProjectsInstancesClustersCreate (Maybe Text)
REST Resource
type ProjectsInstancesClustersCreateResource = "v2" :> (Capture "parent" Text :> ("clusters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "clusterId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Cluster :> Post '[JSON] Operation)))))))))) Source #
A resource alias for bigtableadmin.projects.instances.clusters.create
method which the
ProjectsInstancesClustersCreate
request conforms to.
Creating a Request
projectsInstancesClustersCreate Source #
Creates a value of ProjectsInstancesClustersCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesClustersCreate Source #
Creates a cluster within an instance.
See: projectsInstancesClustersCreate
smart constructor.
Instances
Request Lenses
piccParent :: Lens' ProjectsInstancesClustersCreate Text Source #
The unique name of the instance in which to create the new cluster. Values are of the form `projects//instances/`.
piccUploadProtocol :: Lens' ProjectsInstancesClustersCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
piccAccessToken :: Lens' ProjectsInstancesClustersCreate (Maybe Text) Source #
OAuth access token.
piccUploadType :: Lens' ProjectsInstancesClustersCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
piccPayload :: Lens' ProjectsInstancesClustersCreate Cluster Source #
Multipart request metadata.
piccClusterId :: Lens' ProjectsInstancesClustersCreate (Maybe Text) Source #
The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.
piccCallback :: Lens' ProjectsInstancesClustersCreate (Maybe Text) Source #
JSONP