azure.mgmt.netapp.operations module¶
-
class
azure.mgmt.netapp.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Describes the Resource Provider.
Lists all of the available Microsoft.NetApp Rest API operations.
- Parameters
- Returns
An iterator like instance of Operation
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
NetAppResourceOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
NetAppResourceOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
check_file_path_availability
(location, name, type, resource_group, custom_headers=None, raw=False, **operation_config)[source]¶ Check file path availability.
Check if a file path is available.
- Parameters
location (str) – The location
name (str) – Resource name to verify.
type (str or CheckNameResourceTypes) – Resource type used for verification. Possible values include: ‘Microsoft.NetApp/netAppAccounts’, ‘Microsoft.NetApp/netAppAccounts/capacityPools’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots’
resource_group (str) – Resource group name.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
CheckAvailabilityResponse or ClientRawResponse if raw=true
- Return type
CheckAvailabilityResponse or ClientRawResponse
- Raises
CloudError
-
check_name_availability
(location, name, type, resource_group, custom_headers=None, raw=False, **operation_config)[source]¶ Check resource name availability.
Check if a resource name is available.
- Parameters
location (str) – The location
name (str) – Resource name to verify.
type (str or CheckNameResourceTypes) – Resource type used for verification. Possible values include: ‘Microsoft.NetApp/netAppAccounts’, ‘Microsoft.NetApp/netAppAccounts/capacityPools’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots’
resource_group (str) – Resource group name.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
CheckAvailabilityResponse or ClientRawResponse if raw=true
- Return type
CheckAvailabilityResponse or ClientRawResponse
- Raises
CloudError
-
check_quota_availability
(location, name, type, resource_group, custom_headers=None, raw=False, **operation_config)[source]¶ Check quota availability.
Check if a quota is available.
- Parameters
location (str) – The location
name (str) – Name of the resource to verify.
type (str or CheckQuotaNameResourceTypes) – Resource type used for verification. Possible values include: ‘Microsoft.NetApp/netAppAccounts’, ‘Microsoft.NetApp/netAppAccounts/capacityPools’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots’
resource_group (str) – Resource group name.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
CheckAvailabilityResponse or ClientRawResponse if raw=true
- Return type
CheckAvailabilityResponse or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
AccountsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
AccountsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
create_or_update
(body, resource_group_name, account_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create or update a NetApp account.
Create or update the specified NetApp account within the resource group.
- Parameters
body (NetAppAccount) – NetApp Account object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns NetAppAccount or ClientRawResponse<NetAppAccount> if raw==True
- Return type
AzureOperationPoller[NetAppAccount] or AzureOperationPoller[ClientRawResponse[NetAppAccount]]
- Raises
CloudError
-
delete
(resource_group_name, account_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete a NetApp account.
Delete the specified NetApp account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]¶ Describe a NetApp Account.
Get the NetApp account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
NetAppAccount or ClientRawResponse if raw=true
- Return type
NetAppAccount or ClientRawResponse
- Raises
CloudError
-
list
(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Describe all NetApp Accounts in a resource group.
List and describe all NetApp accounts in the resource group.
- Parameters
- Returns
An iterator like instance of NetAppAccount
- Return type
- Raises
CloudError
-
update
(body, resource_group_name, account_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Update a NetApp account.
Patch the specified NetApp account.
- Parameters
body (NetAppAccountPatch) – NetApp Account object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns NetAppAccount or ClientRawResponse<NetAppAccount> if raw==True
- Return type
AzureOperationPoller[NetAppAccount] or AzureOperationPoller[ClientRawResponse[NetAppAccount]]
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
PoolsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
PoolsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
create_or_update
(body, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create or Update the specified capacity pool within the resource group.
Create or Update a capacity pool.
- Parameters
body (CapacityPool) – Capacity pool object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns CapacityPool or ClientRawResponse<CapacityPool> if raw==True
- Return type
AzureOperationPoller[CapacityPool] or AzureOperationPoller[ClientRawResponse[CapacityPool]]
- Raises
CloudError
-
delete
(resource_group_name, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete a capacity pool.
Delete the specified capacity pool.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config)[source]¶ Describe a Capacity Pool.
Get details of the specified capacity pool.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
CapacityPool or ClientRawResponse if raw=true
- Return type
CapacityPool or ClientRawResponse
- Raises
CloudError
-
list
(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]¶ Describe all Capacity Pools.
List all capacity pools in the NetApp Account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of CapacityPool
- Return type
- Raises
CloudError
-
update
(body, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Update a capacity pool.
Patch the specified capacity pool.
- Parameters
body (CapacityPoolPatch) – Capacity pool object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns CapacityPool or ClientRawResponse<CapacityPool> if raw==True
- Return type
AzureOperationPoller[CapacityPool] or AzureOperationPoller[ClientRawResponse[CapacityPool]]
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
VolumesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VolumesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
Authorize source volume replication.
Authorize the replication connection on the source volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
remote_volume_resource_id (str) – Resource id of the remote volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
break_replication
(resource_group_name, account_name, pool_name, volume_name, force_break_replication=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Break volume replication.
Break the replication connection on the destination volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
force_break_replication (bool) – If replication is in status transferring and you want to force break the replication, set to true
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
create_or_update
(body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create or Update a volume.
Create or update the specified volume within the capacity pool.
- Parameters
body (Volume) – Volume object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Volume or ClientRawResponse<Volume> if raw==True
- Return type
AzureOperationPoller[Volume] or AzureOperationPoller[ClientRawResponse[Volume]]
- Raises
CloudError
-
delete
(resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete a volume.
Delete the specified volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
delete_replication
(resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete volume replication.
Delete the replication connection on the destination volume, and send release to the source replication.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config)[source]¶ Describe a volume.
Get the details of the specified volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Volume or ClientRawResponse if raw=true
- Return type
Volume or ClientRawResponse
- Raises
CloudError
-
list
(resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config)[source]¶ Describe all volumes.
List all volumes within the capacity pool.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Volume
- Return type
- Raises
CloudError
-
pool_change
(resource_group_name, account_name, pool_name, volume_name, new_pool_resource_id, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Change pool for volume.
Moves volume to another pool.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
new_pool_resource_id (str) – Resource id of the pool to move volume to
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
re_initialize_replication
(resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ ReInitialize volume replication.
Re-Initializes the replication connection on the destination volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
replication_status_method
(resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get volume replication status.
Get the status of the replication.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
ReplicationStatus or ClientRawResponse if raw=true
- Return type
ReplicationStatus or ClientRawResponse
- Raises
CloudError
-
resync_replication
(resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Resync volume replication.
Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
revert
(resource_group_name, account_name, pool_name, volume_name, snapshot_id=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Revert a volume to one of its snapshots.
Revert a volume to the snapshot specified in the body.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
snapshot_id (str) – Resource id of the snapshot
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
update
(body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Update a volume.
Patch the specified volume.
- Parameters
body (VolumePatch) – Volume object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Volume or ClientRawResponse<Volume> if raw==True
- Return type
AzureOperationPoller[Volume] or AzureOperationPoller[ClientRawResponse[Volume]]
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
SnapshotsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
SnapshotsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
create
(resource_group_name, account_name, pool_name, volume_name, snapshot_name, location, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create a snapshot.
Create the specified snapshot within the given volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
snapshot_name (str) – The name of the mount target
location (str) – Resource location
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Snapshot or ClientRawResponse<Snapshot> if raw==True
- Return type
AzureOperationPoller[Snapshot] or AzureOperationPoller[ClientRawResponse[Snapshot]]
- Raises
CloudError
-
delete
(resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete a snapshot.
Delete snapshot.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
snapshot_name (str) – The name of the mount target
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config)[source]¶ Describe a snapshot.
Get details of the specified snapshot.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
snapshot_name (str) – The name of the mount target
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Snapshot or ClientRawResponse if raw=true
- Return type
Snapshot or ClientRawResponse
- Raises
CloudError
-
list
(resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config)[source]¶ Describe all snapshots.
List all snapshots associated with the volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Snapshot
- Return type
- Raises
CloudError
-
update
(body, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Update a snapshot.
Patch a snapshot.
- Parameters
body (object) – Snapshot object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
snapshot_name (str) – The name of the mount target
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Snapshot or ClientRawResponse<Snapshot> if raw==True
- Return type
AzureOperationPoller[Snapshot] or AzureOperationPoller[ClientRawResponse[Snapshot]]
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
SnapshotPoliciesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
SnapshotPoliciesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
create
(body, resource_group_name, account_name, snapshot_policy_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create a snapshot policy.
- Parameters
body (SnapshotPolicy) – Snapshot policy object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
snapshot_policy_name (str) – The name of the snapshot policy target
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns SnapshotPolicy or ClientRawResponse<SnapshotPolicy> if raw==True
- Return type
AzureOperationPoller[SnapshotPolicy] or AzureOperationPoller[ClientRawResponse[SnapshotPolicy]]
- Raises
CloudError
-
delete
(resource_group_name, account_name, snapshot_policy_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete snapshot policy.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
snapshot_policy_name (str) – The name of the snapshot policy target
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, account_name, snapshot_policy_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get a snapshot Policy.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
snapshot_policy_name (str) – The name of the snapshot policy target
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SnapshotPolicy or ClientRawResponse if raw=true
- Return type
SnapshotPolicy or ClientRawResponse
- Raises
CloudError
-
list
(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]¶ List snapshot policy.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of SnapshotPolicy
- Return type
- Raises
CloudError
-
list_volumes
(resource_group_name, account_name, snapshot_policy_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get volumes associated with snapshot policy.
Get volumes associated with snapshot policy.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
snapshot_policy_name (str) – The name of the snapshot policy target
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SnapshotPolicyVolumeList or ClientRawResponse if raw=true
- Return type
SnapshotPolicyVolumeList or ClientRawResponse
- Raises
CloudError
-
update
(body, resource_group_name, account_name, snapshot_policy_name, custom_headers=None, raw=False, **operation_config)[source]¶ Patch a snapshot policy.
- Parameters
body (SnapshotPolicyPatch) – Snapshot policy object supplied in the body of the operation.
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
snapshot_policy_name (str) – The name of the snapshot policy target
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SnapshotPolicy or ClientRawResponse if raw=true
- Return type
SnapshotPolicy or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
AccountBackupsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
AccountBackupsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
delete
(resource_group_name, account_name, backup_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete Backup for a Netapp Account.
Delete Backup for a Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
backup_name (str) – The name of the backup
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, account_name, backup_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get Backup for a Netapp Account.
Get Backup for a Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
backup_name (str) – The name of the backup
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Backup or ClientRawResponse if raw=true
- Return type
Backup or ClientRawResponse
- Raises
CloudError
-
list
(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]¶ List Backups for a Netapp Account.
List all Backups for a Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
BackupsList or ClientRawResponse if raw=true
- Return type
BackupsList or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
BackupsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
BackupsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
create
(resource_group_name, account_name, pool_name, volume_name, backup_name, location, label=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create a backup.
Create a backup for the volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
backup_name (str) – The name of the backup
location (str) – Resource location
label (str) – Label for backup
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Backup or ClientRawResponse<Backup> if raw==True
- Return type
AzureOperationPoller[Backup] or AzureOperationPoller[ClientRawResponse[Backup]]
- Raises
CloudError
-
delete
(resource_group_name, account_name, pool_name, volume_name, backup_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete backup.
Delete a backup of the volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
backup_name (str) – The name of the backup
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, account_name, pool_name, volume_name, backup_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get a backup.
Get a particular backup of the volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
backup_name (str) – The name of the backup
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Backup or ClientRawResponse if raw=true
- Return type
Backup or ClientRawResponse
- Raises
CloudError
-
list
(resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config)[source]¶ List Backups.
List all backups for a volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Backup
- Return type
- Raises
CloudError
-
update
(resource_group_name, account_name, pool_name, volume_name, backup_name, tags=None, label=None, custom_headers=None, raw=False, **operation_config)[source]¶ Patch a backup.
Patch a backup for the volume.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
pool_name (str) – The name of the capacity pool
volume_name (str) – The name of the volume
backup_name (str) – The name of the backup
label (str) – Label for backup
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Backup or ClientRawResponse if raw=true
- Return type
Backup or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
BackupPoliciesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
BackupPoliciesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
create
(resource_group_name, account_name, backup_policy_name, body, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create a backup policy.
Create a backup policy for Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
backup_policy_name (str) – Backup policy Name which uniquely identify backup policy.
body (BackupPolicy) – Backup policy object supplied in the body of the operation.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns BackupPolicy or ClientRawResponse<BackupPolicy> if raw==True
- Return type
AzureOperationPoller[BackupPolicy] or AzureOperationPoller[ClientRawResponse[BackupPolicy]]
- Raises
CloudError
-
delete
(resource_group_name, account_name, backup_policy_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete a backup policy.
Delete backup policy.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
backup_policy_name (str) – Backup policy Name which uniquely identify backup policy.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, account_name, backup_policy_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get a backup Policy.
Get a particular backup Policy.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
backup_policy_name (str) – Backup policy Name which uniquely identify backup policy.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
BackupPolicy or ClientRawResponse if raw=true
- Return type
BackupPolicy or ClientRawResponse
- Raises
CloudError
-
list
(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]¶ List backup policies.
List backup policies for Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of BackupPolicy
- Return type
- Raises
CloudError
-
update
(resource_group_name, account_name, backup_policy_name, body, custom_headers=None, raw=False, **operation_config)[source]¶ Patch a backup policy.
Patch a backup policy for Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
backup_policy_name (str) – Backup policy Name which uniquely identify backup policy.
body (BackupPolicyPatch) – Backup policy object supplied in the body of the operation.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
BackupPolicy or ClientRawResponse if raw=true
- Return type
BackupPolicy or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
class
azure.mgmt.netapp.operations.
VaultsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VaultsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Constant value: “2020-06-01”.
-
list
(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]¶ List vaults.
List vaults for a Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group.
account_name (str) – The name of the NetApp account
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Vault
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.netapp.models' from '/home/vsts/work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/netapp/models/__init__.py'>¶