ArmStorageModelFactory.StorageAccountPatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Storage.Models.StorageAccountPatch StorageAccountPatch(Azure.ResourceManager.Storage.Models.StorageSku sku = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.Storage.Models.StorageCustomDomain customDomain = default, Azure.ResourceManager.Storage.Models.StorageAccountEncryption encryption = default, Azure.ResourceManager.Storage.Models.StorageAccountSasPolicy sasPolicy = default, Azure.ResourceManager.Storage.Models.StorageAccountAccessTier? accessTier = default, Azure.ResourceManager.Storage.Models.FilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default, bool? enableHttpsTrafficOnly = default, bool? isSftpEnabled = default, bool? isLocalUserEnabled = default, bool? isExtendedGroupEnabled = default, Azure.ResourceManager.Storage.Models.StorageAccountNetworkRuleSet networkRuleSet = default, Azure.ResourceManager.Storage.Models.LargeFileSharesState? largeFileSharesState = default, Azure.ResourceManager.Storage.Models.StorageRoutingPreference routingPreference = default, bool? allowBlobPublicAccess = default, Azure.ResourceManager.Storage.Models.StorageMinimumTlsVersion? minimumTlsVersion = default, bool? allowSharedKeyAccess = default, bool? allowCrossTenantReplication = default, bool? isDefaultToOAuthAuthentication = default, Azure.ResourceManager.Storage.Models.StoragePublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.Storage.Models.ImmutableStorageAccount immutableStorageWithVersioning = default, Azure.ResourceManager.Storage.Models.AllowedCopyScope? allowedCopyScope = default, Azure.ResourceManager.Storage.Models.StorageDnsEndpointType? dnsEndpointType = default, Azure.ResourceManager.Storage.Models.StorageAccountSharedKeyAccessProperties allowSharedKeyAccessForServices = default, Azure.ResourceManager.Storage.Models.StorageDataCollaborationPolicyProperties dataCollaborationPolicyProperties = default, int? keyExpirationPeriodInDays = default, bool? isIPv6EndpointToBePublished = default, bool? isBlobEnabled = default, Azure.ResourceManager.Storage.Models.StorageKind? kind = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.Storage.Models.StorageAccountZonePlacementPolicy? zonePlacementPolicy = default);
static member StorageAccountPatch : Azure.ResourceManager.Storage.Models.StorageSku * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.Storage.Models.StorageCustomDomain * Azure.ResourceManager.Storage.Models.StorageAccountEncryption * Azure.ResourceManager.Storage.Models.StorageAccountSasPolicy * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountAccessTier> * Azure.ResourceManager.Storage.Models.FilesIdentityBasedAuthentication * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.Storage.Models.StorageAccountNetworkRuleSet * Nullable<Azure.ResourceManager.Storage.Models.LargeFileSharesState> * Azure.ResourceManager.Storage.Models.StorageRoutingPreference * Nullable<bool> * Nullable<Azure.ResourceManager.Storage.Models.StorageMinimumTlsVersion> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.Storage.Models.StoragePublicNetworkAccess> * Azure.ResourceManager.Storage.Models.ImmutableStorageAccount * Nullable<Azure.ResourceManager.Storage.Models.AllowedCopyScope> * Nullable<Azure.ResourceManager.Storage.Models.StorageDnsEndpointType> * Azure.ResourceManager.Storage.Models.StorageAccountSharedKeyAccessProperties * Azure.ResourceManager.Storage.Models.StorageDataCollaborationPolicyProperties * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.Storage.Models.StorageKind> * seq<string> * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountZonePlacementPolicy> -> Azure.ResourceManager.Storage.Models.StorageAccountPatch
Public Shared Function StorageAccountPatch (Optional sku As StorageSku = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional customDomain As StorageCustomDomain = Nothing, Optional encryption As StorageAccountEncryption = Nothing, Optional sasPolicy As StorageAccountSasPolicy = Nothing, Optional accessTier As Nullable(Of StorageAccountAccessTier) = Nothing, Optional azureFilesIdentityBasedAuthentication As FilesIdentityBasedAuthentication = Nothing, Optional enableHttpsTrafficOnly As Nullable(Of Boolean) = Nothing, Optional isSftpEnabled As Nullable(Of Boolean) = Nothing, Optional isLocalUserEnabled As Nullable(Of Boolean) = Nothing, Optional isExtendedGroupEnabled As Nullable(Of Boolean) = Nothing, Optional networkRuleSet As StorageAccountNetworkRuleSet = Nothing, Optional largeFileSharesState As Nullable(Of LargeFileSharesState) = Nothing, Optional routingPreference As StorageRoutingPreference = Nothing, Optional allowBlobPublicAccess As Nullable(Of Boolean) = Nothing, Optional minimumTlsVersion As Nullable(Of StorageMinimumTlsVersion) = Nothing, Optional allowSharedKeyAccess As Nullable(Of Boolean) = Nothing, Optional allowCrossTenantReplication As Nullable(Of Boolean) = Nothing, Optional isDefaultToOAuthAuthentication As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As Nullable(Of StoragePublicNetworkAccess) = Nothing, Optional immutableStorageWithVersioning As ImmutableStorageAccount = Nothing, Optional allowedCopyScope As Nullable(Of AllowedCopyScope) = Nothing, Optional dnsEndpointType As Nullable(Of StorageDnsEndpointType) = Nothing, Optional allowSharedKeyAccessForServices As StorageAccountSharedKeyAccessProperties = Nothing, Optional dataCollaborationPolicyProperties As StorageDataCollaborationPolicyProperties = Nothing, Optional keyExpirationPeriodInDays As Nullable(Of Integer) = Nothing, Optional isIPv6EndpointToBePublished As Nullable(Of Boolean) = Nothing, Optional isBlobEnabled As Nullable(Of Boolean) = Nothing, Optional kind As Nullable(Of StorageKind) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional zonePlacementPolicy As Nullable(Of StorageAccountZonePlacementPolicy) = Nothing) As StorageAccountPatch
Parameters
- sku
- StorageSku
Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value.
- tags
- IDictionary<String,String>
Gets or sets a list of key value pairs that describe the resource. These tags can be used in 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 no greater in length than 128 characters and a value no greater in length than 256 characters.
- identity
- ManagedServiceIdentity
The identity of the resource.
- customDomain
- StorageCustomDomain
Custom domain assigned to the storage account by the user. 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.
- encryption
- StorageAccountEncryption
Not applicable. Azure Storage encryption at rest is enabled by default for all storage accounts and cannot be disabled.
- sasPolicy
- StorageAccountSasPolicy
SasPolicy assigned to the storage account.
- accessTier
- Nullable<StorageAccountAccessTier>
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.
- azureFilesIdentityBasedAuthentication
- FilesIdentityBasedAuthentication
Provides the identity based authentication settings for Azure Files.
Allows https traffic only to storage service if sets to true.
Enables extended group support with local users feature, if set to true.
- networkRuleSet
- StorageAccountNetworkRuleSet
Network rule set.
- largeFileSharesState
- Nullable<LargeFileSharesState>
Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.
- routingPreference
- StorageRoutingPreference
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 false for this property.
- minimumTlsVersion
- Nullable<StorageMinimumTlsVersion>
Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Minimum TLS version 1.3 version is not supported.
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.
Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default.
A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property.
- publicNetworkAccess
- Nullable<StoragePublicNetworkAccess>
Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'.
- immutableStorageWithVersioning
- ImmutableStorageAccount
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 containers in the account by default.
- allowedCopyScope
- Nullable<AllowedCopyScope>
Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.
- dnsEndpointType
- Nullable<StorageDnsEndpointType>
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.
- allowSharedKeyAccessForServices
- StorageAccountSharedKeyAccessProperties
Indicate shared key access properties at service level.
- dataCollaborationPolicyProperties
- StorageDataCollaborationPolicyProperties
Data Collaboration policy for the storage account.
A boolean flag which indicates whether IPv6 storage endpoints are to be published.
Indicates whether Blob Geo Priority Replication is enabled for the storage account.
- kind
- Nullable<StorageKind>
Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server.
- zones
- IEnumerable<String>
Optional. Gets or sets the pinned logical availability zone for the storage account.
- zonePlacementPolicy
- Nullable<StorageAccountZonePlacementPolicy>
The availability zone pinning policy for the storage account.
Returns
A new StorageAccountPatch instance for mocking.