ReservationPurchaseRequestProperties Class

Properties of reservation purchase request.

Constructor

ReservationPurchaseRequestProperties(*args: Any, **kwargs: Any)

Variables

Name Description
reserved_resource_type
str

The reserved source type of the reservation, e.g. virtual machine.

billing_scope_id
str

Subscription that will be charged for purchasing reservation or savings plan.

term
str

The term of the reservation, e.g. P1Y.

billing_plan

Represent the billing plans. Known values are: "Upfront" and "Monthly".

quantity
int

Quantity of the skus that are part of the reservation. Must be greater than zero.

display_name
str

Friendly name of the reservation.

applied_scope_type

Type of the Applied Scope. Known values are: "Single", "Shared", and "ManagementGroup".

applied_scopes

List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.

applied_scope_properties

Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup.

renew

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

reserved_resource_properties

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

instance_flexibility

Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility. Known values are: "On" and "Off".

review_date_time

This is the date-time when the Azure hybrid benefit needs to be reviewed.

Attributes

applied_scope_properties

Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup.

applied_scope_properties: _models.ReservationAppliedScopeProperties | None

applied_scope_type

"Single", "Shared", and "ManagementGroup".

applied_scope_type: str | _models.AppliedScopeType | None

applied_scopes

List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.

applied_scopes: list[str] | None

billing_plan

"Upfront" and "Monthly".

billing_plan: str | _models.ReservationBillingPlan | None

billing_scope_id

Subscription that will be charged for purchasing reservation or savings plan.

billing_scope_id: str | None

display_name

Friendly name of the reservation.

display_name: str | None

instance_flexibility

Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility. Known values are: "On" and "Off".

instance_flexibility: str | _models.InstanceFlexibility | None

quantity

Quantity of the skus that are part of the reservation. Must be greater than zero.

quantity: int | None

renew

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

renew: bool | None

reserved_resource_properties

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

reserved_resource_properties: _models.ReservationPurchaseRequestPropertiesReservedResourceProperties | None

reserved_resource_type

The reserved source type of the reservation, e.g. virtual machine.

reserved_resource_type: str | None

review_date_time

This is the date-time when the Azure hybrid benefit needs to be reviewed.

review_date_time: datetime | None

term

The term of the reservation, e.g. P1Y.

term: str | None