ReservationProperty Class
The property of reservation object.
Constructor
ReservationProperty(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
reserved_resource_type
|
The reserved source type of the reservation, e.g. virtual machine. |
|
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". |
|
display_name
|
The display name of the reservation. |
|
applied_scopes
|
The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope. |
|
applied_scope_type
|
The applied scope type of the reservation. |
|
archived
|
Indicates if the reservation is archived. |
|
capabilities
|
Capabilities of the reservation. |
|
quantity
|
The number of the reservation. |
|
provisioning_state
|
The provisioning state of the reservation, e.g. Succeeded. |
|
effective_date_time
|
The effective date time of the reservation. |
|
benefit_start_time
|
This is the DateTime when the reservation benefit started. |
|
last_updated_date_time
|
DateTime of the last time the reservation was updated. |
|
expiry_date
|
The expiry date of the reservation. |
|
expiry_date_time
|
This is the date-time when the reservation will expire. |
|
review_date_time
|
This is the date-time when the Azure Hybrid Benefit needs to be reviewed. |
|
sku_description
|
The sku description of the reservation. |
|
extended_status_info
|
The message giving detailed information about the status code. |
|
billing_plan
|
The billing plan options available for this sku. Known values are: "Upfront" and "Monthly". |
|
display_provisioning_state
|
The provisioning state of the reservation for display, e.g. Succeeded. |
|
provisioning_sub_state
|
The provisioning state of the reservation, e.g. Succeeded. |
|
purchase_date
|
This is the date when the reservation was purchased. |
|
purchase_date_time
|
This is the date-time when the reservation was purchased. |
|
split_properties
|
Properties of reservation split. |
|
merge_properties
|
Properties of reservation merge. |
|
swap_properties
|
Properties of reservation swap. |
|
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. |
|
billing_scope_id
|
Subscription that will be charged for purchasing reservation or savings plan. |
|
renew
|
The renew state of the reservation. |
|
renew_source
|
The renew source of the reservation. |
|
renew_destination
|
Reservation Id of the reservation which is purchased because of renew. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}. |
|
renew_properties
|
The renew properties for a reservation. |
|
term
|
The term of the reservation, e.g. P1Y. |
|
user_friendly_applied_scope_type
|
The applied scope type of the reservation for display, e.g. Shared. |
|
user_friendly_renew_state
|
The renew state of the reservation for display, e.g. On. |
|
utilization
|
Reservation utilization. |
|
product_code
|
Represents UPN. |
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
The applied scope type of the reservation.
applied_scope_type: str | None
applied_scopes
The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope.
applied_scopes: list[str] | None
archived
Indicates if the reservation is archived.
archived: bool | None
benefit_start_time
This is the DateTime when the reservation benefit started.
benefit_start_time: datetime | 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
capabilities
Capabilities of the reservation.
capabilities: str | None
display_name
The display name of the reservation.
display_name: str | None
display_provisioning_state
The provisioning state of the reservation for display, e.g. Succeeded.
display_provisioning_state: str | None
effective_date_time
The effective date time of the reservation.
effective_date_time: datetime | None
expiry_date
The expiry date of the reservation.
expiry_date: str | None
expiry_date_time
This is the date-time when the reservation will expire.
expiry_date_time: datetime | None
extended_status_info
The message giving detailed information about the status code.
extended_status_info: _models.ReservationExtendedStatusInfo | 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
last_updated_date_time
DateTime of the last time the reservation was updated.
last_updated_date_time: datetime | None
merge_properties
Properties of reservation merge.
merge_properties: _models.ReservationMergeProperties | None
product_code
Represents UPN.
product_code: str | None
provisioning_state
The provisioning state of the reservation, e.g. Succeeded.
provisioning_state: str | None
provisioning_sub_state
The provisioning state of the reservation, e.g. Succeeded.
provisioning_sub_state: str | None
purchase_date
This is the date when the reservation was purchased.
purchase_date: date | None
purchase_date_time
This is the date-time when the reservation was purchased.
purchase_date_time: datetime | None
quantity
The number of the reservation.
quantity: float | None
renew
The renew state of the reservation.
renew: bool | None
renew_destination
Reservation Id of the reservation which is purchased because of renew. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.
renew_destination: str | None
renew_properties
The renew properties for a reservation.
renew_properties: _models.RenewPropertiesResponse | None
renew_source
The renew source of the reservation.
renew_source: str | 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
sku_description
The sku description of the reservation.
sku_description: str | None
split_properties
Properties of reservation split.
split_properties: _models.ReservationSplitProperties | None
swap_properties
Properties of reservation swap.
swap_properties: _models.ReservationSwapProperties | None
term
The term of the reservation, e.g. P1Y.
term: str | None
user_friendly_applied_scope_type
The applied scope type of the reservation for display, e.g. Shared.
user_friendly_applied_scope_type: str | None
user_friendly_renew_state
The renew state of the reservation for display, e.g. On.
user_friendly_renew_state: str | None
utilization
Reservation utilization.
utilization: _models.ReservationPropertyUtilization | None