azure.mgmt.netapp.models module

class azure.mgmt.netapp.models.ActiveDirectory(*, active_directory_id: str = None, username: str = None, password: str = None, domain: str = None, dns: str = None, smb_server_name: str = None, organizational_unit: str = None, site: str = None, backup_operators=None, kdc_ip: str = None, ad_name: str = None, server_root_ca_certificate: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Active Directory.

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

Parameters
  • 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

  • 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.

Variables
  • status (str or ActiveDirectoryStatus) – Status of the Active Directory. Possible values include: ‘Created’, ‘InUse’, ‘Deleted’, ‘Error’, ‘Updating’

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

class azure.mgmt.netapp.models.AuthorizeRequest(*, remote_volume_resource_id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Authorize request.

Parameters

remote_volume_resource_id (str) – Resource id of the remote volume

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

Bases: msrest.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.

Parameters
  • location (str) – Required. Resource location

  • label (str) – Label for backup

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

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

  • provisioning_state (str) – Azure lifecycle management

  • size (long) – Size of backup

  • backup_type (str) – Type of backup adhoc or scheduled

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

Bases: msrest.serialization.Model

Backup patch.

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

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

  • label (str) – Label for backup

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

  • provisioning_state (str) – Azure lifecycle management

  • size (long) – Size of backup

  • backup_type (str) – Type of backup adhoc or scheduled

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

Bases: msrest.serialization.Model

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.

Parameters
  • location (str) – Required. 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

  • yearly_backups_to_keep (int) – Yearly 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

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

  • name1 (str) – Name of backup policy

  • provisioning_state (str) – Azure lifecycle management

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

Bases: msrest.serialization.Model

Backup policy properties.

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

Parameters
  • 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

  • yearly_backups_to_keep (int) – Yearly 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

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

  • name1 (str) – Name of backup policy

  • provisioning_state (str) – Azure lifecycle management

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

Bases: msrest.serialization.Model

Backup policy Details for create and update.

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

Parameters
  • location (str) – Resource location

  • 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

  • yearly_backups_to_keep (int) – Yearly 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

Variables
  • name (str) – Name of backup policy

  • provisioning_state (str) – Azure lifecycle management

class azure.mgmt.netapp.models.BackupsList(*, value=None, **kwargs)[source]

Bases: msrest.serialization.Model

List of Backups.

Parameters

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

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

Bases: msrest.serialization.Model

Break replication request.

Parameters

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, tags=None, service_level='Premium', qos_type='Auto', **kwargs)[source]

Bases: msrest.serialization.Model

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.

Parameters
  • location (str) – Required. Resource location

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

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

  • service_level (str or ServiceLevel) – Required. serviceLevel. The service level of the file system. Possible values include: ‘Standard’, ‘Premium’, ‘Ultra’. Default value: “Premium” .

  • qos_type (str or QosType) – qosType. The qos type of the pool. Possible values include: ‘Auto’, ‘Manual’. Default value: “Auto” .

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

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

  • provisioning_state (str) – Azure lifecycle management

  • total_throughput_mibps (float) – Total throughput of pool in Mibps

  • utilized_throughput_mibps (float) – Utilized throughput of pool in Mibps

class azure.mgmt.netapp.models.CapacityPoolPatch(*, location: str = None, tags=None, size: int = 4398046511104, qos_type='Auto', **kwargs)[source]

Bases: msrest.serialization.Model

Capacity pool patch resource.

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

Parameters
  • location (str) – Resource location

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

  • size (long) – size. Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). Default value: 4398046511104 .

  • qos_type (str or QosType) – qosType. The qos type of the pool. Possible values include: ‘Auto’, ‘Manual’. Default value: “Auto” .

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

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

Bases: msrest.serialization.Model

Information regarding availability of a resource.

Parameters
  • 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. Possible values include: ‘Invalid’, ‘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.DailySchedule(*, snapshots_to_keep: int = None, hour: int = None, minute: int = None, used_bytes: int = None, **kwargs)[source]

Bases: msrest.serialization.Model

Daily Schedule properties.

Parameters
  • 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 (long) – Resource size in bytes, current storage usage for the volume in bytes

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

Bases: msrest.serialization.Model

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

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

  • display_name (str) – Display name of dimension.

class azure.mgmt.netapp.models.ExportPolicyRule(*, rule_index: int = None, unix_read_only: bool = None, unix_read_write: bool = None, kerberos5_read_only: bool = False, kerberos5_read_write: bool = False, kerberos5i_read_only: bool = False, kerberos5i_read_write: bool = False, kerberos5p_read_only: bool = False, kerberos5p_read_write: bool = False, cifs: bool = None, nfsv3: bool = None, nfsv41: bool = None, allowed_clients: str = None, has_root_access: bool = True, **kwargs)[source]

Bases: msrest.serialization.Model

Volume Export Policy Rule.

Parameters
  • 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. Default value: False .

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

  • kerberos5i_read_only (bool) – Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later. Default value: False .

  • kerberos5i_read_write (bool) – Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later. Default value: False .

  • kerberos5p_read_only (bool) – Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later. Default value: False .

  • kerberos5p_read_write (bool) – Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later. Default value: False .

  • 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. Default value: True .

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

Bases: msrest.serialization.Model

Hourly Schedule properties.

Parameters
  • snapshots_to_keep (int) – Hourly snapshot count to keep

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

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

class azure.mgmt.netapp.models.MetricSpecification(*, name: str = None, display_name: str = None, display_description: str = None, unit: str = None, dimensions=None, aggregation_type: str = None, fill_gap_with_zero: bool = None, category: str = None, resource_id_dimension_name_override: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Metric specification of operation.

Parameters
  • 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.

  • 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.

class azure.mgmt.netapp.models.MonthlySchedule(*, snapshots_to_keep: int = None, days_of_month: str = None, hour: int = None, minute: int = None, used_bytes: int = None, **kwargs)[source]

Bases: msrest.serialization.Model

Monthly Schedule properties.

Parameters
  • 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 (long) – 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=None, smb_server_fqdn: str = None, **kwargs)[source]

Bases: msrest.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.

Parameters
  • location (str) – Required. Resource location

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

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

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

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

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

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

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

Bases: msrest.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) – mountTargetId. UUID v4 used to identify the MountTarget

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

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

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

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

Bases: msrest.serialization.Model

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.

Parameters
Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

  • provisioning_state (str) – Azure lifecycle management

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

Bases: msrest.serialization.Model

NetApp account patch resource.

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

Parameters
Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

  • provisioning_state (str) – Azure lifecycle management

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

Bases: msrest.serialization.Model

Microsoft.NetApp REST API operation definition.

Parameters
  • 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: str = None, resource: str = None, operation: str = None, description: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Display metadata associated with the operation.

Parameters
  • 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.PoolChangeRequest(*, new_pool_resource_id: str, **kwargs)[source]

Bases: msrest.serialization.Model

Pool change request.

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

Parameters

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

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

Bases: msrest.serialization.Model

Quota availability request content.

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

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

  • type (str or CheckQuotaNameResourceTypes) – Required. Resource type used for verification. Possible values include: ‘Microsoft.NetApp/netAppAccounts’, ‘Microsoft.NetApp/netAppAccounts/capacityPools’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots’

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

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

Bases: msrest.serialization.Model

Replication properties.

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

Parameters
  • replication_id (str) – Id

  • endpoint_type (str or EndpointType) – Indicates whether the local volume is the source or destination for the Volume Replication. Possible values include: ‘src’, ‘dst’

  • replication_schedule (str or ReplicationSchedule) – Required. Schedule. Possible values include: ‘_10minutely’, ‘hourly’, ‘daily’, ‘weekly’, ‘monthly’

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

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

class azure.mgmt.netapp.models.ReplicationStatus(*, healthy: bool = None, relationship_status=None, mirror_state=None, total_progress: str = None, error_message: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Replication status.

Parameters
  • healthy (bool) – Replication health check

  • relationship_status (str or RelationshipStatus) – Status of the mirror relationship. Possible values include: ‘Idle’, ‘Transferring’

  • mirror_state (str or MirrorState) – The status of the replication. Possible values include: ‘Uninitialized’, ‘Mirrored’, ‘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.ResourceNameAvailabilityRequest(*, name: str, type, resource_group: str, **kwargs)[source]

Bases: msrest.serialization.Model

Resource name availability request content.

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

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

  • type (str or CheckNameResourceTypes) – Required. Resource type used for verification. Possible values include: ‘Microsoft.NetApp/netAppAccounts’, ‘Microsoft.NetApp/netAppAccounts/capacityPools’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes’, ‘Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots’

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

class azure.mgmt.netapp.models.ServiceSpecification(*, metric_specifications=None, **kwargs)[source]

Bases: msrest.serialization.Model

One property of operation, include metric specifications.

Parameters

metric_specifications (list[MetricSpecification]) – Metric specifications of operation.

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

Bases: msrest.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.

Parameters

location (str) – Required. Resource location

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

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

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

  • provisioning_state (str) – Azure lifecycle management

class azure.mgmt.netapp.models.SnapshotPolicy(*, location: str, tags=None, hourly_schedule=None, daily_schedule=None, weekly_schedule=None, monthly_schedule=None, enabled: bool = None, **kwargs)[source]

Bases: msrest.serialization.Model

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.

Parameters
  • location (str) – Required. Resource location

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

  • hourly_schedule (object) – hourlySchedule. Schedule for hourly snapshots

  • daily_schedule (object) – dailySchedule. Schedule for daily snapshots

  • weekly_schedule (object) – weeklySchedule. Schedule for weekly snapshots

  • monthly_schedule (object) – monthlySchedule. Schedule for monthly snapshots

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

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

class azure.mgmt.netapp.models.SnapshotPolicyDetails(*, location: str = None, tags=None, hourly_schedule=None, daily_schedule=None, weekly_schedule=None, monthly_schedule=None, enabled: bool = None, **kwargs)[source]

Bases: msrest.serialization.Model

Snapshot policy properties.

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

Parameters
  • location (str) – Resource location

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

  • hourly_schedule (object) – hourlySchedule. Schedule for hourly snapshots

  • daily_schedule (object) – dailySchedule. Schedule for daily snapshots

  • weekly_schedule (object) – weeklySchedule. Schedule for weekly snapshots

  • monthly_schedule (object) – monthlySchedule. Schedule for monthly snapshots

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

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

class azure.mgmt.netapp.models.SnapshotPolicyPatch(*, location: str = None, tags=None, hourly_schedule=None, daily_schedule=None, weekly_schedule=None, monthly_schedule=None, enabled: bool = None, **kwargs)[source]

Bases: msrest.serialization.Model

Snapshot policy Details for create and update.

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

Parameters
  • location (str) – Resource location

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

  • hourly_schedule (object) – hourlySchedule. Schedule for hourly snapshots

  • daily_schedule (object) – dailySchedule. Schedule for daily snapshots

  • weekly_schedule (object) – weeklySchedule. Schedule for weekly snapshots

  • monthly_schedule (object) – monthlySchedule. Schedule for monthly snapshots

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

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

class azure.mgmt.netapp.models.SnapshotPolicyVolumeList(*, value=None, **kwargs)[source]

Bases: msrest.serialization.Model

Volumes associated with snapshot policy.

Parameters

value (list[object]) – List of volumes

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

Bases: msrest.serialization.Model

Vault 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.

Parameters
  • location (str) – Required. Resource location

  • vault_name (str) – Vault Name

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

class azure.mgmt.netapp.models.Volume(*, location: str, creation_token: str, subnet_id: str, tags=None, service_level='Premium', usage_threshold: int = 107374182400, export_policy=None, protocol_types=None, snapshot_id: str = None, backup_id: str = None, mount_targets=None, volume_type: str = None, data_protection=None, is_restoring: bool = None, snapshot_directory_visible: bool = None, kerberos_enabled: bool = False, security_style=None, throughput_mibps: float = None, **kwargs)[source]

Bases: msrest.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.

Parameters
  • location (str) – Required. Resource location

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

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

  • service_level (str or ServiceLevel) – serviceLevel. The service level of the file system. Possible values include: ‘Standard’, ‘Premium’, ‘Ultra’. Default value: “Premium” .

  • usage_threshold (long) – Required. usageThreshold. 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. Specified in bytes. Default value: 107374182400 .

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

  • protocol_types (list[str]) – protocolTypes. Set of protocol types

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

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

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

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

  • volume_type (str) – What type of volume is this

  • data_protection (VolumePropertiesDataProtection) – DataProtection. 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. Default value: False .

  • security_style (str or SecurityStyle) – The security style of volume. Possible values include: ‘ntfs’, ‘unix’

  • throughput_mibps (float) – Maximum throughput in Mibps that can be achieved by this volume.

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

  • file_system_id (str) – FileSystem ID. Unique FileSystem Identifier.

  • provisioning_state (str) – Azure lifecycle management

  • baremetal_tenant_id (str) – Baremetal Tenant ID. Unique Baremetal Tenant Identifier.

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

Bases: msrest.serialization.Model

Volume Backup Properties.

Parameters
  • 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: str = None, backups_count: int = None, policy_enabled: bool = None, **kwargs)[source]

Bases: msrest.serialization.Model

Volume details using the backup policy.

Parameters
  • volume_name (str) – Volume name

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

  • policy_enabled (bool) – Policy enabled

class azure.mgmt.netapp.models.VolumePatch(*, location: str = None, tags=None, service_level='Premium', usage_threshold: int = 107374182400, export_policy=None, throughput_mibps: float = None, data_protection=None, **kwargs)[source]

Bases: msrest.serialization.Model

Volume patch resource.

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

Parameters
  • location (str) – Resource location

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

  • service_level (str or ServiceLevel) – serviceLevel. The service level of the file system. Possible values include: ‘Standard’, ‘Premium’, ‘Ultra’. Default value: “Premium” .

  • usage_threshold (long) – usageThreshold. 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. Specified in bytes. Default value: 107374182400 .

  • export_policy (VolumePatchPropertiesExportPolicy) – exportPolicy. Set of export policy rules

  • throughput_mibps (float) – Maximum throughput in Mibps that can be achieved by this volume.

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

Variables
  • id (str) – Resource Id

  • name (str) – Resource name

  • type (str) – Resource type

class azure.mgmt.netapp.models.VolumePatchPropertiesDataProtection(*, backup=None, **kwargs)[source]

Bases: msrest.serialization.Model

DataProtection.

DataProtection type volumes include an object containing details of the replication.

Parameters

backup (VolumeBackupProperties) – Backup. Backup Properties

class azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy(*, rules=None, **kwargs)[source]

Bases: msrest.serialization.Model

exportPolicy.

Set of export policy rules.

Parameters

rules (list[ExportPolicyRule]) – Export policy rule. Export policy rule

class azure.mgmt.netapp.models.VolumePropertiesDataProtection(*, backup=None, replication=None, snapshot=None, **kwargs)[source]

Bases: msrest.serialization.Model

DataProtection.

DataProtection type volumes include an object containing details of the replication.

Parameters
class azure.mgmt.netapp.models.VolumePropertiesExportPolicy(*, rules=None, **kwargs)[source]

Bases: msrest.serialization.Model

exportPolicy.

Set of export policy rules.

Parameters

rules (list[ExportPolicyRule]) – Export policy rule. Export policy rule

class azure.mgmt.netapp.models.VolumeRevert(*, snapshot_id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

revert a volume to the snapshot.

Parameters

snapshot_id (str) – Resource id of the snapshot

class azure.mgmt.netapp.models.VolumeSnapshotProperties(*, snapshot_policy_id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Volume Snapshot Properties.

Parameters

snapshot_policy_id (str) – Snapshot Policy ResourceId

class azure.mgmt.netapp.models.WeeklySchedule(*, snapshots_to_keep: int = None, day: str = None, hour: int = None, minute: int = None, used_bytes: int = None, **kwargs)[source]

Bases: msrest.serialization.Model

Weekly Schedule properties, make a snapshot every week at a specific day or days.

Parameters
  • 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 (long) – Resource size in bytes, current storage usage for the volume in bytes

class azure.mgmt.netapp.models.OperationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Operation object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.NetAppAccountPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of NetAppAccount object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.CapacityPoolPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of CapacityPool object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.VolumePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Volume object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.SnapshotPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Snapshot object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.SnapshotPolicyPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of SnapshotPolicy object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.BackupPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Backup object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.BackupPolicyPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of BackupPolicy object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.VaultPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Vault object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.netapp.models.InAvailabilityReasonType[source]

Bases: str, enum.Enum

An enumeration.

already_exists = 'AlreadyExists'
invalid = 'Invalid'
class azure.mgmt.netapp.models.CheckNameResourceTypes[source]

Bases: str, enum.Enum

An enumeration.

microsoft_net_appnet_app_accounts = 'Microsoft.NetApp/netAppAccounts'
microsoft_net_appnet_app_accountscapacity_pools = 'Microsoft.NetApp/netAppAccounts/capacityPools'
microsoft_net_appnet_app_accountscapacity_poolsvolumes = 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes'
microsoft_net_appnet_app_accountscapacity_poolsvolumessnapshots = 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
class azure.mgmt.netapp.models.CheckQuotaNameResourceTypes[source]

Bases: str, enum.Enum

An enumeration.

microsoft_net_appnet_app_accounts = 'Microsoft.NetApp/netAppAccounts'
microsoft_net_appnet_app_accountscapacity_pools = 'Microsoft.NetApp/netAppAccounts/capacityPools'
microsoft_net_appnet_app_accountscapacity_poolsvolumes = 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes'
microsoft_net_appnet_app_accountscapacity_poolsvolumessnapshots = 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
class azure.mgmt.netapp.models.ActiveDirectoryStatus[source]

Bases: str, enum.Enum

An enumeration.

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.ServiceLevel[source]

Bases: str, enum.Enum

An enumeration.

premium = 'Premium'

Premium service level

standard = 'Standard'

Standard service level

ultra = 'Ultra'

Ultra service level

class azure.mgmt.netapp.models.QosType[source]

Bases: str, enum.Enum

An enumeration.

auto = 'Auto'

qos type Auto

manual = 'Manual'

qos type Manual

class azure.mgmt.netapp.models.EndpointType[source]

Bases: str, enum.Enum

An enumeration.

dst = 'dst'
src = 'src'
class azure.mgmt.netapp.models.ReplicationSchedule[source]

Bases: str, enum.Enum

An enumeration.

daily = 'daily'
hourly = 'hourly'
monthly = 'monthly'
weekly = 'weekly'
class azure.mgmt.netapp.models.SecurityStyle[source]

Bases: str, enum.Enum

An enumeration.

ntfs = 'ntfs'
unix = 'unix'
class azure.mgmt.netapp.models.RelationshipStatus[source]

Bases: str, enum.Enum

An enumeration.

idle = 'Idle'
transferring = 'Transferring'
class azure.mgmt.netapp.models.MirrorState[source]

Bases: str, enum.Enum

An enumeration.

broken = 'Broken'
mirrored = 'Mirrored'
uninitialized = 'Uninitialized'