共用方式為


ArmBillingModelFactory.CancelSubscriptionContent Method

Definition

Initializes a new instance of CancelSubscriptionContent.

public static Azure.ResourceManager.Billing.Models.CancelSubscriptionContent CancelSubscriptionContent (Azure.ResourceManager.Billing.Models.CustomerSubscriptionCancellationReason cancellationReason = default, Azure.Core.ResourceIdentifier customerId = default);
static member CancelSubscriptionContent : Azure.ResourceManager.Billing.Models.CustomerSubscriptionCancellationReason * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Billing.Models.CancelSubscriptionContent
Public Shared Function CancelSubscriptionContent (Optional cancellationReason As CustomerSubscriptionCancellationReason = Nothing, Optional customerId As ResourceIdentifier = Nothing) As CancelSubscriptionContent

Parameters

cancellationReason
CustomerSubscriptionCancellationReason

Cancellation reason.

customerId
ResourceIdentifier

The fully qualified ID that uniquely identifies a customer.

Returns

A new CancelSubscriptionContent instance for mocking.

Applies to