azure.mgmt.netapp.models module

class azure.mgmt.netapp.models.AccountEncryption(*, key_source: Union[str, _models.KeySource] = 'Microsoft.NetApp', key_vault_properties: Optional[_models.KeyVaultProperties] = None, identity: Optional[_models.EncryptionIdentity] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Encryption settings.

Variables
  • key_source (str or KeySource) – The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault. Known values are: “Microsoft.NetApp” and “Microsoft.KeyVault”.

  • key_vault_properties (KeyVaultProperties) – Properties provided by KeVault. Applicable if keySource is ‘Microsoft.KeyVault’.

  • identity (EncryptionIdentity) – Identity used to authenticate to KeyVault. Applicable if keySource is ‘Microsoft.KeyVault’.

Keyword Arguments
  • key_source (str or KeySource) – The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault. Known values are: “Microsoft.NetApp” and “Microsoft.KeyVault”.

  • key_vault_properties (KeyVaultProperties) – Properties provided by KeVault. Applicable if keySource is ‘Microsoft.KeyVault’.

  • identity (EncryptionIdentity) – Identity used to authenticate to KeyVault. Applicable if keySource is ‘Microsoft.KeyVault’.

class azure.mgmt.netapp.models.ActiveDirectory(*, active_directory_id: Optional[str] = None, username: Optional[str] = None, password: Optional[str] = None, domain: Optional[str] = None, dns: Optional[str] = None, smb_server_name: Optional[str] = None, organizational_unit: str = 'CN=Computers', site: Optional[str] = None, backup_operators: Optional[List[str]] = None, administrators: Optional[List[str]] = None, kdc_ip: Optional[str] = None, ad_name: Optional[str] = None, server_root_ca_certificate: Optional[str] = None, aes_encryption: Optional[bool] = None, ldap_signing: Optional[bool] = None, security_operators: Optional[List[str]] = None, ldap_over_tls: Optional[bool] = None, allow_local_nfs_users_with_ldap: Optional[bool] = None, encrypt_dc_connections: Optional[bool] = None, ldap_search_scope: Optional[_models.LdapSearchScopeOpt] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Active Directory.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • active_directory_id (str) – Id of the Active Directory.

  • username (str) – Username of Active Directory domain administrator.

  • password (str) – Plain text password of Active Directory domain administrator, value is masked in the response.

  • domain (str) – Name of the Active Directory domain.

  • dns (str) – Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.

  • status (str or ActiveDirectoryStatus) – Status of the Active Directory. Known values are: “Created”, “InUse”, “Deleted”, “Error”, and “Updating”.

  • status_details (str) – Any details in regards to the Status of the Active Directory.

  • smb_server_name (str) – NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes.

  • organizational_unit (str) – The Organizational Unit (OU) within the Windows Active Directory.

  • site (str) – The Active Directory site the service will limit Domain Controller discovery to.

  • backup_operators (list[str]) – Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier.

  • administrators (list[str]) – Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier.

  • kdc_ip (str) – kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.

  • ad_name (str) – Name of the active directory machine. This optional parameter is used only while creating kerberos volume.

  • server_root_ca_certificate (str) – When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service’s self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.

  • aes_encryption (bool) – If enabled, AES encryption will be enabled for SMB communication.

  • ldap_signing (bool) – Specifies whether or not the LDAP traffic needs to be signed.

  • security_operators (list[str]) – Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier.

  • ldap_over_tls (bool) – Specifies whether or not the LDAP traffic needs to be secured via TLS.

  • allow_local_nfs_users_with_ldap (bool) – If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.

  • encrypt_dc_connections (bool) – If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.

  • ldap_search_scope (LdapSearchScopeOpt) – LDAP Search scope options.

Keyword Arguments
  • active_directory_id (str) – Id of the Active Directory.

  • username (str) – Username of Active Directory domain administrator.

  • password (str) – Plain text password of Active Directory domain administrator, value is masked in the response.

  • domain (str) – Name of the Active Directory domain.

  • dns (str) – Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.

  • smb_server_name (str) – NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes.

  • organizational_unit (str) – The Organizational Unit (OU) within the Windows Active Directory.

  • site (str) – The Active Directory site the service will limit Domain Controller discovery to.

  • backup_operators (list[str]) – Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier.

  • administrators (list[str]) – Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier.

  • kdc_ip (str) – kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.

  • ad_name (str) – Name of the active directory machine. This optional parameter is used only while creating kerberos volume.

  • server_root_ca_certificate (str) – When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service’s self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.

  • aes_encryption (bool) – If enabled, AES encryption will be enabled for SMB communication.

  • ldap_signing (bool) – Specifies whether or not the LDAP traffic needs to be signed.

  • security_operators (list[str]) – Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier.

  • ldap_over_tls (bool) – Specifies whether or not the LDAP traffic needs to be secured via TLS.

  • allow_local_nfs_users_with_ldap (bool) – If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.

  • encrypt_dc_connections (bool) – If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.

  • ldap_search_scope (LdapSearchScopeOpt) – LDAP Search scope options.

class azure.mgmt.netapp.models.ActiveDirectoryStatus(value)[source]

Bases: str, enum.Enum

Status of the Active Directory.

CREATED = 'Created'

Active Directory created but not in use

DELETED = 'Deleted'

Active Directory Deleted

ERROR = 'Error'

Error with the Active Directory

IN_USE = 'InUse'

Active Directory in use by SMB Volume

UPDATING = 'Updating'

Active Directory Updating

class azure.mgmt.netapp.models.ApplicationType(value)[source]

Bases: str, enum.Enum

Application Type.

SAP_HANA = 'SAP-HANA'
class azure.mgmt.netapp.models.AuthorizeRequest(*, remote_volume_resource_id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Authorize request.

Variables

remote_volume_resource_id (str) – Resource id of the remote volume.

Keyword Arguments

remote_volume_resource_id (str) – Resource id of the remote volume.

class azure.mgmt.netapp.models.AvsDataStore(value)[source]

Bases: str, enum.Enum

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.

DISABLED = 'Disabled'

avsDataStore is disabled

ENABLED = 'Enabled'

avsDataStore is enabled

class azure.mgmt.netapp.models.Backup(*, location: str, label: Optional[str] = None, use_existing_snapshot: bool = False, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Backup of a Volume.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • location (str) – Resource location. Required.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • backup_id (str) – UUID v4 used to identify the Backup.

  • creation_date (datetime) – The creation date of the backup.

  • provisioning_state (str) – Azure lifecycle management.

  • size (int) – Size of backup.

  • label (str) – Label for backup.

  • backup_type (str or BackupType) – Type of backup Manual or Scheduled. Known values are: “Manual” and “Scheduled”.

  • failure_reason (str) – Failure reason.

  • volume_name (str) – Volume name.

  • use_existing_snapshot (bool) – Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.

Keyword Arguments
  • location (str) – Resource location. Required.

  • label (str) – Label for backup.

  • use_existing_snapshot (bool) – Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.

class azure.mgmt.netapp.models.BackupPatch(*, tags: Optional[Dict[str, str]] = None, label: Optional[str] = None, use_existing_snapshot: bool = False, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Backup patch.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • tags (dict[str, str]) – Resource tags.

  • backup_id (str) – UUID v4 used to identify the Backup.

  • creation_date (datetime) – The creation date of the backup.

  • provisioning_state (str) – Azure lifecycle management.

  • size (int) – Size of backup.

  • label (str) – Label for backup.

  • backup_type (str or BackupType) – Type of backup Manual or Scheduled. Known values are: “Manual” and “Scheduled”.

  • failure_reason (str) – Failure reason.

  • volume_name (str) – Volume name.

  • use_existing_snapshot (bool) – Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • label (str) – Label for backup.

  • use_existing_snapshot (bool) – Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.

class azure.mgmt.netapp.models.BackupPoliciesList(*, value: Optional[List[_models.BackupPolicy]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of Backup Policies.

Variables

value (list[BackupPolicy]) – A list of backup policies.

Keyword Arguments

value (list[BackupPolicy]) – A list of backup policies.

class azure.mgmt.netapp.models.BackupPolicy(*, location: str, tags: Optional[Dict[str, str]] = None, daily_backups_to_keep: Optional[int] = None, weekly_backups_to_keep: Optional[int] = None, monthly_backups_to_keep: Optional[int] = None, enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.TrackedResource

Backup policy information.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • backup_policy_id (str) – Backup Policy Resource ID.

  • provisioning_state (str) – Azure lifecycle management.

  • daily_backups_to_keep (int) – Daily backups count to keep.

  • weekly_backups_to_keep (int) – Weekly backups count to keep.

  • monthly_backups_to_keep (int) – Monthly backups count to keep.

  • volumes_assigned (int) – Volumes using current backup policy.

  • enabled (bool) – The property to decide policy is enabled or not.

  • volume_backups (list[VolumeBackups]) – A list of volumes assigned to this policy.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • daily_backups_to_keep (int) – Daily backups count to keep.

  • weekly_backups_to_keep (int) – Weekly backups count to keep.

  • monthly_backups_to_keep (int) – Monthly backups count to keep.

  • enabled (bool) – The property to decide policy is enabled or not.

class azure.mgmt.netapp.models.BackupPolicyDetails(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, daily_backups_to_keep: Optional[int] = None, weekly_backups_to_keep: Optional[int] = None, monthly_backups_to_keep: Optional[int] = None, enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Backup policy properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • backup_policy_id (str) – Backup Policy Resource ID.

  • provisioning_state (str) – Azure lifecycle management.

  • daily_backups_to_keep (int) – Daily backups count to keep.

  • weekly_backups_to_keep (int) – Weekly backups count to keep.

  • monthly_backups_to_keep (int) – Monthly backups count to keep.

  • volumes_assigned (int) – Volumes using current backup policy.

  • enabled (bool) – The property to decide policy is enabled or not.

  • volume_backups (list[VolumeBackups]) – A list of volumes assigned to this policy.

Keyword Arguments
  • location (str) – Resource location.

  • tags (dict[str, str]) – Resource tags.

  • daily_backups_to_keep (int) – Daily backups count to keep.

  • weekly_backups_to_keep (int) – Weekly backups count to keep.

  • monthly_backups_to_keep (int) – Monthly backups count to keep.

  • enabled (bool) – The property to decide policy is enabled or not.

class azure.mgmt.netapp.models.BackupPolicyPatch(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, daily_backups_to_keep: Optional[int] = None, weekly_backups_to_keep: Optional[int] = None, monthly_backups_to_keep: Optional[int] = None, enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Backup policy Details for create and update.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • backup_policy_id (str) – Backup Policy Resource ID.

  • provisioning_state (str) – Azure lifecycle management.

  • daily_backups_to_keep (int) – Daily backups count to keep.

  • weekly_backups_to_keep (int) – Weekly backups count to keep.

  • monthly_backups_to_keep (int) – Monthly backups count to keep.

  • volumes_assigned (int) – Volumes using current backup policy.

  • enabled (bool) – The property to decide policy is enabled or not.

  • volume_backups (list[VolumeBackups]) – A list of volumes assigned to this policy.

Keyword Arguments
  • location (str) – Resource location.

  • tags (dict[str, str]) – Resource tags.

  • daily_backups_to_keep (int) – Daily backups count to keep.

  • weekly_backups_to_keep (int) – Weekly backups count to keep.

  • monthly_backups_to_keep (int) – Monthly backups count to keep.

  • enabled (bool) – The property to decide policy is enabled or not.

class azure.mgmt.netapp.models.BackupStatus(**kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Backup status.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • healthy (bool) – Backup health status.

  • relationship_status (str or RelationshipStatus) – Status of the backup mirror relationship. Known values are: “Idle” and “Transferring”.

  • mirror_state (str or MirrorState) – The status of the backup. Known values are: “Uninitialized”, “Mirrored”, and “Broken”.

  • unhealthy_reason (str) – Reason for the unhealthy backup relationship.

  • error_message (str) – Displays error message if the backup is in an error state.

  • last_transfer_size (int) – Displays the last transfer size.

  • last_transfer_type (str) – Displays the last transfer type.

  • total_transfer_bytes (int) – Displays the total bytes transferred.

class azure.mgmt.netapp.models.BackupType(value)[source]

Bases: str, enum.Enum

Type of backup Manual or Scheduled.

MANUAL = 'Manual'

Manual backup

SCHEDULED = 'Scheduled'

Scheduled backup

class azure.mgmt.netapp.models.BackupsList(*, value: Optional[List[_models.Backup]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of Backups.

Variables

value (list[Backup]) – A list of Backups.

Keyword Arguments

value (list[Backup]) – A list of Backups.

class azure.mgmt.netapp.models.BreakReplicationRequest(*, force_break_replication: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Break replication request.

Variables

force_break_replication (bool) – If replication is in status transferring and you want to force break the replication, set to true.

Keyword Arguments

force_break_replication (bool) – If replication is in status transferring and you want to force break the replication, set to true.

class azure.mgmt.netapp.models.CapacityPool(*, location: str, size: int = 4398046511104, service_level: Union[str, _models.ServiceLevel] = 'Premium', tags: Optional[Dict[str, str]] = None, qos_type: Optional[Union[str, _models.QosType]] = None, cool_access: bool = False, encryption_type: Union[str, _models.EncryptionType] = 'Single', **kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.TrackedResource

Capacity pool resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • pool_id (str) – UUID v4 used to identify the Pool.

  • size (int) – Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).

  • service_level (str or ServiceLevel) – The service level of the file system. Known values are: “Standard”, “Premium”, “Ultra”, and “StandardZRS”.

  • provisioning_state (str) – Azure lifecycle management.

  • total_throughput_mibps (float) – Total throughput of pool in MiB/s.

  • utilized_throughput_mibps (float) – Utilized throughput of pool in MiB/s.

  • qos_type (str or QosType) – The qos type of the pool. Known values are: “Auto” and “Manual”.

  • cool_access (bool) – If enabled (true) the pool can contain cool Access enabled volumes.

  • encryption_type (str or EncryptionType) – Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. Known values are: “Single” and “Double”.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • size (int) – Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).

  • service_level (str or ServiceLevel) – The service level of the file system. Known values are: “Standard”, “Premium”, “Ultra”, and “StandardZRS”.

  • qos_type (str or QosType) – The qos type of the pool. Known values are: “Auto” and “Manual”.

  • cool_access (bool) – If enabled (true) the pool can contain cool Access enabled volumes.

  • encryption_type (str or EncryptionType) – Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. Known values are: “Single” and “Double”.

class azure.mgmt.netapp.models.CapacityPoolList(*, value: Optional[List[_models.CapacityPool]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of capacity pool resources.

Variables
  • value (list[CapacityPool]) – List of Capacity pools.

  • next_link (str) – URL to get the next set of results.

Keyword Arguments
  • value (list[CapacityPool]) – List of Capacity pools.

  • next_link (str) – URL to get the next set of results.

class azure.mgmt.netapp.models.CapacityPoolPatch(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, size: int = 4398046511104, qos_type: Optional[Union[str, _models.QosType]] = None, cool_access: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Capacity pool patch resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • size (int) – Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).

  • qos_type (str or QosType) – The qos type of the pool. Known values are: “Auto” and “Manual”.

  • cool_access (bool) – If enabled (true) the pool can contain cool Access enabled volumes.

Keyword Arguments
  • location (str) – Resource location.

  • tags (dict[str, str]) – Resource tags.

  • size (int) – Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).

  • qos_type (str or QosType) – The qos type of the pool. Known values are: “Auto” and “Manual”.

  • cool_access (bool) – If enabled (true) the pool can contain cool Access enabled volumes.

class azure.mgmt.netapp.models.CheckAvailabilityResponse(*, is_available: Optional[bool] = None, reason: Optional[Union[str, _models.InAvailabilityReasonType]] = None, message: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Information regarding availability of a resource.

Variables
  • is_available (bool) – <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.

  • reason (str or InAvailabilityReasonType) – <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Known values are: “Invalid” and “AlreadyExists”.

  • message (str) – If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.

Keyword Arguments
  • is_available (bool) – <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.

  • reason (str or InAvailabilityReasonType) – <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Known values are: “Invalid” and “AlreadyExists”.

  • message (str) – If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.

class azure.mgmt.netapp.models.CheckNameResourceTypes(value)[source]

Bases: str, enum.Enum

Resource type used for verification.

MICROSOFT_NET_APP_NET_APP_ACCOUNTS = 'Microsoft.NetApp/netAppAccounts'
MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS = 'Microsoft.NetApp/netAppAccounts/capacityPools'
MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES = 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes'
MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES_SNAPSHOTS = 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
class azure.mgmt.netapp.models.CheckQuotaNameResourceTypes(value)[source]

Bases: str, enum.Enum

Resource type used for verification.

MICROSOFT_NET_APP_NET_APP_ACCOUNTS = 'Microsoft.NetApp/netAppAccounts'
MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS = 'Microsoft.NetApp/netAppAccounts/capacityPools'
MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES = 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes'
MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES_SNAPSHOTS = 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
class azure.mgmt.netapp.models.ChownMode(value)[source]

Bases: str, enum.Enum

This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.

RESTRICTED = 'Restricted'
UNRESTRICTED = 'Unrestricted'
class azure.mgmt.netapp.models.CloudErrorBody(*, code: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

An error response from the service.

Variables
  • code (str) – An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

  • message (str) – A message describing the error, intended to be suitable for display in a user interface.

Keyword Arguments
  • code (str) – An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

  • message (str) – A message describing the error, intended to be suitable for display in a user interface.

class azure.mgmt.netapp.models.CreatedByType(value)[source]

Bases: str, enum.Enum

The type of identity that created the resource.

APPLICATION = 'Application'
KEY = 'Key'
MANAGED_IDENTITY = 'ManagedIdentity'
USER = 'User'
class azure.mgmt.netapp.models.DailySchedule(*, snapshots_to_keep: Optional[int] = None, hour: Optional[int] = None, minute: Optional[int] = None, used_bytes: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Daily Schedule properties.

Variables
  • snapshots_to_keep (int) – Daily snapshot count to keep.

  • hour (int) – Indicates which hour in UTC timezone a snapshot should be taken.

  • minute (int) – Indicates which minute snapshot should be taken.

  • used_bytes (int) – Resource size in bytes, current storage usage for the volume in bytes.

Keyword Arguments
  • snapshots_to_keep (int) – Daily snapshot count to keep.

  • hour (int) – Indicates which hour in UTC timezone a snapshot should be taken.

  • minute (int) – Indicates which minute snapshot should be taken.

  • used_bytes (int) – Resource size in bytes, current storage usage for the volume in bytes.

class azure.mgmt.netapp.models.Dimension(*, name: Optional[str] = None, display_name: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Dimension of blobs, possibly be blob type or access tier.

Variables
  • name (str) – Display name of dimension.

  • display_name (str) – Display name of dimension.

Keyword Arguments
  • name (str) – Display name of dimension.

  • display_name (str) – Display name of dimension.

class azure.mgmt.netapp.models.EnableSubvolumes(value)[source]

Bases: str, enum.Enum

Flag indicating whether subvolume operations are enabled on the volume.

DISABLED = 'Disabled'

subvolumes are not enabled

ENABLED = 'Enabled'

subvolumes are enabled

class azure.mgmt.netapp.models.EncryptionIdentity(*, user_assigned_identity: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Identity used to authenticate with key vault.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.

  • user_assigned_identity (str) – The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has ‘UserAssigned’. It should match key of identity.userAssignedIdentities.

Keyword Arguments

user_assigned_identity (str) – The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has ‘UserAssigned’. It should match key of identity.userAssignedIdentities.

class azure.mgmt.netapp.models.EncryptionKeySource(value)[source]

Bases: str, enum.Enum

Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = ‘Microsoft.KeyVault’. Possible values (case-insensitive) are: ‘Microsoft.NetApp, Microsoft.KeyVault’.

MICROSOFT_KEY_VAULT = 'Microsoft.KeyVault'

Customer-managed key encryption

MICROSOFT_NET_APP = 'Microsoft.NetApp'

Microsoft-managed key encryption

class azure.mgmt.netapp.models.EncryptionType(value)[source]

Bases: str, enum.Enum

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.

DOUBLE = 'Double'

EncryptionType Double, volumes will use double encryption at rest

SINGLE = 'Single'

EncryptionType Single, volumes will use single encryption at rest

class azure.mgmt.netapp.models.EndpointType(value)[source]

Bases: str, enum.Enum

Indicates whether the local volume is the source or destination for the Volume Replication.

DST = 'dst'
SRC = 'src'
class azure.mgmt.netapp.models.ExportPolicyRule(*, rule_index: Optional[int] = None, unix_read_only: Optional[bool] = None, unix_read_write: Optional[bool] = None, kerberos5_read_only: bool = False, kerberos5_read_write: bool = False, kerberos5_i_read_only: bool = False, kerberos5_i_read_write: bool = False, kerberos5_p_read_only: bool = False, kerberos5_p_read_write: bool = False, cifs: Optional[bool] = None, nfsv3: Optional[bool] = None, nfsv41: Optional[bool] = None, allowed_clients: Optional[str] = None, has_root_access: bool = True, chown_mode: Union[str, _models.ChownMode] = 'Restricted', **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume Export Policy Rule.

Variables
  • rule_index (int) – Order index.

  • unix_read_only (bool) – Read only access.

  • unix_read_write (bool) – Read and write access.

  • kerberos5_read_only (bool) – Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_read_write (bool) – Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_i_read_only (bool) – Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_i_read_write (bool) – Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_p_read_only (bool) – Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_p_read_write (bool) – Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later.

  • cifs (bool) – Allows CIFS protocol.

  • nfsv3 (bool) – Allows NFSv3 protocol. Enable only for NFSv3 type volumes.

  • nfsv41 (bool) – Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes.

  • allowed_clients (str) – Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names.

  • has_root_access (bool) – Has root access to volume.

  • chown_mode (str or ChownMode) – This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. Known values are: “Restricted” and “Unrestricted”.

Keyword Arguments
  • rule_index (int) – Order index.

  • unix_read_only (bool) – Read only access.

  • unix_read_write (bool) – Read and write access.

  • kerberos5_read_only (bool) – Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_read_write (bool) – Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_i_read_only (bool) – Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_i_read_write (bool) – Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_p_read_only (bool) – Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later.

  • kerberos5_p_read_write (bool) – Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later.

  • cifs (bool) – Allows CIFS protocol.

  • nfsv3 (bool) – Allows NFSv3 protocol. Enable only for NFSv3 type volumes.

  • nfsv41 (bool) – Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes.

  • allowed_clients (str) – Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names.

  • has_root_access (bool) – Has root access to volume.

  • chown_mode (str or ChownMode) – This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. Known values are: “Restricted” and “Unrestricted”.

class azure.mgmt.netapp.models.FilePathAvailabilityRequest(*, name: str, subnet_id: str, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

File path availability request content - availability is based on the name and the subnetId.

All required parameters must be populated in order to send to Azure.

Variables
  • name (str) – File path to verify. Required.

  • subnet_id (str) – The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Required.

Keyword Arguments
  • name (str) – File path to verify. Required.

  • subnet_id (str) – The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Required.

class azure.mgmt.netapp.models.HourlySchedule(*, snapshots_to_keep: Optional[int] = None, minute: Optional[int] = None, used_bytes: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Hourly Schedule properties.

Variables
  • snapshots_to_keep (int) – Hourly snapshot count to keep.

  • minute (int) – Indicates which minute snapshot should be taken.

  • used_bytes (int) – Resource size in bytes, current storage usage for the volume in bytes.

Keyword Arguments
  • snapshots_to_keep (int) – Hourly snapshot count to keep.

  • minute (int) – Indicates which minute snapshot should be taken.

  • used_bytes (int) – Resource size in bytes, current storage usage for the volume in bytes.

class azure.mgmt.netapp.models.Identity(*, type: Union[str, _models.IdentityType], user_assigned_identities: Optional[Dict[str, _models.UserAssignedIdentity]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Identity for the resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • principal_id (str) – The principal ID of resource identity.

  • tenant_id (str) – The tenant ID of resource.

  • type (str or IdentityType) – The identity type. Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.

  • user_assigned_identities (dict[str, UserAssignedIdentity]) – Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.

Keyword Arguments
  • type (str or IdentityType) – The identity type. Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.

  • user_assigned_identities (dict[str, UserAssignedIdentity]) – Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.

class azure.mgmt.netapp.models.IdentityType(value)[source]

Bases: str, enum.Enum

The identity type.

NONE = 'None'
SYSTEM_ASSIGNED = 'SystemAssigned'
SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned,UserAssigned'
USER_ASSIGNED = 'UserAssigned'
class azure.mgmt.netapp.models.InAvailabilityReasonType(value)[source]

Bases: str, enum.Enum

<code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable.

ALREADY_EXISTS = 'AlreadyExists'
INVALID = 'Invalid'
class azure.mgmt.netapp.models.KeySource(value)[source]

Bases: str, enum.Enum

The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.

MICROSOFT_KEY_VAULT = 'Microsoft.KeyVault'

Customer-managed key encryption

MICROSOFT_NET_APP = 'Microsoft.NetApp'

Microsoft-managed key encryption

class azure.mgmt.netapp.models.KeyVaultProperties(*, key_vault_uri: str, key_name: str, key_vault_resource_id: str, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Properties of key vault.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • key_vault_id (str) – UUID v4 used to identify the Azure Key Vault configuration.

  • key_vault_uri (str) – The Uri of KeyVault. Required.

  • key_name (str) – The name of KeyVault key. Required.

  • key_vault_resource_id (str) – The resource ID of KeyVault. Required.

  • status (str or KeyVaultStatus) – Status of the KeyVault connection. Known values are: “Created”, “InUse”, “Deleted”, “Error”, and “Updating”.

Keyword Arguments
  • key_vault_uri (str) – The Uri of KeyVault. Required.

  • key_name (str) – The name of KeyVault key. Required.

  • key_vault_resource_id (str) – The resource ID of KeyVault. Required.

class azure.mgmt.netapp.models.KeyVaultStatus(value)[source]

Bases: str, enum.Enum

Status of the KeyVault connection.

CREATED = 'Created'

KeyVault connection created but not in use

DELETED = 'Deleted'

KeyVault connection Deleted

ERROR = 'Error'

Error with the KeyVault connection

IN_USE = 'InUse'

KeyVault connection in use by SMB Volume

UPDATING = 'Updating'

KeyVault connection Updating

class azure.mgmt.netapp.models.LdapSearchScopeOpt(*, user_dn: Optional[str] = None, group_dn: Optional[str] = None, group_membership_filter: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

LDAP search scope.

Variables
  • user_dn (str) – This specifies the user DN, which overrides the base DN for user lookups.

  • group_dn (str) – This specifies the group DN, which overrides the base DN for group lookups.

  • group_membership_filter (str) – This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.

Keyword Arguments
  • user_dn (str) – This specifies the user DN, which overrides the base DN for user lookups.

  • group_dn (str) – This specifies the group DN, which overrides the base DN for group lookups.

  • group_membership_filter (str) – This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.

class azure.mgmt.netapp.models.ListReplications(*, value: Optional[List[_models.Replication]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List Replications.

Variables

value (list[Replication]) – A list of replications.

Keyword Arguments

value (list[Replication]) – A list of replications.

class azure.mgmt.netapp.models.LogSpecification(*, name: Optional[str] = None, display_name: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Log Definition of a single resource metric.

Variables
  • name (str) – Name of log specification.

  • display_name (str) – Display name of log specification.

Keyword Arguments
  • name (str) – Name of log specification.

  • display_name (str) – Display name of log specification.

class azure.mgmt.netapp.models.MetricAggregationType(value)[source]

Bases: str, enum.Enum

MetricAggregationType.

AVERAGE = 'Average'
class azure.mgmt.netapp.models.MetricSpecification(*, name: Optional[str] = None, display_name: Optional[str] = None, display_description: Optional[str] = None, unit: Optional[str] = None, supported_aggregation_types: Optional[List[Union[str, _models.MetricAggregationType]]] = None, supported_time_grain_types: Optional[List[str]] = None, internal_metric_name: Optional[str] = None, enable_regional_mdm_account: Optional[bool] = None, source_mdm_account: Optional[str] = None, source_mdm_namespace: Optional[str] = None, dimensions: Optional[List[_models.Dimension]] = None, aggregation_type: Optional[str] = None, fill_gap_with_zero: Optional[bool] = None, category: Optional[str] = None, resource_id_dimension_name_override: Optional[str] = None, is_internal: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Metric specification of operation.

Variables
  • name (str) – Name of metric specification.

  • display_name (str) – Display name of metric specification.

  • display_description (str) – Display description of metric specification.

  • unit (str) – Unit could be Bytes or Count.

  • supported_aggregation_types (list[str or MetricAggregationType]) – Support metric aggregation type.

  • supported_time_grain_types (list[str]) – The supported time grain types for the metrics.

  • internal_metric_name (str) – The internal metric name.

  • enable_regional_mdm_account (bool) – Whether or not the service is using regional MDM accounts.

  • source_mdm_account (str) – The source MDM account.

  • source_mdm_namespace (str) – The source MDM namespace.

  • dimensions (list[Dimension]) – Dimensions of blobs, including blob type and access tier.

  • aggregation_type (str) – Aggregation type could be Average.

  • fill_gap_with_zero (bool) – The property to decide fill gap with zero or not.

  • category (str) – The category this metric specification belong to, could be Capacity.

  • resource_id_dimension_name_override (str) – Account Resource Id.

  • is_internal (bool) – Whether the metric is internal.

Keyword Arguments
  • name (str) – Name of metric specification.

  • display_name (str) – Display name of metric specification.

  • display_description (str) – Display description of metric specification.

  • unit (str) – Unit could be Bytes or Count.

  • supported_aggregation_types (list[str or MetricAggregationType]) – Support metric aggregation type.

  • supported_time_grain_types (list[str]) – The supported time grain types for the metrics.

  • internal_metric_name (str) – The internal metric name.

  • enable_regional_mdm_account (bool) – Whether or not the service is using regional MDM accounts.

  • source_mdm_account (str) – The source MDM account.

  • source_mdm_namespace (str) – The source MDM namespace.

  • dimensions (list[Dimension]) – Dimensions of blobs, including blob type and access tier.

  • aggregation_type (str) – Aggregation type could be Average.

  • fill_gap_with_zero (bool) – The property to decide fill gap with zero or not.

  • category (str) – The category this metric specification belong to, could be Capacity.

  • resource_id_dimension_name_override (str) – Account Resource Id.

  • is_internal (bool) – Whether the metric is internal.

class azure.mgmt.netapp.models.MirrorState(value)[source]

Bases: str, enum.Enum

The status of the replication.

BROKEN = 'Broken'
MIRRORED = 'Mirrored'
UNINITIALIZED = 'Uninitialized'
class azure.mgmt.netapp.models.MonthlySchedule(*, snapshots_to_keep: Optional[int] = None, days_of_month: Optional[str] = None, hour: Optional[int] = None, minute: Optional[int] = None, used_bytes: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Monthly Schedule properties.

Variables
  • snapshots_to_keep (int) – Monthly snapshot count to keep.

  • days_of_month (str) – Indicates which days of the month snapshot should be taken. A comma delimited string.

  • hour (int) – Indicates which hour in UTC timezone a snapshot should be taken.

  • minute (int) – Indicates which minute snapshot should be taken.

  • used_bytes (int) – Resource size in bytes, current storage usage for the volume in bytes.

Keyword Arguments
  • snapshots_to_keep (int) – Monthly snapshot count to keep.

  • days_of_month (str) – Indicates which days of the month snapshot should be taken. A comma delimited string.

  • hour (int) – Indicates which hour in UTC timezone a snapshot should be taken.

  • minute (int) – Indicates which minute snapshot should be taken.

  • used_bytes (int) – Resource size in bytes, current storage usage for the volume in bytes.

class azure.mgmt.netapp.models.MountTarget(*, location: str, file_system_id: str, tags: Optional[Dict[str, str]] = None, smb_server_fqdn: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Mount Target.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • location (str) – Resource location. Required.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • mount_target_id (str) – UUID v4 used to identify the MountTarget.

  • file_system_id (str) – UUID v4 used to identify the MountTarget. Required.

  • ip_address (str) – The mount target’s IPv4 address.

  • smb_server_fqdn (str) – The SMB server’s Fully Qualified Domain Name, FQDN.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • file_system_id (str) – UUID v4 used to identify the MountTarget. Required.

  • smb_server_fqdn (str) – The SMB server’s Fully Qualified Domain Name, FQDN.

class azure.mgmt.netapp.models.MountTargetProperties(*, file_system_id: str, smb_server_fqdn: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Mount target properties.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • mount_target_id (str) – UUID v4 used to identify the MountTarget.

  • file_system_id (str) – UUID v4 used to identify the MountTarget. Required.

  • ip_address (str) – The mount target’s IPv4 address.

  • smb_server_fqdn (str) – The SMB server’s Fully Qualified Domain Name, FQDN.

Keyword Arguments
  • file_system_id (str) – UUID v4 used to identify the MountTarget. Required.

  • smb_server_fqdn (str) – The SMB server’s Fully Qualified Domain Name, FQDN.

class azure.mgmt.netapp.models.NetAppAccount(*, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional[_models.Identity] = None, active_directories: Optional[List[_models.ActiveDirectory]] = None, encryption: Optional[_models.AccountEncryption] = None, **kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.TrackedResource

NetApp account resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • identity (Identity) – The identity of the resource.

  • provisioning_state (str) – Azure lifecycle management.

  • active_directories (list[ActiveDirectory]) – Active Directories.

  • encryption (AccountEncryption) – Encryption settings.

  • disable_showmount (bool) – Shows the status of disableShowmount for all volumes under the subscription, null equals false.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • identity (Identity) – The identity of the resource.

  • active_directories (list[ActiveDirectory]) – Active Directories.

  • encryption (AccountEncryption) – Encryption settings.

class azure.mgmt.netapp.models.NetAppAccountList(*, value: Optional[List[_models.NetAppAccount]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of NetApp account resources.

Variables
  • value (list[NetAppAccount]) – Multiple NetApp accounts.

  • next_link (str) – URL to get the next set of results.

Keyword Arguments
  • value (list[NetAppAccount]) – Multiple NetApp accounts.

  • next_link (str) – URL to get the next set of results.

class azure.mgmt.netapp.models.NetAppAccountPatch(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, active_directories: Optional[List[_models.ActiveDirectory]] = None, encryption: Optional[_models.AccountEncryption] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

NetApp account patch resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • provisioning_state (str) – Azure lifecycle management.

  • active_directories (list[ActiveDirectory]) – Active Directories.

  • encryption (AccountEncryption) – Encryption settings.

  • disable_showmount (bool) – Shows the status of disableShowmount for all volumes under the subscription, null equals false.

Keyword Arguments
class azure.mgmt.netapp.models.NetworkFeatures(value)[source]

Bases: str, enum.Enum

Basic network, or Standard features available to the volume.

BASIC = 'Basic'

Basic network feature.

STANDARD = 'Standard'

Standard network feature.

class azure.mgmt.netapp.models.Operation(*, name: Optional[str] = None, display: Optional[_models.OperationDisplay] = None, origin: Optional[str] = None, service_specification: Optional[_models.ServiceSpecification] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Microsoft.NetApp REST API operation definition.

Variables
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDisplay) – Display metadata associated with the operation.

  • origin (str) – The origin of operations.

  • service_specification (ServiceSpecification) – One property of operation, include metric specifications.

Keyword Arguments
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDisplay) – Display metadata associated with the operation.

  • origin (str) – The origin of operations.

  • service_specification (ServiceSpecification) – One property of operation, include metric specifications.

class azure.mgmt.netapp.models.OperationDisplay(*, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Display metadata associated with the operation.

Variables
  • provider (str) – Service provider: Microsoft NetApp.

  • resource (str) – Resource on which the operation is performed etc.

  • operation (str) – Type of operation: get, read, delete, etc.

  • description (str) – Operation description.

Keyword Arguments
  • provider (str) – Service provider: Microsoft NetApp.

  • resource (str) – Resource on which the operation is performed etc.

  • operation (str) – Type of operation: get, read, delete, etc.

  • description (str) – Operation description.

class azure.mgmt.netapp.models.OperationListResult(*, value: Optional[List[_models.Operation]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.

Variables

value (list[Operation]) – List of Storage operations supported by the Storage resource provider.

Keyword Arguments

value (list[Operation]) – List of Storage operations supported by the Storage resource provider.

class azure.mgmt.netapp.models.PlacementKeyValuePairs(*, key: str, value: str, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Application specific parameters for the placement of volumes in the volume group.

All required parameters must be populated in order to send to Azure.

Variables
  • key (str) – Key for an application specific parameter for the placement of volumes in the volume group. Required.

  • value (str) – Value for an application specific parameter for the placement of volumes in the volume group. Required.

Keyword Arguments
  • key (str) – Key for an application specific parameter for the placement of volumes in the volume group. Required.

  • value (str) – Value for an application specific parameter for the placement of volumes in the volume group. Required.

class azure.mgmt.netapp.models.PoolChangeRequest(*, new_pool_resource_id: str, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Pool change request.

All required parameters must be populated in order to send to Azure.

Variables

new_pool_resource_id (str) – Resource id of the pool to move volume to. Required.

Keyword Arguments

new_pool_resource_id (str) – Resource id of the pool to move volume to. Required.

class azure.mgmt.netapp.models.ProvisioningState(value)[source]

Bases: str, enum.Enum

Gets the status of the VolumeQuotaRule at the time the operation was called.

ACCEPTED = 'Accepted'
CREATING = 'Creating'
DELETING = 'Deleting'
FAILED = 'Failed'
MOVING = 'Moving'
PATCHING = 'Patching'
SUCCEEDED = 'Succeeded'
class azure.mgmt.netapp.models.ProxyResource(**kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.Resource

The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

class azure.mgmt.netapp.models.QosType(value)[source]

Bases: str, enum.Enum

The qos type of the pool.

AUTO = 'Auto'

qos type Auto

MANUAL = 'Manual'

qos type Manual

class azure.mgmt.netapp.models.QuotaAvailabilityRequest(*, name: str, type: Union[str, _models.CheckQuotaNameResourceTypes], resource_group: str, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Quota availability request content.

All required parameters must be populated in order to send to Azure.

Variables
  • name (str) – Name of the resource to verify. Required.

  • type (str or CheckQuotaNameResourceTypes) – Resource type used for verification. Required. Known values are: “Microsoft.NetApp/netAppAccounts”, “Microsoft.NetApp/netAppAccounts/capacityPools”, “Microsoft.NetApp/netAppAccounts/capacityPools/volumes”, and “Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots”.

  • resource_group (str) – Resource group name. Required.

Keyword Arguments
  • name (str) – Name of the resource to verify. Required.

  • type (str or CheckQuotaNameResourceTypes) – Resource type used for verification. Required. Known values are: “Microsoft.NetApp/netAppAccounts”, “Microsoft.NetApp/netAppAccounts/capacityPools”, “Microsoft.NetApp/netAppAccounts/capacityPools/volumes”, and “Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots”.

  • resource_group (str) – Resource group name. Required.

class azure.mgmt.netapp.models.ReestablishReplicationRequest(*, source_volume_id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Re-establish request object supplied in the body of the operation.

Variables

source_volume_id (str) – Resource id of the source volume for the replication.

Keyword Arguments

source_volume_id (str) – Resource id of the source volume for the replication.

class azure.mgmt.netapp.models.RegionInfo(*, storage_to_network_proximity: Optional[Union[str, _models.RegionStorageToNetworkProximity]] = None, availability_zone_mappings: Optional[List[_models.RegionInfoAvailabilityZoneMappingsItem]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Provides region specific information.

Variables
Keyword Arguments
class azure.mgmt.netapp.models.RegionInfoAvailabilityZoneMappingsItem(*, availability_zone: Optional[str] = None, is_available: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

RegionInfoAvailabilityZoneMappingsItem.

Variables
  • availability_zone (str) – Logical availability zone.

  • is_available (bool) – Available availability zone.

Keyword Arguments
  • availability_zone (str) – Logical availability zone.

  • is_available (bool) – Available availability zone.

class azure.mgmt.netapp.models.RegionStorageToNetworkProximity(value)[source]

Bases: str, enum.Enum

Provides storage to network proximity information in the region.

DEFAULT = 'Default'

Basic network connectivity.

T1 = 'T1'

Standard T1 network connectivity.

T1_AND_T2 = 'T1AndT2'

Standard T1 and T2 network connectivity.

T2 = 'T2'

Standard T2 network connectivity.

class azure.mgmt.netapp.models.RelationshipStatus(value)[source]

Bases: str, enum.Enum

Status of the mirror relationship.

IDLE = 'Idle'
TRANSFERRING = 'Transferring'
class azure.mgmt.netapp.models.RelocateVolumeRequest(*, creation_token: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Relocate volume request.

Variables

creation_token (str) – New creation token for the volume that controls the mount point name.

Keyword Arguments

creation_token (str) – New creation token for the volume that controls the mount point name.

class azure.mgmt.netapp.models.Replication(*, remote_volume_resource_id: str, endpoint_type: Optional[Union[str, _models.EndpointType]] = None, replication_schedule: Optional[Union[str, _models.ReplicationSchedule]] = None, remote_volume_region: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Replication properties.

All required parameters must be populated in order to send to Azure.

Variables
  • endpoint_type (str or EndpointType) – Indicates whether the local volume is the source or destination for the Volume Replication. Known values are: “src” and “dst”.

  • replication_schedule (str or ReplicationSchedule) – Schedule. Known values are: “_10minutely”, “hourly”, and “daily”.

  • remote_volume_resource_id (str) – The resource ID of the remote volume. Required.

  • remote_volume_region (str) – The remote region for the other end of the Volume Replication.

Keyword Arguments
  • endpoint_type (str or EndpointType) – Indicates whether the local volume is the source or destination for the Volume Replication. Known values are: “src” and “dst”.

  • replication_schedule (str or ReplicationSchedule) – Schedule. Known values are: “_10minutely”, “hourly”, and “daily”.

  • remote_volume_resource_id (str) – The resource ID of the remote volume. Required.

  • remote_volume_region (str) – The remote region for the other end of the Volume Replication.

class azure.mgmt.netapp.models.ReplicationObject(*, remote_volume_resource_id: str, replication_id: Optional[str] = None, endpoint_type: Optional[Union[str, _models.EndpointType]] = None, replication_schedule: Optional[Union[str, _models.ReplicationSchedule]] = None, remote_volume_region: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Replication properties.

All required parameters must be populated in order to send to Azure.

Variables
  • replication_id (str) – Id.

  • endpoint_type (str or EndpointType) – Indicates whether the local volume is the source or destination for the Volume Replication. Known values are: “src” and “dst”.

  • replication_schedule (str or ReplicationSchedule) – Schedule. Known values are: “_10minutely”, “hourly”, and “daily”.

  • remote_volume_resource_id (str) – The resource ID of the remote volume. Required.

  • remote_volume_region (str) – The remote region for the other end of the Volume Replication.

Keyword Arguments
  • replication_id (str) – Id.

  • endpoint_type (str or EndpointType) – Indicates whether the local volume is the source or destination for the Volume Replication. Known values are: “src” and “dst”.

  • replication_schedule (str or ReplicationSchedule) – Schedule. Known values are: “_10minutely”, “hourly”, and “daily”.

  • remote_volume_resource_id (str) – The resource ID of the remote volume. Required.

  • remote_volume_region (str) – The remote region for the other end of the Volume Replication.

class azure.mgmt.netapp.models.ReplicationSchedule(value)[source]

Bases: str, enum.Enum

Schedule.

DAILY = 'daily'
HOURLY = 'hourly'
class azure.mgmt.netapp.models.ReplicationStatus(*, healthy: Optional[bool] = None, relationship_status: Optional[Union[str, _models.RelationshipStatus]] = None, mirror_state: Optional[Union[str, _models.MirrorState]] = None, total_progress: Optional[str] = None, error_message: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Replication status.

Variables
  • healthy (bool) – Replication health check.

  • relationship_status (str or RelationshipStatus) – Status of the mirror relationship. Known values are: “Idle” and “Transferring”.

  • mirror_state (str or MirrorState) – The status of the replication. Known values are: “Uninitialized”, “Mirrored”, and “Broken”.

  • total_progress (str) – The progress of the replication.

  • error_message (str) – Displays error message if the replication is in an error state.

Keyword Arguments
  • healthy (bool) – Replication health check.

  • relationship_status (str or RelationshipStatus) – Status of the mirror relationship. Known values are: “Idle” and “Transferring”.

  • mirror_state (str or MirrorState) – The status of the replication. Known values are: “Uninitialized”, “Mirrored”, and “Broken”.

  • total_progress (str) – The progress of the replication.

  • error_message (str) – Displays error message if the replication is in an error state.

class azure.mgmt.netapp.models.Resource(**kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Common fields that are returned in the response for all Azure Resource Manager resources.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

class azure.mgmt.netapp.models.ResourceIdentity(*, type: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Identity for the resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – Object id of the identity resource.

  • tenant_id (str) – The tenant id of the resource.

  • type (str) – Type of Identity. Supported values are: ‘None’, ‘SystemAssigned’.

Keyword Arguments

type (str) – Type of Identity. Supported values are: ‘None’, ‘SystemAssigned’.

class azure.mgmt.netapp.models.ResourceNameAvailabilityRequest(*, name: str, type: Union[str, _models.CheckNameResourceTypes], resource_group: str, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Resource name availability request content.

All required parameters must be populated in order to send to Azure.

Variables
  • name (str) – Resource name to verify. Required.

  • type (str or CheckNameResourceTypes) – Resource type used for verification. Required. Known values are: “Microsoft.NetApp/netAppAccounts”, “Microsoft.NetApp/netAppAccounts/capacityPools”, “Microsoft.NetApp/netAppAccounts/capacityPools/volumes”, and “Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots”.

  • resource_group (str) – Resource group name. Required.

Keyword Arguments
  • name (str) – Resource name to verify. Required.

  • type (str or CheckNameResourceTypes) – Resource type used for verification. Required. Known values are: “Microsoft.NetApp/netAppAccounts”, “Microsoft.NetApp/netAppAccounts/capacityPools”, “Microsoft.NetApp/netAppAccounts/capacityPools/volumes”, and “Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots”.

  • resource_group (str) – Resource group name. Required.

class azure.mgmt.netapp.models.RestoreStatus(**kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Restore status.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • healthy (bool) – Restore health status.

  • relationship_status (str or RelationshipStatus) – Status of the restore SnapMirror relationship. Known values are: “Idle” and “Transferring”.

  • mirror_state (str or MirrorState) – The status of the restore. Known values are: “Uninitialized”, “Mirrored”, and “Broken”.

  • unhealthy_reason (str) – Reason for the unhealthy restore relationship.

  • error_message (str) – Displays error message if the restore is in an error state.

  • total_transfer_bytes (int) – Displays the total bytes transferred.

class azure.mgmt.netapp.models.SecurityStyle(value)[source]

Bases: str, enum.Enum

The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.

NTFS = 'ntfs'
UNIX = 'unix'
class azure.mgmt.netapp.models.ServiceLevel(value)[source]

Bases: str, enum.Enum

The service level of the file system.

PREMIUM = 'Premium'

Premium service level

STANDARD = 'Standard'

Standard service level

STANDARD_ZRS = 'StandardZRS'

Zone redundant storage service level

ULTRA = 'Ultra'

Ultra service level

class azure.mgmt.netapp.models.ServiceSpecification(*, metric_specifications: Optional[List[_models.MetricSpecification]] = None, log_specifications: Optional[List[_models.LogSpecification]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

One property of operation, include metric specifications.

Variables
Keyword Arguments
class azure.mgmt.netapp.models.SmbAccessBasedEnumeration(value)[source]

Bases: str, enum.Enum

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.

DISABLED = 'Disabled'

smbAccessBasedEnumeration share setting is disabled

ENABLED = 'Enabled'

smbAccessBasedEnumeration share setting is enabled

class azure.mgmt.netapp.models.SmbNonBrowsable(value)[source]

Bases: str, enum.Enum

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.

DISABLED = 'Disabled'

smbNonBrowsable share setting is disabled

ENABLED = 'Enabled'

smbNonBrowsable share setting is enabled

class azure.mgmt.netapp.models.Snapshot(*, location: str, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Snapshot of a Volume.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • location (str) – Resource location. Required.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • snapshot_id (str) – UUID v4 used to identify the Snapshot.

  • created (datetime) – The creation date of the snapshot.

  • provisioning_state (str) – Azure lifecycle management.

Keyword Arguments

location (str) – Resource location. Required.

class azure.mgmt.netapp.models.SnapshotPoliciesList(*, value: Optional[List[_models.SnapshotPolicy]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of Snapshot Policies.

Variables

value (list[SnapshotPolicy]) – A list of snapshot policies.

Keyword Arguments

value (list[SnapshotPolicy]) – A list of snapshot policies.

class azure.mgmt.netapp.models.SnapshotPolicy(*, location: str, tags: Optional[Dict[str, str]] = None, hourly_schedule: Optional[_models.HourlySchedule] = None, daily_schedule: Optional[_models.DailySchedule] = None, weekly_schedule: Optional[_models.WeeklySchedule] = None, monthly_schedule: Optional[_models.MonthlySchedule] = None, enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.TrackedResource

Snapshot policy information.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • hourly_schedule (HourlySchedule) – Schedule for hourly snapshots.

  • daily_schedule (DailySchedule) – Schedule for daily snapshots.

  • weekly_schedule (WeeklySchedule) – Schedule for weekly snapshots.

  • monthly_schedule (MonthlySchedule) – Schedule for monthly snapshots.

  • enabled (bool) – The property to decide policy is enabled or not.

  • provisioning_state (str) – Azure lifecycle management.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • hourly_schedule (HourlySchedule) – Schedule for hourly snapshots.

  • daily_schedule (DailySchedule) – Schedule for daily snapshots.

  • weekly_schedule (WeeklySchedule) – Schedule for weekly snapshots.

  • monthly_schedule (MonthlySchedule) – Schedule for monthly snapshots.

  • enabled (bool) – The property to decide policy is enabled or not.

class azure.mgmt.netapp.models.SnapshotPolicyDetails(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, hourly_schedule: Optional[_models.HourlySchedule] = None, daily_schedule: Optional[_models.DailySchedule] = None, weekly_schedule: Optional[_models.WeeklySchedule] = None, monthly_schedule: Optional[_models.MonthlySchedule] = None, enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Snapshot policy properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • hourly_schedule (HourlySchedule) – Schedule for hourly snapshots.

  • daily_schedule (DailySchedule) – Schedule for daily snapshots.

  • weekly_schedule (WeeklySchedule) – Schedule for weekly snapshots.

  • monthly_schedule (MonthlySchedule) – Schedule for monthly snapshots.

  • enabled (bool) – The property to decide policy is enabled or not.

  • provisioning_state (str) – Azure lifecycle management.

Keyword Arguments
  • location (str) – Resource location.

  • tags (dict[str, str]) – Resource tags.

  • hourly_schedule (HourlySchedule) – Schedule for hourly snapshots.

  • daily_schedule (DailySchedule) – Schedule for daily snapshots.

  • weekly_schedule (WeeklySchedule) – Schedule for weekly snapshots.

  • monthly_schedule (MonthlySchedule) – Schedule for monthly snapshots.

  • enabled (bool) – The property to decide policy is enabled or not.

class azure.mgmt.netapp.models.SnapshotPolicyPatch(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, hourly_schedule: Optional[_models.HourlySchedule] = None, daily_schedule: Optional[_models.DailySchedule] = None, weekly_schedule: Optional[_models.WeeklySchedule] = None, monthly_schedule: Optional[_models.MonthlySchedule] = None, enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Snapshot policy Details for create and update.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • hourly_schedule (HourlySchedule) – Schedule for hourly snapshots.

  • daily_schedule (DailySchedule) – Schedule for daily snapshots.

  • weekly_schedule (WeeklySchedule) – Schedule for weekly snapshots.

  • monthly_schedule (MonthlySchedule) – Schedule for monthly snapshots.

  • enabled (bool) – The property to decide policy is enabled or not.

  • provisioning_state (str) – Azure lifecycle management.

Keyword Arguments
  • location (str) – Resource location.

  • tags (dict[str, str]) – Resource tags.

  • hourly_schedule (HourlySchedule) – Schedule for hourly snapshots.

  • daily_schedule (DailySchedule) – Schedule for daily snapshots.

  • weekly_schedule (WeeklySchedule) – Schedule for weekly snapshots.

  • monthly_schedule (MonthlySchedule) – Schedule for monthly snapshots.

  • enabled (bool) – The property to decide policy is enabled or not.

class azure.mgmt.netapp.models.SnapshotPolicyVolumeList(*, value: Optional[List[_models.Volume]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volumes associated with snapshot policy.

Variables

value (list[Volume]) – List of volumes.

Keyword Arguments

value (list[Volume]) – List of volumes.

class azure.mgmt.netapp.models.SnapshotRestoreFiles(*, file_paths: List[str], destination_path: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Restore payload for Single File Snapshot Restore.

All required parameters must be populated in order to send to Azure.

Variables
  • file_paths (list[str]) – List of files to be restored. Required.

  • destination_path (str) – Destination folder where the files will be restored.

Keyword Arguments
  • file_paths (list[str]) – List of files to be restored. Required.

  • destination_path (str) – Destination folder where the files will be restored.

class azure.mgmt.netapp.models.SnapshotsList(*, value: Optional[List[_models.Snapshot]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of Snapshots.

Variables

value (list[Snapshot]) – A list of Snapshots.

Keyword Arguments

value (list[Snapshot]) – A list of Snapshots.

class azure.mgmt.netapp.models.SubscriptionQuotaItem(**kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.ProxyResource

Information regarding Subscription Quota Item.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • current (int) – The current quota value.

  • default (int) – The default quota value.

class azure.mgmt.netapp.models.SubscriptionQuotaItemList(*, value: Optional[List[_models.SubscriptionQuotaItem]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of Subscription Quota Items.

Variables

value (list[SubscriptionQuotaItem]) – A list of SubscriptionQuotaItems.

Keyword Arguments

value (list[SubscriptionQuotaItem]) – A list of SubscriptionQuotaItems.

class azure.mgmt.netapp.models.SubvolumeInfo(*, path: Optional[str] = None, size: Optional[int] = None, parent_path: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.ProxyResource

Subvolume Information properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • path (str) – Path to the subvolume.

  • size (int) – Truncate subvolume to the provided size in bytes.

  • parent_path (str) – parent path to the subvolume.

  • provisioning_state (str) – Azure lifecycle management.

Keyword Arguments
  • path (str) – Path to the subvolume.

  • size (int) – Truncate subvolume to the provided size in bytes.

  • parent_path (str) – parent path to the subvolume.

class azure.mgmt.netapp.models.SubvolumeModel(*, path: Optional[str] = None, parent_path: Optional[str] = None, size: Optional[int] = None, bytes_used: Optional[int] = None, permissions: Optional[str] = None, creation_time_stamp: Optional[datetime.datetime] = None, accessed_time_stamp: Optional[datetime.datetime] = None, modified_time_stamp: Optional[datetime.datetime] = None, changed_time_stamp: Optional[datetime.datetime] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Result of the post subvolume and action is to get metadata of the subvolume.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • path (str) – Path to the subvolume.

  • parent_path (str) – Path to the parent subvolume.

  • size (int) – Size of subvolume.

  • bytes_used (int) – Bytes used.

  • permissions (str) – Permissions of the subvolume.

  • creation_time_stamp (datetime) – Creation time and date.

  • accessed_time_stamp (datetime) – Most recent access time and date.

  • modified_time_stamp (datetime) – Most recent modification time and date.

  • changed_time_stamp (datetime) – Most recent change time and date.

  • provisioning_state (str) – Azure lifecycle management.

Keyword Arguments
  • path (str) – Path to the subvolume.

  • parent_path (str) – Path to the parent subvolume.

  • size (int) – Size of subvolume.

  • bytes_used (int) – Bytes used.

  • permissions (str) – Permissions of the subvolume.

  • creation_time_stamp (datetime) – Creation time and date.

  • accessed_time_stamp (datetime) – Most recent access time and date.

  • modified_time_stamp (datetime) – Most recent modification time and date.

  • changed_time_stamp (datetime) – Most recent change time and date.

  • provisioning_state (str) – Azure lifecycle management.

class azure.mgmt.netapp.models.SubvolumePatchRequest(*, size: Optional[int] = None, path: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Subvolume Patch Request properties.

Variables
  • size (int) – Truncate subvolume to the provided size in bytes.

  • path (str) – path to the subvolume.

Keyword Arguments
  • size (int) – Truncate subvolume to the provided size in bytes.

  • path (str) – path to the subvolume.

class azure.mgmt.netapp.models.SubvolumesList(*, value: Optional[List[_models.SubvolumeInfo]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of Subvolumes.

Variables
  • value (list[SubvolumeInfo]) – A list of Subvolumes.

  • next_link (str) – URL to get the next set of results.

Keyword Arguments
  • value (list[SubvolumeInfo]) – A list of Subvolumes.

  • next_link (str) – URL to get the next set of results.

class azure.mgmt.netapp.models.SystemData(*, created_by: Optional[str] = None, created_by_type: Optional[Union[str, _models.CreatedByType]] = None, created_at: Optional[datetime.datetime] = None, last_modified_by: Optional[str] = None, last_modified_by_type: Optional[Union[str, _models.CreatedByType]] = None, last_modified_at: Optional[datetime.datetime] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Metadata pertaining to creation and last modification of the resource.

Variables
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

Keyword Arguments
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

class azure.mgmt.netapp.models.TrackedResource(*, location: str, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.Resource

The resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

class azure.mgmt.netapp.models.Type(value)[source]

Bases: str, enum.Enum

Type of quota.

DEFAULT_GROUP_QUOTA = 'DefaultGroupQuota'

Default group quota

DEFAULT_USER_QUOTA = 'DefaultUserQuota'

Default user quota

INDIVIDUAL_GROUP_QUOTA = 'IndividualGroupQuota'

Individual group quota

INDIVIDUAL_USER_QUOTA = 'IndividualUserQuota'

Individual user quota

class azure.mgmt.netapp.models.UserAssignedIdentity(**kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

UserAssignedIdentity for the resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal ID of the identity.

  • client_id (str) – The client ID of the identity.

class azure.mgmt.netapp.models.Vault(*, vault_name: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Vault information.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • vault_name (str) – Vault Name.

Keyword Arguments

vault_name (str) – Vault Name.

class azure.mgmt.netapp.models.VaultList(*, value: Optional[List[_models.Vault]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of Vaults.

Variables

value (list[Vault]) – A list of vaults.

Keyword Arguments

value (list[Vault]) – A list of vaults.

class azure.mgmt.netapp.models.Volume(*, location: str, creation_token: str, usage_threshold: int = 107374182400, subnet_id: str, tags: Optional[Dict[str, str]] = None, zones: Optional[List[str]] = None, service_level: Union[str, _models.ServiceLevel] = 'Premium', export_policy: Optional[_models.VolumePropertiesExportPolicy] = None, protocol_types: Optional[List[str]] = None, snapshot_id: Optional[str] = None, delete_base_snapshot: Optional[bool] = None, backup_id: Optional[str] = None, network_features: Union[str, _models.NetworkFeatures] = 'Basic', volume_type: Optional[str] = None, data_protection: Optional[_models.VolumePropertiesDataProtection] = None, is_restoring: Optional[bool] = None, snapshot_directory_visible: bool = True, kerberos_enabled: bool = False, security_style: Union[str, _models.SecurityStyle] = 'unix', smb_encryption: bool = False, smb_access_based_enumeration: Optional[Union[str, _models.SmbAccessBasedEnumeration]] = None, smb_non_browsable: Optional[Union[str, _models.SmbNonBrowsable]] = None, smb_continuously_available: bool = False, throughput_mibps: Optional[float] = None, encryption_key_source: Union[str, _models.EncryptionKeySource] = 'Microsoft.NetApp', key_vault_private_endpoint_resource_id: Optional[str] = None, ldap_enabled: bool = False, cool_access: bool = False, coolness_period: Optional[int] = None, unix_permissions: str = '0770', avs_data_store: Union[str, _models.AvsDataStore] = 'Disabled', is_default_quota_enabled: bool = False, default_user_quota_in_ki_bs: int = 0, default_group_quota_in_ki_bs: int = 0, capacity_pool_resource_id: Optional[str] = None, proximity_placement_group: Optional[str] = None, volume_spec_name: Optional[str] = None, placement_rules: Optional[List[_models.PlacementKeyValuePairs]] = None, enable_subvolumes: Union[str, _models.EnableSubvolumes] = 'Disabled', **kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.TrackedResource

Volume resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • zones (list[str]) – Availability Zone.

  • file_system_id (str) – Unique FileSystem Identifier.

  • creation_token (str) – A unique file path for the volume. Used when creating mount targets. Required.

  • service_level (str or ServiceLevel) – The service level of the file system. Known values are: “Standard”, “Premium”, “Ultra”, and “StandardZRS”.

  • usage_threshold (int) – Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes.

  • export_policy (VolumePropertiesExportPolicy) – Set of export policy rules.

  • protocol_types (list[str]) – Set of protocol types, default NFSv3, CIFS for SMB protocol.

  • provisioning_state (str) – Azure lifecycle management.

  • snapshot_id (str) – UUID v4 or resource identifier used to identify the Snapshot.

  • delete_base_snapshot (bool) – If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.

  • backup_id (str) – UUID v4 or resource identifier used to identify the Backup.

  • baremetal_tenant_id (str) – Unique Baremetal Tenant Identifier.

  • subnet_id (str) – The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Required.

  • network_features (str or NetworkFeatures) – Basic network, or Standard features available to the volume. Known values are: “Basic” and “Standard”.

  • network_sibling_set_id (str) – Network Sibling Set ID for the the group of volumes sharing networking resources.

  • storage_to_network_proximity (str or VolumeStorageToNetworkProximity) – Provides storage to network proximity information for the volume. Known values are: “Default”, “T1”, and “T2”.

  • mount_targets (list[MountTargetProperties]) – List of mount targets.

  • volume_type (str) – What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.

  • data_protection (VolumePropertiesDataProtection) – DataProtection type volumes include an object containing details of the replication.

  • is_restoring (bool) – Restoring.

  • snapshot_directory_visible (bool) – If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume’s snapshots (default to true).

  • kerberos_enabled (bool) – Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.

  • security_style (str or SecurityStyle) – The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. Known values are: “ntfs” and “unix”.

  • smb_encryption (bool) – Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.

  • smb_access_based_enumeration (str or SmbAccessBasedEnumeration) – Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: “Disabled” and “Enabled”.

  • smb_non_browsable (str or SmbNonBrowsable) – Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: “Disabled” and “Enabled”.

  • smb_continuously_available (bool) – Enables continuously available share property for smb volume. Only applicable for SMB volume.

  • throughput_mibps (float) – Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

  • encryption_key_source (str or EncryptionKeySource) – Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = ‘Microsoft.KeyVault’. Possible values (case-insensitive) are: ‘Microsoft.NetApp, Microsoft.KeyVault’. Known values are: “Microsoft.NetApp” and “Microsoft.KeyVault”.

  • key_vault_private_endpoint_resource_id (str) – The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = ‘Microsoft.KeyVault’.

  • ldap_enabled (bool) – Specifies whether LDAP is enabled or not for a given NFS volume.

  • cool_access (bool) – Specifies whether Cool Access(tiering) is enabled for the volume.

  • coolness_period (int) – Specifies the number of days after which data that is not accessed by clients will be tiered.

  • unix_permissions (str) – UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.

  • clone_progress (int) – When a volume is being restored from another volume’s snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning.

  • avs_data_store (str or AvsDataStore) – Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. Known values are: “Enabled” and “Disabled”.

  • is_default_quota_enabled (bool) – Specifies if default quota is enabled for the volume.

  • default_user_quota_in_ki_bs (int) – Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

  • default_group_quota_in_ki_bs (int) – Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

  • maximum_number_of_files (int) – Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB.

  • volume_group_name (str) – Volume Group Name.

  • capacity_pool_resource_id (str) – Pool Resource Id used in case of creating a volume through volume group.

  • proximity_placement_group (str) – Proximity placement group associated with the volume.

  • t2_network (str) – T2 network information.

  • volume_spec_name (str) – Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.

  • encrypted (bool) – Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01.

  • placement_rules (list[PlacementKeyValuePairs]) – Application specific placement rules for the particular volume.

  • enable_subvolumes (str or EnableSubvolumes) – Flag indicating whether subvolume operations are enabled on the volume. Known values are: “Enabled” and “Disabled”.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • zones (list[str]) – Availability Zone.

  • creation_token (str) – A unique file path for the volume. Used when creating mount targets. Required.

  • service_level (str or ServiceLevel) – The service level of the file system. Known values are: “Standard”, “Premium”, “Ultra”, and “StandardZRS”.

  • usage_threshold (int) – Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes.

  • export_policy (VolumePropertiesExportPolicy) – Set of export policy rules.

  • protocol_types (list[str]) – Set of protocol types, default NFSv3, CIFS for SMB protocol.

  • snapshot_id (str) – UUID v4 or resource identifier used to identify the Snapshot.

  • delete_base_snapshot (bool) – If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.

  • backup_id (str) – UUID v4 or resource identifier used to identify the Backup.

  • subnet_id (str) – The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Required.

  • network_features (str or NetworkFeatures) – Basic network, or Standard features available to the volume. Known values are: “Basic” and “Standard”.

  • volume_type (str) – What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.

  • data_protection (VolumePropertiesDataProtection) – DataProtection type volumes include an object containing details of the replication.

  • is_restoring (bool) – Restoring.

  • snapshot_directory_visible (bool) – If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume’s snapshots (default to true).

  • kerberos_enabled (bool) – Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.

  • security_style (str or SecurityStyle) – The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. Known values are: “ntfs” and “unix”.

  • smb_encryption (bool) – Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.

  • smb_access_based_enumeration (str or SmbAccessBasedEnumeration) – Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: “Disabled” and “Enabled”.

  • smb_non_browsable (str or SmbNonBrowsable) – Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: “Disabled” and “Enabled”.

  • smb_continuously_available (bool) – Enables continuously available share property for smb volume. Only applicable for SMB volume.

  • throughput_mibps (float) – Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

  • encryption_key_source (str or EncryptionKeySource) – Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = ‘Microsoft.KeyVault’. Possible values (case-insensitive) are: ‘Microsoft.NetApp, Microsoft.KeyVault’. Known values are: “Microsoft.NetApp” and “Microsoft.KeyVault”.

  • key_vault_private_endpoint_resource_id (str) – The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = ‘Microsoft.KeyVault’.

  • ldap_enabled (bool) – Specifies whether LDAP is enabled or not for a given NFS volume.

  • cool_access (bool) – Specifies whether Cool Access(tiering) is enabled for the volume.

  • coolness_period (int) – Specifies the number of days after which data that is not accessed by clients will be tiered.

  • unix_permissions (str) – UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.

  • avs_data_store (str or AvsDataStore) – Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. Known values are: “Enabled” and “Disabled”.

  • is_default_quota_enabled (bool) – Specifies if default quota is enabled for the volume.

  • default_user_quota_in_ki_bs (int) – Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

  • default_group_quota_in_ki_bs (int) – Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

  • capacity_pool_resource_id (str) – Pool Resource Id used in case of creating a volume through volume group.

  • proximity_placement_group (str) – Proximity placement group associated with the volume.

  • volume_spec_name (str) – Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.

  • placement_rules (list[PlacementKeyValuePairs]) – Application specific placement rules for the particular volume.

  • enable_subvolumes (str or EnableSubvolumes) – Flag indicating whether subvolume operations are enabled on the volume. Known values are: “Enabled” and “Disabled”.

class azure.mgmt.netapp.models.VolumeBackupProperties(*, backup_policy_id: Optional[str] = None, policy_enforced: Optional[bool] = None, vault_id: Optional[str] = None, backup_enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume Backup Properties.

Variables
  • backup_policy_id (str) – Backup Policy Resource ID.

  • policy_enforced (bool) – Policy Enforced.

  • vault_id (str) – Vault Resource ID.

  • backup_enabled (bool) – Backup Enabled.

Keyword Arguments
  • backup_policy_id (str) – Backup Policy Resource ID.

  • policy_enforced (bool) – Policy Enforced.

  • vault_id (str) – Vault Resource ID.

  • backup_enabled (bool) – Backup Enabled.

class azure.mgmt.netapp.models.VolumeBackups(*, volume_name: Optional[str] = None, backups_count: Optional[int] = None, policy_enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume details using the backup policy.

Variables
  • volume_name (str) – Volume name.

  • backups_count (int) – Total count of backups for volume.

  • policy_enabled (bool) – Policy enabled.

Keyword Arguments
  • volume_name (str) – Volume name.

  • backups_count (int) – Total count of backups for volume.

  • policy_enabled (bool) – Policy enabled.

class azure.mgmt.netapp.models.VolumeGroup(*, location: Optional[str] = None, group_meta_data: Optional[_models.VolumeGroupMetaData] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume group resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • provisioning_state (str) – Azure lifecycle management.

  • group_meta_data (VolumeGroupMetaData) – Volume group details.

Keyword Arguments
class azure.mgmt.netapp.models.VolumeGroupDetails(*, location: Optional[str] = None, group_meta_data: Optional[_models.VolumeGroupMetaData] = None, volumes: Optional[List[_models.VolumeGroupVolumeProperties]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume group resource for create.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
Keyword Arguments
class azure.mgmt.netapp.models.VolumeGroupList(*, value: Optional[List[_models.VolumeGroup]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of volume group resources.

Variables

value (list[VolumeGroup]) – List of volume Groups.

Keyword Arguments

value (list[VolumeGroup]) – List of volume Groups.

class azure.mgmt.netapp.models.VolumeGroupMetaData(*, group_description: Optional[str] = None, application_type: Optional[Union[str, _models.ApplicationType]] = None, application_identifier: Optional[str] = None, global_placement_rules: Optional[List[_models.PlacementKeyValuePairs]] = None, deployment_spec_id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume group properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • group_description (str) – Group Description.

  • application_type (str or ApplicationType) – Application Type. “SAP-HANA”

  • application_identifier (str) – Application specific identifier.

  • global_placement_rules (list[PlacementKeyValuePairs]) – Application specific placement rules for the volume group.

  • deployment_spec_id (str) – Application specific identifier of deployment rules for the volume group.

  • volumes_count (int) – Number of volumes in volume group.

Keyword Arguments
  • group_description (str) – Group Description.

  • application_type (str or ApplicationType) – Application Type. “SAP-HANA”

  • application_identifier (str) – Application specific identifier.

  • global_placement_rules (list[PlacementKeyValuePairs]) – Application specific placement rules for the volume group.

  • deployment_spec_id (str) – Application specific identifier of deployment rules for the volume group.

class azure.mgmt.netapp.models.VolumeGroupVolumeProperties(*, creation_token: str, usage_threshold: int = 107374182400, subnet_id: str, name: Optional[str] = None, tags: Optional[Dict[str, str]] = None, service_level: Union[str, _models.ServiceLevel] = 'Premium', export_policy: Optional[_models.VolumePropertiesExportPolicy] = None, protocol_types: Optional[List[str]] = None, snapshot_id: Optional[str] = None, delete_base_snapshot: Optional[bool] = None, backup_id: Optional[str] = None, network_features: Union[str, _models.NetworkFeatures] = 'Basic', volume_type: Optional[str] = None, data_protection: Optional[_models.VolumePropertiesDataProtection] = None, is_restoring: Optional[bool] = None, snapshot_directory_visible: bool = True, kerberos_enabled: bool = False, security_style: Union[str, _models.SecurityStyle] = 'unix', smb_encryption: bool = False, smb_access_based_enumeration: Optional[Union[str, _models.SmbAccessBasedEnumeration]] = None, smb_non_browsable: Optional[Union[str, _models.SmbNonBrowsable]] = None, smb_continuously_available: bool = False, throughput_mibps: Optional[float] = None, encryption_key_source: Union[str, _models.EncryptionKeySource] = 'Microsoft.NetApp', key_vault_private_endpoint_resource_id: Optional[str] = None, ldap_enabled: bool = False, cool_access: bool = False, coolness_period: Optional[int] = None, unix_permissions: str = '0770', avs_data_store: Union[str, _models.AvsDataStore] = 'Disabled', is_default_quota_enabled: bool = False, default_user_quota_in_ki_bs: int = 0, default_group_quota_in_ki_bs: int = 0, capacity_pool_resource_id: Optional[str] = None, proximity_placement_group: Optional[str] = None, volume_spec_name: Optional[str] = None, placement_rules: Optional[List[_models.PlacementKeyValuePairs]] = None, enable_subvolumes: Union[str, _models.EnableSubvolumes] = 'Disabled', **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • file_system_id (str) – Unique FileSystem Identifier.

  • creation_token (str) – A unique file path for the volume. Used when creating mount targets. Required.

  • service_level (str or ServiceLevel) – The service level of the file system. Known values are: “Standard”, “Premium”, “Ultra”, and “StandardZRS”.

  • usage_threshold (int) – Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes.

  • export_policy (VolumePropertiesExportPolicy) – Set of export policy rules.

  • protocol_types (list[str]) – Set of protocol types, default NFSv3, CIFS for SMB protocol.

  • provisioning_state (str) – Azure lifecycle management.

  • snapshot_id (str) – UUID v4 or resource identifier used to identify the Snapshot.

  • delete_base_snapshot (bool) – If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.

  • backup_id (str) – UUID v4 or resource identifier used to identify the Backup.

  • baremetal_tenant_id (str) – Unique Baremetal Tenant Identifier.

  • subnet_id (str) – The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Required.

  • network_features (str or NetworkFeatures) – Basic network, or Standard features available to the volume. Known values are: “Basic” and “Standard”.

  • network_sibling_set_id (str) – Network Sibling Set ID for the the group of volumes sharing networking resources.

  • storage_to_network_proximity (str or VolumeStorageToNetworkProximity) – Provides storage to network proximity information for the volume. Known values are: “Default”, “T1”, and “T2”.

  • mount_targets (list[MountTargetProperties]) – List of mount targets.

  • volume_type (str) – What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.

  • data_protection (VolumePropertiesDataProtection) – DataProtection type volumes include an object containing details of the replication.

  • is_restoring (bool) – Restoring.

  • snapshot_directory_visible (bool) – If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume’s snapshots (default to true).

  • kerberos_enabled (bool) – Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.

  • security_style (str or SecurityStyle) – The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. Known values are: “ntfs” and “unix”.

  • smb_encryption (bool) – Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.

  • smb_access_based_enumeration (str or SmbAccessBasedEnumeration) – Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: “Disabled” and “Enabled”.

  • smb_non_browsable (str or SmbNonBrowsable) – Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: “Disabled” and “Enabled”.

  • smb_continuously_available (bool) – Enables continuously available share property for smb volume. Only applicable for SMB volume.

  • throughput_mibps (float) – Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

  • encryption_key_source (str or EncryptionKeySource) – Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = ‘Microsoft.KeyVault’. Possible values (case-insensitive) are: ‘Microsoft.NetApp, Microsoft.KeyVault’. Known values are: “Microsoft.NetApp” and “Microsoft.KeyVault”.

  • key_vault_private_endpoint_resource_id (str) – The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = ‘Microsoft.KeyVault’.

  • ldap_enabled (bool) – Specifies whether LDAP is enabled or not for a given NFS volume.

  • cool_access (bool) – Specifies whether Cool Access(tiering) is enabled for the volume.

  • coolness_period (int) – Specifies the number of days after which data that is not accessed by clients will be tiered.

  • unix_permissions (str) – UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.

  • clone_progress (int) – When a volume is being restored from another volume’s snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning.

  • avs_data_store (str or AvsDataStore) – Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. Known values are: “Enabled” and “Disabled”.

  • is_default_quota_enabled (bool) – Specifies if default quota is enabled for the volume.

  • default_user_quota_in_ki_bs (int) – Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

  • default_group_quota_in_ki_bs (int) – Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

  • maximum_number_of_files (int) – Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB.

  • volume_group_name (str) – Volume Group Name.

  • capacity_pool_resource_id (str) – Pool Resource Id used in case of creating a volume through volume group.

  • proximity_placement_group (str) – Proximity placement group associated with the volume.

  • t2_network (str) – T2 network information.

  • volume_spec_name (str) – Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.

  • encrypted (bool) – Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01.

  • placement_rules (list[PlacementKeyValuePairs]) – Application specific placement rules for the particular volume.

  • enable_subvolumes (str or EnableSubvolumes) – Flag indicating whether subvolume operations are enabled on the volume. Known values are: “Enabled” and “Disabled”.

Keyword Arguments
  • name (str) – Resource name.

  • tags (dict[str, str]) – Resource tags.

  • creation_token (str) – A unique file path for the volume. Used when creating mount targets. Required.

  • service_level (str or ServiceLevel) – The service level of the file system. Known values are: “Standard”, “Premium”, “Ultra”, and “StandardZRS”.

  • usage_threshold (int) – Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes.

  • export_policy (VolumePropertiesExportPolicy) – Set of export policy rules.

  • protocol_types (list[str]) – Set of protocol types, default NFSv3, CIFS for SMB protocol.

  • snapshot_id (str) – UUID v4 or resource identifier used to identify the Snapshot.

  • delete_base_snapshot (bool) – If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.

  • backup_id (str) – UUID v4 or resource identifier used to identify the Backup.

  • subnet_id (str) – The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Required.

  • network_features (str or NetworkFeatures) – Basic network, or Standard features available to the volume. Known values are: “Basic” and “Standard”.

  • volume_type (str) – What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.

  • data_protection (VolumePropertiesDataProtection) – DataProtection type volumes include an object containing details of the replication.

  • is_restoring (bool) – Restoring.

  • snapshot_directory_visible (bool) – If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume’s snapshots (default to true).

  • kerberos_enabled (bool) – Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.

  • security_style (str or SecurityStyle) – The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. Known values are: “ntfs” and “unix”.

  • smb_encryption (bool) – Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.

  • smb_access_based_enumeration (str or SmbAccessBasedEnumeration) – Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: “Disabled” and “Enabled”.

  • smb_non_browsable (str or SmbNonBrowsable) – Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: “Disabled” and “Enabled”.

  • smb_continuously_available (bool) – Enables continuously available share property for smb volume. Only applicable for SMB volume.

  • throughput_mibps (float) – Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

  • encryption_key_source (str or EncryptionKeySource) – Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = ‘Microsoft.KeyVault’. Possible values (case-insensitive) are: ‘Microsoft.NetApp, Microsoft.KeyVault’. Known values are: “Microsoft.NetApp” and “Microsoft.KeyVault”.

  • key_vault_private_endpoint_resource_id (str) – The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = ‘Microsoft.KeyVault’.

  • ldap_enabled (bool) – Specifies whether LDAP is enabled or not for a given NFS volume.

  • cool_access (bool) – Specifies whether Cool Access(tiering) is enabled for the volume.

  • coolness_period (int) – Specifies the number of days after which data that is not accessed by clients will be tiered.

  • unix_permissions (str) – UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.

  • avs_data_store (str or AvsDataStore) – Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. Known values are: “Enabled” and “Disabled”.

  • is_default_quota_enabled (bool) – Specifies if default quota is enabled for the volume.

  • default_user_quota_in_ki_bs (int) – Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

  • default_group_quota_in_ki_bs (int) – Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

  • capacity_pool_resource_id (str) – Pool Resource Id used in case of creating a volume through volume group.

  • proximity_placement_group (str) – Proximity placement group associated with the volume.

  • volume_spec_name (str) – Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.

  • placement_rules (list[PlacementKeyValuePairs]) – Application specific placement rules for the particular volume.

  • enable_subvolumes (str or EnableSubvolumes) – Flag indicating whether subvolume operations are enabled on the volume. Known values are: “Enabled” and “Disabled”.

class azure.mgmt.netapp.models.VolumeList(*, value: Optional[List[_models.Volume]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of volume resources.

Variables
  • value (list[Volume]) – List of volumes.

  • next_link (str) – URL to get the next set of results.

Keyword Arguments
  • value (list[Volume]) – List of volumes.

  • next_link (str) – URL to get the next set of results.

class azure.mgmt.netapp.models.VolumePatch(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, service_level: Union[str, _models.ServiceLevel] = 'Premium', usage_threshold: int = 107374182400, export_policy: Optional[_models.VolumePatchPropertiesExportPolicy] = None, throughput_mibps: Optional[float] = None, data_protection: Optional[_models.VolumePatchPropertiesDataProtection] = None, is_default_quota_enabled: bool = False, default_user_quota_in_ki_bs: int = 0, default_group_quota_in_ki_bs: int = 0, unix_permissions: Optional[str] = None, cool_access: Optional[bool] = None, coolness_period: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume patch resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • location (str) – Resource location.

  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • tags (dict[str, str]) – Resource tags.

  • service_level (str or ServiceLevel) – The service level of the file system. Known values are: “Standard”, “Premium”, “Ultra”, and “StandardZRS”.

  • usage_threshold (int) – Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes.

  • export_policy (VolumePatchPropertiesExportPolicy) – Set of export policy rules.

  • throughput_mibps (float) – Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

  • data_protection (VolumePatchPropertiesDataProtection) – DataProtection type volumes include an object containing details of the replication.

  • is_default_quota_enabled (bool) – Specifies if default quota is enabled for the volume.

  • default_user_quota_in_ki_bs (int) – Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

  • default_group_quota_in_ki_bs (int) – Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

  • unix_permissions (str) – UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.

  • cool_access (bool) – Specifies whether Cool Access(tiering) is enabled for the volume.

  • coolness_period (int) – Specifies the number of days after which data that is not accessed by clients will be tiered.

Keyword Arguments
  • location (str) – Resource location.

  • tags (dict[str, str]) – Resource tags.

  • service_level (str or ServiceLevel) – The service level of the file system. Known values are: “Standard”, “Premium”, “Ultra”, and “StandardZRS”.

  • usage_threshold (int) – Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes.

  • export_policy (VolumePatchPropertiesExportPolicy) – Set of export policy rules.

  • throughput_mibps (float) – Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

  • data_protection (VolumePatchPropertiesDataProtection) – DataProtection type volumes include an object containing details of the replication.

  • is_default_quota_enabled (bool) – Specifies if default quota is enabled for the volume.

  • default_user_quota_in_ki_bs (int) – Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

  • default_group_quota_in_ki_bs (int) – Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

  • unix_permissions (str) – UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.

  • cool_access (bool) – Specifies whether Cool Access(tiering) is enabled for the volume.

  • coolness_period (int) – Specifies the number of days after which data that is not accessed by clients will be tiered.

class azure.mgmt.netapp.models.VolumePatchPropertiesDataProtection(*, backup: Optional[_models.VolumeBackupProperties] = None, snapshot: Optional[_models.VolumeSnapshotProperties] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

DataProtection type volumes include an object containing details of the replication.

Variables
Keyword Arguments
class azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy(*, rules: Optional[List[_models.ExportPolicyRule]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Set of export policy rules.

Variables

rules (list[ExportPolicyRule]) – Export policy rule.

Keyword Arguments

rules (list[ExportPolicyRule]) – Export policy rule.

class azure.mgmt.netapp.models.VolumePropertiesDataProtection(*, backup: Optional[_models.VolumeBackupProperties] = None, replication: Optional[_models.ReplicationObject] = None, snapshot: Optional[_models.VolumeSnapshotProperties] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

DataProtection type volumes include an object containing details of the replication.

Variables
Keyword Arguments
class azure.mgmt.netapp.models.VolumePropertiesExportPolicy(*, rules: Optional[List[_models.ExportPolicyRule]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Set of export policy rules.

Variables

rules (list[ExportPolicyRule]) – Export policy rule.

Keyword Arguments

rules (list[ExportPolicyRule]) – Export policy rule.

class azure.mgmt.netapp.models.VolumeQuotaRule(*, location: str, tags: Optional[Dict[str, str]] = None, quota_size_in_ki_bs: Optional[int] = None, quota_type: Optional[Union[str, _models.Type]] = None, quota_target: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp.models._models_py3.TrackedResource

Quota Rule of a Volume.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • provisioning_state (str or ProvisioningState) – Gets the status of the VolumeQuotaRule at the time the operation was called. Known values are: “Accepted”, “Creating”, “Patching”, “Deleting”, “Moving”, “Failed”, and “Succeeded”.

  • quota_size_in_ki_bs (int) – Size of quota.

  • quota_type (str or Type) – Type of quota. Known values are: “DefaultUserQuota”, “DefaultGroupQuota”, “IndividualUserQuota”, and “IndividualGroupQuota”.

  • quota_target (str) – UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • quota_size_in_ki_bs (int) – Size of quota.

  • quota_type (str or Type) – Type of quota. Known values are: “DefaultUserQuota”, “DefaultGroupQuota”, “IndividualUserQuota”, and “IndividualGroupQuota”.

  • quota_target (str) – UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>.

class azure.mgmt.netapp.models.VolumeQuotaRulePatch(*, quota_size_in_ki_bs: Optional[int] = None, quota_type: Optional[Union[str, _models.Type]] = None, quota_target: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Patchable Quota Rule of a Volume.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • provisioning_state (str or ProvisioningState) – Gets the status of the VolumeQuotaRule at the time the operation was called. Known values are: “Accepted”, “Creating”, “Patching”, “Deleting”, “Moving”, “Failed”, and “Succeeded”.

  • quota_size_in_ki_bs (int) – Size of quota.

  • quota_type (str or Type) – Type of quota. Known values are: “DefaultUserQuota”, “DefaultGroupQuota”, “IndividualUserQuota”, and “IndividualGroupQuota”.

  • quota_target (str) – UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>.

Keyword Arguments
  • quota_size_in_ki_bs (int) – Size of quota.

  • quota_type (str or Type) – Type of quota. Known values are: “DefaultUserQuota”, “DefaultGroupQuota”, “IndividualUserQuota”, and “IndividualGroupQuota”.

  • quota_target (str) – UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>.

class azure.mgmt.netapp.models.VolumeQuotaRulesList(*, value: Optional[List[_models.VolumeQuotaRule]] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

List of Volume Quota Rules.

Variables

value (list[VolumeQuotaRule]) – A list of Volume Quota Rules.

Keyword Arguments

value (list[VolumeQuotaRule]) – A list of Volume Quota Rules.

class azure.mgmt.netapp.models.VolumeRelocationProperties(*, old_volume_id: Optional[str] = None, old_bare_metal_tenant_id: Optional[str] = None, relocation_requested: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume relocation properties.

Variables
  • old_volume_id (str) – The id of the old volume that is being relocated.

  • old_bare_metal_tenant_id (str) – The id of the bare metal tenant owned by the existing volume.

  • relocation_requested (bool) – Has relocation been requested for this volume.

Keyword Arguments
  • old_volume_id (str) – The id of the old volume that is being relocated.

  • old_bare_metal_tenant_id (str) – The id of the bare metal tenant owned by the existing volume.

  • relocation_requested (bool) – Has relocation been requested for this volume.

class azure.mgmt.netapp.models.VolumeRevert(*, snapshot_id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

revert a volume to the snapshot.

Variables

snapshot_id (str) – Resource id of the snapshot.

Keyword Arguments

snapshot_id (str) – Resource id of the snapshot.

class azure.mgmt.netapp.models.VolumeSnapshotProperties(*, snapshot_policy_id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Volume Snapshot Properties.

Variables

snapshot_policy_id (str) – Snapshot Policy ResourceId.

Keyword Arguments

snapshot_policy_id (str) – Snapshot Policy ResourceId.

class azure.mgmt.netapp.models.VolumeStorageToNetworkProximity(value)[source]

Bases: str, enum.Enum

Provides storage to network proximity information for the volume.

DEFAULT = 'Default'

Basic storage to network connectivity.

T1 = 'T1'

Standard T1 storage to network connectivity.

T2 = 'T2'

Standard T2 storage to network connectivity.

class azure.mgmt.netapp.models.WeeklySchedule(*, snapshots_to_keep: Optional[int] = None, day: Optional[str] = None, hour: Optional[int] = None, minute: Optional[int] = None, used_bytes: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.netapp._serialization.Model

Weekly Schedule properties, make a snapshot every week at a specific day or days.

Variables
  • snapshots_to_keep (int) – Weekly snapshot count to keep.

  • day (str) – Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english.

  • hour (int) – Indicates which hour in UTC timezone a snapshot should be taken.

  • minute (int) – Indicates which minute snapshot should be taken.

  • used_bytes (int) – Resource size in bytes, current storage usage for the volume in bytes.

Keyword Arguments
  • snapshots_to_keep (int) – Weekly snapshot count to keep.

  • day (str) – Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english.

  • hour (int) – Indicates which hour in UTC timezone a snapshot should be taken.

  • minute (int) – Indicates which minute snapshot should be taken.

  • used_bytes (int) – Resource size in bytes, current storage usage for the volume in bytes.