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 | 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 | 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 setCopyright © 2019. All rights reserved.