다음을 통해 공유


SubscriptionAliasCreateOrUpdateContent Class

Definition

The parameters required to create a new subscription.

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

Constructors

SubscriptionAliasCreateOrUpdateContent()

Initializes a new instance of SubscriptionAliasCreateOrUpdateContent.

Properties

AdditionalProperties

Put alias request additional properties.

BillingScope

Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}

DisplayName

The friendly name of the subscription.

ResellerId

Reseller Id.

SubscriptionId

This parameter can be used to create alias for existing subscription Id.

Workload

The workload type of the subscription. It can be either Production or DevTest.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SubscriptionAliasCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SubscriptionAliasCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SubscriptionAliasCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SubscriptionAliasCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SubscriptionAliasCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to