Skip to content

Commit 5a9bad0

Browse files
author
SDKAuto
committed
CodeGen from PR 16270 in Azure/azure-rest-api-specs
Merge 8074a1bd2dde012fd6fab13c9869e08b0f13d209 into 99d3931
1 parent 9b54ea4 commit 5a9bad0

File tree

4 files changed

+16
-26
lines changed

4 files changed

+16
-26
lines changed

sdk/netapp/azure-mgmt-netapp/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "6b95b0f0fa71e18a350cf0ba152591a29a94bdc0",
7+
"commit": "e202bbec00023cbd368274c24db641ae9300c48a",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"autorest_command": "autorest specification/netapp/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
1010
"readme": "specification/netapp/resource-manager/readme.md"

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 = "5.1.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,9 +1135,9 @@ def __init__(
11351135
class LogSpecification(msrest.serialization.Model):
11361136
"""Log Definition of a single resource metric.
11371137
1138-
:param name:
1138+
:param name: Name of log specification.
11391139
:type name: str
1140-
:param display_name:
1140+
:param display_name: Display name of log specification.
11411141
:type display_name: str
11421142
"""
11431143

@@ -1948,7 +1948,7 @@ class ServiceSpecification(msrest.serialization.Model):
19481948
19491949
:param metric_specifications: Metric specifications of operation.
19501950
:type metric_specifications: list[~azure.mgmt.netapp.models.MetricSpecification]
1951-
:param log_specifications:
1951+
:param log_specifications: Log specification of operation.
19521952
:type log_specifications: list[~azure.mgmt.netapp.models.LogSpecification]
19531953
"""
19541954

@@ -2307,8 +2307,6 @@ class SubscriptionQuotaItem(ProxyResource):
23072307
:vartype type: str
23082308
:ivar system_data: The system meta data relating to this resource.
23092309
:vartype system_data: ~azure.mgmt.netapp.models.SystemData
2310-
:ivar name_properties_name: Quota Item name.
2311-
:vartype name_properties_name: str
23122310
:ivar current: The current quota value.
23132311
:vartype current: int
23142312
:ivar default: The default quota value.
@@ -2320,7 +2318,6 @@ class SubscriptionQuotaItem(ProxyResource):
23202318
'name': {'readonly': True},
23212319
'type': {'readonly': True},
23222320
'system_data': {'readonly': True},
2323-
'name_properties_name': {'readonly': True},
23242321
'current': {'readonly': True},
23252322
'default': {'readonly': True},
23262323
}
@@ -2330,7 +2327,6 @@ class SubscriptionQuotaItem(ProxyResource):
23302327
'name': {'key': 'name', 'type': 'str'},
23312328
'type': {'key': 'type', 'type': 'str'},
23322329
'system_data': {'key': 'systemData', 'type': 'SystemData'},
2333-
'name_properties_name': {'key': 'properties.name', 'type': 'str'},
23342330
'current': {'key': 'properties.current', 'type': 'int'},
23352331
'default': {'key': 'properties.default', 'type': 'int'},
23362332
}
@@ -2341,7 +2337,6 @@ def __init__(
23412337
):
23422338
super(SubscriptionQuotaItem, self).__init__(**kwargs)
23432339
self.system_data = None
2344-
self.name_properties_name = None
23452340
self.current = None
23462341
self.default = None
23472342

@@ -2552,7 +2547,8 @@ class Volume(msrest.serialization.Model):
25522547
:param smb_continuously_available: Enables continuously available share property for smb
25532548
volume. Only applicable for SMB volume.
25542549
:type smb_continuously_available: bool
2555-
:param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume.
2550+
:param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume and
2551+
this will be accepted as input only for manual qosType volume.
25562552
:type throughput_mibps: float
25572553
:param encryption_key_source: Encryption Key Source. Possible values are: 'Microsoft.NetApp'.
25582554
:type encryption_key_source: str
@@ -2605,7 +2601,6 @@ class Volume(msrest.serialization.Model):
26052601
'network_sibling_set_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'},
26062602
'storage_to_network_proximity': {'readonly': True},
26072603
'mount_targets': {'readonly': True},
2608-
'throughput_mibps': {'maximum': 4500, 'minimum': 0},
26092604
'coolness_period': {'maximum': 63, 'minimum': 7},
26102605
'unix_permissions': {'max_length': 4, 'min_length': 4},
26112606
'clone_progress': {'readonly': True},
@@ -2806,7 +2801,8 @@ class VolumePatch(msrest.serialization.Model):
28062801
:type usage_threshold: long
28072802
:param export_policy: Set of export policy rules.
28082803
:type export_policy: ~azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy
2809-
:param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume.
2804+
:param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume and
2805+
this will be accepted as input only for manual qosType volume.
28102806
:type throughput_mibps: float
28112807
:param data_protection: DataProtection type volumes include an object containing details of the
28122808
replication.
@@ -2826,7 +2822,6 @@ class VolumePatch(msrest.serialization.Model):
28262822
'name': {'readonly': True},
28272823
'type': {'readonly': True},
28282824
'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400},
2829-
'throughput_mibps': {'maximum': 4500, 'minimum': 1},
28302825
}
28312826

28322827
_attribute_map = {

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

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,9 +1252,9 @@ def __init__(
12521252
class LogSpecification(msrest.serialization.Model):
12531253
"""Log Definition of a single resource metric.
12541254
1255-
:param name:
1255+
:param name: Name of log specification.
12561256
:type name: str
1257-
:param display_name:
1257+
:param display_name: Display name of log specification.
12581258
:type display_name: str
12591259
"""
12601260

@@ -2148,7 +2148,7 @@ class ServiceSpecification(msrest.serialization.Model):
21482148
21492149
:param metric_specifications: Metric specifications of operation.
21502150
:type metric_specifications: list[~azure.mgmt.netapp.models.MetricSpecification]
2151-
:param log_specifications:
2151+
:param log_specifications: Log specification of operation.
21522152
:type log_specifications: list[~azure.mgmt.netapp.models.LogSpecification]
21532153
"""
21542154

@@ -2542,8 +2542,6 @@ class SubscriptionQuotaItem(ProxyResource):
25422542
:vartype type: str
25432543
:ivar system_data: The system meta data relating to this resource.
25442544
:vartype system_data: ~azure.mgmt.netapp.models.SystemData
2545-
:ivar name_properties_name: Quota Item name.
2546-
:vartype name_properties_name: str
25472545
:ivar current: The current quota value.
25482546
:vartype current: int
25492547
:ivar default: The default quota value.
@@ -2555,7 +2553,6 @@ class SubscriptionQuotaItem(ProxyResource):
25552553
'name': {'readonly': True},
25562554
'type': {'readonly': True},
25572555
'system_data': {'readonly': True},
2558-
'name_properties_name': {'readonly': True},
25592556
'current': {'readonly': True},
25602557
'default': {'readonly': True},
25612558
}
@@ -2565,7 +2562,6 @@ class SubscriptionQuotaItem(ProxyResource):
25652562
'name': {'key': 'name', 'type': 'str'},
25662563
'type': {'key': 'type', 'type': 'str'},
25672564
'system_data': {'key': 'systemData', 'type': 'SystemData'},
2568-
'name_properties_name': {'key': 'properties.name', 'type': 'str'},
25692565
'current': {'key': 'properties.current', 'type': 'int'},
25702566
'default': {'key': 'properties.default', 'type': 'int'},
25712567
}
@@ -2576,7 +2572,6 @@ def __init__(
25762572
):
25772573
super(SubscriptionQuotaItem, self).__init__(**kwargs)
25782574
self.system_data = None
2579-
self.name_properties_name = None
25802575
self.current = None
25812576
self.default = None
25822577

@@ -2801,7 +2796,8 @@ class Volume(msrest.serialization.Model):
28012796
:param smb_continuously_available: Enables continuously available share property for smb
28022797
volume. Only applicable for SMB volume.
28032798
:type smb_continuously_available: bool
2804-
:param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume.
2799+
:param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume and
2800+
this will be accepted as input only for manual qosType volume.
28052801
:type throughput_mibps: float
28062802
:param encryption_key_source: Encryption Key Source. Possible values are: 'Microsoft.NetApp'.
28072803
:type encryption_key_source: str
@@ -2854,7 +2850,6 @@ class Volume(msrest.serialization.Model):
28542850
'network_sibling_set_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'},
28552851
'storage_to_network_proximity': {'readonly': True},
28562852
'mount_targets': {'readonly': True},
2857-
'throughput_mibps': {'maximum': 4500, 'minimum': 0},
28582853
'coolness_period': {'maximum': 63, 'minimum': 7},
28592854
'unix_permissions': {'max_length': 4, 'min_length': 4},
28602855
'clone_progress': {'readonly': True},
@@ -3097,7 +3092,8 @@ class VolumePatch(msrest.serialization.Model):
30973092
:type usage_threshold: long
30983093
:param export_policy: Set of export policy rules.
30993094
:type export_policy: ~azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy
3100-
:param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume.
3095+
:param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume and
3096+
this will be accepted as input only for manual qosType volume.
31013097
:type throughput_mibps: float
31023098
:param data_protection: DataProtection type volumes include an object containing details of the
31033099
replication.
@@ -3117,7 +3113,6 @@ class VolumePatch(msrest.serialization.Model):
31173113
'name': {'readonly': True},
31183114
'type': {'readonly': True},
31193115
'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400},
3120-
'throughput_mibps': {'maximum': 4500, 'minimum': 1},
31213116
}
31223117

31233118
_attribute_map = {

0 commit comments

Comments
 (0)