diff --git a/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/MinimumTlsVersion.cs b/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/MinimumTlsVersion.cs
new file mode 100644
index 000000000000..4bb3db94fbac
--- /dev/null
+++ b/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/MinimumTlsVersion.cs
@@ -0,0 +1,23 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Storage.Models
+{
+
+ ///
+ /// Defines values for MinimumTlsVersion.
+ ///
+ public static class MinimumTlsVersion
+ {
+ public const string TLS10 = "TLS1_0";
+ public const string TLS11 = "TLS1_1";
+ public const string TLS12 = "TLS1_2";
+ }
+}
diff --git a/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccount.cs b/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccount.cs
index 4d69c7cd4c7f..03c10fb81fc2 100644
--- a/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccount.cs
+++ b/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccount.cs
@@ -105,7 +105,14 @@ public StorageAccount()
/// Maintains information about the
/// network routing choice opted by the user for data transfer
/// Blob restore status
- public StorageAccount(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), string kind = default(string), Identity identity = default(Identity), ProvisioningState? provisioningState = default(ProvisioningState?), Endpoints primaryEndpoints = default(Endpoints), string primaryLocation = default(string), AccountStatus? statusOfPrimary = default(AccountStatus?), System.DateTime? lastGeoFailoverTime = default(System.DateTime?), string secondaryLocation = default(string), AccountStatus? statusOfSecondary = default(AccountStatus?), System.DateTime? creationTime = default(System.DateTime?), CustomDomain customDomain = default(CustomDomain), Endpoints secondaryEndpoints = default(Endpoints), Encryption encryption = default(Encryption), AccessTier? accessTier = default(AccessTier?), AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default(AzureFilesIdentityBasedAuthentication), bool? enableHttpsTrafficOnly = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), bool? isHnsEnabled = default(bool?), GeoReplicationStats geoReplicationStats = default(GeoReplicationStats), bool? failoverInProgress = default(bool?), string largeFileSharesState = default(string), IList privateEndpointConnections = default(IList), RoutingPreference routingPreference = default(RoutingPreference), BlobRestoreStatus blobRestoreStatus = default(BlobRestoreStatus))
+ /// Allow or disallow public access
+ /// to all blobs or containers in the storage account. The default
+ /// interpretation is true for this property.
+ /// Set the minimum TLS version to be
+ /// permitted on requests to storage. The default interpretation is TLS
+ /// 1.0 for this property. Possible values include: 'TLS1_0', 'TLS1_1',
+ /// 'TLS1_2'
+ public StorageAccount(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), string kind = default(string), Identity identity = default(Identity), ProvisioningState? provisioningState = default(ProvisioningState?), Endpoints primaryEndpoints = default(Endpoints), string primaryLocation = default(string), AccountStatus? statusOfPrimary = default(AccountStatus?), System.DateTime? lastGeoFailoverTime = default(System.DateTime?), string secondaryLocation = default(string), AccountStatus? statusOfSecondary = default(AccountStatus?), System.DateTime? creationTime = default(System.DateTime?), CustomDomain customDomain = default(CustomDomain), Endpoints secondaryEndpoints = default(Endpoints), Encryption encryption = default(Encryption), AccessTier? accessTier = default(AccessTier?), AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default(AzureFilesIdentityBasedAuthentication), bool? enableHttpsTrafficOnly = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), bool? isHnsEnabled = default(bool?), GeoReplicationStats geoReplicationStats = default(GeoReplicationStats), bool? failoverInProgress = default(bool?), string largeFileSharesState = default(string), IList privateEndpointConnections = default(IList), RoutingPreference routingPreference = default(RoutingPreference), BlobRestoreStatus blobRestoreStatus = default(BlobRestoreStatus), bool? allowBlobPublicAccess = default(bool?), string minimumTlsVersion = default(string))
: base(location, id, name, type, tags)
{
Sku = sku;
@@ -133,6 +140,8 @@ public StorageAccount()
PrivateEndpointConnections = privateEndpointConnections;
RoutingPreference = routingPreference;
BlobRestoreStatus = blobRestoreStatus;
+ AllowBlobPublicAccess = allowBlobPublicAccess;
+ MinimumTlsVersion = minimumTlsVersion;
CustomInit();
}
@@ -320,6 +329,22 @@ public StorageAccount()
[JsonProperty(PropertyName = "properties.blobRestoreStatus")]
public BlobRestoreStatus BlobRestoreStatus { get; private set; }
+ ///
+ /// Gets or sets allow or disallow public access to all blobs or
+ /// containers in the storage account. The default interpretation is
+ /// true for this property.
+ ///
+ [JsonProperty(PropertyName = "properties.allowBlobPublicAccess")]
+ public bool? AllowBlobPublicAccess { get; set; }
+
+ ///
+ /// Gets or sets set the minimum TLS version to be permitted on
+ /// requests to storage. The default interpretation is TLS 1.0 for this
+ /// property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
+ ///
+ [JsonProperty(PropertyName = "properties.minimumTlsVersion")]
+ public string MinimumTlsVersion { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccountCreateParameters.cs b/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccountCreateParameters.cs
index 81c599fd1c12..623f537b28b6 100644
--- a/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccountCreateParameters.cs
+++ b/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccountCreateParameters.cs
@@ -76,7 +76,14 @@ public StorageAccountCreateParameters()
/// values include: 'Disabled', 'Enabled'
/// Maintains information about the
/// network routing choice opted by the user for data transfer
- public StorageAccountCreateParameters(Sku sku, string kind, string location, IDictionary tags = default(IDictionary), Identity identity = default(Identity), CustomDomain customDomain = default(CustomDomain), Encryption encryption = default(Encryption), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), AccessTier? accessTier = default(AccessTier?), AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default(AzureFilesIdentityBasedAuthentication), bool? enableHttpsTrafficOnly = default(bool?), bool? isHnsEnabled = default(bool?), string largeFileSharesState = default(string), RoutingPreference routingPreference = default(RoutingPreference))
+ /// Allow or disallow public access
+ /// to all blobs or containers in the storage account. The default
+ /// interpretation is true for this property.
+ /// Set the minimum TLS version to be
+ /// permitted on requests to storage. The default interpretation is TLS
+ /// 1.0 for this property. Possible values include: 'TLS1_0', 'TLS1_1',
+ /// 'TLS1_2'
+ public StorageAccountCreateParameters(Sku sku, string kind, string location, IDictionary tags = default(IDictionary), Identity identity = default(Identity), CustomDomain customDomain = default(CustomDomain), Encryption encryption = default(Encryption), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), AccessTier? accessTier = default(AccessTier?), AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default(AzureFilesIdentityBasedAuthentication), bool? enableHttpsTrafficOnly = default(bool?), bool? isHnsEnabled = default(bool?), string largeFileSharesState = default(string), RoutingPreference routingPreference = default(RoutingPreference), bool? allowBlobPublicAccess = default(bool?), string minimumTlsVersion = default(string))
{
Sku = sku;
Kind = kind;
@@ -92,6 +99,8 @@ public StorageAccountCreateParameters()
IsHnsEnabled = isHnsEnabled;
LargeFileSharesState = largeFileSharesState;
RoutingPreference = routingPreference;
+ AllowBlobPublicAccess = allowBlobPublicAccess;
+ MinimumTlsVersion = minimumTlsVersion;
CustomInit();
}
@@ -206,6 +215,22 @@ public StorageAccountCreateParameters()
[JsonProperty(PropertyName = "properties.routingPreference")]
public RoutingPreference RoutingPreference { get; set; }
+ ///
+ /// Gets or sets allow or disallow public access to all blobs or
+ /// containers in the storage account. The default interpretation is
+ /// true for this property.
+ ///
+ [JsonProperty(PropertyName = "properties.allowBlobPublicAccess")]
+ public bool? AllowBlobPublicAccess { get; set; }
+
+ ///
+ /// Gets or sets set the minimum TLS version to be permitted on
+ /// requests to storage. The default interpretation is TLS 1.0 for this
+ /// property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
+ ///
+ [JsonProperty(PropertyName = "properties.minimumTlsVersion")]
+ public string MinimumTlsVersion { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccountUpdateParameters.cs b/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccountUpdateParameters.cs
index c98f2efa40d8..0f556c5c9211 100644
--- a/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccountUpdateParameters.cs
+++ b/sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/StorageAccountUpdateParameters.cs
@@ -68,11 +68,18 @@ public StorageAccountUpdateParameters()
/// values include: 'Disabled', 'Enabled'
/// Maintains information about the
/// network routing choice opted by the user for data transfer
+ /// Allow or disallow public access
+ /// to all blobs or containers in the storage account. The default
+ /// interpretation is true for this property.
+ /// Set the minimum TLS version to be
+ /// permitted on requests to storage. The default interpretation is TLS
+ /// 1.0 for this property. Possible values include: 'TLS1_0', 'TLS1_1',
+ /// 'TLS1_2'
/// Optional. Indicates the type of storage account.
/// Currently only StorageV2 value supported by server. Possible values
/// include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage',
/// 'BlockBlobStorage'
- public StorageAccountUpdateParameters(Sku sku = default(Sku), IDictionary tags = default(IDictionary), Identity identity = default(Identity), CustomDomain customDomain = default(CustomDomain), Encryption encryption = default(Encryption), AccessTier? accessTier = default(AccessTier?), AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default(AzureFilesIdentityBasedAuthentication), bool? enableHttpsTrafficOnly = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), string largeFileSharesState = default(string), RoutingPreference routingPreference = default(RoutingPreference), string kind = default(string))
+ public StorageAccountUpdateParameters(Sku sku = default(Sku), IDictionary tags = default(IDictionary), Identity identity = default(Identity), CustomDomain customDomain = default(CustomDomain), Encryption encryption = default(Encryption), AccessTier? accessTier = default(AccessTier?), AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default(AzureFilesIdentityBasedAuthentication), bool? enableHttpsTrafficOnly = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), string largeFileSharesState = default(string), RoutingPreference routingPreference = default(RoutingPreference), bool? allowBlobPublicAccess = default(bool?), string minimumTlsVersion = default(string), string kind = default(string))
{
Sku = sku;
Tags = tags;
@@ -85,6 +92,8 @@ public StorageAccountUpdateParameters()
NetworkRuleSet = networkRuleSet;
LargeFileSharesState = largeFileSharesState;
RoutingPreference = routingPreference;
+ AllowBlobPublicAccess = allowBlobPublicAccess;
+ MinimumTlsVersion = minimumTlsVersion;
Kind = kind;
CustomInit();
}
@@ -177,6 +186,22 @@ public StorageAccountUpdateParameters()
[JsonProperty(PropertyName = "properties.routingPreference")]
public RoutingPreference RoutingPreference { get; set; }
+ ///
+ /// Gets or sets allow or disallow public access to all blobs or
+ /// containers in the storage account. The default interpretation is
+ /// true for this property.
+ ///
+ [JsonProperty(PropertyName = "properties.allowBlobPublicAccess")]
+ public bool? AllowBlobPublicAccess { get; set; }
+
+ ///
+ /// Gets or sets set the minimum TLS version to be permitted on
+ /// requests to storage. The default interpretation is TLS 1.0 for this
+ /// property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
+ ///
+ [JsonProperty(PropertyName = "properties.minimumTlsVersion")]
+ public string MinimumTlsVersion { get; set; }
+
///
/// Gets or sets optional. Indicates the type of storage account.
/// Currently only StorageV2 value supported by server. Possible values