Share via


ValidateRequest Class

Definition

Resource validation request content.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ValidateRequestTypeConverter))]
public class ValidateRequest : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IValidateRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ValidateRequestTypeConverter))>]
type ValidateRequest = class
    interface IValidateRequest
    interface IJsonSerializable
Public Class ValidateRequest
Implements IValidateRequest
Inheritance
ValidateRequest
Attributes
Implements

Constructors

ValidateRequest()

Creates an new ValidateRequest instance.

Properties

AppServiceEnvironment

App Service Environment Properties

Capacity

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

ContainerImagePlatform

Platform (windows or linux)

ContainerImageRepository

Repository name (image name)

ContainerImageTag

Image tag

ContainerRegistryBaseUrl

Base URL of the container registry

ContainerRegistryPassword

Password for to access the container registry

ContainerRegistryUsername

Username for to access the container registry

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.

NeedLinuxWorker

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ValidateRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ValidateRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IValidateRequest.

FromJsonString(String)

Creates a new instance of ValidateRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ValidateRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to