ArmBillingModelFactory.SavingsPlanOrderModelData 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 SavingsPlanOrderModelData.
public static Azure.ResourceManager.Billing.SavingsPlanOrderModelData SavingsPlanOrderModelData (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, string provisioningState = 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, Azure.ResourceManager.Billing.Models.BillingPlan? billingPlan = default, DateTimeOffset? benefitStartOn = default, DateTimeOffset? expiryOn = default, Azure.ResourceManager.Billing.Models.BillingPlanInformation planInformation = default, System.Collections.Generic.IEnumerable<string> savingsPlans = default, Azure.ResourceManager.Billing.Models.ExtendedStatusInfo extendedStatusInfo = default, string productCode = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member SavingsPlanOrderModelData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm> * Nullable<Azure.ResourceManager.Billing.Models.BillingPlan> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Billing.Models.BillingPlanInformation * seq<string> * Azure.ResourceManager.Billing.Models.ExtendedStatusInfo * string * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Billing.SavingsPlanOrderModelData
Public Shared Function SavingsPlanOrderModelData (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 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 billingPlan As Nullable(Of BillingPlan) = Nothing, Optional benefitStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional expiryOn As Nullable(Of DateTimeOffset) = Nothing, Optional planInformation As BillingPlanInformation = Nothing, Optional savingsPlans As IEnumerable(Of String) = Nothing, Optional extendedStatusInfo As ExtendedStatusInfo = Nothing, Optional productCode As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As SavingsPlanOrderModelData
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
- String
The provisioning state of the savings plan, e.g. Succeeded.
- 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.
Represents the Savings plan term in ISO 8601 format.
- billingPlan
- Nullable<BillingPlan>
Represents the billing plan in ISO 8601 format. Required only for monthly purchases.
- benefitStartOn
- Nullable<DateTimeOffset>
DateTime when the savings plan benefit started.
- expiryOn
- Nullable<DateTimeOffset>
DateTime when the savings plan will expire.
- planInformation
- BillingPlanInformation
Information describing the type of billing plan for this savings plan.
- savingsPlans
- IEnumerable<String>
- 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 SavingsPlanOrderModelData instance for mocking.