Reservation Class
The definition of the reservation.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.billing.models._models_py3.ProxyResourceReservation
Constructor
Reservation(*, location: str | None = None, etag: int | None = None, tags: Dict[str, str] | None = None, sku: _models.ReservationSkuProperty | None = None, instance_flexibility: str | _models.InstanceFlexibility | None = None, applied_scopes: List[str] | None = None, archived: bool | None = None, capabilities: str | None = None, benefit_start_time: datetime | None = None, expiry_date_time: datetime | None = None, review_date_time: datetime | None = None, extended_status_info: _models.ReservationExtendedStatusInfo | None = None, billing_plan: str | _models.ReservationBillingPlan | None = None, purchase_date: date | None = None, purchase_date_time: datetime | None = None, split_properties: _models.ReservationSplitProperties | None = None, merge_properties: _models.ReservationMergeProperties | None = None, swap_properties: _models.ReservationSwapProperties | None = None, applied_scope_properties: _models.ReservationAppliedScopeProperties | None = None, renew_destination: str | None = None, renew_properties: _models.RenewPropertiesResponse | None = None, product_code: str | None = None, aggregates: List[_models.ReservationUtilizationAggregates] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
The location of the reservation. |
etag
|
|
tags
|
Tags for this reservation. |
sku
|
The sku information associated to this reservation. |
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". |
applied_scopes
|
The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope. |
archived
|
Indicates if the reservation is archived. |
capabilities
|
Capabilities of the reservation. |
benefit_start_time
|
This is the DateTime when the reservation benefit started. |
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. |
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". |
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. |
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. |
product_code
|
Represents UPN. |
aggregates
|
The array of aggregates of a reservation's utilization. |
Variables
Name | Description |
---|---|
id
|
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long |
name
|
The name of the resource. |
type
|
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
system_data
|
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
location
|
The location of the reservation. |
etag
|
|
tags
|
Tags for this reservation. |
sku
|
The sku information associated to this reservation. |
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. |
product_code
|
Represents UPN. |
trend
|
last 7 day utilization trend for a reservation. |
aggregates
|
The array of aggregates of a reservation's utilization. |
Azure SDK for Python