StorageAccountCreateOrUpdateContent Class

Definition

The parameters used when creating a storage account.

public class StorageAccountCreateOrUpdateContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.StorageAccountCreateOrUpdateContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.StorageAccountCreateOrUpdateContent>
public class StorageAccountCreateOrUpdateContent
type StorageAccountCreateOrUpdateContent = class
    interface IJsonModel<StorageAccountCreateOrUpdateContent>
    interface IPersistableModel<StorageAccountCreateOrUpdateContent>
type StorageAccountCreateOrUpdateContent = class
Public Class StorageAccountCreateOrUpdateContent
Implements IJsonModel(Of StorageAccountCreateOrUpdateContent), IPersistableModel(Of StorageAccountCreateOrUpdateContent)
Public Class StorageAccountCreateOrUpdateContent
Inheritance
StorageAccountCreateOrUpdateContent
Implements

Constructors

StorageAccountCreateOrUpdateContent(StorageSku, StorageKind, AzureLocation)

Initializes a new instance of StorageAccountCreateOrUpdateContent.

Properties

AccessTier

Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.

AllowBlobPublicAccess

Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.

AllowCrossTenantReplication

Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property.

AllowedCopyScope

Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.

AllowSharedKeyAccess

Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.

AzureFilesIdentityBasedAuthentication

Provides the identity based authentication settings for Azure Files.

CustomDomain

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.

DnsEndpointType

Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.

EnableHttpsTrafficOnly

Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.

Encryption

Encryption settings to be used for server-side encryption for the storage account.

ExtendedLocation

Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location.

Identity

The identity of the resource.

ImmutableStorageWithVersioning

The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default.

IsDefaultToOAuthAuthentication

A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property.

IsHnsEnabled

Account HierarchicalNamespace enabled if sets to true.

IsLocalUserEnabled

Enables local users feature, if set to true.

IsNfsV3Enabled

NFS 3.0 protocol support enabled if set to true.

IsSftpEnabled

Enables Secure File Transfer Protocol, if set to true.

KeyExpirationPeriodInDays

The key expiration period in days.

Kind

Required. Indicates the type of storage account.

LargeFileSharesState

Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.

Location

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.

MinimumTlsVersion

Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.

NetworkRuleSet

Network rule set.

PublicNetworkAccess

Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

RoutingPreference

Maintains information about the network routing choice opted by the user for data transfer.

SasPolicy

SasPolicy assigned to the storage account.

Sku

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.

Explicit Interface Implementations

IJsonModel<StorageAccountCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StorageAccountCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageAccountCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageAccountCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StorageAccountCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to