Class ProjectsResource.LocationsResource.PrivateCloudsResource.ClustersResource.MountDatastoreRequest
Mounts a Datastore on a cluster resource Datastores are zonal resources
Inheritance
ProjectsResource.LocationsResource.PrivateCloudsResource.ClustersResource.MountDatastoreRequest
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PrivateCloudsResource.ClustersResource.MountDatastoreRequest : VMwareEngineBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
MountDatastoreRequest(IClientService, MountDatastoreRequest, string)
Constructs a new MountDatastore request.
Declaration
public MountDatastoreRequest(IClientService service, MountDatastoreRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| MountDatastoreRequest | body | |
| string | name |
Properties
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
Name
Required. The resource name of the cluster to mount the datastore. Resource names are
schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes MountDatastore parameter list.
Declaration
protected override void InitParameters()