ValidateRequest interface

Resource validation request content.

Properties

capacity

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

hostingEnvironment

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

isSpot

true if App Service plan is for Spot instances; otherwise, false.

isXenon

true if App Service plan is running as a windows container

location

Expected location of the resource.

name

Resource name to verify.

needLinuxWorkers

true if App Service plan is for Linux workers; otherwise, false.

serverFarmId

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

skuName

Name of the target SKU for the App Service plan.

type

Resource type used for verification.

Property Details

capacity

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

capacity?: number

Property Value

number

hostingEnvironment

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

hostingEnvironment?: string

Property Value

string

isSpot

true if App Service plan is for Spot instances; otherwise, false.

isSpot?: boolean

Property Value

boolean

isXenon

true if App Service plan is running as a windows container

isXenon?: boolean

Property Value

boolean

location

Expected location of the resource.

location: string

Property Value

string

name

Resource name to verify.

name: string

Property Value

string

needLinuxWorkers

true if App Service plan is for Linux workers; otherwise, false.

needLinuxWorkers?: boolean

Property Value

boolean

serverFarmId

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

serverFarmId?: string

Property Value

string

skuName

Name of the target SKU for the App Service plan.

skuName?: string

Property Value

string

type

Resource type used for verification.

type: string

Property Value

string