Class: Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/deployment_locations.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#hosting_environment_deployment_infosArray<HostingEnvironmentDeploymentInfo>

Environments with basic information.

Returns:



25
26
27
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/deployment_locations.rb', line 25

def hosting_environment_deployment_infos
  @hosting_environment_deployment_infos
end

#hosting_environmentsArray<AppServiceEnvironment>

Environments with full descriptions of the environments.

Returns:



21
22
23
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/deployment_locations.rb', line 21

def hosting_environments
  @hosting_environments
end

#locationsArray<GeoRegion>

Returns Available regions.

Returns:



17
18
19
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/deployment_locations.rb', line 17

def locations
  @locations
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/2018-02-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