ProjectsLocationsVmwareClusters
class ProjectsLocationsVmwareClusters extends Resource (View source)
The "vmwareClusters" collection of methods.
Typical usage is:
$gkeonpremService = new Google\Service\GKEOnPrem(...);
$vmwareClusters = $gkeonpremService->projects_locations_vmwareClusters;
Methods
Creates a new VMware user cluster in a given project and location.
Deletes a single VMware Cluster. (vmwareClusters.delete)
Enrolls an existing VMware user cluster and its node pools to the Anthos On- Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.
Gets details of a single VMware Cluster. (vmwareClusters.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (vmwareClusters.getIamPolicy)
Lists VMware Clusters in a given project and location.
Updates the parameters of a single VMware cluster. (vmwareClusters.patch)
Queries the VMware user cluster version config.
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (vmwareClusters.setIamPolicy)
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.
Unenrolls an existing VMware user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or UI.
Details
Operation
create(string $parent, VmwareCluster $postBody, array $optParams = [])
Creates a new VMware user cluster in a given project and location.
(vmwareClusters.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single VMware Cluster. (vmwareClusters.delete)
Operation
enroll(string $parent, EnrollVmwareClusterRequest $postBody, array $optParams = [])
Enrolls an existing VMware user cluster and its node pools to the Anthos On- Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.
(vmwareClusters.enroll)
VmwareCluster
get(string $name, array $optParams = [])
Gets details of a single VMware Cluster. (vmwareClusters.get)
Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (vmwareClusters.getIamPolicy)
ListVmwareClustersResponse
listProjectsLocationsVmwareClusters(string $parent, array $optParams = [])
Lists VMware Clusters in a given project and location.
(vmwareClusters.listProjectsLocationsVmwareClusters)
Operation
patch(string $name, VmwareCluster $postBody, array $optParams = [])
Updates the parameters of a single VMware cluster. (vmwareClusters.patch)
QueryVmwareVersionConfigResponse
queryVersionConfig(string $parent, array $optParams = [])
Queries the VMware user cluster version config.
(vmwareClusters.queryVersionConfig)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (vmwareClusters.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
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. (vmwareClusters.testIamPermissions)
Operation
unenroll(string $name, array $optParams = [])
Unenrolls an existing VMware user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or UI.
(vmwareClusters.unenroll)