Class DeploymentLocationsInner
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.DeploymentLocationsInner
-
public final class DeploymentLocationsInner extends Object
List of available locations (regions or App Service Environments) for deployment of App Service resources.
-
-
Constructor Summary
Constructors Constructor Description DeploymentLocationsInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<HostingEnvironmentDeploymentInfo>hostingEnvironmentDeploymentInfos()Get the hostingEnvironmentDeploymentInfos property: Available App Service Environments with basic information.List<AppServiceEnvironment>hostingEnvironments()Get the hostingEnvironments property: Available App Service Environments with full descriptions of the environments.List<GeoRegionInner>locations()Get the locations property: Available regions.voidvalidate()Validates the instance.DeploymentLocationsInnerwithHostingEnvironmentDeploymentInfos(List<HostingEnvironmentDeploymentInfo> hostingEnvironmentDeploymentInfos)Set the hostingEnvironmentDeploymentInfos property: Available App Service Environments with basic information.DeploymentLocationsInnerwithHostingEnvironments(List<AppServiceEnvironment> hostingEnvironments)Set the hostingEnvironments property: Available App Service Environments with full descriptions of the environments.DeploymentLocationsInnerwithLocations(List<GeoRegionInner> locations)Set the locations property: Available regions.
-
-
-
Method Detail
-
locations
public List<GeoRegionInner> locations()
Get the locations property: Available regions.- Returns:
- the locations value.
-
withLocations
public DeploymentLocationsInner withLocations(List<GeoRegionInner> locations)
Set the locations property: Available regions.- Parameters:
locations- the locations value to set.- Returns:
- the DeploymentLocationsInner object itself.
-
hostingEnvironments
public List<AppServiceEnvironment> hostingEnvironments()
Get the hostingEnvironments property: Available App Service Environments with full descriptions of the environments.- Returns:
- the hostingEnvironments value.
-
withHostingEnvironments
public DeploymentLocationsInner withHostingEnvironments(List<AppServiceEnvironment> hostingEnvironments)
Set the hostingEnvironments property: Available App Service Environments with full descriptions of the environments.- Parameters:
hostingEnvironments- the hostingEnvironments value to set.- Returns:
- the DeploymentLocationsInner object itself.
-
hostingEnvironmentDeploymentInfos
public List<HostingEnvironmentDeploymentInfo> hostingEnvironmentDeploymentInfos()
Get the hostingEnvironmentDeploymentInfos property: Available App Service Environments with basic information.- Returns:
- the hostingEnvironmentDeploymentInfos value.
-
withHostingEnvironmentDeploymentInfos
public DeploymentLocationsInner withHostingEnvironmentDeploymentInfos(List<HostingEnvironmentDeploymentInfo> hostingEnvironmentDeploymentInfos)
Set the hostingEnvironmentDeploymentInfos property: Available App Service Environments with basic information.- Parameters:
hostingEnvironmentDeploymentInfos- the hostingEnvironmentDeploymentInfos value to set.- Returns:
- the DeploymentLocationsInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-