Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource

The "bareMetalNodePools" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GKEOnPrem.v1
Assembly: Google.Apis.GKEOnPrem.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource

Constructors

BareMetalNodePoolsResource(IClientService)

Constructs a new resource.

Declaration
public BareMetalNodePoolsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Operations

Gets the Operations resource.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.OperationsResource Operations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.OperationsResource

Methods

Create(BareMetalNodePool, string)

Creates a new bare metal node pool in a given project, location and Bare Metal cluster.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.CreateRequest Create(BareMetalNodePool body, string parent)
Parameters
Type Name Description
BareMetalNodePool body

The body of the request.

string parent

Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.CreateRequest

Delete(string)

Deletes a single bare metal node pool.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the node pool to delete. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.DeleteRequest

Enroll(EnrollBareMetalNodePoolRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.EnrollRequest Enroll(EnrollBareMetalNodePoolRequest body, string parent)
Parameters
Type Name Description
EnrollBareMetalNodePoolRequest body

The body of the request.

string parent

Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.EnrollRequest

Get(string)

Gets details of a single bare metal node pool.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the node pool to retrieve. projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.GetRequest

GetIamPolicy(string)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type Name Description
string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.GetIamPolicyRequest

List(string)

Lists bare metal node pools in a given project, location and bare metal cluster.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of node pools. Format: projects/{project}/locations/{location}/bareMetalClusters/{bareMetalCluster}

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.ListRequest

Patch(BareMetalNodePool, string)

Updates the parameters of a single bare metal node pool.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.PatchRequest Patch(BareMetalNodePool body, string name)
Parameters
Type Name Description
BareMetalNodePool body

The body of the request.

string name

Immutable. The bare metal node pool resource name.

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.PatchRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.SetIamPolicyRequest

TestIamPermissions(TestIamPermissionsRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.TestIamPermissionsRequest

Unenroll(string)

Unenrolls a bare metal node pool from Anthos On-Prem API.

Declaration
public virtual ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.UnenrollRequest Unenroll(string name)
Parameters
Type Name Description
string name

Required. The name of the node pool to unenroll. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}

Returns
Type Description
ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.UnenrollRequest
In this article
Back to top Generated by DocFX