Partager via


ReservationsProperties Class

Definition

The properties of the reservations

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ReservationsPropertiesTypeConverter))]
public class ReservationsProperties : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IReservationsProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ReservationsPropertiesTypeConverter))>]
type ReservationsProperties = class
    interface IReservationsProperties
    interface IJsonSerializable
Public Class ReservationsProperties
Implements IReservationsProperties
Inheritance
ReservationsProperties
Attributes
Implements

Constructors

ReservationsProperties()

Creates an new ReservationsProperties instance.

Properties

AppliedScope

The list of applied scopes

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.

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.

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.

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.

MergeProperty

Properties of reservation merge

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.

ReviewDateTime

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

SkuDescription

Description of the sku in english.

SplitProperty

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}

Term

Represent the term of reservation.

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ReservationsProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ReservationsProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to