Partager via


PutAliasRequest Class

Definition

The parameters required to create a new subscription.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.PutAliasRequestTypeConverter))]
public class PutAliasRequest : Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.IPutAliasRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.PutAliasRequestTypeConverter))>]
type PutAliasRequest = class
    interface IPutAliasRequest
    interface IJsonSerializable
Public Class PutAliasRequest
Implements IPutAliasRequest
Inheritance
PutAliasRequest
Attributes
Implements

Constructors

PutAliasRequest()

Creates an new PutAliasRequest instance.

Properties

AdditionalPropertyManagementGroupId

Management group Id for the subscription.

AdditionalPropertySubscriptionOwnerId

Owner Id of the subscription

AdditionalPropertySubscriptionTenantId

Tenant Id of the subscription

AdditionalPropertyTag

Tags for the subscription

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PutAliasRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PutAliasRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.IPutAliasRequest.

FromJsonString(String)

Creates a new instance of PutAliasRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PutAliasRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to