Class ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.CreateRequest
Creates a new bare metal node pool in a given project, location and Bare Metal cluster.
Inheritance
Inherited Members
Namespace: Google.Apis.GKEOnPrem.v1
Assembly: Google.Apis.GKEOnPrem.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BareMetalClustersResource.BareMetalNodePoolsResource.CreateRequest : GKEOnPremBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, BareMetalNodePool, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, BareMetalNodePool body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BareMetalNodePool | body | |
string | parent |
Properties
BareMetalNodePoolId
The ID to use for the node pool, which will become the final component of the node pool's resource name. This value must be up to 63 characters, and valid characters are /a-z-/. The value must not be permitted to be a UUID (or UUID-like: anything matching /^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).
Declaration
[RequestParameter("bareMetalNodePoolId", RequestParameterType.Query)]
public virtual string BareMetalNodePoolId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ValidateOnly
If set, only validate the request, but do not actually create the node pool.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()