Partilhar via


ArmBillingBenefitsModelFactory.BillingBenefitsPurchaseContent Método

Definição

Inicializa uma nova instância de BillingBenefitsPurchaseContent.

public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPurchaseContent BillingBenefitsPurchaseContent (string skuName = default, string displayName = default, Azure.Core.ResourceIdentifier billingScopeId = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm? term = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan? billingPlan = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType? appliedScopeType = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment commitment = default, DateTimeOffset? effectOn = default, bool? isRenewed = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties appliedScopeProperties = default);
static member BillingBenefitsPurchaseContent : string * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm> * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan> * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType> * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment * Nullable<DateTimeOffset> * Nullable<bool> * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties -> Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPurchaseContent
Public Shared Function BillingBenefitsPurchaseContent (Optional skuName As String = Nothing, Optional displayName As String = Nothing, Optional billingScopeId As ResourceIdentifier = Nothing, Optional term As Nullable(Of BillingBenefitsTerm) = Nothing, Optional billingPlan As Nullable(Of BillingBenefitsBillingPlan) = Nothing, Optional appliedScopeType As Nullable(Of BillingBenefitsAppliedScopeType) = Nothing, Optional commitment As BillingBenefitsCommitment = Nothing, Optional effectOn As Nullable(Of DateTimeOffset) = Nothing, Optional isRenewed As Nullable(Of Boolean) = Nothing, Optional appliedScopeProperties As BillingBenefitsAppliedScopeProperties = Nothing) As BillingBenefitsPurchaseContent

Parâmetros

skuName
String

O SKU a ser aplicado a esse recurso.

displayName
String

Nome amigável do plano de economia.

billingScopeId
ResourceIdentifier

Assinatura que será cobrada pela compra do benefício.

term
Nullable<BillingBenefitsTerm>

Represente o termo de benefício no formato ISO 8601.

billingPlan
Nullable<BillingBenefitsBillingPlan>

Representa o plano de cobrança no formato ISO 8601. Necessário somente para planos de cobrança mensais.

appliedScopeType
Nullable<BillingBenefitsAppliedScopeType>

Tipo do Escopo Aplicado.

commitment
BillingBenefitsCommitment

Compromisso com o benefício.

effectOn
Nullable<DateTimeOffset>

DateTime do plano de economia começa a fornecer benefícios.

isRenewed
Nullable<Boolean>

Definir isso como true comprará automaticamente um novo benefício na data e hora de validade.

appliedScopeProperties
BillingBenefitsAppliedScopeProperties

Propriedades específicas para o tipo de escopo aplicado. Não é necessário se não for aplicável.

Retornos

Uma nova BillingBenefitsPurchaseContent instância para simulação.

Aplica-se a