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

ArmSubscriptionModelFactory.SubscriptionAliasProperties 方法

定义

初始化 SubscriptionAliasProperties 的新实例。

public static Azure.ResourceManager.Subscription.Models.SubscriptionAliasProperties SubscriptionAliasProperties (string subscriptionId = default, string displayName = default, Azure.ResourceManager.Subscription.Models.SubscriptionProvisioningState? provisioningState = default, Uri acceptOwnershipUri = default, Azure.ResourceManager.Subscription.Models.AcceptOwnershipState? acceptOwnershipState = default, string billingScope = default, Azure.ResourceManager.Subscription.Models.SubscriptionWorkload? workload = default, string resellerId = default, string subscriptionOwnerId = default, string managementGroupId = default, DateTimeOffset? createdOn = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member SubscriptionAliasProperties : string * string * Nullable<Azure.ResourceManager.Subscription.Models.SubscriptionProvisioningState> * Uri * Nullable<Azure.ResourceManager.Subscription.Models.AcceptOwnershipState> * string * Nullable<Azure.ResourceManager.Subscription.Models.SubscriptionWorkload> * string * string * string * Nullable<DateTimeOffset> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Subscription.Models.SubscriptionAliasProperties
Public Shared Function SubscriptionAliasProperties (Optional subscriptionId As String = Nothing, Optional displayName As String = Nothing, Optional provisioningState As Nullable(Of SubscriptionProvisioningState) = Nothing, Optional acceptOwnershipUri As Uri = Nothing, Optional acceptOwnershipState As Nullable(Of AcceptOwnershipState) = Nothing, Optional billingScope As String = Nothing, Optional workload As Nullable(Of SubscriptionWorkload) = Nothing, Optional resellerId As String = Nothing, Optional subscriptionOwnerId As String = Nothing, Optional managementGroupId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As SubscriptionAliasProperties

参数

subscriptionId
String

新创建的订阅 ID。

displayName
String

订阅的显示名称。

provisioningState
Nullable<SubscriptionProvisioningState>

资源的预配状态。

acceptOwnershipUri
Uri

用于接受订阅所有权的 URL。

acceptOwnershipState
Nullable<AcceptOwnershipState>

资源的接受所有权状态。

billingScope
String

订阅的计费范围。 对于 CustomerLed 和 FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} 对于旧版 EA - /billingAccountName}/{billingAccountName}/enrollmentAccountName}

workload
Nullable<SubscriptionWorkload>

订阅的工作负荷类型。 它可以是“生产”或“开发测试”。

resellerId
String

经销商 ID。

subscriptionOwnerId
String

订阅的所有者 ID。

managementGroupId
String

管理组 ID。

createdOn
Nullable<DateTimeOffset>

创建时间。

tags
IReadOnlyDictionary<String,String>

订阅的标记。

返回

用于模拟的新 SubscriptionAliasProperties 实例。

适用于