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.Model
Reservation

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
str

The id of the reservation.

name
str

The name of the reservation.

type
str

The type of the reservation.

location
str

The location of the reservation.

applied_scope_type
str

The applied scope type of the reservation.

reserved_resource_type
str

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

quantity

The number of the reservation.

provisioning_state
str

The provisioning state of the reservation, e.g. Succeeded.

expiry_date
str

The expiry date of the reservation.

provisioning_sub_state
str

The provisioning state of the reservation, e.g. Succeeded.

display_name
str

The display name of the reservation.

display_provisioning_state
str

The provisioning state of the reservation for display, e.g. Succeeded.

user_friendly_renew_state
str

The renew state of the reservation for display, e.g. On.

user_friendly_applied_scope_type
str

The applied scope type of the reservation for display, e.g. Shared.

effective_date_time
str

The effective date time of the reservation.

sku_description
str

The sku description of the reservation.

term
str

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

renew

The renew state of the reservation.

renew_source
str

The renew source of the reservation.

utilization

Reservation utilization.