Skip to content

Commit

Permalink
Generated from f897f2476e09958144c8dd8f3db8699ee6636763
Browse files Browse the repository at this point in the history
Merge pull request #26 from leonardbf/NFSAAS-2436-R4-corrections

NFSAAS-2436 corrections to R4 standard
  • Loading branch information
AutorestCI committed May 23, 2019
1 parent 83bfb51 commit b6e8169
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class CapacityPool(Model):
:type tags: object
:ivar pool_id: poolId. UUID v4 used to identify the Pool
:vartype pool_id: str
:param size: Required. size. Provisioned size of the pool (in bytes).
Allowed values are in 4TiB chunks (value must be multiply of
4398046511104). Default value: 4398046511104 .
:param size: size. Provisioned size of the pool (in bytes). Allowed values
are in 4TiB chunks (value must be multiply of 4398046511104). Default
value: 4398046511104 .
:type size: long
:param service_level: Required. serviceLevel. The service level of the
file system. Possible values include: 'Standard', 'Premium', 'Ultra'.
Expand All @@ -50,7 +50,7 @@ class CapacityPool(Model):
'name': {'readonly': True},
'type': {'readonly': True},
'pool_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}$'},
'size': {'required': True, 'maximum': 549755813888000, 'minimum': 4398046511104},
'size': {'maximum': 549755813888000, 'minimum': 4398046511104},
'service_level': {'required': True},
'provisioning_state': {'readonly': True},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class CapacityPool(Model):
:type tags: object
:ivar pool_id: poolId. UUID v4 used to identify the Pool
:vartype pool_id: str
:param size: Required. size. Provisioned size of the pool (in bytes).
Allowed values are in 4TiB chunks (value must be multiply of
4398046511104). Default value: 4398046511104 .
:param size: size. Provisioned size of the pool (in bytes). Allowed values
are in 4TiB chunks (value must be multiply of 4398046511104). Default
value: 4398046511104 .
:type size: long
:param service_level: Required. serviceLevel. The service level of the
file system. Possible values include: 'Standard', 'Premium', 'Ultra'.
Expand All @@ -50,7 +50,7 @@ class CapacityPool(Model):
'name': {'readonly': True},
'type': {'readonly': True},
'pool_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}$'},
'size': {'required': True, 'maximum': 549755813888000, 'minimum': 4398046511104},
'size': {'maximum': 549755813888000, 'minimum': 4398046511104},
'service_level': {'required': True},
'provisioning_state': {'readonly': True},
}
Expand Down
7 changes: 3 additions & 4 deletions sdk/azure-mgmt-netapp/azure/mgmt/netapp/models/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class Volume(Model):
:param creation_token: Required. Creation Token or File Path. A unique
file path for the volume. Used when creating mount targets
:type creation_token: str
:param service_level: Required. serviceLevel. The service level of the
file system. Possible values include: 'Standard', 'Premium', 'Ultra'.
Default value: "Premium" .
:param service_level: serviceLevel. The service level of the file system.
Possible values include: 'Standard', 'Premium', 'Ultra'. Default value:
"Premium" .
:type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel
:param usage_threshold: Required. usageThreshold. Maximum storage quota
allowed for a file system in bytes. This is a soft quota used for alerting
Expand Down Expand Up @@ -70,7 +70,6 @@ class Volume(Model):
'type': {'readonly': True},
'file_system_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}$'},
'creation_token': {'required': True},
'service_level': {'required': True},
'usage_threshold': {'required': True, 'maximum': 109951162777600, 'minimum': 107374182400},
'provisioning_state': {'readonly': True},
'snapshot_id': {'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}$'},
Expand Down
7 changes: 3 additions & 4 deletions sdk/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class Volume(Model):
:param creation_token: Required. Creation Token or File Path. A unique
file path for the volume. Used when creating mount targets
:type creation_token: str
:param service_level: Required. serviceLevel. The service level of the
file system. Possible values include: 'Standard', 'Premium', 'Ultra'.
Default value: "Premium" .
:param service_level: serviceLevel. The service level of the file system.
Possible values include: 'Standard', 'Premium', 'Ultra'. Default value:
"Premium" .
:type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel
:param usage_threshold: Required. usageThreshold. Maximum storage quota
allowed for a file system in bytes. This is a soft quota used for alerting
Expand Down Expand Up @@ -70,7 +70,6 @@ class Volume(Model):
'type': {'readonly': True},
'file_system_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}$'},
'creation_token': {'required': True},
'service_level': {'required': True},
'usage_threshold': {'required': True, 'maximum': 109951162777600, 'minimum': 107374182400},
'provisioning_state': {'readonly': True},
'snapshot_id': {'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}$'},
Expand Down

0 comments on commit b6e8169

Please sign in to comment.