azure.mgmt.netapp.operations module¶
-
class
azure.mgmt.netapp.operations.
AccountBackupsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’saccount_backups
attribute.-
begin_delete
(resource_group_name: str, account_name: str, backup_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete Backup for a Netapp Account.
Delete the specified Backup for a Netapp Account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, backup_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.Backup[source]¶ Get Backup for a Netapp Account.
Gets the specified backup for a Netapp Account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Backup or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, account_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.Backup][source]¶ List Backups for a Netapp Account.
List all Backups for a Netapp Account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Backup or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
AccountsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’saccounts
attribute.-
begin_create_or_update
(resource_group_name: str, account_name: str, body: _models.NetAppAccount, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.NetAppAccount][source]¶ -
begin_create_or_update
(resource_group_name: str, account_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.NetAppAccount] Create or update a NetApp account.
Create or update the specified NetApp account within the resource group.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
body (NetAppAccount or IO) – NetApp Account object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either NetAppAccount or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete a NetApp account.
Delete the specified NetApp account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_renew_credentials
(resource_group_name: str, account_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Renew identity credentials.
Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, body: _models.NetAppAccountPatch, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.NetAppAccount][source]¶ -
begin_update
(resource_group_name: str, account_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.NetAppAccount] Update a NetApp account.
Patch the specified NetApp account.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
body (NetAppAccountPatch or IO) – NetApp Account object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either NetAppAccount or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.NetAppAccount[source]¶ Describe a NetApp Account.
Get the NetApp account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetAppAccount or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.NetAppAccount][source]¶ Describe all NetApp Accounts in a resource group.
List and describe all NetApp accounts in the resource group.
-
list_by_subscription
(**kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.NetAppAccount][source]¶ Describe all NetApp Accounts in a subscription.
List and describe all NetApp accounts in the subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetAppAccount or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
BackupPoliciesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’sbackup_policies
attribute.-
begin_create
(resource_group_name: str, account_name: str, backup_policy_name: str, body: _models.BackupPolicy, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.BackupPolicy][source]¶ -
begin_create
(resource_group_name: str, account_name: str, backup_policy_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.BackupPolicy] Create a backup policy.
Create a backup policy for Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
backup_policy_name (str) – Backup policy Name which uniquely identify backup policy. Required.
body (BackupPolicy or IO) – Backup policy object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either BackupPolicy or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, backup_policy_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete a backup policy.
Delete backup policy.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, backup_policy_name: str, body: _models.BackupPolicyPatch, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.BackupPolicy][source]¶ -
begin_update
(resource_group_name: str, account_name: str, backup_policy_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.BackupPolicy] Patch a backup policy.
Patch a backup policy for Netapp Account.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
backup_policy_name (str) – Backup policy Name which uniquely identify backup policy. Required.
body (BackupPolicyPatch or IO) – Backup policy object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either BackupPolicy or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, backup_policy_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.BackupPolicy[source]¶ Get a backup Policy.
Get a particular backup Policy.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
BackupPolicy or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, account_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.BackupPolicy][source]¶ List backup policies.
List backup policies for Netapp Account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either BackupPolicy or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
BackupsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’sbackups
attribute.-
begin_create
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, backup_name: str, body: _models.Backup, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Backup][source]¶ -
begin_create
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, backup_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Backup] Create a backup.
Create a backup for the volume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
backup_name (str) – The name of the backup. Required.
body (Backup or IO) – Backup object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Backup or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, backup_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete backup.
Delete a backup of the volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, backup_name: str, body: Optional[_models.BackupPatch] = None, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Backup][source]¶ -
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, backup_name: str, body: Optional[IO] = None, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Backup] Patch a backup.
Patch a backup for the volume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
backup_name (str) – The name of the backup. Required.
body (BackupPatch or IO) – Backup object supplied in the body of the operation. Is either a model type or a IO type. Default value is None.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Backup or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, backup_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.Backup[source]¶ Get a backup.
Gets the specified backup of the volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Backup or the result of cls(response)
- Return type
- Raises
-
get_status
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.BackupStatus[source]¶ Get volume’s backup status.
Get the status of the backup for a volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
BackupStatus or the result of cls(response)
- Return type
- Raises
-
get_volume_restore_status
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.RestoreStatus[source]¶ Get volume’s restore status.
Get the status of the restore for a volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
RestoreStatus or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.Backup][source]¶ List Backups.
List all backups for a volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Backup or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
NetAppResourceOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’snet_app_resource
attribute.-
check_file_path_availability
(location: str, name: str, subnet_id: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.CheckAvailabilityResponse[source]¶ Check file path availability.
Check if a file path is available.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
CheckAvailabilityResponse or the result of cls(response)
- Return type
- Raises
-
check_name_availability
(location: str, name: str, type: Union[str, azure.mgmt.netapp.models._net_app_management_client_enums.CheckNameResourceTypes], resource_group: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.CheckAvailabilityResponse[source]¶ Check resource name availability.
Check if a resource name is available.
- Parameters
location (str) – The location. Required.
name (str) – Resource name to verify. Required.
type (str or CheckNameResourceTypes) – Resource type used for verification. Known values are: “Microsoft.NetApp/netAppAccounts”, “Microsoft.NetApp/netAppAccounts/capacityPools”, “Microsoft.NetApp/netAppAccounts/capacityPools/volumes”, and “Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots”. Required.
resource_group (str) – Resource group name. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
CheckAvailabilityResponse or the result of cls(response)
- Return type
- Raises
-
check_quota_availability
(location: str, name: str, type: Union[str, azure.mgmt.netapp.models._net_app_management_client_enums.CheckQuotaNameResourceTypes], resource_group: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.CheckAvailabilityResponse[source]¶ Check quota availability.
Check if a quota is available.
- Parameters
location (str) – The location. Required.
name (str) – Name of the resource to verify. Required.
type (str or CheckQuotaNameResourceTypes) – Resource type used for verification. Known values are: “Microsoft.NetApp/netAppAccounts”, “Microsoft.NetApp/netAppAccounts/capacityPools”, “Microsoft.NetApp/netAppAccounts/capacityPools/volumes”, and “Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots”. Required.
resource_group (str) – Resource group name. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
CheckAvailabilityResponse or the result of cls(response)
- Return type
- Raises
-
query_region_info
(location: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.RegionInfo[source]¶ Describes region specific information.
Provides storage to network proximity and logical zone mapping information.
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
NetAppResourceQuotaLimitsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’snet_app_resource_quota_limits
attribute.-
get
(location: str, quota_limit_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.SubscriptionQuotaItem[source]¶ Get quota limits.
Get the default and current subscription quota limit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
SubscriptionQuotaItem or the result of cls(response)
- Return type
- Raises
-
list
(location: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.SubscriptionQuotaItem][source]¶ Get quota limits.
Get the default and current limits for quotas.
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
Operations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’soperations
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.Operation][source]¶ Describes the Resource Provider.
Lists all of the available Microsoft.NetApp Rest API operations.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Operation or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
PoolsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’spools
attribute.-
begin_create_or_update
(resource_group_name: str, account_name: str, pool_name: str, body: _models.CapacityPool, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.CapacityPool][source]¶ -
begin_create_or_update
(resource_group_name: str, account_name: str, pool_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.CapacityPool] Create or Update the specified capacity pool within the resource group.
Create or Update a capacity pool.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
body (CapacityPool or IO) – Capacity pool object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either CapacityPool or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, pool_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete a capacity pool.
Delete the specified capacity pool.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, pool_name: str, body: _models.CapacityPoolPatch, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.CapacityPool][source]¶ -
begin_update
(resource_group_name: str, account_name: str, pool_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.CapacityPool] Update a capacity pool.
Patch the specified capacity pool.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
body (CapacityPoolPatch or IO) – Capacity pool object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either CapacityPool or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, pool_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.CapacityPool[source]¶ Describe a Capacity Pool.
Get details of the specified capacity pool.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
CapacityPool or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, account_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.CapacityPool][source]¶ Describe all Capacity Pools.
List all capacity pools in the NetApp Account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either CapacityPool or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
SnapshotPoliciesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’ssnapshot_policies
attribute.-
begin_delete
(resource_group_name: str, account_name: str, snapshot_policy_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete snapshot policy.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, snapshot_policy_name: str, body: _models.SnapshotPolicyPatch, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.SnapshotPolicy][source]¶ -
begin_update
(resource_group_name: str, account_name: str, snapshot_policy_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.SnapshotPolicy] Patch a snapshot policy.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
snapshot_policy_name (str) – The name of the snapshot policy. Required.
body (SnapshotPolicyPatch or IO) – Snapshot policy object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either SnapshotPolicy or the result of cls(response)
- Return type
- Raises
-
create
(resource_group_name: str, account_name: str, snapshot_policy_name: str, body: _models.SnapshotPolicy, *, content_type: str = "'application/json'", **kwargs: Any) → _models.SnapshotPolicy[source]¶ -
create
(resource_group_name: str, account_name: str, snapshot_policy_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.SnapshotPolicy Create a snapshot policy.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
snapshot_policy_name (str) – The name of the snapshot policy. Required.
body (SnapshotPolicy or IO) – Snapshot policy object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
SnapshotPolicy or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, snapshot_policy_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.SnapshotPolicy[source]¶ Get a snapshot Policy.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
SnapshotPolicy or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, account_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.SnapshotPolicy][source]¶ List snapshot policy.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either SnapshotPolicy or the result of cls(response)
- Return type
- Raises
-
list_volumes
(resource_group_name: str, account_name: str, snapshot_policy_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.SnapshotPolicyVolumeList[source]¶ Get volumes for snapshot policy.
Get volumes associated with snapshot policy.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
SnapshotPolicyVolumeList or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
SnapshotsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’ssnapshots
attribute.-
begin_create
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, snapshot_name: str, body: _models.Snapshot, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Snapshot][source]¶ -
begin_create
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, snapshot_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Snapshot] Create a snapshot.
Create the specified snapshot within the given volume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
snapshot_name (str) – The name of the snapshot. Required.
body (Snapshot or IO) – Snapshot object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Snapshot or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, snapshot_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete a snapshot.
Delete snapshot.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
snapshot_name (str) – The name of the snapshot. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_restore_files
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, snapshot_name: str, body: _models.SnapshotRestoreFiles, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None][source]¶ -
begin_restore_files
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, snapshot_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None] Create a new Snapshot Restore Files request.
Restore the specified files from the specified snapshot to the active filesystem.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
snapshot_name (str) – The name of the snapshot. Required.
body (SnapshotRestoreFiles or IO) – Restore payload supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, snapshot_name: str, body: collections.abc.MutableMapping[str, Any], **kwargs: Any) → azure.core.polling._poller.LROPoller[azure.mgmt.netapp.models._models_py3.Snapshot][source]¶ Update a snapshot.
Patch a snapshot.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
snapshot_name (str) – The name of the snapshot. Required.
body (JSON) – Snapshot object supplied in the body of the operation. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Snapshot or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, snapshot_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.Snapshot[source]¶ Describe a snapshot.
Get details of the specified snapshot.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
snapshot_name (str) – The name of the snapshot. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Snapshot or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.Snapshot][source]¶ Describe all snapshots.
List all snapshots associated with the volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Snapshot or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
SubvolumesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’ssubvolumes
attribute.-
begin_create
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, subvolume_name: str, body: _models.SubvolumeInfo, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.SubvolumeInfo][source]¶ -
begin_create
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, subvolume_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.SubvolumeInfo] Create or clone a new subvolume.
Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
subvolume_name (str) – The name of the subvolume. Required.
body (SubvolumeInfo or IO) – Subvolume object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either SubvolumeInfo or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, subvolume_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete a subvolume.
Delete subvolume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
subvolume_name (str) – The name of the subvolume. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_get_metadata
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, subvolume_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[azure.mgmt.netapp.models._models_py3.SubvolumeModel][source]¶ Describe a subvolume.
Get details of the specified subvolume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
subvolume_name (str) – The name of the subvolume. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either SubvolumeModel or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, subvolume_name: str, body: _models.SubvolumePatchRequest, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.SubvolumeInfo][source]¶ -
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, subvolume_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.SubvolumeInfo] Update a subvolume.
Patch a subvolume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
subvolume_name (str) – The name of the subvolume. Required.
body (SubvolumePatchRequest or IO) – Subvolume object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either SubvolumeInfo or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, subvolume_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.SubvolumeInfo[source]¶ Get the path associated with the subvolumeName.
Returns the path associated with the subvolumeName provided.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
subvolume_name (str) – The name of the subvolume. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
SubvolumeInfo or the result of cls(response)
- Return type
- Raises
-
list_by_volume
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.SubvolumeInfo][source]¶ List of all the subvolumes.
Returns a list of the subvolumes in the volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either SubvolumeInfo or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
VaultsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’svaults
attribute.-
list
(resource_group_name: str, account_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.Vault][source]¶ List vaults.
List vaults for a Netapp Account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Vault or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
VolumeGroupsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’svolume_groups
attribute.-
begin_create
(resource_group_name: str, account_name: str, volume_group_name: str, body: _models.VolumeGroupDetails, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VolumeGroupDetails][source]¶ -
begin_create
(resource_group_name: str, account_name: str, volume_group_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VolumeGroupDetails] Create the specified volume group and volumes. Creating volume group will create all the volumes specified in request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes thereafter.
Create a volume group along with specified volumes.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
volume_group_name (str) – The name of the volumeGroup. Required.
body (VolumeGroupDetails or IO) – Volume Group object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VolumeGroupDetails or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, volume_group_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete a volume group.
Delete the specified volume group only if there are no volumes under volume group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, volume_group_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.VolumeGroupDetails[source]¶ Describe a Volume Group.
Get details of the specified volume group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VolumeGroupDetails or the result of cls(response)
- Return type
- Raises
-
list_by_net_app_account
(resource_group_name: str, account_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.VolumeGroup][source]¶ Describe all volume groups.
List all volume groups for given account.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VolumeGroup or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
VolumeQuotaRulesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’svolume_quota_rules
attribute.-
begin_create
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, volume_quota_rule_name: str, body: _models.VolumeQuotaRule, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VolumeQuotaRule][source]¶ -
begin_create
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, volume_quota_rule_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VolumeQuotaRule] Create a quota rule.
Create the specified quota rule within the given volume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
volume_quota_rule_name (str) – The name of volume quota rule. Required.
body (VolumeQuotaRule or IO) – Quota rule object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VolumeQuotaRule or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, volume_quota_rule_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete a quota rule.
Delete quota rule.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
volume_quota_rule_name (str) – The name of volume quota rule. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, volume_quota_rule_name: str, body: _models.VolumeQuotaRulePatch, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VolumeQuotaRule][source]¶ -
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, volume_quota_rule_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VolumeQuotaRule] Update a quota rule.
Patch a quota rule.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
volume_quota_rule_name (str) – The name of volume quota rule. Required.
body (VolumeQuotaRulePatch or IO) – Quota rule object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VolumeQuotaRule or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, volume_quota_rule_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.VolumeQuotaRule[source]¶ Describe a quota rule.
Get details of the specified quota rule.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
volume_quota_rule_name (str) – The name of volume quota rule. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VolumeQuotaRule or the result of cls(response)
- Return type
- Raises
-
list_by_volume
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.VolumeQuotaRule][source]¶ Get all quota rules for a volume.
List all quota rules associated with the volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VolumeQuotaRule or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-
-
class
azure.mgmt.netapp.operations.
VolumesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NetAppManagementClient
’svolumes
attribute.-
begin_authorize_replication
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None] Authorize source volume replication.
Authorize the replication connection on the source volume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
body (AuthorizeRequest or IO) – Authorize request object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_break_replication
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: Optional[_models.BreakReplicationRequest] = None, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None][source]¶ -
begin_break_replication
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: Optional[IO] = None, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None] Break volume replication.
Break the replication connection on the destination volume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
body (BreakReplicationRequest or IO) – Optional body to force break the replication. Is either a model type or a IO type. Default value is None.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_create_or_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: _models.Volume, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Volume][source]¶ -
begin_create_or_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Volume] Create or Update a volume.
Create or update the specified volume within the capacity pool.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
body (Volume or IO) – Volume object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Volume or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, force_delete: Optional[bool] = None, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete a volume.
Delete the specified volume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
force_delete (bool) – An option to force delete the volume. Will cleanup resources connected to the particular volume. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_delete_replication
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Delete volume replication.
Delete the replication connection on the destination volume, and send release to the source replication.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_finalize_relocation
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Finalize volume relocation.
Finalizes the relocation of the volume and cleans up the old volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_pool_change
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: _models.PoolChangeRequest, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None][source]¶ -
begin_pool_change
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None] Change pool for volume.
Moves volume to another pool.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
body (PoolChangeRequest or IO) – Move volume to the pool supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_re_initialize_replication
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ ReInitialize volume replication.
Re-Initializes the replication connection on the destination volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_reestablish_replication
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: _models.ReestablishReplicationRequest, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None][source]¶ -
begin_reestablish_replication
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None] Re-establish volume replication.
Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
body (ReestablishReplicationRequest or IO) – body for the id of the source volume. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_relocate
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: Optional[_models.RelocateVolumeRequest] = None, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None][source]¶ -
begin_relocate
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: Optional[IO] = None, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None] Relocate volume.
Relocates volume to a new stamp.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
body (RelocateVolumeRequest or IO) – Relocate volume request. Is either a model type or a IO type. Default value is None.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_reset_cifs_password
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Reset cifs password.
Reset cifs password from volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_resync_replication
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][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 destination to source.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_revert
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: _models.VolumeRevert, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None][source]¶ -
begin_revert
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None] 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. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
body (VolumeRevert or IO) – Object for snapshot to revert supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_revert_relocation
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Revert volume relocation.
Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: _models.VolumePatch, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Volume][source]¶ -
begin_update
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, body: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Volume] Update a volume.
Patch the specified volume.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
account_name (str) – The name of the NetApp account. Required.
pool_name (str) – The name of the capacity pool. Required.
volume_name (str) – The name of the volume. Required.
body (VolumePatch or IO) – Volume object supplied in the body of the operation. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Volume or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.Volume[source]¶ Describe a volume.
Get the details of the specified volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Volume or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, account_name: str, pool_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.Volume][source]¶ Describe all volumes.
List all volumes within the capacity pool.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Volume or the result of cls(response)
- Return type
- Raises
-
list_replications
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → Iterable[azure.mgmt.netapp.models._models_py3.Replication][source]¶ List replications for volume.
List all replications for a specified volume.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Replication or the result of cls(response)
- Return type
- Raises
-
replication_status
(resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any) → azure.mgmt.netapp.models._models_py3.ReplicationStatus[source]¶ Get volume replication status.
Get the status of the replication.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ReplicationStatus or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.netapp.models' from '/mnt/vss/_work/1/s/sdk/netapp/azure-mgmt-netapp/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/netapp/models/__init__.py'>¶
-