ArmBillingBenefitsModelFactory.BillingBenefitsSavingsPlanOrderData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BillingBenefitsSavingsPlanOrderData.
public static Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanOrderData BillingBenefitsSavingsPlanOrderData (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, 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, DateTimeOffset? expireOn = default, DateTimeOffset? benefitStartOn = default, Azure.ResourceManager.BillingBenefits.Models.BillingPlanInformation planInformation = default, System.Collections.Generic.IEnumerable<string> savingsPlans = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo extendedStatusInfo = default);
static member BillingBenefitsSavingsPlanOrderData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm> * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.BillingBenefits.Models.BillingPlanInformation * seq<string> * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo -> Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanOrderData
Public Shared Function BillingBenefitsSavingsPlanOrderData (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 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 expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional benefitStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional planInformation As BillingPlanInformation = Nothing, Optional savingsPlans As IEnumerable(Of String) = Nothing, Optional extendedStatusInfo As BillingBenefitsExtendedStatusInfo = Nothing) As BillingBenefitsSavingsPlanOrderData
Parameters
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.
- 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.
- expireOn
- Nullable<DateTimeOffset>
Expiry date time.
- benefitStartOn
- Nullable<DateTimeOffset>
This is the DateTime when the savings plan benefit started.
- planInformation
- BillingPlanInformation
Information describing the type of billing plan for this savings plan.
- savingsPlans
- IEnumerable<String>
- extendedStatusInfo
- BillingBenefitsExtendedStatusInfo
Returns
A new BillingBenefitsSavingsPlanOrderData instance for mocking.
Applies to
Azure SDK for .NET