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 ebaee7c36eb7db67a4e648374f69f26a654b444f (#7445)
[SRP] Add new storage account property largeFileSharesState
  • Loading branch information
AutorestCI authored Sep 26, 2019
commit 5db4d33ff42b5eb709368d322974bc4bb1dad45d
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
DefaultAction,
DirectoryServiceOptions,
AccessTier,
LargeFileSharesState,
GeoReplicationStatus,
ProvisioningState,
AccountStatus,
Expand Down Expand Up @@ -271,6 +272,7 @@
'DefaultAction',
'DirectoryServiceOptions',
'AccessTier',
'LargeFileSharesState',
'GeoReplicationStatus',
'ProvisioningState',
'AccountStatus',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2326,6 +2326,11 @@ class StorageAccount(TrackedResource):
:ivar failover_in_progress: If the failover is in progress, the value will
be true, otherwise, it will be null.
:vartype failover_in_progress: bool
:param large_file_shares_state: Allow large file shares if sets to
Enabled. It cannot be disabled once it is enabled. Possible values
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
"""

_validation = {
Expand Down Expand Up @@ -2379,6 +2384,7 @@ class StorageAccount(TrackedResource):
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
'geo_replication_stats': {'key': 'properties.geoReplicationStats', 'type': 'GeoReplicationStats'},
'failover_in_progress': {'key': 'properties.failoverInProgress', 'type': 'bool'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -2404,6 +2410,7 @@ def __init__(self, **kwargs):
self.is_hns_enabled = kwargs.get('is_hns_enabled', None)
self.geo_replication_stats = None
self.failover_in_progress = None
self.large_file_shares_state = kwargs.get('large_file_shares_state', None)


class StorageAccountCheckNameAvailabilityParameters(Model):
Expand Down Expand Up @@ -2491,6 +2498,11 @@ class StorageAccountCreateParameters(Model):
:param is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true.
:type is_hns_enabled: bool
:param large_file_shares_state: Allow large file shares if sets to
Enabled. It cannot be disabled once it is enabled. Possible values
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
"""

_validation = {
Expand All @@ -2512,6 +2524,7 @@ class StorageAccountCreateParameters(Model):
'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -2528,6 +2541,7 @@ def __init__(self, **kwargs):
self.azure_files_identity_based_authentication = kwargs.get('azure_files_identity_based_authentication', None)
self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None)
self.is_hns_enabled = kwargs.get('is_hns_enabled', None)
self.large_file_shares_state = kwargs.get('large_file_shares_state', None)


class StorageAccountKey(Model):
Expand Down Expand Up @@ -2652,6 +2666,11 @@ class StorageAccountUpdateParameters(Model):
:param network_rule_set: Network rule set
:type network_rule_set:
~azure.mgmt.storage.v2019_04_01.models.NetworkRuleSet
:param large_file_shares_state: Allow large file shares if sets to
Enabled. It cannot be disabled once it is enabled. Possible values
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
:param kind: Optional. Indicates the type of storage account. Currently
only StorageV2 value supported by server. Possible values include:
'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
Expand All @@ -2668,6 +2687,7 @@ class StorageAccountUpdateParameters(Model):
'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
}

Expand All @@ -2682,6 +2702,7 @@ def __init__(self, **kwargs):
self.azure_files_identity_based_authentication = kwargs.get('azure_files_identity_based_authentication', None)
self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None)
self.network_rule_set = kwargs.get('network_rule_set', None)
self.large_file_shares_state = kwargs.get('large_file_shares_state', None)
self.kind = kwargs.get('kind', None)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2326,6 +2326,11 @@ class StorageAccount(TrackedResource):
:ivar failover_in_progress: If the failover is in progress, the value will
be true, otherwise, it will be null.
:vartype failover_in_progress: bool
:param large_file_shares_state: Allow large file shares if sets to
Enabled. It cannot be disabled once it is enabled. Possible values
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
"""

_validation = {
Expand Down Expand Up @@ -2379,9 +2384,10 @@ class StorageAccount(TrackedResource):
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
'geo_replication_stats': {'key': 'properties.geoReplicationStats', 'type': 'GeoReplicationStats'},
'failover_in_progress': {'key': 'properties.failoverInProgress', 'type': 'bool'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
}

def __init__(self, *, location: str, tags=None, identity=None, azure_files_identity_based_authentication=None, enable_https_traffic_only: bool=None, is_hns_enabled: bool=None, **kwargs) -> None:
def __init__(self, *, location: str, tags=None, identity=None, azure_files_identity_based_authentication=None, enable_https_traffic_only: bool=None, is_hns_enabled: bool=None, large_file_shares_state=None, **kwargs) -> None:
super(StorageAccount, self).__init__(tags=tags, location=location, **kwargs)
self.sku = None
self.kind = None
Expand All @@ -2404,6 +2410,7 @@ def __init__(self, *, location: str, tags=None, identity=None, azure_files_ident
self.is_hns_enabled = is_hns_enabled
self.geo_replication_stats = None
self.failover_in_progress = None
self.large_file_shares_state = large_file_shares_state


class StorageAccountCheckNameAvailabilityParameters(Model):
Expand Down Expand Up @@ -2491,6 +2498,11 @@ class StorageAccountCreateParameters(Model):
:param is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true.
:type is_hns_enabled: bool
:param large_file_shares_state: Allow large file shares if sets to
Enabled. It cannot be disabled once it is enabled. Possible values
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
"""

_validation = {
Expand All @@ -2512,9 +2524,10 @@ class StorageAccountCreateParameters(Model):
'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
}

def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom_domain=None, encryption=None, network_rule_set=None, access_tier=None, azure_files_identity_based_authentication=None, enable_https_traffic_only: bool=None, is_hns_enabled: bool=None, **kwargs) -> None:
def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom_domain=None, encryption=None, network_rule_set=None, access_tier=None, azure_files_identity_based_authentication=None, enable_https_traffic_only: bool=None, is_hns_enabled: bool=None, large_file_shares_state=None, **kwargs) -> None:
super(StorageAccountCreateParameters, self).__init__(**kwargs)
self.sku = sku
self.kind = kind
Expand All @@ -2528,6 +2541,7 @@ def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom
self.azure_files_identity_based_authentication = azure_files_identity_based_authentication
self.enable_https_traffic_only = enable_https_traffic_only
self.is_hns_enabled = is_hns_enabled
self.large_file_shares_state = large_file_shares_state


class StorageAccountKey(Model):
Expand Down Expand Up @@ -2652,6 +2666,11 @@ class StorageAccountUpdateParameters(Model):
:param network_rule_set: Network rule set
:type network_rule_set:
~azure.mgmt.storage.v2019_04_01.models.NetworkRuleSet
:param large_file_shares_state: Allow large file shares if sets to
Enabled. It cannot be disabled once it is enabled. Possible values
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
:param kind: Optional. Indicates the type of storage account. Currently
only StorageV2 value supported by server. Possible values include:
'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
Expand All @@ -2668,10 +2687,11 @@ class StorageAccountUpdateParameters(Model):
'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
}

def __init__(self, *, sku=None, tags=None, identity=None, custom_domain=None, encryption=None, access_tier=None, azure_files_identity_based_authentication=None, enable_https_traffic_only: bool=None, network_rule_set=None, kind=None, **kwargs) -> None:
def __init__(self, *, sku=None, tags=None, identity=None, custom_domain=None, encryption=None, access_tier=None, azure_files_identity_based_authentication=None, enable_https_traffic_only: bool=None, network_rule_set=None, large_file_shares_state=None, kind=None, **kwargs) -> None:
super(StorageAccountUpdateParameters, self).__init__(**kwargs)
self.sku = sku
self.tags = tags
Expand All @@ -2682,6 +2702,7 @@ def __init__(self, *, sku=None, tags=None, identity=None, custom_domain=None, en
self.azure_files_identity_based_authentication = azure_files_identity_based_authentication
self.enable_https_traffic_only = enable_https_traffic_only
self.network_rule_set = network_rule_set
self.large_file_shares_state = large_file_shares_state
self.kind = kind


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ class AccessTier(str, Enum):
cool = "Cool"


class LargeFileSharesState(str, Enum):

disabled = "Disabled"
enabled = "Enabled"


class GeoReplicationStatus(str, Enum):

live = "Live"
Expand Down