Class DeploymentLocationsInner

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.DeploymentLocationsInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<DeploymentLocationsInner>

public final class DeploymentLocationsInner extends Object implements com.azure.json.JsonSerializable<DeploymentLocationsInner>
List of available locations (regions or App Service Environments) for deployment of App Service resources.
  • Constructor Details

    • DeploymentLocationsInner

      public DeploymentLocationsInner()
      Creates an instance of DeploymentLocationsInner class.
  • Method Details

    • 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<AppServiceEnvironmentInner> hostingEnvironments()
      Get the hostingEnvironments property: Available App Service Environments with full descriptions of the environments.
      Returns:
      the hostingEnvironments value.
    • withHostingEnvironments

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DeploymentLocationsInner>
      Throws:
      IOException
    • fromJson

      public static DeploymentLocationsInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.