Class PremierAddOnOfferProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.PremierAddOnOfferProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<PremierAddOnOfferProperties>

public final class PremierAddOnOfferProperties extends Object implements com.azure.json.JsonSerializable<PremierAddOnOfferProperties>
PremierAddOnOffer resource specific properties.
  • Method Details

    • sku

      public String sku()
      Get the sku property: Premier add on SKU.
      Returns:
      the sku value.
    • product

      public String product()
      Get the product property: Premier add on offer Product.
      Returns:
      the product value.
    • vendor

      public String vendor()
      Get the vendor property: Premier add on offer Vendor.
      Returns:
      the vendor value.
    • promoCodeRequired

      public Boolean promoCodeRequired()
      Get the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.
      Returns:
      the promoCodeRequired value.
    • quota

      public Integer quota()
      Get the quota property: Premier add on offer Quota.
      Returns:
      the quota value.
    • webHostingPlanRestrictions

      public AppServicePlanRestrictions webHostingPlanRestrictions()
      Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.
      Returns:
      the webHostingPlanRestrictions value.
    • privacyPolicyUrl

      public String privacyPolicyUrl()
      Get the privacyPolicyUrl property: Privacy policy URL.
      Returns:
      the privacyPolicyUrl value.
    • legalTermsUrl

      public String legalTermsUrl()
      Get the legalTermsUrl property: Legal terms URL.
      Returns:
      the legalTermsUrl value.
    • marketplacePublisher

      public String marketplacePublisher()
      Get the marketplacePublisher property: Marketplace publisher.
      Returns:
      the marketplacePublisher value.
    • marketplaceOffer

      public String marketplaceOffer()
      Get the marketplaceOffer property: Marketplace offer.
      Returns:
      the marketplaceOffer value.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<PremierAddOnOfferProperties>
      Throws:
      IOException
    • fromJson

      public static PremierAddOnOfferProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of PremierAddOnOfferProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of PremierAddOnOfferProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the PremierAddOnOfferProperties.