DeploymentLocationsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.DeploymentLocationsInner

Implements

public final class DeploymentLocationsInner
implements JsonSerializable<DeploymentLocationsInner>

List of available locations (regions or App Service Environments) for deployment of App Service resources.

Constructor Summary

Constructor Description
DeploymentLocationsInner()

Creates an instance of DeploymentLocationsInner class.

Method Summary

Modifier and Type Method and Description
static DeploymentLocationsInner fromJson(JsonReader jsonReader)

Reads an instance of DeploymentLocationsInner from the JsonReader.

List<HostingEnvironmentDeploymentInfo> hostingEnvironmentDeploymentInfos()

Get the hostingEnvironmentDeploymentInfos property: Available App Service Environments with basic information.

List<AppServiceEnvironmentInner> hostingEnvironments()

Get the hostingEnvironments property: Available App Service Environments with full descriptions of the environments.

List<GeoRegionInner> locations()

Get the locations property: Available regions.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DeploymentLocationsInner withHostingEnvironmentDeploymentInfos(List<HostingEnvironmentDeploymentInfo> hostingEnvironmentDeploymentInfos)

Set the hostingEnvironmentDeploymentInfos property: Available App Service Environments with basic information.

DeploymentLocationsInner withHostingEnvironments(List<AppServiceEnvironmentInner> hostingEnvironments)

Set the hostingEnvironments property: Available App Service Environments with full descriptions of the environments.

DeploymentLocationsInner withLocations(List<GeoRegionInner> locations)

Set the locations property: Available regions.

Methods inherited from java.lang.Object

Constructor Details

DeploymentLocationsInner

public DeploymentLocationsInner()

Creates an instance of DeploymentLocationsInner class.

Method Details

fromJson

public static DeploymentLocationsInner fromJson(JsonReader jsonReader)

Reads an instance of DeploymentLocationsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeploymentLocationsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DeploymentLocationsInner.

hostingEnvironmentDeploymentInfos

public List hostingEnvironmentDeploymentInfos()

Get the hostingEnvironmentDeploymentInfos property: Available App Service Environments with basic information.

Returns:

the hostingEnvironmentDeploymentInfos value.

hostingEnvironments

public List hostingEnvironments()

Get the hostingEnvironments property: Available App Service Environments with full descriptions of the environments.

Returns:

the hostingEnvironments value.

locations

public List locations()

Get the locations property: Available regions.

Returns:

the locations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withHostingEnvironmentDeploymentInfos

public DeploymentLocationsInner withHostingEnvironmentDeploymentInfos(List hostingEnvironmentDeploymentInfos)

Set the hostingEnvironmentDeploymentInfos property: Available App Service Environments with basic information.

Parameters:

hostingEnvironmentDeploymentInfos - the hostingEnvironmentDeploymentInfos value to set.

Returns:

the DeploymentLocationsInner object itself.

withHostingEnvironments

public DeploymentLocationsInner withHostingEnvironments(List 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.

withLocations

public DeploymentLocationsInner withLocations(List locations)

Set the locations property: Available regions.

Parameters:

locations - the locations value to set.

Returns:

the DeploymentLocationsInner object itself.

Applies to