ProjectsLocationsVmwareAdminClusters
class ProjectsLocationsVmwareAdminClusters extends Resource (View source)
The "vmwareAdminClusters" collection of methods.
Typical usage is:
$gkeonpremService = new Google\Service\GKEOnPrem(...);
$vmwareAdminClusters = $gkeonpremService->projects_locations_vmwareAdminClusters;
Methods
Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API. (vmwareAdminClusters.enroll)
Gets details of a single VMware admin cluster. (vmwareAdminClusters.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Lists VMware admin clusters in a given project and location.
Updates the parameters of a single VMware admin cluster.
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (vmwareAdminClusters.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 admin cluster 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 will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients. (vmwareAdminClusters.unenroll)
Details
Operation
enroll(string $parent, EnrollVmwareAdminClusterRequest $postBody, array $optParams = [])
Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API. (vmwareAdminClusters.enroll)
VmwareAdminCluster
get(string $name, array $optParams = [])
Gets details of a single VMware admin cluster. (vmwareAdminClusters.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.
(vmwareAdminClusters.getIamPolicy)
ListVmwareAdminClustersResponse
listProjectsLocationsVmwareAdminClusters(string $parent, array $optParams = [])
Lists VMware admin clusters in a given project and location.
(vmwareAdminClusters.listProjectsLocationsVmwareAdminClusters)
Operation
patch(string $name, VmwareAdminCluster $postBody, array $optParams = [])
Updates the parameters of a single VMware admin cluster.
(vmwareAdminClusters.patch)
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. (vmwareAdminClusters.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. (vmwareAdminClusters.testIamPermissions)
Operation
unenroll(string $name, array $optParams = [])
Unenrolls an existing VMware admin cluster 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 will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients. (vmwareAdminClusters.unenroll)