# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Web::Mgmt::V2018_02_01 module Models # # List of available locations (regions or App Service Environments) for # deployment of App Service resources. # class DeploymentLocations include MsRestAzure # @return [Array] Available regions. attr_accessor :locations # @return [Array] Available App Service # Environments with full descriptions of the environments. attr_accessor :hosting_environments # @return [Array] Available App Service # Environments with basic information. attr_accessor :hosting_environment_deployment_infos # # Mapper for DeploymentLocations class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end