- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Creates a new AttachedCluster
resource on a given Google Cloud Platform project and region.
If successful, the response contains a newly created Operation
resource that can be described to track the status of the operation.
HTTP request
POST https://{endpoint}/v1/{parent=projects/*/locations/*}/attachedClusters
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent location where this Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
Query parameters
Parameters | |
---|---|
attachedClusterId |
Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the Valid characters are |
validateOnly |
If set, only validate the request, but do not actually create the cluster. |
Request body
The request body contains an instance of AttachedCluster
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
gkemulticloud.attachedClusters.create
For more information, see the IAM documentation.