ValidateRequest Class

Resource validation request content.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.web._serialization.Model
ValidateRequest

Constructor

ValidateRequest(*, name: str, type: str | _models.ValidateResourceTypes, location: str, server_farm_id: str | None = None, sku_name: str | None = None, need_linux_workers: bool | None = None, is_spot: bool | None = None, capacity: int | None = None, hosting_environment: str | None = None, is_xenon: bool | None = None, container_registry_base_url: str | None = None, container_registry_username: str | None = None, container_registry_password: str | None = None, container_image_repository: str | None = None, container_image_tag: str | None = None, container_image_platform: str | None = None, app_service_environment: _models.AppServiceEnvironment | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

Resource name to verify. Required.

type

Resource type used for verification. Required. Known values are: "ServerFarm", "Site", and "Microsoft.Web/hostingEnvironments".

location
str

Expected location of the resource. Required.

server_farm_id
str

ARM resource ID of an App Service plan that would host the app.

sku_name
str

Name of the target SKU for the App Service plan.

need_linux_workers

<code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.

is_spot

<code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.

capacity
int

Target capacity of the App Service plan (number of VMs).

hosting_environment
str

Name of App Service Environment where app or App Service plan should be created.

is_xenon

<code>true</code> if App Service plan is running as a windows container.

container_registry_base_url
str

Base URL of the container registry.

container_registry_username
str

Username for to access the container registry.

container_registry_password
str

Password for to access the container registry.

container_image_repository
str

Repository name (image name).

container_image_tag
str

Image tag.

container_image_platform
str

Platform (windows or linux).

app_service_environment

App Service Environment Properties.

Variables

Name Description
name
str

Resource name to verify. Required.

type

Resource type used for verification. Required. Known values are: "ServerFarm", "Site", and "Microsoft.Web/hostingEnvironments".

location
str

Expected location of the resource. Required.

server_farm_id
str

ARM resource ID of an App Service plan that would host the app.

sku_name
str

Name of the target SKU for the App Service plan.

need_linux_workers

<code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.

is_spot

<code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.

capacity
int

Target capacity of the App Service plan (number of VMs).

hosting_environment
str

Name of App Service Environment where app or App Service plan should be created.

is_xenon

<code>true</code> if App Service plan is running as a windows container.

container_registry_base_url
str

Base URL of the container registry.

container_registry_username
str

Username for to access the container registry.

container_registry_password
str

Password for to access the container registry.

container_image_repository
str

Repository name (image name).

container_image_tag
str

Image tag.

container_image_platform
str

Platform (windows or linux).

app_service_environment

App Service Environment Properties.