ArmBillingModelFactory.BillingSavingsPlanModelData Method

Definition

Initializes a new instance of BillingSavingsPlanModelData.

public static Azure.ResourceManager.Billing.BillingSavingsPlanModelData BillingSavingsPlanModelData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string skuName = default, string displayName = default, Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, string displayProvisioningState = default, string userFriendlyAppliedScopeType = default, string billingScopeId = default, Azure.Core.ResourceIdentifier billingProfileId = default, Azure.Core.ResourceIdentifier customerId = default, Azure.Core.ResourceIdentifier billingAccountId = default, Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm? term = default, bool? isRenewed = default, string renewSource = default, string renewDestination = default, Azure.ResourceManager.Billing.Models.BillingPurchaseProperties renewPurchaseProperties = default, Azure.ResourceManager.Billing.Models.BillingPlan? billingPlan = default, Azure.ResourceManager.Billing.Models.BillingAppliedScopeType? appliedScopeType = default, Azure.ResourceManager.Billing.Models.BillingAppliedScopeProperties appliedScopeProperties = default, Azure.ResourceManager.Billing.Models.BillingBenefitCommitment commitment = default, DateTimeOffset? effectiveOn = default, DateTimeOffset? benefitStartOn = default, DateTimeOffset? expiryOn = default, DateTimeOffset? purchaseOn = default, Azure.ResourceManager.Billing.Models.SavingsPlanUtilization utilization = default, Azure.ResourceManager.Billing.Models.ExtendedStatusInfo extendedStatusInfo = default, string productCode = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member BillingSavingsPlanModelData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * string * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm> * Nullable<bool> * string * string * Azure.ResourceManager.Billing.Models.BillingPurchaseProperties * Nullable<Azure.ResourceManager.Billing.Models.BillingPlan> * Nullable<Azure.ResourceManager.Billing.Models.BillingAppliedScopeType> * Azure.ResourceManager.Billing.Models.BillingAppliedScopeProperties * Azure.ResourceManager.Billing.Models.BillingBenefitCommitment * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Billing.Models.SavingsPlanUtilization * Azure.ResourceManager.Billing.Models.ExtendedStatusInfo * string * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Billing.BillingSavingsPlanModelData
Public Shared Function BillingSavingsPlanModelData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional skuName As String = Nothing, Optional displayName As String = Nothing, Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional displayProvisioningState As String = Nothing, Optional userFriendlyAppliedScopeType As String = Nothing, Optional billingScopeId As String = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional customerId As ResourceIdentifier = Nothing, Optional billingAccountId As ResourceIdentifier = Nothing, Optional term As Nullable(Of BillingSavingsPlanTerm) = Nothing, Optional isRenewed As Nullable(Of Boolean) = Nothing, Optional renewSource As String = Nothing, Optional renewDestination As String = Nothing, Optional renewPurchaseProperties As BillingPurchaseProperties = Nothing, Optional billingPlan As Nullable(Of BillingPlan) = Nothing, Optional appliedScopeType As Nullable(Of BillingAppliedScopeType) = Nothing, Optional appliedScopeProperties As BillingAppliedScopeProperties = Nothing, Optional commitment As BillingBenefitCommitment = Nothing, Optional effectiveOn As Nullable(Of DateTimeOffset) = Nothing, Optional benefitStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional expiryOn As Nullable(Of DateTimeOffset) = Nothing, Optional purchaseOn As Nullable(Of DateTimeOffset) = Nothing, Optional utilization As SavingsPlanUtilization = Nothing, Optional extendedStatusInfo As ExtendedStatusInfo = Nothing, Optional productCode As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As BillingSavingsPlanModelData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

skuName
String

Savings plan SKU.

displayName
String

Display name.

provisioningState
Nullable<BillingProvisioningState>

The provisioning state of the resource during a long-running operation.

displayProvisioningState
String

The provisioning state of the savings plan for display, e.g. Succeeded.

userFriendlyAppliedScopeType
String

The applied scope type of the savings plan for display, e.g. Shared.

billingScopeId
String

Subscription that will be charged for purchasing SavingsPlan.

billingProfileId
ResourceIdentifier

Fully-qualified identifier of the billing profile where the savings plan is applied. Present only for Field-led or Customer-led customers.

customerId
ResourceIdentifier

Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers.

billingAccountId
ResourceIdentifier

Fully-qualified identifier of the billing account where the savings plan is applied.

term
Nullable<BillingSavingsPlanTerm>

Represents the Savings plan term in ISO 8601 format.

isRenewed
Nullable<Boolean>

Setting this to true will automatically purchase a new benefit on the expiration date time.

renewSource
String

SavingsPlan Id of the SavingsPlan from which this SavingsPlan is renewed.

renewDestination
String

SavingsPlan Id of the SavingsPlan which is purchased because of renew.

renewPurchaseProperties
BillingPurchaseProperties

Properties specific to renew.

billingPlan
Nullable<BillingPlan>

Represents the billing plan in ISO 8601 format. Required only for monthly purchases.

appliedScopeType
Nullable<BillingAppliedScopeType>

Type of the Applied Scope.

appliedScopeProperties
BillingAppliedScopeProperties

Properties specific to applied scope type. Not required if not applicable.

commitment
BillingBenefitCommitment

Commitment towards the benefit.

effectiveOn
Nullable<DateTimeOffset>

DateTime of the savings plan starting when this version is effective from.

benefitStartOn
Nullable<DateTimeOffset>

This is the DateTime when the savings plan benefit starts.

expiryOn
Nullable<DateTimeOffset>

This is the date-time when the savings plan will expire.

purchaseOn
Nullable<DateTimeOffset>

Date time when the savings plan was purchased.

utilization
SavingsPlanUtilization

Savings plan utilization.

extendedStatusInfo
ExtendedStatusInfo

Extended status information.

productCode
String

Represents UPN.

tags
IDictionary<String,String>

Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.

Returns

A new BillingSavingsPlanModelData instance for mocking.

Applies to