ArmBillingModelFactory.SubscriptionRenewalTermDetails Method

Definition

Initializes a new instance of SubscriptionRenewalTermDetails.

public static Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails SubscriptionRenewalTermDetails (string billingFrequency = default, string productId = default, string productTypeId = default, string skuId = default, TimeSpan? termDuration = default, long? quantity = default, DateTimeOffset? termEndOn = default);
static member SubscriptionRenewalTermDetails : string * string * string * string * Nullable<TimeSpan> * Nullable<int64> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails
Public Shared Function SubscriptionRenewalTermDetails (Optional billingFrequency As String = Nothing, Optional productId As String = Nothing, Optional productTypeId As String = Nothing, Optional skuId As String = Nothing, Optional termDuration As Nullable(Of TimeSpan) = Nothing, Optional quantity As Nullable(Of Long) = Nothing, Optional termEndOn As Nullable(Of DateTimeOffset) = Nothing) As SubscriptionRenewalTermDetails

Parameters

billingFrequency
String

The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y.

productId
String

Id of the product for which the subscription is purchased.

productTypeId
String

Type Id of the product for which the subscription is purchased.

skuId
String

The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts.

termDuration
Nullable<TimeSpan>

The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y.

quantity
Nullable<Int64>

The quantity of licenses or fulfillment units for the subscription.

termEndOn
Nullable<DateTimeOffset>

End date of the term in UTC time.

Returns

A new SubscriptionRenewalTermDetails instance for mocking.

Applies to