Partager via


StorageAccount Constructors

Definition

Overloads

StorageAccount()
StorageAccount(String, String, String, String, IDictionary<String, String>, Sku, Nullable<Kind>, Identity, Nullable<ProvisioningState>, Endpoints, String, Nullable<AccountStatus>, Nullable<DateTime>, String, Nullable<AccountStatus>, Nullable<DateTime>, CustomDomain, Endpoints, Encryption, Nullable<AccessTier>, Nullable<Boolean>, NetworkRuleSet)

StorageAccount()

public StorageAccount ();
Public Sub New ()

Applies to

StorageAccount(String, String, String, String, IDictionary<String, String>, Sku, Nullable<Kind>, Identity, Nullable<ProvisioningState>, Endpoints, String, Nullable<AccountStatus>, Nullable<DateTime>, String, Nullable<AccountStatus>, Nullable<DateTime>, CustomDomain, Endpoints, Encryption, Nullable<AccessTier>, Nullable<Boolean>, NetworkRuleSet)

public StorageAccount (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Sku sku = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Kind? kind = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Identity identity = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.ProvisioningState? provisioningState = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Endpoints primaryEndpoints = default, string primaryLocation = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.AccountStatus? statusOfPrimary = default, DateTime? lastGeoFailoverTime = default, string secondaryLocation = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.AccountStatus? statusOfSecondary = default, DateTime? creationTime = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.CustomDomain customDomain = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Endpoints secondaryEndpoints = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Encryption encryption = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.AccessTier? accessTier = default, bool? enableHttpsTrafficOnly = default, Microsoft.Azure.Management.Storage.Version2017_10_01.Models.NetworkRuleSet networkRuleSet = default);
new Microsoft.Azure.Management.Storage.Version2017_10_01.Models.StorageAccount : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Sku * Nullable<Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Kind> * Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Identity * Nullable<Microsoft.Azure.Management.Storage.Version2017_10_01.Models.ProvisioningState> * Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Endpoints * string * Nullable<Microsoft.Azure.Management.Storage.Version2017_10_01.Models.AccountStatus> * Nullable<DateTime> * string * Nullable<Microsoft.Azure.Management.Storage.Version2017_10_01.Models.AccountStatus> * Nullable<DateTime> * Microsoft.Azure.Management.Storage.Version2017_10_01.Models.CustomDomain * Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Endpoints * Microsoft.Azure.Management.Storage.Version2017_10_01.Models.Encryption * Nullable<Microsoft.Azure.Management.Storage.Version2017_10_01.Models.AccessTier> * Nullable<bool> * Microsoft.Azure.Management.Storage.Version2017_10_01.Models.NetworkRuleSet -> Microsoft.Azure.Management.Storage.Version2017_10_01.Models.StorageAccount
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As Sku = Nothing, Optional kind As Nullable(Of Kind) = Nothing, Optional identity As Identity = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional primaryEndpoints As Endpoints = Nothing, Optional primaryLocation As String = Nothing, Optional statusOfPrimary As Nullable(Of AccountStatus) = Nothing, Optional lastGeoFailoverTime As Nullable(Of DateTime) = Nothing, Optional secondaryLocation As String = Nothing, Optional statusOfSecondary As Nullable(Of AccountStatus) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional customDomain As CustomDomain = Nothing, Optional secondaryEndpoints As Endpoints = Nothing, Optional encryption As Encryption = Nothing, Optional accessTier As Nullable(Of AccessTier) = Nothing, Optional enableHttpsTrafficOnly As Nullable(Of Boolean) = Nothing, Optional networkRuleSet As NetworkRuleSet = Nothing)

Parameters

id
String
name
String
type
String
location
String
sku
Sku
kind
Nullable<Kind>
identity
Identity
provisioningState
Nullable<ProvisioningState>
primaryEndpoints
Endpoints
primaryLocation
String
statusOfPrimary
Nullable<AccountStatus>
lastGeoFailoverTime
Nullable<DateTime>
secondaryLocation
String
statusOfSecondary
Nullable<AccountStatus>
creationTime
Nullable<DateTime>
customDomain
CustomDomain
secondaryEndpoints
Endpoints
encryption
Encryption
accessTier
Nullable<AccessTier>
enableHttpsTrafficOnly
Nullable<Boolean>
networkRuleSet
NetworkRuleSet

Applies to