diff --git a/sdk/netapp/azure-mgmt-netapp/_meta.json b/sdk/netapp/azure-mgmt-netapp/_meta.json index 32874b8cb138..509ecd377e72 100644 --- a/sdk/netapp/azure-mgmt-netapp/_meta.json +++ b/sdk/netapp/azure-mgmt-netapp/_meta.json @@ -1,11 +1,11 @@ { - "commit": "7a848fa439e779117793063aff964d7082a7f6f8", + "commit": "5a73740cee9aab59b4a2825d17305441ae639ec7", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest": "3.10.2", "use": [ "@autorest/python@6.19.0", "@autorest/modelerfour@4.27.0" ], - "autorest_command": "autorest specification/netapp/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.19.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False", + "autorest_command": "autorest specification/netapp/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.19.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False", "readme": "specification/netapp/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py index d0255959d2e5..e786ca9d2565 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "13.3.0" +VERSION = "5.1.0" 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 28aa3109c596..2f3f6692b668 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 @@ -141,7 +141,7 @@ class ActiveDirectory(_serialization.Model): # pylint: disable=too-many-instanc "status": {"readonly": True}, "status_details": {"readonly": True}, "kdc_ip": { - "pattern": r"^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$" + "pattern": r"^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" }, "ad_name": {"max_length": 64, "min_length": 1}, "server_root_ca_certificate": {"max_length": 10240, "min_length": 1}, @@ -3421,8 +3421,6 @@ class ReplicationObject(_serialization.Model): 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 server. - :ivar replication_id: Id. :vartype replication_id: str :ivar endpoint_type: Indicates whether the local volume is the source or destination for the @@ -3430,7 +3428,8 @@ class ReplicationObject(_serialization.Model): :vartype endpoint_type: str or ~azure.mgmt.netapp.models.EndpointType :ivar replication_schedule: Schedule. Known values are: "_10minutely", "hourly", and "daily". :vartype replication_schedule: str or ~azure.mgmt.netapp.models.ReplicationSchedule - :ivar remote_volume_resource_id: The resource ID of the remote volume. Required for cross region and cross zone replication. + :ivar remote_volume_resource_id: The resource ID of the remote volume. Required for cross + region and cross zone replication. :vartype remote_volume_resource_id: str :ivar remote_path: The full path to a volume that is to be migrated into ANF. Required for Migration volumes. @@ -3455,9 +3454,9 @@ class ReplicationObject(_serialization.Model): def __init__( self, *, - remote_volume_resource_id: Optional[str] = None, endpoint_type: Optional[Union[str, "_models.EndpointType"]] = None, replication_schedule: Optional[Union[str, "_models.ReplicationSchedule"]] = None, + remote_volume_resource_id: Optional[str] = None, remote_path: Optional["_models.RemotePath"] = None, remote_volume_region: Optional[str] = None, **kwargs: Any @@ -3469,7 +3468,8 @@ def __init__( :keyword replication_schedule: Schedule. Known values are: "_10minutely", "hourly", and "daily". :paramtype replication_schedule: str or ~azure.mgmt.netapp.models.ReplicationSchedule - :keyword remote_volume_resource_id: The resource ID of the remote volume. Required for cross region and cross zone replication. + :keyword remote_volume_resource_id: The resource ID of the remote volume. Required for cross + region and cross zone replication. :paramtype remote_volume_resource_id: str :keyword remote_path: The full path to a volume that is to be migrated into ANF. Required for Migration volumes. diff --git a/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations.py b/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations.py index f56c03177f28..4df2af7dc4dd 100644 --- a/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations.py @@ -80,10 +80,10 @@ def test_begin_create(self, resource_group): "dataProtection": { "backup": {"backupPolicyId": "str", "backupVaultId": "str", "policyEnforced": bool}, "replication": { - "remoteVolumeResourceId": "str", "endpointType": "str", "remotePath": {"externalHostName": "str", "serverName": "str", "volumeName": "str"}, "remoteVolumeRegion": "str", + "remoteVolumeResourceId": "str", "replicationId": "str", "replicationSchedule": "str", }, diff --git a/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations_async.py b/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations_async.py index c044142e91ce..1ff4097cecb9 100644 --- a/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations_async.py +++ b/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations_async.py @@ -82,10 +82,10 @@ async def test_begin_create(self, resource_group): "dataProtection": { "backup": {"backupPolicyId": "str", "backupVaultId": "str", "policyEnforced": bool}, "replication": { - "remoteVolumeResourceId": "str", "endpointType": "str", "remotePath": {"externalHostName": "str", "serverName": "str", "volumeName": "str"}, "remoteVolumeRegion": "str", + "remoteVolumeResourceId": "str", "replicationId": "str", "replicationSchedule": "str", }, diff --git a/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations.py b/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations.py index 5fd2b1bc9a71..d9dea7ba3e0a 100644 --- a/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations.py @@ -70,10 +70,10 @@ def test_begin_create_or_update(self, resource_group): "dataProtection": { "backup": {"backupPolicyId": "str", "backupVaultId": "str", "policyEnforced": bool}, "replication": { - "remoteVolumeResourceId": "str", "endpointType": "str", "remotePath": {"externalHostName": "str", "serverName": "str", "volumeName": "str"}, "remoteVolumeRegion": "str", + "remoteVolumeResourceId": "str", "replicationId": "str", "replicationSchedule": "str", }, diff --git a/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations_async.py b/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations_async.py index e0a2c687094c..8ab552361a6d 100644 --- a/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations_async.py +++ b/sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations_async.py @@ -72,10 +72,10 @@ async def test_begin_create_or_update(self, resource_group): "dataProtection": { "backup": {"backupPolicyId": "str", "backupVaultId": "str", "policyEnforced": bool}, "replication": { - "remoteVolumeResourceId": "str", "endpointType": "str", "remotePath": {"externalHostName": "str", "serverName": "str", "volumeName": "str"}, "remoteVolumeRegion": "str", + "remoteVolumeResourceId": "str", "replicationId": "str", "replicationSchedule": "str", },