class CustomersDeployments extends Resource (View source)

The "deployments" collection of methods.

Typical usage is:

 $sasportalService = new Google\Service\Sasportal(...);
 $deployments = $sasportalService->customers_deployments;

Methods

create(string $parent, SasPortalDeployment $postBody, array $optParams = [])

Creates a new deployment. (deployments.create)

delete(string $name, array $optParams = [])

Deletes a deployment. (deployments.delete)

get(string $name, array $optParams = [])

Returns a requested deployment. (deployments.get)

listCustomersDeployments(string $parent, array $optParams = [])

Lists deployments. (deployments.listCustomersDeployments)

move(string $name, SasPortalMoveDeploymentRequest $postBody, array $optParams = [])

Moves a deployment under another node or customer. (deployments.move)

patch(string $name, SasPortalDeployment $postBody, array $optParams = [])

Updates an existing deployment. (deployments.patch)

Details

SasPortalDeployment create(string $parent, SasPortalDeployment $postBody, array $optParams = [])

Creates a new deployment. (deployments.create)

Parameters

string $parent

Required. The parent resource name where the deployment is to be created.

SasPortalDeployment $postBody
array $optParams

Optional parameters.

Return Value

SasPortalDeployment

Exceptions

Exception

SasPortalEmpty delete(string $name, array $optParams = [])

Deletes a deployment. (deployments.delete)

Parameters

string $name

Required. The name of the deployment.

array $optParams

Optional parameters.

Return Value

SasPortalEmpty

Exceptions

Exception

SasPortalDeployment get(string $name, array $optParams = [])

Returns a requested deployment. (deployments.get)

Parameters

string $name

Required. The name of the deployment.

array $optParams

Optional parameters.

Return Value

SasPortalDeployment

Exceptions

Exception

SasPortalListDeploymentsResponse listCustomersDeployments(string $parent, array $optParams = [])

Lists deployments. (deployments.listCustomersDeployments)

Parameters

string $parent

Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.

array $optParams

Optional parameters.

Return Value

SasPortalListDeploymentsResponse

Exceptions

Exception

SasPortalOperation move(string $name, SasPortalMoveDeploymentRequest $postBody, array $optParams = [])

Moves a deployment under another node or customer. (deployments.move)

Parameters

string $name

Required. The name of the deployment to move.

SasPortalMoveDeploymentRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalOperation

Exceptions

Exception

SasPortalDeployment patch(string $name, SasPortalDeployment $postBody, array $optParams = [])

Updates an existing deployment. (deployments.patch)

Parameters

string $name

Output only. Resource name.

SasPortalDeployment $postBody
array $optParams

Optional parameters.

Return Value

SasPortalDeployment

Exceptions

Exception