ArmBillingModelFactory.BillingSubscriptionStatusDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET