Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class VmwareEngineClient.
Service Description: VMwareEngine manages VMware's private clusters in the Cloud.
This class is currently experimental and may be subject to changes.
Namespace
Google \ Cloud \ VmwareEngine \ V1 \ ClientMethods
__construct
Constructor.
options
array
Optional. Options for configuring the service API wrapper.
↳ apiEndpoint
string
The address of the API remote host. May optionally include the port, formatted as "
↳ credentials
string|array|FetchAuthTokenInterface|CredentialsWrapper
The credentials to be used by the client to authorize API calls. This option accepts either a path to a credentials file, or a decoded credentials file as a PHP array. Advanced usage : In addition, this option can also accept a pre-constructed Google\Auth\FetchAuthTokenInterface object or Google\ApiCore\CredentialsWrapper object. Note that when one of these objects are provided, any settings in $credentialsConfig will be ignored.
↳ credentialsConfig
array
Options used to configure credentials, including auth token caching, for the client. For a full list of supporting configuration options, see Google\ApiCore\CredentialsWrapper::build() .
↳ disableRetries
bool
Determines whether or not retries defined by the client configuration should be disabled. Defaults to false
.
↳ clientConfig
string|array
Client method configuration, including retry settings. This option can be either a path to a JSON file, or a PHP array containing the decoded JSON data. By default this settings points to the default client config file, which is provided in the resources folder.
↳ transport
string|TransportInterface
The transport used for executing network requests. May be either the string rest
or grpc
. Defaults to grpc
if gRPC support is detected on the system. Advanced usage
: Additionally, it is possible to pass in an already instantiated Google\ApiCore\Transport\TransportInterface
object. Note that when this object is provided, any settings in $transportConfig, and any $apiEndpoint setting, will be ignored.
↳ transportConfig
array
Configuration options that will be used to construct the transport. Options for each supported transport type should be passed in a key for that transport. For example: $transportConfig = [ 'grpc' => [...], 'rest' => [...], ]; See the Google\ApiCore\Transport\GrpcTransport::build() and Google\ApiCore\Transport\RestTransport::build() methods for the supported options.
↳ clientCertSource
callable
A callable which returns the client cert as a string. This can be used to provide a certificate and private key to the transport layer for mTLS.
createCluster
Creates a new cluster in a given private cloud.
Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota .
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::createClusterAsync() .
request
Google\Cloud\VmwareEngine\V1\CreateClusterRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
createHcxActivationKey
Creates a new HCX activation key in a given private cloud.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::createHcxActivationKeyAsync() .
request
Google\Cloud\VmwareEngine\V1\CreateHcxActivationKeyRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
createNetworkPolicy
Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::createNetworkPolicyAsync() .
request
Google\Cloud\VmwareEngine\V1\CreateNetworkPolicyRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
createPrivateCloud
Creates a new PrivateCloud
resource in a given project and location.
Private clouds can only be created in zones, regional private clouds are not supported.
Creating a private cloud also creates a management cluster for that private cloud.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::createPrivateCloudAsync() .
request
Google\Cloud\VmwareEngine\V1\CreatePrivateCloudRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
createVmwareEngineNetwork
Creates a new VMware Engine network that can be used by a private cloud.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::createVmwareEngineNetworkAsync() .
request
Google\Cloud\VmwareEngine\V1\CreateVmwareEngineNetworkRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
deleteCluster
Deletes a Cluster
resource. To avoid unintended data loss, migrate or
gracefully shut down any workloads running on the cluster before deletion.
You cannot delete the management cluster of a private cloud using this method.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::deleteClusterAsync() .
request
Google\Cloud\VmwareEngine\V1\DeleteClusterRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
deleteNetworkPolicy
Deletes a NetworkPolicy
resource. A network policy cannot be deleted
when NetworkService.state
is set to RECONCILING
for either its external
IP or internet access service.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::deleteNetworkPolicyAsync() .
request
Google\Cloud\VmwareEngine\V1\DeleteNetworkPolicyRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
deletePrivateCloud
Schedules a PrivateCloud
resource for deletion.
A PrivateCloud
resource scheduled for deletion has PrivateCloud.state
set to DELETED
and expireTime
set to the time when deletion is final
and can no longer be reversed. The delete operation is marked as done
as soon as the PrivateCloud
is successfully scheduled for deletion
(this also applies when delayHours
is set to zero), and the operation is
not kept in pending state until PrivateCloud
is purged. PrivateCloud
can be restored using UndeletePrivateCloud
method before
the expireTime
elapses. When expireTime
is reached, deletion is final
and all private cloud resources are irreversibly removed and billing stops.
During the final removal process, PrivateCloud.state
is set to PURGING
. PrivateCloud
can be polled using standard GET
method for the whole
period of deletion and purging. It will not be returned only
when it is completely purged.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::deletePrivateCloudAsync() .
request
Google\Cloud\VmwareEngine\V1\DeletePrivateCloudRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
deleteVmwareEngineNetwork
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.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::deleteVmwareEngineNetworkAsync() .
request
Google\Cloud\VmwareEngine\V1\DeleteVmwareEngineNetworkRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
getCluster
Retrieves a Cluster
resource by its resource name.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::getClusterAsync() .
request
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
getHcxActivationKey
Retrieves a HcxActivationKey
resource by its resource name.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::getHcxActivationKeyAsync() .
request
Google\Cloud\VmwareEngine\V1\GetHcxActivationKeyRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
getNetworkPolicy
Retrieves a NetworkPolicy
resource by its resource name.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::getNetworkPolicyAsync() .
request
Google\Cloud\VmwareEngine\V1\GetNetworkPolicyRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
getNodeType
Gets details of a single NodeType
.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::getNodeTypeAsync() .
request
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
getPrivateCloud
Retrieves a PrivateCloud
resource by its resource name.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::getPrivateCloudAsync() .
request
Google\Cloud\VmwareEngine\V1\GetPrivateCloudRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
getVmwareEngineNetwork
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
).
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::getVmwareEngineNetworkAsync() .
request
Google\Cloud\VmwareEngine\V1\GetVmwareEngineNetworkRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
listClusters
Lists Cluster
resources in a given private cloud.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::listClustersAsync() .
request
Google\Cloud\VmwareEngine\V1\ListClustersRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
listHcxActivationKeys
Lists HcxActivationKey
resources in a given private cloud.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::listHcxActivationKeysAsync() .
request
Google\Cloud\VmwareEngine\V1\ListHcxActivationKeysRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
listNetworkPolicies
Lists NetworkPolicy
resources in a specified project and location.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::listNetworkPoliciesAsync() .
request
Google\Cloud\VmwareEngine\V1\ListNetworkPoliciesRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
listNodeTypes
Lists node types
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::listNodeTypesAsync() .
request
Google\Cloud\VmwareEngine\V1\ListNodeTypesRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
listPrivateClouds
Lists PrivateCloud
resources in a given project and location.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::listPrivateCloudsAsync() .
request
Google\Cloud\VmwareEngine\V1\ListPrivateCloudsRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
listSubnets
Lists subnets in a given private cloud.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::listSubnetsAsync() .
request
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
listVmwareEngineNetworks
Lists VmwareEngineNetwork
resources in a given project and location.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::listVmwareEngineNetworksAsync() .
request
Google\Cloud\VmwareEngine\V1\ListVmwareEngineNetworksRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
resetNsxCredentials
Resets credentials of the NSX appliance.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::resetNsxCredentialsAsync() .
request
Google\Cloud\VmwareEngine\V1\ResetNsxCredentialsRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
resetVcenterCredentials
Resets credentials of the Vcenter appliance.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::resetVcenterCredentialsAsync() .
request
Google\Cloud\VmwareEngine\V1\ResetVcenterCredentialsRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
showNsxCredentials
Gets details of credentials for NSX appliance.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::showNsxCredentialsAsync() .
request
Google\Cloud\VmwareEngine\V1\ShowNsxCredentialsRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
showVcenterCredentials
Gets details of credentials for Vcenter appliance.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::showVcenterCredentialsAsync() .
request
Google\Cloud\VmwareEngine\V1\ShowVcenterCredentialsRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
undeletePrivateCloud
Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud
. A PrivateCloud
resource scheduled for deletion has PrivateCloud.state
set to DELETED
and PrivateCloud.expireTime
set to
the time when deletion can no longer be reversed.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::undeletePrivateCloudAsync() .
request
Google\Cloud\VmwareEngine\V1\UndeletePrivateCloudRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
updateCluster
Modifies a Cluster
resource. Only the following fields can be updated: node_type_configs.*.node_count
. Only fields specified in updateMask
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.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::updateClusterAsync() .
request
Google\Cloud\VmwareEngine\V1\UpdateClusterRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
updateNetworkPolicy
Modifies a NetworkPolicy
resource. Only the following fields can be
updated: internet_access
, external_ip
, edge_services_cidr
.
Only fields specified in updateMask
are applied. When updating a network
policy, the external IP network service can only be disabled if there are
no external IP addresses present in the scope of the policy. Also, a NetworkService
cannot be updated when NetworkService.state
is set
to RECONCILING
.
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.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::updateNetworkPolicyAsync() .
request
Google\Cloud\VmwareEngine\V1\UpdateNetworkPolicyRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
updatePrivateCloud
Modifies a PrivateCloud
resource. Only the following fields can be
updated: description
.
Only fields specified in updateMask
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.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::updatePrivateCloudAsync() .
request
Google\Cloud\VmwareEngine\V1\UpdatePrivateCloudRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
updateVmwareEngineNetwork
Modifies a VMware Engine network resource. Only the following fields can be
updated: description
. Only fields specified in updateMask
are
applied.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::updateVmwareEngineNetworkAsync() .
request
Google\Cloud\VmwareEngine\V1\UpdateVmwareEngineNetworkRequest
A request to house fields associated with the call.
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
getLocation
Gets information about a location.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::getLocationAsync() .
request
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
listLocations
Lists information about the supported locations for this service.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::listLocationsAsync() .
request
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
getIamPolicy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::getIamPolicyAsync() .
request
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
setIamPolicy
Sets the access control policy on the specified resource. Replaces any existing policy.
Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::setIamPolicyAsync() .
request
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
testIamPermissions
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND
error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
The async variant is Google\Cloud\VmwareEngine\V1\Client\BaseClient\self::testIamPermissionsAsync() .
request
callOptions
array
Optional.
↳ retrySettings
RetrySettings|array
Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.
createClusterAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
createHcxActivationKeyAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
createNetworkPolicyAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
createPrivateCloudAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
createVmwareEngineNetworkAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
deleteClusterAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
deleteNetworkPolicyAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
deletePrivateCloudAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
deleteVmwareEngineNetworkAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getClusterAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getHcxActivationKeyAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getNetworkPolicyAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getNodeTypeAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getPrivateCloudAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getVmwareEngineNetworkAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
listClustersAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
listHcxActivationKeysAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
listNetworkPoliciesAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
listNodeTypesAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
listPrivateCloudsAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
listSubnetsAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
listVmwareEngineNetworksAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
resetNsxCredentialsAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
resetVcenterCredentialsAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
showNsxCredentialsAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
showVcenterCredentialsAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
undeletePrivateCloudAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
updateClusterAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
updateNetworkPolicyAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
updatePrivateCloudAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
updateVmwareEngineNetworkAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getLocationAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
listLocationsAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getIamPolicyAsync
GuzzleHttp\Promise\PromiseInterface
setIamPolicyAsync
GuzzleHttp\Promise\PromiseInterface
testIamPermissionsAsync
optionalArgs = []
array
GuzzleHttp\Promise\PromiseInterface
getOperationsClient
Return an OperationsClient object with the same endpoint as $this.
resumeOperation
Resume an existing long running operation that was previously started by a long running API method. If $methodName is not provided, or does not match a long running API method, then the operation can still be resumed, but the OperationResponse object will not deserialize the final response.
operationName
string
The name of the long running operation
methodName
string
The name of the method used to start the operation
static::clusterName
Formats a string containing the fully-qualified path to represent a cluster resource.
project
string
location
string
privateCloud
string
cluster
string
string
static::hcxActivationKeyName
Formats a string containing the fully-qualified path to represent a hcx_activation_key resource.
project
string
location
string
privateCloud
string
hcxActivationKey
string
string
static::locationName
Formats a string containing the fully-qualified path to represent a location resource.
project
string
location
string
string
static::networkName
Formats a string containing the fully-qualified path to represent a network resource.
project
string
network
string
string
static::networkPolicyName
Formats a string containing the fully-qualified path to represent a network_policy resource.
project
string
location
string
networkPolicy
string
string
static::nodeTypeName
Formats a string containing the fully-qualified path to represent a node_type resource.
project
string
location
string
nodeType
string
string
static::privateCloudName
Formats a string containing the fully-qualified path to represent a private_cloud resource.
project
string
location
string
privateCloud
string
string
static::vmwareEngineNetworkName
Formats a string containing the fully-qualified path to represent a vmware_engine_network resource.
project
string
location
string
vmwareEngineNetwork
string
string
static::parseName
Parses a formatted name string and returns an associative array of the components in the name.
The following name formats are supported: Template: Pattern
- cluster: projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}
- hcxActivationKey: projects/{project}/locations/{location}/privateClouds/{private_cloud}/hcxActivationKeys/{hcx_activation_key}
- location: projects/{project}/locations/{location}
- network: projects/{project}/global/networks/{network}
- networkPolicy: projects/{project}/locations/{location}/networkPolicies/{network_policy}
- nodeType: projects/{project}/locations/{location}/nodeTypes/{node_type}
- privateCloud: projects/{project}/locations/{location}/privateClouds/{private_cloud}
- vmwareEngineNetwork: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network}
The optional $template argument can be supplied to specify a particular pattern, and must match one of the templates listed above. If no $template argument is provided, or if the $template argument does not match one of the templates listed, then parseName will check each of the supported templates, and return the first match.
formattedName
string
The formatted name string
template
string
Optional name of template to match
array