Reservation interface

The definition of the reservation.

Extends

Properties

appliedScopeProperties

Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup

appliedScopes

The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope

appliedScopeType

The applied scope type of the reservation.

archived

Indicates if the reservation is archived

benefitStartTime

This is the DateTime when the reservation benefit started.

billingPlan

The billing plan options available for this sku.

billingScopeId

Subscription that will be charged for purchasing reservation or savings plan

capabilities

Capabilities of the reservation

displayName

The display name of the reservation

displayProvisioningState

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

effectiveDateTime

The effective date time of the reservation

etag
expiryDate

The expiry date of the reservation

expiryDateTime

This is the date-time when the reservation will expire.

extendedStatusInfo

The message giving detailed information about the status code.

instanceFlexibility

Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility.

lastUpdatedDateTime

DateTime of the last time the reservation was updated.

location

The location of the reservation.

mergeProperties

Properties of reservation merge

productCode

Represents UPN

provisioningState

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

provisioningSubState

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

purchaseDate

This is the date when the reservation was purchased.

purchaseDateTime

This is the date-time when the reservation was purchased.

quantity

The number of the reservation.

renew

The renew state of the reservation

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}.

renewProperties

The renew properties for a reservation.

renewSource

The renew source of the reservation

reservedResourceType

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

reviewDateTime

This is the date-time when the Azure Hybrid Benefit needs to be reviewed.

sku

The sku information associated to this reservation

skuDescription

The sku description of the reservation

splitProperties

Properties of reservation split

swapProperties

Properties of reservation swap

tags

Tags for this reservation

term

The term of the reservation, e.g. P1Y

userFriendlyAppliedScopeType

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

userFriendlyRenewState

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

utilization

Reservation utilization

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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?: ReservationAppliedScopeProperties

Property Value

appliedScopes

The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope

appliedScopes?: string[]

Property Value

string[]

appliedScopeType

The applied scope type of the reservation.

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

The display name of the reservation

displayName?: string

Property Value

string

displayProvisioningState

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

displayProvisioningState?: string

Property Value

string

effectiveDateTime

The effective date time of the reservation

effectiveDateTime?: Date

Property Value

Date

etag

etag?: number

Property Value

number

expiryDate

The expiry date of the reservation

expiryDate?: string

Property Value

string

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?: ReservationExtendedStatusInfo

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.

lastUpdatedDateTime?: Date

Property Value

Date

location

The location of the reservation.

location?: string

Property Value

string

mergeProperties

Properties of reservation merge

mergeProperties?: ReservationMergeProperties

Property Value

productCode

Represents UPN

productCode?: string

Property Value

string

provisioningState

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

provisioningState?: string

Property Value

string

provisioningSubState

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

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

The number of the reservation.

quantity?: number

Property Value

number

renew

The renew state of the reservation

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

The renew source of the reservation

renewSource?: string

Property Value

string

reservedResourceType

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

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

sku

The sku information associated to this reservation

sku?: ReservationSkuProperty

Property Value

skuDescription

The sku description of the reservation

skuDescription?: string

Property Value

string

splitProperties

Properties of reservation split

splitProperties?: ReservationSplitProperties

Property Value

swapProperties

Properties of reservation swap

swapProperties?: ReservationSwapProperties

Property Value

tags

Tags for this reservation

tags?: Record<string, string>

Property Value

Record<string, string>

term

The term of the reservation, e.g. P1Y

term?: string

Property Value

string

userFriendlyAppliedScopeType

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

userFriendlyAppliedScopeType?: string

Property Value

string

userFriendlyRenewState

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

userFriendlyRenewState?: string

Property Value

string

utilization

Reservation utilization

utilization?: ReservationPropertyUtilization

Property Value

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From ProxyResource.type