NetApp API . projects . locations . storagePools . ontap

Instance Methods

close()

Close httplib2 connections.

executeOntapDelete(ontapPath, x__xgafv=None)

`ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.

executeOntapGet(ontapPath, x__xgafv=None)

`ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster.

executeOntapPatch(ontapPath, body=None, x__xgafv=None)

`ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster.

executeOntapPost(ontapPath, body=None, x__xgafv=None)

`ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster.

Method Details

close()
Close httplib2 connections.
executeOntapDelete(ontapPath, x__xgafv=None)
`ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.

Args:
  ontapPath: string, 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`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for `ExecuteOntapDelete` API.
  "body": { # The raw `JSON` body of the response.
    "a_key": "", # Properties of the object.
  },
}
executeOntapGet(ontapPath, x__xgafv=None)
`ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster.

Args:
  ontapPath: string, 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`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for `ExecuteOntapGet` API.
  "body": { # The raw `JSON` body of the response.
    "a_key": "", # Properties of the object.
  },
}
executeOntapPatch(ontapPath, body=None, x__xgafv=None)
`ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster.

Args:
  ontapPath: string, 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`. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for `ExecuteOntapPatch` API.
  "body": { # Required. The raw `JSON` body of the request. The body should be in the format of the ONTAP resource. For example: ``` { "body": { "field1": "value1", "field2": "value2", } } ```
    "a_key": "", # Properties of the object.
  },
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for `ExecuteOntapPatch` API.
  "body": { # The raw `JSON` body of the response.
    "a_key": "", # Properties of the object.
  },
}
executeOntapPost(ontapPath, body=None, x__xgafv=None)
`ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster.

Args:
  ontapPath: string, 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`. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for `ExecuteOntapPost` API.
  "body": { # Required. The raw `JSON` body of the request. The body should be in the format of the ONTAP resource. For example: ``` { "body": { "field1": "value1", "field2": "value2", } } ```
    "a_key": "", # Properties of the object.
  },
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for `ExecuteOntapPost` API.
  "body": { # The raw `JSON` body of the response.
    "a_key": "", # Properties of the object.
  },
}