次の方法で共有


ArmBillingModelFactory.BillingSubscriptionData メソッド

定義

BillingSubscriptionData の新しいインスタンスを初期化します。

public static Azure.ResourceManager.Billing.BillingSubscriptionData BillingSubscriptionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState? autoRenew = default, string beneficiaryTenantId = default, string billingFrequency = default, Azure.Core.ResourceIdentifier billingProfileId = default, System.Collections.Generic.IReadOnlyDictionary<string,string> billingPolicies = default, string billingProfileDisplayName = default, string billingProfileName = default, string consumptionCostCenter = default, string customerId = default, string customerDisplayName = default, string displayName = default, string enrollmentAccountId = default, string enrollmentAccountDisplayName = default, Azure.Core.ResourceIdentifier invoiceSectionId = default, string invoiceSectionDisplayName = default, string invoiceSectionName = default, Azure.ResourceManager.Billing.Models.BillingAmount lastMonthCharges = default, Azure.ResourceManager.Billing.Models.BillingAmount monthToDateCharges = default, string nextBillingCycleBillingFrequency = default, string offerId = default, string productCategory = default, string productType = default, string productTypeId = default, DateTimeOffset? purchaseOn = default, long? quantity = default, Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller reseller = default, Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails renewalTermDetails = default, string skuDescription = default, string skuId = default, Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus? status = default, string subscriptionId = default, System.Collections.Generic.IEnumerable<string> suspensionReasons = default, TimeSpan? termDuration = default, DateTimeOffset? termStartOn = default, DateTimeOffset? termEndOn = default, Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus? subscriptionEnrollmentAccountStatus = default, DateTimeOffset? enrollmentAccountStartOn = default);
static member BillingSubscriptionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> * string * string * Azure.Core.ResourceIdentifier * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * string * string * string * string * string * string * string * Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.BillingAmount * string * string * string * string * string * Nullable<DateTimeOffset> * Nullable<int64> * Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller * Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails * string * string * Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> * string * seq<string> * Nullable<TimeSpan> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Billing.BillingSubscriptionData
Public Shared Function BillingSubscriptionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional autoRenew As Nullable(Of BillingSubscriptionAutoRenewState) = Nothing, Optional beneficiaryTenantId As String = Nothing, Optional billingFrequency As String = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingPolicies As IReadOnlyDictionary(Of String, String) = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional billingProfileName As String = Nothing, Optional consumptionCostCenter As String = Nothing, Optional customerId As String = Nothing, Optional customerDisplayName As String = Nothing, Optional displayName As String = Nothing, Optional enrollmentAccountId As String = Nothing, Optional enrollmentAccountDisplayName As String = Nothing, Optional invoiceSectionId As ResourceIdentifier = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional invoiceSectionName As String = Nothing, Optional lastMonthCharges As BillingAmount = Nothing, Optional monthToDateCharges As BillingAmount = Nothing, Optional nextBillingCycleBillingFrequency As String = Nothing, Optional offerId As String = Nothing, Optional productCategory As String = Nothing, Optional productType As String = Nothing, Optional productTypeId As String = Nothing, Optional purchaseOn As Nullable(Of DateTimeOffset) = Nothing, Optional quantity As Nullable(Of Long) = Nothing, Optional reseller As CreatedSubscriptionReseller = Nothing, Optional renewalTermDetails As SubscriptionRenewalTermDetails = Nothing, Optional skuDescription As String = Nothing, Optional skuId As String = Nothing, Optional status As Nullable(Of BillingSubscriptionStatus) = Nothing, Optional subscriptionId As String = Nothing, Optional suspensionReasons As IEnumerable(Of String) = Nothing, Optional termDuration As Nullable(Of TimeSpan) = Nothing, Optional termStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional termEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional subscriptionEnrollmentAccountStatus As Nullable(Of SubscriptionEnrollmentAccountStatus) = Nothing, Optional enrollmentAccountStartOn As Nullable(Of DateTimeOffset) = Nothing) As BillingSubscriptionData

パラメーター

name
String

名前。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

autoRenew
Nullable<BillingSubscriptionAutoRenewState>

サブスクリプションの自動更新を有効または無効にするかどうかを示します。

beneficiaryTenantId
String

サブスクリプションのプロビジョニング テナント。

billingFrequency
String

ISO8601 形式のサブスクリプションの請求頻度。 例: P1M、P3M、P1Y。

billingProfileId
ResourceIdentifier

サブスクリプションの課金先となる課金プロファイルの ID。 このフィールドは、Microsoft 顧客契約課金アカウントにのみ適用されます。

billingPolicies
IReadOnlyDictionary<String,String>

サブスクリプションに関連付けられている課金ポリシーのディクショナリ。

billingProfileDisplayName
String

サブスクリプションの課金先となる課金プロファイルの表示名。 このフィールドは、Microsoft 顧客契約課金アカウントにのみ適用されます。

billingProfileName
String

サブスクリプションの課金先となる課金プロファイルの名前。 このフィールドは、Microsoft 顧客契約課金アカウントにのみ適用されます。

consumptionCostCenter
String

サブスクリプションに適用されたコスト センター。 このフィールドは、Microsoft 顧客契約種類の課金アカウントの従量課金サブスクリプションでのみ使用できます。

customerId
String

サブスクリプションが作成された顧客の ID。 このフィールドは、Microsoft Partner Agreement課金アカウントにのみ適用されます。

customerDisplayName
String

サブスクリプションが作成された顧客の名前。 このフィールドは、Microsoft Partner Agreement課金アカウントにのみ適用されます。

displayName
String

サブスクリプションの名前です。

enrollmentAccountId
String

サブスクリプションに関連付けられている登録アカウント ID。 このフィールドは、Enterprise Agreement課金アカウントでのみ使用できます。

enrollmentAccountDisplayName
String

サブスクリプションに関連付けられている登録アカウント名。 このフィールドは、Enterprise Agreement課金アカウントでのみ使用できます。

invoiceSectionId
ResourceIdentifier

サブスクリプションの請求先となる請求書セクションの ID。 このフィールドは、Microsoft Partner Agreement課金アカウントにのみ適用されます。

invoiceSectionDisplayName
String

サブスクリプションの請求先となる請求書セクションの表示名。 このフィールドは、Microsoft Partner Agreement課金アカウントにのみ適用されます。

invoiceSectionName
String

サブスクリプションの請求先となる請求書セクションの名前。 このフィールドは、Microsoft Partner Agreement課金アカウントにのみ適用されます。

lastMonthCharges
BillingAmount

先月の料金。 このフィールドは、Microsoft 顧客契約課金アカウントの使用量ベースのサブスクリプションでのみ使用できます。

monthToDateCharges
BillingAmount

現在の月から現在までの料金。 このフィールドは、Microsoft 顧客契約課金アカウントの使用量ベースのサブスクリプションでのみ使用できます。

nextBillingCycleBillingFrequency
String

次支払いサイクルサブスクリプションの詳細を確認します。

offerId
String

サブスクリプションのオファー ID。 このフィールドは、Microsoft Online Services Program の課金アカウントでのみ使用できます。

productCategory
String

サブスクリプションを購入する製品のカテゴリ。 使用可能な値は、AzureSupport、Hardware、ReservationOrder、SaaS、SavingsPlanOrder、Software、UsageBased、Other です。

productType
String

サブスクリプションを購入する製品の種類。

productTypeId
String

サブスクリプションを購入する製品の ID。

purchaseOn
Nullable<DateTimeOffset>

サブスクリプションの購入日 (UTC 時刻)。

quantity
Nullable<Int64>

サブスクリプションに対して購入したライセンスの数。

reseller
CreatedSubscriptionReseller

サブスクリプションが作成されるリセラー。 このフィールドは、Microsoft Partner Agreement課金アカウントで使用できます。

renewalTermDetails
SubscriptionRenewalTermDetails

次回の更新時のサブスクリプションの期間の詳細。

skuDescription
String

サブスクリプションが購入される製品の SKU の説明。 このフィールドは、Microsoft 顧客契約課金アカウントでのみ使用できます。

skuId
String

サブスクリプションが購入される製品の SKU ID。 このフィールドは、Microsoft 顧客契約課金アカウントでのみ使用できます。

status
Nullable<BillingSubscriptionStatus>

サブスクリプションの状態。 このフィールドは、Enterprise Agreement課金アカウントでは使用できません。

subscriptionId
String

使用量ベースのサブスクリプションの ID。 このフィールドは、Microsoft 顧客契約課金アカウントの使用量ベースのサブスクリプションでのみ使用できます。

suspensionReasons
IEnumerable<String>

サブスクリプションの中断の理由。 このフィールドは、Enterprise Agreement課金アカウントでは使用できません。

termDuration
Nullable<TimeSpan>

サブスクリプションを使用できる期間。 P1Y と P1M の例。

termStartOn
Nullable<DateTimeOffset>

UTC 時刻での用語の開始日。

termEndOn
Nullable<DateTimeOffset>

UTC 時刻での用語の終了日。

subscriptionEnrollmentAccountStatus
Nullable<SubscriptionEnrollmentAccountStatus>

サブスクリプションの現在の登録アカウントの状態。 このフィールドは、Enterprise Agreement課金アカウントでのみ使用できます。

enrollmentAccountStartOn
Nullable<DateTimeOffset>

登録アカウントとサブスクリプションの関連付けの開始日。 このフィールドは、Enterprise Agreement課金アカウントでのみ使用できます。

戻り値

モック作成用の新しい BillingSubscriptionData インスタンス。

適用対象