Dela via


ArmBillingBenefitsModelFactory.BillingBenefitsReservationOrderAliasData Method

Definition

Initializes a new instance of BillingBenefitsReservationOrderAliasData.

public static Azure.ResourceManager.BillingBenefits.BillingBenefitsReservationOrderAliasData BillingBenefitsReservationOrderAliasData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string skuName = default, Azure.Core.AzureLocation? location = default, string displayName = default, Azure.Core.ResourceIdentifier reservationOrderId = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState? provisioningState = 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.BillingBenefitsAppliedScopeProperties appliedScopeProperties = default, int? quantity = default, bool? isRenewed = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsReservedResourceType? reservedResourceType = default, DateTimeOffset? reviewOn = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsInstanceFlexibility? reservedResourceInstanceFlexibility = default);
static member BillingBenefitsReservationOrderAliasData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.Core.AzureLocation> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState> * 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.BillingBenefitsAppliedScopeProperties * Nullable<int> * Nullable<bool> * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsReservedResourceType> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsInstanceFlexibility> -> Azure.ResourceManager.BillingBenefits.BillingBenefitsReservationOrderAliasData
Public Shared Function BillingBenefitsReservationOrderAliasData (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 location As Nullable(Of AzureLocation) = Nothing, Optional displayName As String = Nothing, Optional reservationOrderId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of BillingBenefitsProvisioningState) = 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 appliedScopeProperties As BillingBenefitsAppliedScopeProperties = Nothing, Optional quantity As Nullable(Of Integer) = Nothing, Optional isRenewed As Nullable(Of Boolean) = Nothing, Optional reservedResourceType As Nullable(Of BillingBenefitsReservedResourceType) = Nothing, Optional reviewOn As Nullable(Of DateTimeOffset) = Nothing, Optional reservedResourceInstanceFlexibility As Nullable(Of BillingBenefitsInstanceFlexibility) = Nothing) As BillingBenefitsReservationOrderAliasData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

skuName
String

Reservation order SKU.

location
Nullable<AzureLocation>

The Azure Region where the reserved resource lives.

displayName
String

Display name.

reservationOrderId
ResourceIdentifier

Identifier of the reservation order created.

provisioningState
Nullable<BillingBenefitsProvisioningState>

Provisioning state.

billingScopeId
ResourceIdentifier

Subscription that will be charged for purchasing the benefit.

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.

appliedScopeProperties
BillingBenefitsAppliedScopeProperties

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

quantity
Nullable<Int32>

Total Quantity of the SKUs purchased in the Reservation.

isRenewed
Nullable<Boolean>

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

reservedResourceType
Nullable<BillingBenefitsReservedResourceType>

The type of the resource that is being reserved.

reviewOn
Nullable<DateTimeOffset>

This is the date-time when the Reservation needs to be reviewed.

reservedResourceInstanceFlexibility
Nullable<BillingBenefitsInstanceFlexibility>

Properties specific to each reserved resource type. Not required if not applicable.

Returns

A new BillingBenefitsReservationOrderAliasData instance for mocking.

Applies to