Class: Azure::ARM::Web::Models::ManagedHostingEnvironment

Inherits:
MsRestAzure::Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb

Overview

Description of a managed hosting environment

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#api_management_accountString

with this managed hosting environment (read only)

Returns:

  • (String)

    Resource id of the api management account associated



62
63
64
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 62

def 
  @api_management_account
end

#dns_suffixString

Returns DNS suffix of the managed hosting environment.

Returns:

  • (String)

    DNS suffix of the managed hosting environment



36
37
38
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 36

def dns_suffix
  @dns_suffix
end

#environment_is_healthyBoolean

environment is healthy

Returns:

  • (Boolean)

    True/false indicating whether the managed hosting



48
49
50
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 48

def environment_is_healthy
  @environment_is_healthy
end

#environment_statusString

of the managed hosting environment

Returns:

  • (String)

    Detailed message about with results of the last check



52
53
54
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 52

def environment_status
  @environment_status
end

#ipssl_address_countInteger

hosting environment

Returns:

  • (Integer)

    Number of ip ssl addresses reserved for the managed



33
34
35
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 33

def ipssl_address_count
  @ipssl_address_count
end

#managed_hosting_environment_locationString

“West US”

Returns:

  • (String)

    Location of the managed hosting environment e.g.



20
21
22
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 20

def managed_hosting_environment_location
  @managed_hosting_environment_location
end

#managed_hosting_environment_nameString

Returns Name of the managed hosting environment.

Returns:

  • (String)

    Name of the managed hosting environment



16
17
18
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 16

def managed_hosting_environment_name
  @managed_hosting_environment_name
end

#resource_groupString

(read only)

Returns:

  • (String)

    Resource group of the managed hosting environment



44
45
46
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 44

def resource_group
  @resource_group
end

#statusManagedHostingEnvironmentStatus

managed hosting environment. Possible values include: ‘Preparing’, ‘Ready’, ‘Deleting’

Returns:



25
26
27
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 25

def status
  @status
end

#subscription_idString

only)

Returns:

  • (String)

    Subscription of the managed hosting environment (read



40
41
42
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 40

def subscription_id
  @subscription_id
end

#suspendedBoolean

environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic)

Returns:

  • (Boolean)

    True/false indicating whether the managed hosting



58
59
60
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 58

def suspended
  @suspended
end

#virtual_networkVirtualNetworkProfile

environment’s virtual network

Returns:



29
30
31
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 29

def virtual_network
  @virtual_network
end

Class Method Details

.mapperObject

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



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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# File 'lib/generated/azure_mgmt_web/models/managed_hosting_environment.rb', line 69

def self.mapper()
  {
    required: false,
    serialized_name: 'ManagedHostingEnvironment',
    type: {
      name: 'Composite',
      class_name: 'ManagedHostingEnvironment',
      model_properties: {
        id: {
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        location: {
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        managed_hosting_environment_name: {
          required: false,
          serialized_name: 'properties.name',
          type: {
            name: 'String'
          }
        },
        managed_hosting_environment_location: {
          required: false,
          serialized_name: 'properties.location',
          type: {
            name: 'String'
          }
        },
        status: {
          required: false,
          serialized_name: 'properties.status',
          type: {
            name: 'Enum',
            module: 'ManagedHostingEnvironmentStatus'
          }
        },
        virtual_network: {
          required: false,
          serialized_name: 'properties.virtualNetwork',
          type: {
            name: 'Composite',
            class_name: 'VirtualNetworkProfile'
          }
        },
        ipssl_address_count: {
          required: false,
          serialized_name: 'properties.ipsslAddressCount',
          type: {
            name: 'Number'
          }
        },
        dns_suffix: {
          required: false,
          serialized_name: 'properties.dnsSuffix',
          type: {
            name: 'String'
          }
        },
        subscription_id: {
          required: false,
          serialized_name: 'properties.subscriptionId',
          type: {
            name: 'String'
          }
        },
        resource_group: {
          required: false,
          serialized_name: 'properties.resourceGroup',
          type: {
            name: 'String'
          }
        },
        environment_is_healthy: {
          required: false,
          serialized_name: 'properties.environmentIsHealthy',
          type: {
            name: 'Boolean'
          }
        },
        environment_status: {
          required: false,
          serialized_name: 'properties.environmentStatus',
          type: {
            name: 'String'
          }
        },
        suspended: {
          required: false,
          serialized_name: 'properties.suspended',
          type: {
            name: 'Boolean'
          }
        },
        api_management_account: {
          required: false,
          serialized_name: 'properties.apiManagementAccount',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end