ArmBillingBenefitsModelFactory.BillingBenefitsSavingsPlanData Method

Definition

Initializes a new instance of BillingBenefitsSavingsPlanData.

public static Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanData BillingBenefitsSavingsPlanData (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.BillingBenefits.Models.BillingBenefitsProvisioningState? provisioningState = default, string displayProvisioningState = default, Azure.Core.ResourceIdentifier billingScopeId = default, Azure.Core.ResourceIdentifier billingProfileId = default, string customerId = default, Azure.Core.ResourceIdentifier billingAccountId = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm? term = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan? billingPlan = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType? appliedScopeType = default, string userFriendlyAppliedScopeType = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties appliedScopeProperties = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment commitment = default, DateTimeOffset? effectOn = default, DateTimeOffset? expireOn = default, DateTimeOffset? purchaseOn = default, DateTimeOffset? benefitStartOn = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo extendedStatusInfo = default, bool? isRenewed = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanUtilization utilization = default, string renewSource = default, string renewDestination = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPurchaseContent renewPurchaseProperties = default);
static member BillingBenefitsSavingsPlanData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm> * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan> * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType> * string * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo * Nullable<bool> * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanUtilization * string * string * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPurchaseContent -> Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanData
Public Shared Function BillingBenefitsSavingsPlanData (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 BillingBenefitsProvisioningState) = Nothing, Optional displayProvisioningState As String = Nothing, Optional billingScopeId As ResourceIdentifier = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional customerId As String = Nothing, Optional billingAccountId 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 userFriendlyAppliedScopeType As String = Nothing, Optional appliedScopeProperties As BillingBenefitsAppliedScopeProperties = Nothing, Optional commitment As BillingBenefitsCommitment = Nothing, Optional effectOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional purchaseOn As Nullable(Of DateTimeOffset) = Nothing, Optional benefitStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional extendedStatusInfo As BillingBenefitsExtendedStatusInfo = Nothing, Optional isRenewed As Nullable(Of Boolean) = Nothing, Optional utilization As BillingBenefitsSavingsPlanUtilization = Nothing, Optional renewSource As String = Nothing, Optional renewDestination As String = Nothing, Optional renewPurchaseProperties As BillingBenefitsPurchaseContent = Nothing) As BillingBenefitsSavingsPlanData

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<BillingBenefitsProvisioningState>

Provisioning state.

displayProvisioningState
String

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

billingScopeId
ResourceIdentifier

Subscription that will be charged for purchasing the benefit.

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
String

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. Present only for Enterprise Agreement customers.

term
Nullable<BillingBenefitsTerm>

Represent benefit term in ISO 8601 format.

billingPlan
Nullable<BillingBenefitsBillingPlan>

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

appliedScopeType
Nullable<BillingBenefitsAppliedScopeType>

Type of the Applied Scope.

userFriendlyAppliedScopeType
String

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

appliedScopeProperties
BillingBenefitsAppliedScopeProperties

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

commitment
BillingBenefitsCommitment

Commitment towards the benefit.

effectOn
Nullable<DateTimeOffset>

DateTime of the savings plan starts providing benefit from.

expireOn
Nullable<DateTimeOffset>

Expiry date time.

purchaseOn
Nullable<DateTimeOffset>

Date time when the savings plan was purchased.

benefitStartOn
Nullable<DateTimeOffset>

This is the DateTime when the savings plan benefit started.

isRenewed
Nullable<Boolean>

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

utilization
BillingBenefitsSavingsPlanUtilization

Savings plan utilization.

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
BillingBenefitsPurchaseContent

Returns

A new BillingBenefitsSavingsPlanData instance for mocking.

Applies to