ValidateRequest Class

Resource validation request content.

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

Inheritance
ValidateRequest

Constructor

ValidateRequest(*, name: str, type: typing.Union[str, _ForwardRef('ValidateResourceTypes')], location: str, server_farm_id: typing.Union[str, NoneType] = None, sku_name: typing.Union[str, NoneType] = None, need_linux_workers: typing.Union[bool, NoneType] = None, is_spot: typing.Union[bool, NoneType] = None, capacity: typing.Union[int, NoneType] = None, hosting_environment: typing.Union[str, NoneType] = None, is_xenon: typing.Union[bool, NoneType] = None, container_registry_base_url: typing.Union[str, NoneType] = None, container_registry_username: typing.Union[str, NoneType] = None, container_registry_password: typing.Union[str, NoneType] = None, container_image_repository: typing.Union[str, NoneType] = None, container_image_tag: typing.Union[str, NoneType] = None, container_image_platform: typing.Union[str, NoneType] = None, **kwargs)

Parameters

name
str
Required

Required. Resource name to verify.

type
str or ValidateResourceTypes
Required

Required. Resource type used for verification. Possible values include: "ServerFarm", "Site".

location
str
Required

Required. Expected location of the resource.

server_farm_id
str
Required

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

sku_name
str
Required

Name of the target SKU for the App Service plan.

need_linux_workers
bool
Required

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

is_spot
bool
Required

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

capacity
int
Required

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

hosting_environment
str
Required

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

is_xenon
bool
Required

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

container_registry_base_url
str
Required

Base URL of the container registry.

container_registry_username
str
Required

Username for to access the container registry.

container_registry_password
str
Required

Password for to access the container registry.

container_image_repository
str
Required

Repository name (image name).

container_image_tag
str
Required

Image tag.

container_image_platform
str
Required

Platform (windows or linux).