Method: projects.locations.deploymentResourcePools.create

Create a DeploymentResourcePool.

HTTP request

POST https://{service-endpoint}/v1/{parent}/deploymentResourcePools

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

Parameters
parent

string

Required. The parent location resource where this DeploymentResourcePool will be created. Format: projects/{project}/locations/{location}

Request body

The request body contains data with the following structure:

JSON representation
{
  "deploymentResourcePool": {
    object (DeploymentResourcePool)
  },
  "deploymentResourcePoolId": string
}
Fields
deploymentResourcePool

object (DeploymentResourcePool)

Required. The DeploymentResourcePool to create.

deploymentResourcePoolId

string

Required. The ID to use for the DeploymentResourcePool, which will become the final component of the DeploymentResourcePool's resource name.

The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.

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:

  • aiplatform.deploymentResourcePools.create

For more information, see the IAM documentation.