ArmBillingModelFactory.BillingSubscriptionStatusDetails Method

Definition

Initializes a new instance of BillingSubscriptionStatusDetails.

public static Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails BillingSubscriptionStatusDetails (DateTimeOffset? effectiveOn = default, Azure.ResourceManager.Billing.Models.SubscriptionStatusReason? reason = default);
static member BillingSubscriptionStatusDetails : Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Billing.Models.SubscriptionStatusReason> -> Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails
Public Shared Function BillingSubscriptionStatusDetails (Optional effectiveOn As Nullable(Of DateTimeOffset) = Nothing, Optional reason As Nullable(Of SubscriptionStatusReason) = Nothing) As BillingSubscriptionStatusDetails

Parameters

effectiveOn
Nullable<DateTimeOffset>

The suspension effective date for a subscription. This field is not available for Enterprise Agreement billing accounts.

reason
Nullable<SubscriptionStatusReason>

The suspension reason for a subscription. This field is not available for Enterprise Agreement billing accounts.

Returns

A new BillingSubscriptionStatusDetails instance for mocking.

Applies to