Skip to content

Commit e3b41d1

Browse files
author
SDKAuto
committed
CodeGen from PR 31061 in Azure/azure-rest-api-specs
Merge f70cea81cfbd9dc2362492800045d8ba440c0de9 into a673193373969b905ad61b28be2cfcc3e0768f1f
1 parent 44990aa commit e3b41d1

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "7a848fa439e779117793063aff964d7082a7f6f8",
2+
"commit": "5a73740cee9aab59b4a2825d17305441ae639ec7",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"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/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"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/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/netapp/resource-manager/readme.md"
1111
}

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "13.3.0"
9+
VERSION = "5.1.0"

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class ActiveDirectory(_serialization.Model): # pylint: disable=too-many-instanc
141141
"status": {"readonly": True},
142142
"status_details": {"readonly": True},
143143
"kdc_ip": {
144-
"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]?))*$"
144+
"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]?)$"
145145
},
146146
"ad_name": {"max_length": 64, "min_length": 1},
147147
"server_root_ca_certificate": {"max_length": 10240, "min_length": 1},
@@ -3421,16 +3421,15 @@ class ReplicationObject(_serialization.Model):
34213421
34223422
Variables are only populated by the server, and will be ignored when sending a request.
34233423
3424-
All required parameters must be populated in order to send to server.
3425-
34263424
:ivar replication_id: Id.
34273425
:vartype replication_id: str
34283426
:ivar endpoint_type: Indicates whether the local volume is the source or destination for the
34293427
Volume Replication. Known values are: "src" and "dst".
34303428
:vartype endpoint_type: str or ~azure.mgmt.netapp.models.EndpointType
34313429
:ivar replication_schedule: Schedule. Known values are: "_10minutely", "hourly", and "daily".
34323430
:vartype replication_schedule: str or ~azure.mgmt.netapp.models.ReplicationSchedule
3433-
:ivar remote_volume_resource_id: The resource ID of the remote volume. Required for cross region and cross zone replication.
3431+
:ivar remote_volume_resource_id: The resource ID of the remote volume. Required for cross
3432+
region and cross zone replication.
34343433
:vartype remote_volume_resource_id: str
34353434
:ivar remote_path: The full path to a volume that is to be migrated into ANF. Required for
34363435
Migration volumes.
@@ -3455,9 +3454,9 @@ class ReplicationObject(_serialization.Model):
34553454
def __init__(
34563455
self,
34573456
*,
3458-
remote_volume_resource_id: Optional[str] = None,
34593457
endpoint_type: Optional[Union[str, "_models.EndpointType"]] = None,
34603458
replication_schedule: Optional[Union[str, "_models.ReplicationSchedule"]] = None,
3459+
remote_volume_resource_id: Optional[str] = None,
34613460
remote_path: Optional["_models.RemotePath"] = None,
34623461
remote_volume_region: Optional[str] = None,
34633462
**kwargs: Any
@@ -3469,7 +3468,8 @@ def __init__(
34693468
:keyword replication_schedule: Schedule. Known values are: "_10minutely", "hourly", and
34703469
"daily".
34713470
:paramtype replication_schedule: str or ~azure.mgmt.netapp.models.ReplicationSchedule
3472-
:keyword remote_volume_resource_id: The resource ID of the remote volume. Required for cross region and cross zone replication.
3471+
:keyword remote_volume_resource_id: The resource ID of the remote volume. Required for cross
3472+
region and cross zone replication.
34733473
:paramtype remote_volume_resource_id: str
34743474
:keyword remote_path: The full path to a volume that is to be migrated into ANF. Required for
34753475
Migration volumes.

sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ def test_begin_create(self, resource_group):
8080
"dataProtection": {
8181
"backup": {"backupPolicyId": "str", "backupVaultId": "str", "policyEnforced": bool},
8282
"replication": {
83-
"remoteVolumeResourceId": "str",
8483
"endpointType": "str",
8584
"remotePath": {"externalHostName": "str", "serverName": "str", "volumeName": "str"},
8685
"remoteVolumeRegion": "str",
86+
"remoteVolumeResourceId": "str",
8787
"replicationId": "str",
8888
"replicationSchedule": "str",
8989
},

sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volume_groups_operations_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ async def test_begin_create(self, resource_group):
8282
"dataProtection": {
8383
"backup": {"backupPolicyId": "str", "backupVaultId": "str", "policyEnforced": bool},
8484
"replication": {
85-
"remoteVolumeResourceId": "str",
8685
"endpointType": "str",
8786
"remotePath": {"externalHostName": "str", "serverName": "str", "volumeName": "str"},
8887
"remoteVolumeRegion": "str",
88+
"remoteVolumeResourceId": "str",
8989
"replicationId": "str",
9090
"replicationSchedule": "str",
9191
},

sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ def test_begin_create_or_update(self, resource_group):
7070
"dataProtection": {
7171
"backup": {"backupPolicyId": "str", "backupVaultId": "str", "policyEnforced": bool},
7272
"replication": {
73-
"remoteVolumeResourceId": "str",
7473
"endpointType": "str",
7574
"remotePath": {"externalHostName": "str", "serverName": "str", "volumeName": "str"},
7675
"remoteVolumeRegion": "str",
76+
"remoteVolumeResourceId": "str",
7777
"replicationId": "str",
7878
"replicationSchedule": "str",
7979
},

sdk/netapp/azure-mgmt-netapp/generated_tests/test_net_app_management_volumes_operations_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ async def test_begin_create_or_update(self, resource_group):
7272
"dataProtection": {
7373
"backup": {"backupPolicyId": "str", "backupVaultId": "str", "policyEnforced": bool},
7474
"replication": {
75-
"remoteVolumeResourceId": "str",
7675
"endpointType": "str",
7776
"remotePath": {"externalHostName": "str", "serverName": "str", "volumeName": "str"},
7877
"remoteVolumeRegion": "str",
78+
"remoteVolumeResourceId": "str",
7979
"replicationId": "str",
8080
"replicationSchedule": "str",
8181
},

0 commit comments

Comments
 (0)