Reservation Class
The definition of the reservation.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
msrest.serialization.ModelReservation
Constructor
Reservation(*, sku: ReservationSkuProperty | None = None, applied_scopes: List[str] | None = None, **kwargs)
Parameters
Name | Description |
---|---|
sku
Required
|
The sku information associated to this reservation. |
applied_scopes
Required
|
The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope. |
Keyword-Only Parameters
Name | Description |
---|---|
sku
Required
|
|
applied_scopes
Required
|
|
Variables
Name | Description |
---|---|
id
|
The id of the reservation. |
name
|
The name of the reservation. |
type
|
The type of the reservation. |
location
|
The location of the reservation. |
applied_scope_type
|
The applied scope type of the reservation. |
reserved_resource_type
|
The reserved source type of the reservation, e.g. virtual machine. |
quantity
|
The number of the reservation. |
provisioning_state
|
The provisioning state of the reservation, e.g. Succeeded. |
expiry_date
|
The expiry date of the reservation. |
provisioning_sub_state
|
The provisioning state of the reservation, e.g. Succeeded. |
display_name
|
The display name of the reservation. |
display_provisioning_state
|
The provisioning state of the reservation for display, e.g. Succeeded. |
user_friendly_renew_state
|
The renew state of the reservation for display, e.g. On. |
user_friendly_applied_scope_type
|
The applied scope type of the reservation for display, e.g. Shared. |
effective_date_time
|
The effective date time of the reservation. |
sku_description
|
The sku description of the reservation. |
term
|
The term of the reservation, e.g. P1Y. |
renew
|
The renew state of the reservation. |
renew_source
|
The renew source of the reservation. |
utilization
|
Reservation utilization. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for