Class ValidateRequest
java.lang.Object
com.microsoft.azure.management.appservice.ValidateRequest
Resource validation request content.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get target capacity of the App Service plan (number of VMs).Get platform (windows or linux).Get repository name (image name).Get image tag.Get base URL of the container registry.Get password for to access the container registry.Get username for to access the container registry.Get name of App Service Environment where app or App Service plan should be created.isSpot()
Get <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.isXenon()
Get <code>true</code> if App Service plan is running as a windows container.location()
Get expected location of the resource.name()
Get resource name to verify.Get <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.Get aRM resource ID of an App Service plan that would host the app.skuName()
Get name of the target SKU for the App Service plan.type()
Get resource type used for verification.withCapacity
(Integer capacity) Set target capacity of the App Service plan (number of VMs).withContainerImagePlatform
(String containerImagePlatform) Set platform (windows or linux).withContainerImageRepository
(String containerImageRepository) Set repository name (image name).withContainerImageTag
(String containerImageTag) Set image tag.withContainerRegistryBaseUrl
(String containerRegistryBaseUrl) Set base URL of the container registry.withContainerRegistryPassword
(String containerRegistryPassword) Set password for to access the container registry.withContainerRegistryUsername
(String containerRegistryUsername) Set username for to access the container registry.withHostingEnvironment
(String hostingEnvironment) Set name of App Service Environment where app or App Service plan should be created.withIsSpot
(Boolean isSpot) Set <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.withIsXenon
(Boolean isXenon) Set <code>true</code> if App Service plan is running as a windows container.withLocation
(String location) Set expected location of the resource.Set resource name to verify.withNeedLinuxWorkers
(Boolean needLinuxWorkers) Set <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.withServerFarmId
(String serverFarmId) Set aRM resource ID of an App Service plan that would host the app.withSkuName
(String skuName) Set name of the target SKU for the App Service plan.Set resource type used for verification.
-
Constructor Details
-
ValidateRequest
public ValidateRequest()
-
-
Method Details
-
name
Get resource name to verify.- Returns:
- the name value
-
withName
Set resource name to verify.- Parameters:
name
- the name value to set- Returns:
- the ValidateRequest object itself.
-
type
Get resource type used for verification. Possible values include: 'ServerFarm', 'Site'.- Returns:
- the type value
-
withType
Set resource type used for verification. Possible values include: 'ServerFarm', 'Site'.- Parameters:
type
- the type value to set- Returns:
- the ValidateRequest object itself.
-
location
Get expected location of the resource.- Returns:
- the location value
-
withLocation
Set expected location of the resource.- Parameters:
location
- the location value to set- Returns:
- the ValidateRequest object itself.
-
serverFarmId
Get aRM resource ID of an App Service plan that would host the app.- Returns:
- the serverFarmId value
-
withServerFarmId
Set aRM resource ID of an App Service plan that would host the app.- Parameters:
serverFarmId
- the serverFarmId value to set- Returns:
- the ValidateRequest object itself.
-
skuName
Get name of the target SKU for the App Service plan.- Returns:
- the skuName value
-
withSkuName
Set name of the target SKU for the App Service plan.- Parameters:
skuName
- the skuName value to set- Returns:
- the ValidateRequest object itself.
-
needLinuxWorkers
Get <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.- Returns:
- the needLinuxWorkers value
-
withNeedLinuxWorkers
Set <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.- Parameters:
needLinuxWorkers
- the needLinuxWorkers value to set- Returns:
- the ValidateRequest object itself.
-
isSpot
Get <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.- Returns:
- the isSpot value
-
withIsSpot
Set <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.- Parameters:
isSpot
- the isSpot value to set- Returns:
- the ValidateRequest object itself.
-
capacity
Get target capacity of the App Service plan (number of VMs).- Returns:
- the capacity value
-
withCapacity
Set target capacity of the App Service plan (number of VMs).- Parameters:
capacity
- the capacity value to set- Returns:
- the ValidateRequest object itself.
-
hostingEnvironment
Get name of App Service Environment where app or App Service plan should be created.- Returns:
- the hostingEnvironment value
-
withHostingEnvironment
Set name of App Service Environment where app or App Service plan should be created.- Parameters:
hostingEnvironment
- the hostingEnvironment value to set- Returns:
- the ValidateRequest object itself.
-
isXenon
Get <code>true</code> if App Service plan is running as a windows container.- Returns:
- the isXenon value
-
withIsXenon
Set <code>true</code> if App Service plan is running as a windows container.- Parameters:
isXenon
- the isXenon value to set- Returns:
- the ValidateRequest object itself.
-
containerRegistryBaseUrl
Get base URL of the container registry.- Returns:
- the containerRegistryBaseUrl value
-
withContainerRegistryBaseUrl
Set base URL of the container registry.- Parameters:
containerRegistryBaseUrl
- the containerRegistryBaseUrl value to set- Returns:
- the ValidateRequest object itself.
-
containerRegistryUsername
Get username for to access the container registry.- Returns:
- the containerRegistryUsername value
-
withContainerRegistryUsername
Set username for to access the container registry.- Parameters:
containerRegistryUsername
- the containerRegistryUsername value to set- Returns:
- the ValidateRequest object itself.
-
containerRegistryPassword
Get password for to access the container registry.- Returns:
- the containerRegistryPassword value
-
withContainerRegistryPassword
Set password for to access the container registry.- Parameters:
containerRegistryPassword
- the containerRegistryPassword value to set- Returns:
- the ValidateRequest object itself.
-
containerImageRepository
Get repository name (image name).- Returns:
- the containerImageRepository value
-
withContainerImageRepository
Set repository name (image name).- Parameters:
containerImageRepository
- the containerImageRepository value to set- Returns:
- the ValidateRequest object itself.
-
containerImageTag
Get image tag.- Returns:
- the containerImageTag value
-
withContainerImageTag
Set image tag.- Parameters:
containerImageTag
- the containerImageTag value to set- Returns:
- the ValidateRequest object itself.
-
containerImagePlatform
Get platform (windows or linux).- Returns:
- the containerImagePlatform value
-
withContainerImagePlatform
Set platform (windows or linux).- Parameters:
containerImagePlatform
- the containerImagePlatform value to set- Returns:
- the ValidateRequest object itself.
-