Class CapacityReservationProperties

java.lang.Object
com.azure.resourcemanager.compute.fluent.models.CapacityReservationProperties

public final class CapacityReservationProperties extends Object
Properties of the Capacity reservation.
  • Constructor Details

    • CapacityReservationProperties

      public CapacityReservationProperties()
  • Method Details

    • reservationId

      public String reservationId()
      Get the reservationId property: A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource.
      Returns:
      the reservationId value.
    • virtualMachinesAssociated

      public List<SubResourceReadOnly> virtualMachinesAssociated()
      Get the virtualMachinesAssociated property: A list of all virtual machine resource ids that are associated with the capacity reservation.
      Returns:
      the virtualMachinesAssociated value.
    • provisioningTime

      public OffsetDateTime provisioningTime()
      Get the provisioningTime property: The date time when the capacity reservation was last updated.
      Returns:
      the provisioningTime value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning state, which only appears in the response.
      Returns:
      the provisioningState value.
    • instanceView

      public CapacityReservationInstanceView instanceView()
      Get the instanceView property: The Capacity reservation instance view.
      Returns:
      the instanceView value.
    • timeCreated

      public OffsetDateTime timeCreated()
      Get the timeCreated property: Specifies the time at which the Capacity Reservation resource was created.<br><br>Minimum api-version: 2022-03-01.
      Returns:
      the timeCreated value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.