Udostępnij za pośrednictwem


StorageAccountCreateParameters Class

Definition

The parameters used when creating a storage account.

[Microsoft.Rest.Serialization.JsonTransformation]
public class StorageAccountCreateParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type StorageAccountCreateParameters = class
Public Class StorageAccountCreateParameters
Inheritance
StorageAccountCreateParameters
Attributes

Constructors

StorageAccountCreateParameters()

Initializes a new instance of the StorageAccountCreateParameters class.

StorageAccountCreateParameters(SkuInner, Kind, String, IDictionary<String, String>, Identity, CustomDomain, Encryption, NetworkRuleSet, Nullable<AccessTier>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the StorageAccountCreateParameters class.

Properties

AccessTier

Gets or sets required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool'

CustomDomain

Gets or sets user domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.

EnableAzureFilesAadIntegration

Gets or sets enables Azure Files AAD Integration for SMB if sets to true.

EnableHttpsTrafficOnly

Gets or sets allows https traffic only to storage service if sets to true.

Encryption

Gets or sets provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted.

Identity

Gets or sets the identity of the resource.

IsHnsEnabled

Gets or sets account HierarchicalNamespace enabled if sets to true.

Kind

Gets or sets required. Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'

Location

Gets or sets required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed.

NetworkRuleSet

Gets or sets network rule set

Sku

Gets or sets required. Gets or sets the SKU name.

Tags

Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.

Methods

Validate()

Validate the object.

Applies to