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

ArmSubscriptionModelFactory.AcceptOwnershipStatus 方法

定义

初始化 AcceptOwnershipStatus 的新实例。

public static Azure.ResourceManager.Subscription.Models.AcceptOwnershipStatus AcceptOwnershipStatus (string subscriptionId = default, Azure.ResourceManager.Subscription.Models.AcceptOwnershipState? acceptOwnershipState = default, Azure.ResourceManager.Subscription.Models.AcceptOwnershipProvisioningState? provisioningState = default, string billingOwner = default, Guid? subscriptionTenantId = default, string displayName = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member AcceptOwnershipStatus : string * Nullable<Azure.ResourceManager.Subscription.Models.AcceptOwnershipState> * Nullable<Azure.ResourceManager.Subscription.Models.AcceptOwnershipProvisioningState> * string * Nullable<Guid> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Subscription.Models.AcceptOwnershipStatus
Public Shared Function AcceptOwnershipStatus (Optional subscriptionId As String = Nothing, Optional acceptOwnershipState As Nullable(Of AcceptOwnershipState) = Nothing, Optional provisioningState As Nullable(Of AcceptOwnershipProvisioningState) = Nothing, Optional billingOwner As String = Nothing, Optional subscriptionTenantId As Nullable(Of Guid) = Nothing, Optional displayName As String = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As AcceptOwnershipStatus

参数

subscriptionId
String

新建的订阅 ID。

acceptOwnershipState
Nullable<AcceptOwnershipState>

资源的接受所有权状态。

provisioningState
Nullable<AcceptOwnershipProvisioningState>

资源的预配状态。

billingOwner
String

计费所有者的 UPN。

subscriptionTenantId
Nullable<Guid>

订阅的租户 ID。

displayName
String

订阅的显示名称。

tags
IReadOnlyDictionary<String,String>

订阅的标记。

返回

用于模拟的新 AcceptOwnershipStatus 实例。

适用于