# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ARM::Web
module Models
#
# Premier add-on offer.
#
class PremierAddOnOffer < ProxyOnlyResource
include MsRestAzure
# @return [String] SKU.
attr_accessor :sku
# @return [String] Product.
attr_accessor :product
# @return [String] Vendor.
attr_accessor :vendor
# @return [String] Name.
attr_accessor :premier_add_on_offer_name
# @return [Boolean] true
if promotion code is required;
# otherwise, false
.
attr_accessor :promo_code_required
# @return [Integer] Quota.
attr_accessor :quota
# @return [AppServicePlanRestrictions] App Service plans this offer is
# restricted to. Possible values include: 'None', 'Free', 'Shared',
# 'Basic', 'Standard', 'Premium'
attr_accessor :web_hosting_plan_restrictions
# @return [String] Privacy policy URL.
attr_accessor :privacy_policy_url
# @return [String] Legal terms URL.
attr_accessor :legal_terms_url
# @return [String] Marketplace publisher.
attr_accessor :marketplace_publisher
# @return [String] Marketplace offer.
attr_accessor :marketplace_offer
#
# Mapper for PremierAddOnOffer class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'PremierAddOnOffer',
type: {
name: 'Composite',
class_name: 'PremierAddOnOffer',
model_properties: {
id: {
required: false,
read_only: true,
serialized_name: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
kind: {
required: false,
serialized_name: 'kind',
type: {
name: 'String'
}
},
type: {
required: false,
read_only: true,
serialized_name: 'type',
type: {
name: 'String'
}
},
sku: {
required: false,
serialized_name: 'properties.sku',
type: {
name: 'String'
}
},
product: {
required: false,
serialized_name: 'properties.product',
type: {
name: 'String'
}
},
vendor: {
required: false,
serialized_name: 'properties.vendor',
type: {
name: 'String'
}
},
premier_add_on_offer_name: {
required: false,
serialized_name: 'properties.name',
type: {
name: 'String'
}
},
promo_code_required: {
required: false,
serialized_name: 'properties.promoCodeRequired',
type: {
name: 'Boolean'
}
},
quota: {
required: false,
serialized_name: 'properties.quota',
type: {
name: 'Number'
}
},
web_hosting_plan_restrictions: {
required: false,
serialized_name: 'properties.webHostingPlanRestrictions',
type: {
name: 'Enum',
module: 'AppServicePlanRestrictions'
}
},
privacy_policy_url: {
required: false,
serialized_name: 'properties.privacyPolicyUrl',
type: {
name: 'String'
}
},
legal_terms_url: {
required: false,
serialized_name: 'properties.legalTermsUrl',
type: {
name: 'String'
}
},
marketplace_publisher: {
required: false,
serialized_name: 'properties.marketplacePublisher',
type: {
name: 'String'
}
},
marketplace_offer: {
required: false,
serialized_name: 'properties.marketplaceOffer',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end