Udostępnij za pośrednictwem


ValidateRequest Constructors

Definition

Overloads

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.

ValidateRequest()

Initializes a new instance of the ValidateRequest class.

public ValidateRequest ();
Public Sub New ()

Applies to

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.

public ValidateRequest (string name, string 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, Microsoft.Azure.Management.WebSites.Models.AppServiceEnvironment appServiceEnvironment = default);
new Microsoft.Azure.Management.WebSites.Models.ValidateRequest : string * string * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * string * Nullable<bool> * string * string * string * string * string * string * Microsoft.Azure.Management.WebSites.Models.AppServiceEnvironment -> Microsoft.Azure.Management.WebSites.Models.ValidateRequest
Public Sub New (name As String, type As String, 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, Optional appServiceEnvironment As AppServiceEnvironment = Nothing)

Parameters

name
String

Resource name to verify.

type
String

Resource type used for verification. Possible values include: 'ServerFarm', 'Site', 'Microsoft.Web/hostingEnvironments'

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)

appServiceEnvironment
AppServiceEnvironment

App Service Environment Properties

Applies to