Share via


ValidateRequest Constructors

Definition

Overloads

ValidateRequest()

Initializes a new instance of the ValidateRequest class.

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

Initializes a new instance of the ValidateRequest class.

ValidateRequest()

Initializes a new instance of the ValidateRequest class.

public ValidateRequest ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ValidateRequest class.

public ValidateRequest (string name, Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResourceTypes type, string location, string serverFarmId = default, string skuName = default, bool? needLinuxWorkers = default, bool? isSpot = default, int? capacity = default, string hostingEnvironment = default, bool? isXenon = default, string containerRegistryBaseUrl = default, string containerRegistryUsername = default, string containerRegistryPassword = default, string containerImageRepository = default, string containerImageTag = default, string containerImagePlatform = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequest : string * Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResourceTypes * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * string * Nullable<bool> * string * string * string * string * string * string -> Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequest
Public Sub New (name As String, type As ValidateResourceTypes, location As String, Optional serverFarmId As String = Nothing, Optional skuName As String = Nothing, Optional needLinuxWorkers As Nullable(Of Boolean) = Nothing, Optional isSpot As Nullable(Of Boolean) = Nothing, Optional capacity As Nullable(Of Integer) = Nothing, Optional hostingEnvironment As String = Nothing, Optional isXenon As Nullable(Of Boolean) = Nothing, Optional containerRegistryBaseUrl As String = Nothing, Optional containerRegistryUsername As String = Nothing, Optional containerRegistryPassword As String = Nothing, Optional containerImageRepository As String = Nothing, Optional containerImageTag As String = Nothing, Optional containerImagePlatform As String = Nothing)

Parameters

name
String

Resource name to verify.

type
ValidateResourceTypes

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

location
String

Expected location of the resource.

serverFarmId
String

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

skuName
String

Name of the target SKU for the App Service plan.

needLinuxWorkers
Nullable<Boolean>

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

isSpot
Nullable<Boolean>

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

capacity
Nullable<Int32>

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

hostingEnvironment
String

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

isXenon
Nullable<Boolean>

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

containerRegistryBaseUrl
String

Base URL of the container registry

containerRegistryUsername
String

Username for to access the container registry

containerRegistryPassword
String

Password for to access the container registry

containerImageRepository
String

Repository name (image name)

containerImageTag
String

Image tag

containerImagePlatform
String

Platform (windows or linux)

Applies to