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

StorageAccount 构造函数

定义

重载

StorageAccount()

初始化 StorageAccount 类的新实例。

StorageAccount(StorageAccountType, String, ResourceIdentity, String)

初始化 StorageAccount 类的新实例。

StorageAccount()

初始化 StorageAccount 类的新实例。

public StorageAccount ();
Public Sub New ()

适用于

StorageAccount(StorageAccountType, String, ResourceIdentity, String)

初始化 StorageAccount 类的新实例。

public StorageAccount (Microsoft.Azure.Management.Media.Models.StorageAccountType type, string id = default, Microsoft.Azure.Management.Media.Models.ResourceIdentity identity = default, string status = default);
new Microsoft.Azure.Management.Media.Models.StorageAccount : Microsoft.Azure.Management.Media.Models.StorageAccountType * string * Microsoft.Azure.Management.Media.Models.ResourceIdentity * string -> Microsoft.Azure.Management.Media.Models.StorageAccount
Public Sub New (type As StorageAccountType, Optional id As String = Nothing, Optional identity As ResourceIdentity = Nothing, Optional status As String = Nothing)

参数

type
StorageAccountType

存储帐户的类型。 可能的值包括:“Primary”、“Secondary”

id
String

存储帐户资源的 ID。 媒体服务依赖于表、队列以及 Blob,因此主存储帐户必须是标准存储帐户, (Microsoft.ClassicStorage 或 Microsoft.Storage) 。 仅 Blob 存储帐户可以添加为辅助存储帐户。

identity
ResourceIdentity

存储帐户标识。

status
String

存储帐户映射的当前状态。

适用于