共用方式為


ArmBillingBenefitsModelFactory.BillingBenefitsReservationOrderAliasCreateOrUpdateContent Method

Definition

Initializes a new instance of BillingBenefitsReservationOrderAliasCreateOrUpdateContent.

public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsReservationOrderAliasCreateOrUpdateContent BillingBenefitsReservationOrderAliasCreateOrUpdateContent (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 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 BillingBenefitsReservationOrderAliasCreateOrUpdateContent : 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.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.Models.BillingBenefitsReservationOrderAliasCreateOrUpdateContent
Public Shared Function BillingBenefitsReservationOrderAliasCreateOrUpdateContent (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 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 BillingBenefitsReservationOrderAliasCreateOrUpdateContent

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 reservation benefits are applied to.

displayName
String

Display name.

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 Azure Hybrid Benefit needs to be reviewed.

reservedResourceInstanceFlexibility
Nullable<BillingBenefitsInstanceFlexibility>

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

Returns

A new BillingBenefitsReservationOrderAliasCreateOrUpdateContent instance for mocking.

Applies to