class ProjectsLocationsVmwareEngineNetworks extends Resource (View source)

The "vmwareEngineNetworks" collection of methods.

Typical usage is:

 $vmwareengineService = new Google\Service\VMwareEngine(...);
 $vmwareEngineNetworks = $vmwareengineService->projects_locations_vmwareEngineNetworks;

Methods

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

Creates a new VMware Engine network that can be used by a private cloud.

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

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network. (vmwareEngineNetworks.delete)

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

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING). (vmwareEngineNetworks.get)

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

Lists VmwareEngineNetwork resources in a given project and location.

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

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

Details

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

Creates a new VMware Engine network that can be used by a private cloud.

(vmwareEngineNetworks.create)

Parameters

string $parent

Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type LEGACY is a regional resource, and a VMware Engine network of type STANDARD is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

VmwareEngineNetwork $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network. (vmwareEngineNetworks.delete)

Parameters

string $name

Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING). (vmwareEngineNetworks.get)

Parameters

string $name

Required. The resource name of the VMware Engine network 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/global/vmwareEngineNetworks/my-network

array $optParams

Optional parameters.

Return Value

VmwareEngineNetwork

Exceptions

Exception

ListVmwareEngineNetworksResponse listProjectsLocationsVmwareEngineNetworks(string $parent, array $optParams = [])

Lists VmwareEngineNetwork resources in a given project and location.

(vmwareEngineNetworks.listProjectsLocationsVmwareEngineNetworks)

Parameters

string $parent

Required. The resource name of the location to query for VMware Engine networks. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

array $optParams

Optional parameters.

Return Value

ListVmwareEngineNetworksResponse

Exceptions

Exception

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

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

(vmwareEngineNetworks.patch)

Parameters

string $name

Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

VmwareEngineNetwork $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception