ValidateRequest Class

Definition

Resource validation request content.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ValidateRequest
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ValidateRequest = class
Public Class ValidateRequest
Inheritance
ValidateRequest
Attributes

Constructors

ValidateRequest()

Initializes a new instance of the ValidateRequest class.

ValidateRequest(String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, String, Nullable<Boolean>, String, String, String, String, String, String, AppServiceEnvironment)

Initializes a new instance of the ValidateRequest class.

Properties

AppServiceEnvironment

Gets or sets app Service Environment Properties

Capacity

Gets or sets target capacity of the App Service plan (number of VMs).

ContainerImagePlatform

Gets or sets platform (windows or linux)

ContainerImageRepository

Gets or sets repository name (image name)

ContainerImageTag

Gets or sets image tag

ContainerRegistryBaseUrl

Gets or sets base URL of the container registry

ContainerRegistryPassword

Gets or sets password for to access the container registry

ContainerRegistryUsername

Gets or sets username for to access the container registry

HostingEnvironment

Gets or sets name of App Service Environment where app or App Service plan should be created.

IsSpot

Gets or sets &lt;code&gt;true&lt;/code&gt; if App Service plan is for Spot instances; otherwise, &lt;code&gt;false&lt;/code&gt;.

IsXenon

Gets or sets &lt;code&gt;true&lt;/code&gt; if App Service plan is running as a windows container

Location

Gets or sets expected location of the resource.

Name

Gets or sets resource name to verify.

NeedLinuxWorkers

Gets or sets &lt;code&gt;true&lt;/code&gt; if App Service plan is for Linux workers; otherwise, &lt;code&gt;false&lt;/code&gt;.

ServerFarmId

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

SkuName

Gets or sets name of the target SKU for the App Service plan.

Type

Gets or sets resource type used for verification. Possible values include: 'ServerFarm', 'Site', 'Microsoft.Web/hostingEnvironments'

Methods

Validate()

Validate the object.

Applies to