Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
38 changes: 38 additions & 0 deletions sdk/storage/arm-storage/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,16 @@ export interface StorageAccountCreateParameters {
* Maintains information about the network routing choice opted by the user for data transfer
*/
routingPreference?: RoutingPreference;
/**
* Allow or disallow public access to all blobs or containers in the storage account. The default
* interpretation is true for this property.
*/
allowBlobPublicAccess?: boolean;
/**
* 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'
*/
minimumTlsVersion?: MinimumTlsVersion;
}

/**
Expand Down Expand Up @@ -1001,6 +1011,16 @@ export interface StorageAccount extends TrackedResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly blobRestoreStatus?: BlobRestoreStatus;
/**
* Allow or disallow public access to all blobs or containers in the storage account. The default
* interpretation is true for this property.
*/
allowBlobPublicAccess?: boolean;
/**
* 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'
*/
minimumTlsVersion?: MinimumTlsVersion;
}

/**
Expand Down Expand Up @@ -1103,6 +1123,16 @@ export interface StorageAccountUpdateParameters {
* Maintains information about the network routing choice opted by the user for data transfer
*/
routingPreference?: RoutingPreference;
/**
* Allow or disallow public access to all blobs or containers in the storage account. The default
* interpretation is true for this property.
*/
allowBlobPublicAccess?: boolean;
/**
* 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'
*/
minimumTlsVersion?: MinimumTlsVersion;
/**
* Optional. Indicates the type of storage account. Currently only StorageV2 value supported by
* server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage',
Expand Down Expand Up @@ -2967,6 +2997,14 @@ export type LargeFileSharesState = 'Disabled' | 'Enabled';
*/
export type RoutingChoice = 'MicrosoftRouting' | 'InternetRouting';

/**
* Defines values for MinimumTlsVersion.
* Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
* @readonly
* @enum {string}
*/
export type MinimumTlsVersion = 'TLS1_0' | 'TLS1_1' | 'TLS1_2';

/**
* Defines values for GeoReplicationStatus.
* Possible values include: 'Live', 'Bootstrap', 'Unavailable'
Expand Down
36 changes: 36 additions & 0 deletions sdk/storage/arm-storage/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,18 @@ export const StorageAccountCreateParameters: msRest.CompositeMapper = {
name: "Composite",
className: "RoutingPreference"
}
},
allowBlobPublicAccess: {
serializedName: "properties.allowBlobPublicAccess",
type: {
name: "Boolean"
}
},
minimumTlsVersion: {
serializedName: "properties.minimumTlsVersion",
type: {
name: "String"
}
}
}
}
Expand Down Expand Up @@ -1587,6 +1599,18 @@ export const StorageAccount: msRest.CompositeMapper = {
name: "Composite",
className: "BlobRestoreStatus"
}
},
allowBlobPublicAccess: {
serializedName: "properties.allowBlobPublicAccess",
type: {
name: "Boolean"
}
},
minimumTlsVersion: {
serializedName: "properties.minimumTlsVersion",
type: {
name: "String"
}
}
}
}
Expand Down Expand Up @@ -1755,6 +1779,18 @@ export const StorageAccountUpdateParameters: msRest.CompositeMapper = {
className: "RoutingPreference"
}
},
allowBlobPublicAccess: {
serializedName: "properties.allowBlobPublicAccess",
type: {
name: "Boolean"
}
},
minimumTlsVersion: {
serializedName: "properties.minimumTlsVersion",
type: {
name: "String"
}
},
kind: {
serializedName: "kind",
type: {
Expand Down