ArmAppServiceModelFactory.AppServiceValidateContent Method

Definition

Initializes a new instance of AppServiceValidateContent.

public static Azure.ResourceManager.AppService.Models.AppServiceValidateContent AppServiceValidateContent (string name = default, Azure.ResourceManager.AppService.Models.ValidateResourceType validateResourceType = default, Azure.Core.AzureLocation location = default, Azure.Core.ResourceIdentifier serverFarmId = default, string skuName = default, bool? needLinuxWorkers = default, bool? isSpot = default, int? capacity = default, string hostingEnvironment = default, bool? isXenon = default, Uri containerRegistryBaseUri = default, string containerRegistryUsername = default, string containerRegistryPassword = default, string containerImageRepository = default, string containerImageTag = default, string containerImagePlatform = default, Azure.ResourceManager.AppService.Models.AppServiceEnvironmentProperties appServiceEnvironment = default);
static member AppServiceValidateContent : string * Azure.ResourceManager.AppService.Models.ValidateResourceType * Azure.Core.AzureLocation * Azure.Core.ResourceIdentifier * string * Nullable<bool> * Nullable<bool> * Nullable<int> * string * Nullable<bool> * Uri * string * string * string * string * string * Azure.ResourceManager.AppService.Models.AppServiceEnvironmentProperties -> Azure.ResourceManager.AppService.Models.AppServiceValidateContent
Public Shared Function AppServiceValidateContent (Optional name As String = Nothing, Optional validateResourceType As ValidateResourceType = Nothing, Optional location As AzureLocation = Nothing, Optional serverFarmId As ResourceIdentifier = 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 containerRegistryBaseUri As Uri = 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 AppServiceEnvironmentProperties = Nothing) As AppServiceValidateContent

Parameters

name
String

Resource name to verify.

validateResourceType
ValidateResourceType

Resource type used for verification.

location
AzureLocation

Expected location of the resource.

serverFarmId
ResourceIdentifier

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.

containerRegistryBaseUri
Uri

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
AppServiceEnvironmentProperties

App Service Environment Properties.

Returns

A new AppServiceValidateContent instance for mocking.

Applies to