public class ValidateRequest extends Object
| Constructor and Description |
|---|
ValidateRequest() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
capacity()
Get target capacity of the App Service plan (number of VMs).
|
String |
containerImagePlatform()
Get platform (windows or linux).
|
String |
containerImageRepository()
Get repository name (image name).
|
String |
containerImageTag()
Get image tag.
|
String |
containerRegistryBaseUrl()
Get base URL of the container registry.
|
String |
containerRegistryPassword()
Get password for to access the container registry.
|
String |
containerRegistryUsername()
Get username for to access the container registry.
|
String |
hostingEnvironment()
Get name of App Service Environment where app or App Service plan should be created.
|
Boolean |
isSpot()
Get <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.
|
Boolean |
isXenon()
Get <code>true</code> if App Service plan is running as a windows container.
|
String |
location()
Get expected location of the resource.
|
String |
name()
Get resource name to verify.
|
Boolean |
needLinuxWorkers()
Get <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.
|
String |
serverFarmId()
Get aRM resource ID of an App Service plan that would host the app.
|
String |
skuName()
Get name of the target SKU for the App Service plan.
|
ValidateResourceTypes |
type()
Get resource type used for verification.
|
ValidateRequest |
withCapacity(Integer capacity)
Set target capacity of the App Service plan (number of VMs).
|
ValidateRequest |
withContainerImagePlatform(String containerImagePlatform)
Set platform (windows or linux).
|
ValidateRequest |
withContainerImageRepository(String containerImageRepository)
Set repository name (image name).
|
ValidateRequest |
withContainerImageTag(String containerImageTag)
Set image tag.
|
ValidateRequest |
withContainerRegistryBaseUrl(String containerRegistryBaseUrl)
Set base URL of the container registry.
|
ValidateRequest |
withContainerRegistryPassword(String containerRegistryPassword)
Set password for to access the container registry.
|
ValidateRequest |
withContainerRegistryUsername(String containerRegistryUsername)
Set username for to access the container registry.
|
ValidateRequest |
withHostingEnvironment(String hostingEnvironment)
Set name of App Service Environment where app or App Service plan should be created.
|
ValidateRequest |
withIsSpot(Boolean isSpot)
Set <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.
|
ValidateRequest |
withIsXenon(Boolean isXenon)
Set <code>true</code> if App Service plan is running as a windows container.
|
ValidateRequest |
withLocation(String location)
Set expected location of the resource.
|
ValidateRequest |
withName(String name)
Set resource name to verify.
|
ValidateRequest |
withNeedLinuxWorkers(Boolean needLinuxWorkers)
Set <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.
|
ValidateRequest |
withServerFarmId(String serverFarmId)
Set aRM resource ID of an App Service plan that would host the app.
|
ValidateRequest |
withSkuName(String skuName)
Set name of the target SKU for the App Service plan.
|
ValidateRequest |
withType(ValidateResourceTypes type)
Set resource type used for verification.
|
public String name()
public ValidateRequest withName(String name)
name - the name value to setpublic ValidateResourceTypes type()
public ValidateRequest withType(ValidateResourceTypes type)
type - the type value to setpublic String location()
public ValidateRequest withLocation(String location)
location - the location value to setpublic String serverFarmId()
public ValidateRequest withServerFarmId(String serverFarmId)
serverFarmId - the serverFarmId value to setpublic String skuName()
public ValidateRequest withSkuName(String skuName)
skuName - the skuName value to setpublic Boolean needLinuxWorkers()
public ValidateRequest withNeedLinuxWorkers(Boolean needLinuxWorkers)
needLinuxWorkers - the needLinuxWorkers value to setpublic Boolean isSpot()
public ValidateRequest withIsSpot(Boolean isSpot)
isSpot - the isSpot value to setpublic Integer capacity()
public ValidateRequest withCapacity(Integer capacity)
capacity - the capacity value to setpublic String hostingEnvironment()
public ValidateRequest withHostingEnvironment(String hostingEnvironment)
hostingEnvironment - the hostingEnvironment value to setpublic Boolean isXenon()
public ValidateRequest withIsXenon(Boolean isXenon)
isXenon - the isXenon value to setpublic String containerRegistryBaseUrl()
public ValidateRequest withContainerRegistryBaseUrl(String containerRegistryBaseUrl)
containerRegistryBaseUrl - the containerRegistryBaseUrl value to setpublic String containerRegistryUsername()
public ValidateRequest withContainerRegistryUsername(String containerRegistryUsername)
containerRegistryUsername - the containerRegistryUsername value to setpublic String containerRegistryPassword()
public ValidateRequest withContainerRegistryPassword(String containerRegistryPassword)
containerRegistryPassword - the containerRegistryPassword value to setpublic String containerImageRepository()
public ValidateRequest withContainerImageRepository(String containerImageRepository)
containerImageRepository - the containerImageRepository value to setpublic String containerImageTag()
public ValidateRequest withContainerImageTag(String containerImageTag)
containerImageTag - the containerImageTag value to setpublic String containerImagePlatform()
public ValidateRequest withContainerImagePlatform(String containerImagePlatform)
containerImagePlatform - the containerImagePlatform value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/