Class PremierAddOnOfferInner
java.lang.Object
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.PremierAddOnOfferInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ProxyOnlyResource>
Premier add-on offer.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PremierAddOnOfferInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PremierAddOnOfferInner from the JsonReader.id()Get the id property: Resource Id.Get the legalTermsUrl property: Legal terms URL.Get the marketplaceOffer property: Marketplace offer.Get the marketplacePublisher property: Marketplace publisher.name()Get the name property: Resource Name.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) type()Get the type property: Resource type.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 ProxyOnlyResource
kind, withKindMethods 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
-
type
Get the type property: Resource type.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: Resource Name.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Resource Id.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
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.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ProxyOnlyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
public static PremierAddOnOfferInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PremierAddOnOfferInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PremierAddOnOfferInner 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 PremierAddOnOfferInner.
-