ValidateRequest Class
Resource validation request content.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.web._serialization.ModelValidateRequest
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
|
Resource name to verify. Required. |
type
|
Resource type used for verification. Required. Known values are: "ServerFarm", "Site", and "Microsoft.Web/hostingEnvironments". |
location
|
Expected location of the resource. Required. |
server_farm_id
|
ARM resource ID of an App Service plan that would host the app. |
sku_name
|
Name of the target SKU for the App Service plan. |
need_linux_workers
|
|
is_spot
|
|
capacity
|
Target capacity of the App Service plan (number of VMs). |
hosting_environment
|
Name of App Service Environment where app or App Service plan should be created. |
is_xenon
|
|
container_registry_base_url
|
Base URL of the container registry. |
container_registry_username
|
Username for to access the container registry. |
container_registry_password
|
Password for to access the container registry. |
container_image_repository
|
Repository name (image name). |
container_image_tag
|
Image tag. |
container_image_platform
|
Platform (windows or linux). |
app_service_environment
|
App Service Environment Properties. |
Variables
Name | Description |
---|---|
name
|
Resource name to verify. Required. |
type
|
Resource type used for verification. Required. Known values are: "ServerFarm", "Site", and "Microsoft.Web/hostingEnvironments". |
location
|
Expected location of the resource. Required. |
server_farm_id
|
ARM resource ID of an App Service plan that would host the app. |
sku_name
|
Name of the target SKU for the App Service plan. |
need_linux_workers
|
|
is_spot
|
|
capacity
|
Target capacity of the App Service plan (number of VMs). |
hosting_environment
|
Name of App Service Environment where app or App Service plan should be created. |
is_xenon
|
|
container_registry_base_url
|
Base URL of the container registry. |
container_registry_username
|
Username for to access the container registry. |
container_registry_password
|
Password for to access the container registry. |
container_image_repository
|
Repository name (image name). |
container_image_tag
|
Image tag. |
container_image_platform
|
Platform (windows or linux). |
app_service_environment
|
App Service Environment Properties. |
Azure SDK for Python