Class ResourceSkuCosts

java.lang.Object
com.azure.resourcemanager.datamigration.models.ResourceSkuCosts

public final class ResourceSkuCosts extends Object
Describes metadata for retrieving price info.
  • Constructor Details

    • ResourceSkuCosts

      public ResourceSkuCosts()
      Creates an instance of ResourceSkuCosts class.
  • Method Details

    • meterId

      public String meterId()
      Get the meterId property: Used for querying price from commerce.
      Returns:
      the meterId value.
    • quantity

      public Long quantity()
      Get the quantity property: The multiplier is needed to extend the base metered cost.
      Returns:
      the quantity value.
    • extendedUnit

      public String extendedUnit()
      Get the extendedUnit property: An invariant to show the extended unit.
      Returns:
      the extendedUnit value.
    • validate

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