Class ImagePurchasePlan

java.lang.Object
com.microsoft.azure.management.compute.ImagePurchasePlan

public class ImagePurchasePlan extends Object
Describes the gallery Image Definition purchase plan. This is used by marketplace images.
  • Constructor Details

    • ImagePurchasePlan

      public ImagePurchasePlan()
  • Method Details

    • name

      public String name()
      Get the plan ID.
      Returns:
      the name value
    • withName

      public ImagePurchasePlan withName(String name)
      Set the plan ID.
      Parameters:
      name - the name value to set
      Returns:
      the ImagePurchasePlan object itself.
    • publisher

      public String publisher()
      Get the publisher ID.
      Returns:
      the publisher value
    • withPublisher

      public ImagePurchasePlan withPublisher(String publisher)
      Set the publisher ID.
      Parameters:
      publisher - the publisher value to set
      Returns:
      the ImagePurchasePlan object itself.
    • product

      public String product()
      Get the product ID.
      Returns:
      the product value
    • withProduct

      public ImagePurchasePlan withProduct(String product)
      Set the product ID.
      Parameters:
      product - the product value to set
      Returns:
      the ImagePurchasePlan object itself.