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, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
Resource name to verify. Required. |
type
|
Resource type used for verification. Required. Known values are: "ServerFarm" and "Site". |
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. |
Variables
Name | Description |
---|---|
name
|
Resource name to verify. Required. |
type
|
Resource type used for verification. Required. Known values are: "ServerFarm" and "Site". |
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. |
Azure SDK for Python