class ProjectsLocationsPrivateCloudsExternalAddresses extends Resource (View source)

The "externalAddresses" collection of methods.

Typical usage is:

 $vmwareengineService = new Google\Service\VMwareEngine(...);
 $externalAddresses = $vmwareengineService->projects_locations_privateClouds_externalAddresses;

Methods

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

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

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

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost. (externalAddresses.delete)

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

Gets details of a single external IP address. (externalAddresses.get)

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

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

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

Updates the parameters of a single external IP address. Only fields specified in update_mask are applied. During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes. (externalAddresses.patch)

Details

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

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

(externalAddresses.create)

Parameters

string $parent

Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

ExternalAddress $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost. (externalAddresses.delete)

Parameters

string $name

Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my- cloud/externalAddresses/my-ip

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single external IP address. (externalAddresses.get)

Parameters

string $name

Required. The resource name of the external IP address to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my- cloud/externalAddresses/my-ip

array $optParams

Optional parameters.

Return Value

ExternalAddress

Exceptions

Exception

ListExternalAddressesResponse listProjectsLocationsPrivateCloudsExternalAddresses(string $parent, array $optParams = [])

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

(externalAddresses.listProjectsLocationsPrivateCloudsExternalAddresses)

Parameters

string $parent

Required. The resource name of the private cloud to be queried for external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

array $optParams

Optional parameters.

Return Value

ListExternalAddressesResponse

Exceptions

Exception

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

Updates the parameters of a single external IP address. Only fields specified in update_mask are applied. During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes. (externalAddresses.patch)

Parameters

string $name

Output only. The resource name of this external IP address. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my- cloud/externalAddresses/my-address

ExternalAddress $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception