Condividi tramite


ValidateProperties Class

Definition

App properties used for validation.

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

Constructors

ValidateProperties()

Creates an new ValidateProperties 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

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ValidateProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ValidateProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ValidateProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to