CapacityReservationGroup Class

Definition

Specifies information about the capacity reservation group that the capacity reservations should be assigned to. Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group.

[Microsoft.Rest.Serialization.JsonTransformation]
public class CapacityReservationGroup : Microsoft.Azure.Management.Compute.Models.Resource
Inheritance
CapacityReservationGroup
Attributes

Constructors

Properties

CapacityReservations

Gets a list of all capacity reservation resource ids that belong to capacity reservation group.

Id

Gets resource Id

(Inherited from Resource)
InstanceView

Gets the capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.

Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
Tags

Gets or sets resource tags

(Inherited from Resource)
Type

Gets resource type

(Inherited from Resource)
VirtualMachinesAssociated

Gets a list of references to all virtual machines associated to the capacity reservation group.

Zones

Gets or sets availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.

Methods

Validate()

Validate the object.

Applies to

Prodotto Versioni
Azure SDK for .NET Legacy