Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ba9f1d9
[AutoPR storage/resource-manager] [Bug fix] Remove read-only constrai…
AutorestCI Jul 17, 2019
972afa4
Generated from 2e78b5cbe1e0ef6676f9d9c3266b48cfe87403fd (#6536)
AutorestCI Jul 29, 2019
b4d0f23
[AutoPR storage/resource-manager] updating description - clarify encr…
AutorestCI Aug 2, 2019
8e1f606
Generated from 3acbc3b4106db3097de5be5e4df47afb38d51ec0 (#6735)
AutorestCI Aug 9, 2019
57babb6
Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#6884)
AutorestCI Aug 28, 2019
f4a2cfa
[AutoPR storage/resource-manager] Add change feed properties to 2019-…
AutorestCI Sep 6, 2019
0654217
[AutoPR storage/resource-manager] Rename errorResponse to align with …
AutorestCI Sep 11, 2019
5db4d33
Generated from ebaee7c36eb7db67a4e648374f69f26a654b444f (#7445)
AutorestCI Sep 26, 2019
5097d72
model change for storage
fengzhou-msft Sep 27, 2019
3757e2b
changelog for storage
fengzhou-msft Sep 27, 2019
2cb7b47
Generated from ebaee7c36eb7db67a4e648374f69f26a654b444f (#7445)
AutorestCI Sep 26, 2019
af57175
changelog for storage 4.2.0
fengzhou-msft Oct 7, 2019
cdac8ec
Merge branch 'master' into restapi_auto_storage/resource-manager
fengzhou-msft Oct 7, 2019
41a68cb
Update HISTORY.rst
fengzhou-msft Oct 8, 2019
bdc4d81
Update HISTORY.rst
fengzhou-msft Oct 8, 2019
d9fbbd9
Generated from c7ff553c30947fdc9a3e133cc8c1ec3740abc0ac (#7922)
AutorestCI Oct 16, 2019
ec3c55c
changelog
fengzhou-msft Oct 21, 2019
12d4a9c
merge master
fengzhou-msft Oct 21, 2019
321237f
Generated from 85d0f24f003c50b536c896138a30218c36cf310a (#8381)
AutorestCI Nov 4, 2019
5963e99
[AutoPR storage/resource-manager] [SRP] Remove a recent added propert…
AutorestCI Nov 5, 2019
772c510
Generated from 1e8bea7a181abb6181f79aa0319c293abbf95d7e (#8419)
AutorestCI Nov 5, 2019
d37a5e2
[AutoPR storage/resource-manager] [SRP] Add account sku to file/blob …
AutorestCI Nov 6, 2019
29f65aa
Generated from 86273705d1b043887d3072bf899e4350a3b5e87a
AutorestCI Nov 21, 2019
f2f3792
Generated from f64f9016f52e585e3cfb0dcd41d2f3b6caa6b1af
AutorestCI Nov 21, 2019
1f8e53f
Generated from 1cdc3aa207ffdf87bc022f92a3c7b02e5fa1be1a
AutorestCI Nov 22, 2019
e7c0a5b
Generated from 5676940b4b36d93378b6a7d096a07bb86ed0c826
AutorestCI Nov 26, 2019
254dbd1
Generated from dbef20a68bbcd16f46655937689b957cd22bbd7f
AutorestCI Dec 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Generated from 1cdc3aa207ffdf87bc022f92a3c7b02e5fa1be1a
  • Loading branch information
AutorestCI committed Nov 22, 2019
commit 1f8e53fbdc8de560e5a67a991832ec9521c21c55
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@
from ._models_py3 import FileServiceItems
from ._models_py3 import FileServiceProperties
from ._models_py3 import FileShare
from ._models_py3 import FileShareCreateParameters
from ._models_py3 import FileShareItem
from ._models_py3 import FileSharePropertiesCreateParameters
from ._models_py3 import FileSharePropertiesUpdateParameters
from ._models_py3 import FileShareUpdateParameters
from ._models_py3 import GeoReplicationStats
from ._models_py3 import Identity
from ._models_py3 import ImmutabilityPolicy
Expand Down Expand Up @@ -116,11 +112,7 @@
from ._models import FileServiceItems
from ._models import FileServiceProperties
from ._models import FileShare
from ._models import FileShareCreateParameters
from ._models import FileShareItem
from ._models import FileSharePropertiesCreateParameters
from ._models import FileSharePropertiesUpdateParameters
from ._models import FileShareUpdateParameters
from ._models import GeoReplicationStats
from ._models import Identity
from ._models import ImmutabilityPolicy
Expand Down Expand Up @@ -245,11 +237,7 @@
'FileServiceItems',
'FileServiceProperties',
'FileShare',
'FileShareCreateParameters',
'FileShareItem',
'FileSharePropertiesCreateParameters',
'FileSharePropertiesUpdateParameters',
'FileShareUpdateParameters',
'GeoReplicationStats',
'Identity',
'ImmutabilityPolicy',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,8 @@ class FileShare(AzureEntityResource):
metadata.
:type metadata: dict[str, str]
:param share_quota: The maximum size of the share, in gigabytes. Must be
greater than 0, and less than or equal to 5TB (5120).
greater than 0, and less than or equal to 5TB (5120). For Large File
Shares, the maximum size is 100000.
:type share_quota: int
:param enabled_protocols: Protocols for file shares. Possible values
include: 'SMB', 'NFS'
Expand All @@ -1019,7 +1020,7 @@ class FileShare(AzureEntityResource):
'type': {'readonly': True},
'etag': {'readonly': True},
'last_modified_time': {'readonly': True},
'share_quota': {'maximum': 5120, 'minimum': 1},
'share_quota': {'maximum': 100000, 'minimum': 1},
}

_attribute_map = {
Expand All @@ -1043,23 +1044,6 @@ def __init__(self, **kwargs):
self.root_squash = kwargs.get('root_squash', None)


class FileShareCreateParameters(Model):
"""The parameters used to create the file share.

:param properties: Properties of the file share to create the file share.
:type properties:
~azure.mgmt.storage.v2019_06_01.models.FileSharePropertiesCreateParameters
"""

_attribute_map = {
'properties': {'key': 'properties', 'type': 'FileSharePropertiesCreateParameters'},
}

def __init__(self, **kwargs):
super(FileShareCreateParameters, self).__init__(**kwargs)
self.properties = kwargs.get('properties', None)


class FileShareItem(AzureEntityResource):
"""The file share properties be listed out.

Expand All @@ -1083,7 +1067,8 @@ class FileShareItem(AzureEntityResource):
metadata.
:type metadata: dict[str, str]
:param share_quota: The maximum size of the share, in gigabytes. Must be
greater than 0, and less than or equal to 5TB (5120).
greater than 0, and less than or equal to 5TB (5120). For Large File
Shares, the maximum size is 100000.
:type share_quota: int
:param enabled_protocols: Protocols for file shares. Possible values
include: 'SMB', 'NFS'
Expand All @@ -1102,7 +1087,7 @@ class FileShareItem(AzureEntityResource):
'type': {'readonly': True},
'etag': {'readonly': True},
'last_modified_time': {'readonly': True},
'share_quota': {'maximum': 5120, 'minimum': 1},
'share_quota': {'maximum': 100000, 'minimum': 1},
}

_attribute_map = {
Expand All @@ -1126,95 +1111,6 @@ def __init__(self, **kwargs):
self.root_squash = kwargs.get('root_squash', None)


class FileSharePropertiesCreateParameters(Model):
"""FileSharePropertiesCreateParameters.

:param metadata: A name-value pair to associate with the share as
metadata.
:type metadata: dict[str, str]
:param share_quota: The maximum size of the share, in gigabytes. Must be
greater than 0, and less than or equal to 5TB (5120).
:type share_quota: int
:param enabled_protocols: Protocols for file shares. It cannot be changed
after file share creation. Possible values include: 'SMB', 'NFS'
:type enabled_protocols: str or
~azure.mgmt.storage.v2019_06_01.models.EnabledProtocols
:param root_squash: Reduction of the access rights for the remote
superuser. Possible values include: 'NoRootSquash', 'RootSquash',
'AllSquash'
:type root_squash: str or
~azure.mgmt.storage.v2019_06_01.models.RootSquash
"""

_validation = {
'share_quota': {'maximum': 5120, 'minimum': 1},
}

_attribute_map = {
'metadata': {'key': 'metadata', 'type': '{str}'},
'share_quota': {'key': 'shareQuota', 'type': 'int'},
'enabled_protocols': {'key': 'enabledProtocols', 'type': 'str'},
'root_squash': {'key': 'rootSquash', 'type': 'str'},
}

def __init__(self, **kwargs):
super(FileSharePropertiesCreateParameters, self).__init__(**kwargs)
self.metadata = kwargs.get('metadata', None)
self.share_quota = kwargs.get('share_quota', None)
self.enabled_protocols = kwargs.get('enabled_protocols', None)
self.root_squash = kwargs.get('root_squash', None)


class FileSharePropertiesUpdateParameters(Model):
"""FileSharePropertiesUpdateParameters.

:param metadata: A name-value pair to associate with the share as
metadata.
:type metadata: dict[str, str]
:param share_quota: The maximum size of the share, in gigabytes. Must be
greater than 0, and less than or equal to 5TB (5120).
:type share_quota: int
:param root_squash: Reduction of the access rights for the remote
superuser. Possible values include: 'NoRootSquash', 'RootSquash',
'AllSquash'
:type root_squash: str or
~azure.mgmt.storage.v2019_06_01.models.RootSquash
"""

_validation = {
'share_quota': {'maximum': 5120, 'minimum': 1},
}

_attribute_map = {
'metadata': {'key': 'metadata', 'type': '{str}'},
'share_quota': {'key': 'shareQuota', 'type': 'int'},
'root_squash': {'key': 'rootSquash', 'type': 'str'},
}

def __init__(self, **kwargs):
super(FileSharePropertiesUpdateParameters, self).__init__(**kwargs)
self.metadata = kwargs.get('metadata', None)
self.share_quota = kwargs.get('share_quota', None)
self.root_squash = kwargs.get('root_squash', None)


class FileShareUpdateParameters(Model):
"""The parameters used to create the file share.

:param properties: Properties of the file share to update the file share.
:type properties:
~azure.mgmt.storage.v2019_06_01.models.FileSharePropertiesUpdateParameters
"""

_attribute_map = {
'properties': {'key': 'properties', 'type': 'FileSharePropertiesUpdateParameters'},
}

def __init__(self, **kwargs):
super(FileShareUpdateParameters, self).__init__(**kwargs)
self.properties = kwargs.get('properties', None)


class GeoReplicationStats(Model):
"""Statistics related to replication for storage account's Blob, Table, Queue
and File services. It is only available when geo-redundant replication is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,8 @@ class FileShare(AzureEntityResource):
metadata.
:type metadata: dict[str, str]
:param share_quota: The maximum size of the share, in gigabytes. Must be
greater than 0, and less than or equal to 5TB (5120).
greater than 0, and less than or equal to 5TB (5120). For Large File
Shares, the maximum size is 100000.
:type share_quota: int
:param enabled_protocols: Protocols for file shares. Possible values
include: 'SMB', 'NFS'
Expand All @@ -1019,7 +1020,7 @@ class FileShare(AzureEntityResource):
'type': {'readonly': True},
'etag': {'readonly': True},
'last_modified_time': {'readonly': True},
'share_quota': {'maximum': 5120, 'minimum': 1},
'share_quota': {'maximum': 100000, 'minimum': 1},
}

_attribute_map = {
Expand All @@ -1043,23 +1044,6 @@ def __init__(self, *, metadata=None, share_quota: int=None, enabled_protocols=No
self.root_squash = root_squash


class FileShareCreateParameters(Model):
"""The parameters used to create the file share.

:param properties: Properties of the file share to create the file share.
:type properties:
~azure.mgmt.storage.v2019_06_01.models.FileSharePropertiesCreateParameters
"""

_attribute_map = {
'properties': {'key': 'properties', 'type': 'FileSharePropertiesCreateParameters'},
}

def __init__(self, *, properties=None, **kwargs) -> None:
super(FileShareCreateParameters, self).__init__(**kwargs)
self.properties = properties


class FileShareItem(AzureEntityResource):
"""The file share properties be listed out.

Expand All @@ -1083,7 +1067,8 @@ class FileShareItem(AzureEntityResource):
metadata.
:type metadata: dict[str, str]
:param share_quota: The maximum size of the share, in gigabytes. Must be
greater than 0, and less than or equal to 5TB (5120).
greater than 0, and less than or equal to 5TB (5120). For Large File
Shares, the maximum size is 100000.
:type share_quota: int
:param enabled_protocols: Protocols for file shares. Possible values
include: 'SMB', 'NFS'
Expand All @@ -1102,7 +1087,7 @@ class FileShareItem(AzureEntityResource):
'type': {'readonly': True},
'etag': {'readonly': True},
'last_modified_time': {'readonly': True},
'share_quota': {'maximum': 5120, 'minimum': 1},
'share_quota': {'maximum': 100000, 'minimum': 1},
}

_attribute_map = {
Expand All @@ -1126,95 +1111,6 @@ def __init__(self, *, metadata=None, share_quota: int=None, enabled_protocols=No
self.root_squash = root_squash


class FileSharePropertiesCreateParameters(Model):
"""FileSharePropertiesCreateParameters.

:param metadata: A name-value pair to associate with the share as
metadata.
:type metadata: dict[str, str]
:param share_quota: The maximum size of the share, in gigabytes. Must be
greater than 0, and less than or equal to 5TB (5120).
:type share_quota: int
:param enabled_protocols: Protocols for file shares. It cannot be changed
after file share creation. Possible values include: 'SMB', 'NFS'
:type enabled_protocols: str or
~azure.mgmt.storage.v2019_06_01.models.EnabledProtocols
:param root_squash: Reduction of the access rights for the remote
superuser. Possible values include: 'NoRootSquash', 'RootSquash',
'AllSquash'
:type root_squash: str or
~azure.mgmt.storage.v2019_06_01.models.RootSquash
"""

_validation = {
'share_quota': {'maximum': 5120, 'minimum': 1},
}

_attribute_map = {
'metadata': {'key': 'metadata', 'type': '{str}'},
'share_quota': {'key': 'shareQuota', 'type': 'int'},
'enabled_protocols': {'key': 'enabledProtocols', 'type': 'str'},
'root_squash': {'key': 'rootSquash', 'type': 'str'},
}

def __init__(self, *, metadata=None, share_quota: int=None, enabled_protocols=None, root_squash=None, **kwargs) -> None:
super(FileSharePropertiesCreateParameters, self).__init__(**kwargs)
self.metadata = metadata
self.share_quota = share_quota
self.enabled_protocols = enabled_protocols
self.root_squash = root_squash


class FileSharePropertiesUpdateParameters(Model):
"""FileSharePropertiesUpdateParameters.

:param metadata: A name-value pair to associate with the share as
metadata.
:type metadata: dict[str, str]
:param share_quota: The maximum size of the share, in gigabytes. Must be
greater than 0, and less than or equal to 5TB (5120).
:type share_quota: int
:param root_squash: Reduction of the access rights for the remote
superuser. Possible values include: 'NoRootSquash', 'RootSquash',
'AllSquash'
:type root_squash: str or
~azure.mgmt.storage.v2019_06_01.models.RootSquash
"""

_validation = {
'share_quota': {'maximum': 5120, 'minimum': 1},
}

_attribute_map = {
'metadata': {'key': 'metadata', 'type': '{str}'},
'share_quota': {'key': 'shareQuota', 'type': 'int'},
'root_squash': {'key': 'rootSquash', 'type': 'str'},
}

def __init__(self, *, metadata=None, share_quota: int=None, root_squash=None, **kwargs) -> None:
super(FileSharePropertiesUpdateParameters, self).__init__(**kwargs)
self.metadata = metadata
self.share_quota = share_quota
self.root_squash = root_squash


class FileShareUpdateParameters(Model):
"""The parameters used to create the file share.

:param properties: Properties of the file share to update the file share.
:type properties:
~azure.mgmt.storage.v2019_06_01.models.FileSharePropertiesUpdateParameters
"""

_attribute_map = {
'properties': {'key': 'properties', 'type': 'FileSharePropertiesUpdateParameters'},
}

def __init__(self, *, properties=None, **kwargs) -> None:
super(FileShareUpdateParameters, self).__init__(**kwargs)
self.properties = properties


class GeoReplicationStats(Model):
"""Statistics related to replication for storage account's Blob, Table, Queue
and File services. It is only available when geo-redundant replication is
Expand Down
Loading