class Azure::Web::Mgmt::V2016_03_01::Models::ValidateRequest
Resource
validation request content.
Attributes
@return [Integer] Target capacity of the App Service plan (number of VM's).
@return [String] Name of App Service Environment where app or App Service plan should be created.
@return [Boolean] true
if App Service plan is for Spot instances; otherwise, false
.
@return [String] Expected location of the resource.
@return [String] Resource
name to verify.
@return [Boolean] true
if App Service plan is for Linux workers; otherwise, false
.
@return [String] ARM resource ID of an App Service plan that would host the app.
@return [String] Name of the target SKU for the App Service plan.
@return [ValidateResourceTypes] Resource
type used for verification. Possible values include: 'ServerFarm', 'Site'
Private Class Methods
Mapper for ValidateRequest
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_web/models/validate_request.rb, line 53 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ValidateRequest', type: { name: 'Composite', class_name: 'ValidateRequest', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, server_farm_id: { client_side_validation: true, required: false, serialized_name: 'properties.serverFarmId', type: { name: 'String' } }, sku_name: { client_side_validation: true, required: false, serialized_name: 'properties.skuName', type: { name: 'String' } }, need_linux_workers: { client_side_validation: true, required: false, serialized_name: 'properties.needLinuxWorkers', type: { name: 'Boolean' } }, is_spot: { client_side_validation: true, required: false, serialized_name: 'properties.isSpot', type: { name: 'Boolean' } }, capacity: { client_side_validation: true, required: false, serialized_name: 'properties.capacity', constraints: { InclusiveMinimum: 1 }, type: { name: 'Number' } }, hosting_environment: { client_side_validation: true, required: false, serialized_name: 'properties.hostingEnvironment', type: { name: 'String' } } } } } end