Class ProjectsResource.LocationsResource.StoragePoolsResource.OntapResource.ExecuteOntapPostRequest
ExecuteOntapPost dispatches the ONTAP POST request to the StoragePool cluster.
Inheritance
ProjectsResource.LocationsResource.StoragePoolsResource.OntapResource.ExecuteOntapPostRequest
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1beta1
Assembly: Google.Apis.NetAppFiles.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.StoragePoolsResource.OntapResource.ExecuteOntapPostRequest : NetAppFilesBaseServiceRequest<ExecuteOntapPostResponse>, IClientServiceRequest<ExecuteOntapPostResponse>, IClientServiceRequest
Constructors
ExecuteOntapPostRequest(IClientService, ExecuteOntapPostRequest, string)
Constructs a new ExecuteOntapPost request.
Declaration
public ExecuteOntapPostRequest(IClientService service, ExecuteOntapPostRequest body, string ontapPath)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ExecuteOntapPostRequest | body | |
| string | ontapPath |
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
OntapPath
Required. The resource path of the ONTAP resource. Format:
projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}.
For example:
projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes.
Declaration
[RequestParameter("ontapPath", RequestParameterType.Path)]
public virtual string OntapPath { 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 ExecuteOntapPost parameter list.
Declaration
protected override void InitParameters()