class Azure::Web::Mgmt::V2020_09_01::Models::DeploymentLocations

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

Attributes

hosting_environment_deployment_infos[RW]

@return [Array<HostingEnvironmentDeploymentInfo>] Available App Service Environments with basic information.

hosting_environments[RW]

@return [Array<AppServiceEnvironment>] Available App Service Environments with full descriptions of the environments.

locations[RW]

@return [Array<GeoRegion>] Available regions.

Private Class Methods

mapper() click to toggle source

Mapper for DeploymentLocations class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-09-01/generated/azure_mgmt_web/models/deployment_locations.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeploymentLocations',
    type: {
      name: 'Composite',
      class_name: 'DeploymentLocations',
      model_properties: {
        locations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'locations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'GeoRegionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'GeoRegion'
                }
            }
          }
        },
        hosting_environments: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hostingEnvironments',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AppServiceEnvironmentElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AppServiceEnvironment'
                }
            }
          }
        },
        hosting_environment_deployment_infos: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hostingEnvironmentDeploymentInfos',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HostingEnvironmentDeploymentInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HostingEnvironmentDeploymentInfo'
                }
            }
          }
        }
      }
    }
  }
end