Sdílet prostřednictvím


StorageAccount Constructors

Definition

Overloads

StorageAccount()

Initializes a new instance of the StorageAccount class.

StorageAccount(String, Nullable<Boolean>, String, String, String, String, String, String, String)

Initializes a new instance of the StorageAccount class.

StorageAccount()

Initializes a new instance of the StorageAccount class.

public StorageAccount ();
Public Sub New ()

Applies to

StorageAccount(String, Nullable<Boolean>, String, String, String, String, String, String, String)

Initializes a new instance of the StorageAccount class.

public StorageAccount (string name = default, bool? isDefault = default, string container = default, string fileSystem = default, string key = default, string resourceId = default, string msiResourceId = default, string saskey = default, string fileshare = default);
new Microsoft.Azure.Management.HDInsight.Models.StorageAccount : string * Nullable<bool> * string * string * string * string * string * string * string -> Microsoft.Azure.Management.HDInsight.Models.StorageAccount
Public Sub New (Optional name As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional container As String = Nothing, Optional fileSystem As String = Nothing, Optional key As String = Nothing, Optional resourceId As String = Nothing, Optional msiResourceId As String = Nothing, Optional saskey As String = Nothing, Optional fileshare As String = Nothing)

Parameters

name
String

The name of the storage account.

isDefault
Nullable<Boolean>

Whether or not the storage account is the default storage account.

container
String

The container in the storage account, only to be specified for WASB storage accounts.

fileSystem
String

The filesystem, only to be specified for Azure Data Lake Storage Gen 2.

key
String

The storage account access key.

resourceId
String

The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.

msiResourceId
String

The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.

saskey
String

The shared access signature key.

fileshare
String

The file share name.

Applies to