Condividi tramite


CancelSubscriptionContent Class

Definition

Request parameters for cancel customer subscription.

public class CancelSubscriptionContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.CancelSubscriptionContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.CancelSubscriptionContent>
type CancelSubscriptionContent = class
    interface IJsonModel<CancelSubscriptionContent>
    interface IPersistableModel<CancelSubscriptionContent>
Public Class CancelSubscriptionContent
Implements IJsonModel(Of CancelSubscriptionContent), IPersistableModel(Of CancelSubscriptionContent)
Inheritance
CancelSubscriptionContent
Implements

Constructors

CancelSubscriptionContent(CustomerSubscriptionCancellationReason)

Initializes a new instance of CancelSubscriptionContent.

Properties

CancellationReason

Cancellation reason.

CustomerId

The fully qualified ID that uniquely identifies a customer.

Explicit Interface Implementations

IJsonModel<CancelSubscriptionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CancelSubscriptionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CancelSubscriptionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CancelSubscriptionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CancelSubscriptionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to