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 Summary
Modifier and TypeMethodDescriptionstatic PremierAddOnOfferPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PremierAddOnOfferProperties from the JsonReader.Get the legalTermsUrl property: Legal terms URL.Get the marketplaceOffer property: Marketplace offer.Get the marketplacePublisher property: Marketplace publisher.Get the privacyPolicyUrl property: Privacy policy URL.product()Get the product property: Premier add on offer Product.Get the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.quota()Get the quota property: Premier add on offer Quota.sku()Get the sku property: Premier add on SKU.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.vendor()Get the vendor property: Premier add on offer Vendor.Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
sku
-
product
Get the product property: Premier add on offer Product.- Returns:
- the product value.
-
vendor
Get the vendor property: Premier add on offer Vendor.- Returns:
- the vendor value.
-
promoCodeRequired
Get the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.- Returns:
- the promoCodeRequired value.
-
quota
Get the quota property: Premier add on offer Quota.- Returns:
- the quota value.
-
webHostingPlanRestrictions
Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.- Returns:
- the webHostingPlanRestrictions value.
-
privacyPolicyUrl
Get the privacyPolicyUrl property: Privacy policy URL.- Returns:
- the privacyPolicyUrl value.
-
legalTermsUrl
Get the legalTermsUrl property: Legal terms URL.- Returns:
- the legalTermsUrl value.
-
marketplacePublisher
Get the marketplacePublisher property: Marketplace publisher.- Returns:
- the marketplacePublisher value.
-
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
- Specified by:
toJsonin interfacecom.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.
-