class Azure::Web::Mgmt::V2020_09_01::Models::ValidateRequest
Resource
validation request content.
Attributes
@return [Integer] Target capacity of the App Service plan (number of VMs).
@return [String] Platform (windows or linux)
@return [String] Repository name (image name)
@return [String] Image tag
@return [String] Base URL of the container registry
@return [String] Password for to access the container registry
@return [String] Username for to access the container registry
@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 [Boolean] true
if App Service plan is running as a windows container
@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/2020-09-01/generated/azure_mgmt_web/models/validate_request.rb, line 75 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' } }, is_xenon: { client_side_validation: true, required: false, serialized_name: 'properties.isXenon', type: { name: 'Boolean' } }, container_registry_base_url: { client_side_validation: true, required: false, serialized_name: 'properties.containerRegistryBaseUrl', type: { name: 'String' } }, container_registry_username: { client_side_validation: true, required: false, serialized_name: 'properties.containerRegistryUsername', type: { name: 'String' } }, container_registry_password: { client_side_validation: true, required: false, serialized_name: 'properties.containerRegistryPassword', type: { name: 'String' } }, container_image_repository: { client_side_validation: true, required: false, serialized_name: 'properties.containerImageRepository', type: { name: 'String' } }, container_image_tag: { client_side_validation: true, required: false, serialized_name: 'properties.containerImageTag', type: { name: 'String' } }, container_image_platform: { client_side_validation: true, required: false, serialized_name: 'properties.containerImagePlatform', type: { name: 'String' } } } } } end