ArmAppServiceModelFactory.AppServiceValidateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
<code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.
<code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.
- hostingEnvironment
- String
Name of App Service Environment where app or App Service plan should be created.
- 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
Azure SDK for .NET