Share via


ReservationResponse Class

Definition

The definition of the reservation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ReservationResponseTypeConverter))]
public class ReservationResponse : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IReservationResponse, Microsoft.Azure.PowerShell.Cmdlets.Reservations.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ReservationResponseTypeConverter))>]
type ReservationResponse = class
    interface IReservationResponse
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class ReservationResponse
Implements IReservationResponse, IValidates
Inheritance
ReservationResponse
Attributes
Implements

Constructors

ReservationResponse()

Creates an new ReservationResponse instance.

Properties

AppliedScopePropertyDisplayName

Display name

AppliedScopePropertyManagementGroupId

Fully-qualified identifier of the management group where the benefit must be applied.

AppliedScopePropertyResourceGroupId

Fully-qualified identifier of the resource group.

AppliedScopePropertySubscriptionId

Fully-qualified identifier of the subscription.

AppliedScopePropertyTenantId

Tenant ID where the savings plan should apply benefit.

AppliedScopes

The list of applied scopes

AppliedScopeType

The applied scope type

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

Capability

Capabilities of the reservation

DisplayName

Friendly name for user to easily identify the reservation

DisplayProvisioningState

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

EffectiveDateTime

DateTime of the reservation starting when this version is effective from.

Etag
ExpiryDate

This is the date when the reservation will expire.

ExpiryDateTime

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

ExtendedStatusInfo

The message giving detailed information about the status code.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

InstanceFlexibility

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

Kind

Resource Provider type to be reserved.

LastUpdatedDateTime

DateTime of the last time the reservation was updated.

Location

The Azure region where the reserved resource lives.

MergeProperties

Properties of reservation merge

Name

The name of the resource

ProvisioningState

Current state of the reservation.

ProvisioningSubState

The provisioning sub-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

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.

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

RenewProperty

The renew properties for a reservation.

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

ReservedResourceType

The type of the resource that is being reserved.

ResourceGroupName

Gets the resource group name

ReviewDateTime

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

SkuDescription

Description of the sku in english.

SkuName
SplitProperties

Properties of reservation split

SwapPropertySwapDestination

Reservation resource id that the original resource gets swapped to. Format of the resource id is /providers/microsoft.capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}

SwapPropertySwapSource

Resource id of the source reservation that gets swapped. Format of the resource id is /providers/microsoft.capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Term

Represent the term of reservation.

Type

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

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

UtilizationAggregate

The array of aggregates of a reservation's utilization

UtilizationTrend

last 7 day utilization trend for a reservation

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ReservationResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ReservationResponse.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IReservationResponse.

FromJsonString(String)

Creates a new instance of ReservationResponse, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ReservationResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to