CapacityReservationGroupInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CapacityReservationGroupInstanceView
- com.
Implements
public final class CapacityReservationGroupInstanceView
implements JsonSerializable<CapacityReservationGroupInstanceView>
The CapacityReservationGroupInstanceView model.
Constructor Summary
Constructor | Description |
---|---|
CapacityReservationGroupInstanceView() |
Creates an instance of Capacity |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Capacity |
capacityReservations()
Get the capacity |
static
Capacity |
fromJson(JsonReader jsonReader)
Reads an instance of Capacity |
List<Sub |
sharedSubscriptionIds()
Get the shared |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
CapacityReservationGroupInstanceView
public CapacityReservationGroupInstanceView()
Creates an instance of CapacityReservationGroupInstanceView class.
Method Details
capacityReservations
public List
Get the capacityReservations property: List of instance view of the capacity reservations under the capacity reservation group.
Returns:
fromJson
public static CapacityReservationGroupInstanceView fromJson(JsonReader jsonReader)
Reads an instance of CapacityReservationGroupInstanceView from the JsonReader.
Parameters:
Returns:
Throws:
sharedSubscriptionIds
public List
Get the sharedSubscriptionIds property: List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java