Skip to content

Commit

Permalink
Generated from 6d6ccff47614fd8ae245b6caf0bece69b54d7dac
Browse files Browse the repository at this point in the history
Updating description
  • Loading branch information
SDK Automation committed Jun 15, 2020
1 parent bb875d8 commit 2a8423f
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 5 deletions.
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
15 changes: 10 additions & 5 deletions sdk/storage/arm-storage/src/operations/blobContainers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,8 @@ const createOrUpdateImmutabilityPolicyOperationSpec: msRest.OperationSpec = {
headersMapper: Mappers.BlobContainersCreateOrUpdateImmutabilityPolicyHeaders
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.CloudError,
headersMapper: Mappers.BlobContainersCreateOrUpdateImmutabilityPolicyHeaders
}
},
serializer
Expand Down Expand Up @@ -1098,7 +1099,8 @@ const getImmutabilityPolicyOperationSpec: msRest.OperationSpec = {
headersMapper: Mappers.BlobContainersGetImmutabilityPolicyHeaders
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.CloudError,
headersMapper: Mappers.BlobContainersGetImmutabilityPolicyHeaders
}
},
serializer
Expand Down Expand Up @@ -1127,7 +1129,8 @@ const deleteImmutabilityPolicyOperationSpec: msRest.OperationSpec = {
headersMapper: Mappers.BlobContainersDeleteImmutabilityPolicyHeaders
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.CloudError,
headersMapper: Mappers.BlobContainersDeleteImmutabilityPolicyHeaders
}
},
serializer
Expand Down Expand Up @@ -1155,7 +1158,8 @@ const lockImmutabilityPolicyOperationSpec: msRest.OperationSpec = {
headersMapper: Mappers.BlobContainersLockImmutabilityPolicyHeaders
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.CloudError,
headersMapper: Mappers.BlobContainersLockImmutabilityPolicyHeaders
}
},
serializer
Expand Down Expand Up @@ -1196,7 +1200,8 @@ const extendImmutabilityPolicyOperationSpec: msRest.OperationSpec = {
headersMapper: Mappers.BlobContainersExtendImmutabilityPolicyHeaders
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.CloudError,
headersMapper: Mappers.BlobContainersExtendImmutabilityPolicyHeaders
}
},
serializer
Expand Down

0 comments on commit 2a8423f

Please sign in to comment.