你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageAccount 构造函数

定义

重载

StorageAccount()

初始化 StorageAccount 类的新实例。

StorageAccount(String, String, String, String, SystemData, String, String, String, String, Nullable<Int32>)

初始化 StorageAccount 类的新实例。

StorageAccount()

初始化 StorageAccount 类的新实例。

public StorageAccount ();
Public Sub New ()

适用于

StorageAccount(String, String, String, String, SystemData, String, String, String, String, Nullable<Int32>)

初始化 StorageAccount 类的新实例。

public StorageAccount (string dataPolicy, string id = default, string name = default, string type = default, Microsoft.Azure.Management.DataBoxEdge.Models.SystemData systemData = default, string description = default, string storageAccountStatus = default, string storageAccountCredentialId = default, string blobEndpoint = default, int? containerCount = default);
new Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount : string * string * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.SystemData * string * string * string * string * Nullable<int> -> Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount
Public Sub New (dataPolicy As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional storageAccountStatus As String = Nothing, Optional storageAccountCredentialId As String = Nothing, Optional blobEndpoint As String = Nothing, Optional containerCount As Nullable(Of Integer) = Nothing)

参数

dataPolicy
String

存储帐户的数据策略。 可能的值包括:“Cloud”、“Local”

id
String

唯一标识对象的路径 ID。

name
String

对象名称。

type
String

对象的分层类型。

systemData
SystemData

ASE 设备上的 StorageAccount 对象

description
String

存储帐户的说明。

storageAccountStatus
String

存储帐户的当前状态。 可能的值包括:“OK”、“Offline”、“Unknown”、“Updating”、“NeedsAttention”

storageAccountCredentialId
String

存储帐户凭据 ID

blobEndpoint
String

存储帐户的 BlobEndpoint

containerCount
Nullable<Int32>

容器计数。 仅适用于 DataPolicy 设置为云的存储帐户。

适用于