diff --git a/profiles/latest/storage/mgmt/storage/models.go b/profiles/latest/storage/mgmt/storage/models.go index 634f84dc0232..a37cf2345411 100644 --- a/profiles/latest/storage/mgmt/storage/models.go +++ b/profiles/latest/storage/mgmt/storage/models.go @@ -142,6 +142,13 @@ const ( StorageV2 Kind = original.StorageV2 ) +type LargeFileSharesState = original.LargeFileSharesState + +const ( + Disabled LargeFileSharesState = original.Disabled + Enabled LargeFileSharesState = original.Enabled +) + type LeaseDuration = original.LeaseDuration const ( @@ -504,6 +511,9 @@ func PossibleKeySourceValues() []KeySource { func PossibleKindValues() []Kind { return original.PossibleKindValues() } +func PossibleLargeFileSharesStateValues() []LargeFileSharesState { + return original.PossibleLargeFileSharesStateValues() +} func PossibleLeaseDurationValues() []LeaseDuration { return original.PossibleLeaseDurationValues() } diff --git a/profiles/preview/storage/mgmt/storage/models.go b/profiles/preview/storage/mgmt/storage/models.go index 48320cf10e7a..bd83eed0e792 100644 --- a/profiles/preview/storage/mgmt/storage/models.go +++ b/profiles/preview/storage/mgmt/storage/models.go @@ -142,6 +142,13 @@ const ( StorageV2 Kind = original.StorageV2 ) +type LargeFileSharesState = original.LargeFileSharesState + +const ( + Disabled LargeFileSharesState = original.Disabled + Enabled LargeFileSharesState = original.Enabled +) + type LeaseDuration = original.LeaseDuration const ( @@ -504,6 +511,9 @@ func PossibleKeySourceValues() []KeySource { func PossibleKindValues() []Kind { return original.PossibleKindValues() } +func PossibleLargeFileSharesStateValues() []LargeFileSharesState { + return original.PossibleLargeFileSharesStateValues() +} func PossibleLeaseDurationValues() []LeaseDuration { return original.PossibleLeaseDurationValues() } diff --git a/services/storage/mgmt/2019-04-01/storage/models.go b/services/storage/mgmt/2019-04-01/storage/models.go index 265f9a9dbac7..8cba20da6e24 100644 --- a/services/storage/mgmt/2019-04-01/storage/models.go +++ b/services/storage/mgmt/2019-04-01/storage/models.go @@ -272,6 +272,21 @@ func PossibleKindValues() []Kind { return []Kind{BlobStorage, BlockBlobStorage, FileStorage, Storage, StorageV2} } +// LargeFileSharesState enumerates the values for large file shares state. +type LargeFileSharesState string + +const ( + // Disabled ... + Disabled LargeFileSharesState = "Disabled" + // Enabled ... + Enabled LargeFileSharesState = "Enabled" +) + +// PossibleLargeFileSharesStateValues returns an array of possible values for the LargeFileSharesState const type. +func PossibleLargeFileSharesStateValues() []LargeFileSharesState { + return []LargeFileSharesState{Disabled, Enabled} +} + // LeaseDuration enumerates the values for lease duration. type LeaseDuration string @@ -1011,6 +1026,8 @@ type AccountProperties struct { GeoReplicationStats *GeoReplicationStats `json:"geoReplicationStats,omitempty"` // FailoverInProgress - READ-ONLY; If the failover is in progress, the value will be true, otherwise, it will be null. FailoverInProgress *bool `json:"failoverInProgress,omitempty"` + // LargeFileSharesState - Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible values include: 'Disabled', 'Enabled' + LargeFileSharesState LargeFileSharesState `json:"largeFileSharesState,omitempty"` } // AccountPropertiesCreateParameters the parameters used to create the storage account. @@ -1029,6 +1046,8 @@ type AccountPropertiesCreateParameters struct { EnableHTTPSTrafficOnly *bool `json:"supportsHttpsTrafficOnly,omitempty"` // IsHnsEnabled - Account HierarchicalNamespace enabled if sets to true. IsHnsEnabled *bool `json:"isHnsEnabled,omitempty"` + // LargeFileSharesState - Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible values include: 'Disabled', 'Enabled' + LargeFileSharesState LargeFileSharesState `json:"largeFileSharesState,omitempty"` } // AccountPropertiesUpdateParameters the parameters used when updating a storage account. @@ -1045,6 +1064,8 @@ type AccountPropertiesUpdateParameters struct { EnableHTTPSTrafficOnly *bool `json:"supportsHttpsTrafficOnly,omitempty"` // NetworkRuleSet - Network rule set NetworkRuleSet *NetworkRuleSet `json:"networkAcls,omitempty"` + // LargeFileSharesState - Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible values include: 'Disabled', 'Enabled' + LargeFileSharesState LargeFileSharesState `json:"largeFileSharesState,omitempty"` } // AccountRegenerateKeyParameters the parameters used to regenerate the storage account key.