ReservationsProperties interface
The properties of the reservations
Properties
applied |
Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup |
applied |
The list of applied scopes |
applied |
The applied scope type |
archived | Indicates if the reservation is archived |
benefit |
This is the DateTime when the reservation benefit started. |
billing |
The billing plan options available for this sku. |
billing |
Subscription that will be charged for purchasing reservation or savings plan |
capabilities | Capabilities of the reservation |
display |
Friendly name for user to easily identify the reservation |
display |
The provisioning state of the reservation for display, e.g. Succeeded NOTE: This property will not be serialized. It can only be populated by the server. |
effective |
DateTime of the reservation starting when this version is effective from. |
expiry |
This is the date when the reservation will expire. |
expiry |
This is the date-time when the reservation will expire. |
extended |
The message giving detailed information about the status code. |
instance |
Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility. |
last |
DateTime of the last time the reservation was updated. NOTE: This property will not be serialized. It can only be populated by the server. |
merge |
Properties of reservation merge |
provisioning |
Current state of the reservation. |
provisioning |
The provisioning sub-state of the reservation, e.g. Succeeded NOTE: This property will not be serialized. It can only be populated by the server. |
purchase |
This is the date when the reservation was purchased. |
purchase |
This is the date-time when the reservation was purchased. |
quantity | Quantity of the skus that are part of the reservation. |
renew | Setting this to true will automatically purchase a new reservation on the expiration date time. |
renew |
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 |
The renew properties for a reservation. |
renew |
Reservation Id of the reservation from which this reservation is renewed. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}. |
reserved |
The type of the resource that is being reserved. |
review |
This is the date-time when the Azure Hybrid Benefit needs to be reviewed. |
sku |
Description of the sku in english. |
split |
Properties of reservation split |
swap |
Properties of reservation swap |
term | Represent the term of reservation. |
user |
The applied scope type of the reservation for display, e.g. Shared NOTE: This property will not be serialized. It can only be populated by the server. |
user |
The renew state of the reservation for display, e.g. On NOTE: This property will not be serialized. It can only be populated by the server. |
utilization | Reservation utilization NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
appliedScopeProperties
Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup
appliedScopeProperties?: AppliedScopeProperties
Property Value
appliedScopes
The list of applied scopes
appliedScopes?: string[]
Property Value
string[]
appliedScopeType
The applied scope type
appliedScopeType?: string
Property Value
string
archived
Indicates if the reservation is archived
archived?: boolean
Property Value
boolean
benefitStartTime
This is the DateTime when the reservation benefit started.
benefitStartTime?: Date
Property Value
Date
billingPlan
The billing plan options available for this sku.
billingPlan?: string
Property Value
string
billingScopeId
Subscription that will be charged for purchasing reservation or savings plan
billingScopeId?: string
Property Value
string
capabilities
Capabilities of the reservation
capabilities?: string
Property Value
string
displayName
Friendly name for user to easily identify the reservation
displayName?: string
Property Value
string
displayProvisioningState
The provisioning state of the reservation for display, e.g. Succeeded NOTE: This property will not be serialized. It can only be populated by the server.
displayProvisioningState?: string
Property Value
string
effectiveDateTime
DateTime of the reservation starting when this version is effective from.
effectiveDateTime?: Date
Property Value
Date
expiryDate
This is the date when the reservation will expire.
expiryDate?: Date
Property Value
Date
expiryDateTime
This is the date-time when the reservation will expire.
expiryDateTime?: Date
Property Value
Date
extendedStatusInfo
The message giving detailed information about the status code.
extendedStatusInfo?: ExtendedStatusInfo
Property Value
instanceFlexibility
Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility.
instanceFlexibility?: string
Property Value
string
lastUpdatedDateTime
DateTime of the last time the reservation was updated. NOTE: This property will not be serialized. It can only be populated by the server.
lastUpdatedDateTime?: Date
Property Value
Date
mergeProperties
Properties of reservation merge
mergeProperties?: ReservationMergeProperties
Property Value
provisioningState
Current state of the reservation.
provisioningState?: string
Property Value
string
provisioningSubState
The provisioning sub-state of the reservation, e.g. Succeeded NOTE: This property will not be serialized. It can only be populated by the server.
provisioningSubState?: string
Property Value
string
purchaseDate
This is the date when the reservation was purchased.
purchaseDate?: Date
Property Value
Date
purchaseDateTime
This is the date-time when the reservation was purchased.
purchaseDateTime?: Date
Property Value
Date
quantity
Quantity of the skus that are part of the reservation.
quantity?: number
Property Value
number
renew
Setting this to true will automatically purchase a new reservation on the expiration date time.
renew?: boolean
Property Value
boolean
renewDestination
Reservation Id of the reservation which is purchased because of renew. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.
renewDestination?: string
Property Value
string
renewProperties
The renew properties for a reservation.
renewProperties?: RenewPropertiesResponse
Property Value
renewSource
Reservation Id of the reservation from which this reservation is renewed. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.
renewSource?: string
Property Value
string
reservedResourceType
The type of the resource that is being reserved.
reservedResourceType?: string
Property Value
string
reviewDateTime
This is the date-time when the Azure Hybrid Benefit needs to be reviewed.
reviewDateTime?: Date
Property Value
Date
skuDescription
Description of the sku in english.
skuDescription?: string
Property Value
string
splitProperties
Properties of reservation split
splitProperties?: ReservationSplitProperties
Property Value
swapProperties
Properties of reservation swap
swapProperties?: ReservationSwapProperties
Property Value
term
Represent the term of reservation.
term?: string
Property Value
string
userFriendlyAppliedScopeType
The applied scope type of the reservation for display, e.g. Shared NOTE: This property will not be serialized. It can only be populated by the server.
userFriendlyAppliedScopeType?: string
Property Value
string
userFriendlyRenewState
The renew state of the reservation for display, e.g. On NOTE: This property will not be serialized. It can only be populated by the server.
userFriendlyRenewState?: string
Property Value
string
utilization
Reservation utilization NOTE: This property will not be serialized. It can only be populated by the server.
utilization?: ReservationsPropertiesUtilization