diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_azure_net_app_files_management_client.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_azure_net_app_files_management_client.py index f1ab61204969..5a6c127085de 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_azure_net_app_files_management_client.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_azure_net_app_files_management_client.py @@ -73,7 +73,7 @@ def __init__( super(AzureNetAppFilesManagementClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2020-07-01' + self.api_version = '2020-09-01' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py index e660fceeb161..4aea61212863 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py @@ -66,6 +66,10 @@ class ActiveDirectory(Model): :param ldap_signing: Specifies whether or not the LDAP traffic needs to be signed. :type ldap_signing: bool + :param security_operators: 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 + :type security_operators: list[str] """ _validation = { @@ -94,6 +98,7 @@ class ActiveDirectory(Model): 'server_root_ca_certificate': {'key': 'serverRootCACertificate', 'type': 'str'}, 'aes_encryption': {'key': 'aesEncryption', 'type': 'bool'}, 'ldap_signing': {'key': 'ldapSigning', 'type': 'bool'}, + 'security_operators': {'key': 'securityOperators', 'type': '[str]'}, } def __init__(self, **kwargs): @@ -114,6 +119,7 @@ def __init__(self, **kwargs): self.server_root_ca_certificate = kwargs.get('server_root_ca_certificate', None) self.aes_encryption = kwargs.get('aes_encryption', None) self.ldap_signing = kwargs.get('ldap_signing', None) + self.security_operators = kwargs.get('security_operators', None) class AuthorizeRequest(Model): @@ -1803,6 +1809,14 @@ class Volume(Model): :param security_style: The security style of volume. Possible values include: 'ntfs', 'unix' :type security_style: str or ~azure.mgmt.netapp.models.SecurityStyle + :param smb_encryption: Enables encryption for in-flight smb3 data. Only + applicable for SMB/DualProtocol volume. To be used with swagger version + 2020-08-01 or later. Default value: False . + :type smb_encryption: bool + :param smb_continuously_available: Enables continuously available share + property for smb volume. Only applicable for SMB volume. Default value: + False . + :type smb_continuously_available: bool :param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume. :type throughput_mibps: float @@ -1848,6 +1862,8 @@ class Volume(Model): 'snapshot_directory_visible': {'key': 'properties.snapshotDirectoryVisible', 'type': 'bool'}, 'kerberos_enabled': {'key': 'properties.kerberosEnabled', 'type': 'bool'}, 'security_style': {'key': 'properties.securityStyle', 'type': 'str'}, + 'smb_encryption': {'key': 'properties.smbEncryption', 'type': 'bool'}, + 'smb_continuously_available': {'key': 'properties.smbContinuouslyAvailable', 'type': 'bool'}, 'throughput_mibps': {'key': 'properties.throughputMibps', 'type': 'float'}, } @@ -1876,6 +1892,8 @@ def __init__(self, **kwargs): self.snapshot_directory_visible = kwargs.get('snapshot_directory_visible', None) self.kerberos_enabled = kwargs.get('kerberos_enabled', False) self.security_style = kwargs.get('security_style', None) + self.smb_encryption = kwargs.get('smb_encryption', False) + self.smb_continuously_available = kwargs.get('smb_continuously_available', False) self.throughput_mibps = kwargs.get('throughput_mibps', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py index 04a26a38133e..bddb9f4175b5 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py @@ -66,6 +66,10 @@ class ActiveDirectory(Model): :param ldap_signing: Specifies whether or not the LDAP traffic needs to be signed. :type ldap_signing: bool + :param security_operators: 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 + :type security_operators: list[str] """ _validation = { @@ -94,9 +98,10 @@ class ActiveDirectory(Model): 'server_root_ca_certificate': {'key': 'serverRootCACertificate', 'type': 'str'}, 'aes_encryption': {'key': 'aesEncryption', 'type': 'bool'}, 'ldap_signing': {'key': 'ldapSigning', 'type': 'bool'}, + 'security_operators': {'key': 'securityOperators', 'type': '[str]'}, } - def __init__(self, *, 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, aes_encryption: bool=None, ldap_signing: bool=None, **kwargs) -> None: + def __init__(self, *, 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, aes_encryption: bool=None, ldap_signing: bool=None, security_operators=None, **kwargs) -> None: super(ActiveDirectory, self).__init__(**kwargs) self.active_directory_id = active_directory_id self.username = username @@ -114,6 +119,7 @@ def __init__(self, *, active_directory_id: str=None, username: str=None, passwor self.server_root_ca_certificate = server_root_ca_certificate self.aes_encryption = aes_encryption self.ldap_signing = ldap_signing + self.security_operators = security_operators class AuthorizeRequest(Model): @@ -1803,6 +1809,14 @@ class Volume(Model): :param security_style: The security style of volume. Possible values include: 'ntfs', 'unix' :type security_style: str or ~azure.mgmt.netapp.models.SecurityStyle + :param smb_encryption: Enables encryption for in-flight smb3 data. Only + applicable for SMB/DualProtocol volume. To be used with swagger version + 2020-08-01 or later. Default value: False . + :type smb_encryption: bool + :param smb_continuously_available: Enables continuously available share + property for smb volume. Only applicable for SMB volume. Default value: + False . + :type smb_continuously_available: bool :param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume. :type throughput_mibps: float @@ -1848,10 +1862,12 @@ class Volume(Model): 'snapshot_directory_visible': {'key': 'properties.snapshotDirectoryVisible', 'type': 'bool'}, 'kerberos_enabled': {'key': 'properties.kerberosEnabled', 'type': 'bool'}, 'security_style': {'key': 'properties.securityStyle', 'type': 'str'}, + 'smb_encryption': {'key': 'properties.smbEncryption', 'type': 'bool'}, + 'smb_continuously_available': {'key': 'properties.smbContinuouslyAvailable', 'type': 'bool'}, 'throughput_mibps': {'key': 'properties.throughputMibps', 'type': 'float'}, } - def __init__(self, *, 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) -> None: + def __init__(self, *, 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, smb_encryption: bool=False, smb_continuously_available: bool=False, throughput_mibps: float=None, **kwargs) -> None: super(Volume, self).__init__(**kwargs) self.location = location self.id = None @@ -1876,6 +1892,8 @@ def __init__(self, *, location: str, creation_token: str, subnet_id: str, tags=N self.snapshot_directory_visible = snapshot_directory_visible self.kerberos_enabled = kerberos_enabled self.security_style = security_style + self.smb_encryption = smb_encryption + self.smb_continuously_available = smb_continuously_available self.throughput_mibps = throughput_mibps diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py index 9d88c79c5682..ce6cbc5ea3aa 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py @@ -27,7 +27,7 @@ class AccountBackupsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py index 27d63a7a1681..ecd7ed31fd51 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py @@ -27,7 +27,7 @@ class AccountsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py index 027261c1e0eb..c396811d4214 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py @@ -27,7 +27,7 @@ class BackupPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py index 17cb0d8045ac..1977efda55e2 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py @@ -27,7 +27,7 @@ class BackupsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py index 0590488ddfe2..a5a240433815 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py @@ -25,7 +25,7 @@ class NetAppResourceOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py index 5f7bd760fd76..3bdf42cbe5d2 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py @@ -25,7 +25,7 @@ class Operations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py index 7823bd40caf2..8dfeeabafca4 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py @@ -27,7 +27,7 @@ class PoolsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py index 187f0d4b0aed..ef82b240dcff 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py @@ -27,7 +27,7 @@ class SnapshotPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config @@ -440,7 +440,7 @@ def get_long_running_output(response): def list_volumes( self, resource_group_name, account_name, snapshot_policy_name, custom_headers=None, raw=False, **operation_config): - """Get volumes associated with snapshot policy. + """Get volumes for snapshot policy. Get volumes associated with snapshot policy. diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py index 5d39f8968726..f4a3e63ee817 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py @@ -27,7 +27,7 @@ class SnapshotsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py index 6895338de337..873b0c4d3743 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py @@ -25,7 +25,7 @@ class VaultsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py index 719ed232651e..895bab120496 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py @@ -27,7 +27,7 @@ class VolumesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-07-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-09-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-07-01" + self.api_version = "2020-09-01" self.config = config @@ -815,7 +815,7 @@ def resync_replication( Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync - from source to destination. + from destination to source. :param resource_group_name: The name of the resource group. :type resource_group_name: str