ProjectsLocationsBareMetalClustersBareMetalNodePools
class ProjectsLocationsBareMetalClustersBareMetalNodePools extends Resource (View source)
The "bareMetalNodePools" collection of methods.
Typical usage is:
$gkeonpremService = new Google\Service\GKEOnPrem(...);
$bareMetalNodePools = $gkeonpremService->projects_locations_bareMetalClusters_bareMetalNodePools;
Methods
Creates a new bare metal node pool in a given project, location and Bare Metal cluster. (bareMetalNodePools.create)
Deletes a single bare metal node pool. (bareMetalNodePools.delete)
Enrolls an existing bare metal node pool to the Anthos On-Prem API within a given project and location. Through enrollment, an existing node pool will become Anthos On-Prem API managed. The corresponding GCP resources will be created. (bareMetalNodePools.enroll)
Gets details of a single bare metal node pool. (bareMetalNodePools.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 bare metal node pools in a given project, location and bare metal cluster.
Updates the parameters of a single bare metal node pool.
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (bareMetalNodePools.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.
Details
Operation
create(string $parent, BareMetalNodePool $postBody, array $optParams = [])
Creates a new bare metal node pool in a given project, location and Bare Metal cluster. (bareMetalNodePools.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single bare metal node pool. (bareMetalNodePools.delete)
Operation
enroll(string $parent, EnrollBareMetalNodePoolRequest $postBody, array $optParams = [])
Enrolls an existing bare metal node pool to the Anthos On-Prem API within a given project and location. Through enrollment, an existing node pool will become Anthos On-Prem API managed. The corresponding GCP resources will be created. (bareMetalNodePools.enroll)
BareMetalNodePool
get(string $name, array $optParams = [])
Gets details of a single bare metal node pool. (bareMetalNodePools.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.
(bareMetalNodePools.getIamPolicy)
ListBareMetalNodePoolsResponse
listProjectsLocationsBareMetalClustersBareMetalNodePools(string $parent, array $optParams = [])
Lists bare metal node pools in a given project, location and bare metal cluster.
(bareMetalNodePools.listProjectsLocationsBareMetalClustersBareMetalNodePools)
Operation
patch(string $name, BareMetalNodePool $postBody, array $optParams = [])
Updates the parameters of a single bare metal node pool.
(bareMetalNodePools.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. (bareMetalNodePools.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. (bareMetalNodePools.testIamPermissions)
Operation
unenroll(string $name, array $optParams = [])
Unenrolls a bare metal node pool from Anthos On-Prem API.
(bareMetalNodePools.unenroll)