Class: Azure::Network::Mgmt::V2019_11_01::Models::VirtualHub

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb

Overview

VirtualHub Resource.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#address_prefixString

Returns Address-prefix for this VirtualHub.

Returns:

  • (String)

    Address-prefix for this VirtualHub.


38
39
40
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 38

def address_prefix
  @address_prefix
end

#azure_firewallSubResource

VirtualHub.

Returns:

  • (SubResource)

    The azureFirewall associated with this


31
32
33
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 31

def azure_firewall
  @azure_firewall
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


61
62
63
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 61

def etag
  @etag
end

#express_route_gatewaySubResource

VirtualHub.

Returns:

  • (SubResource)

    The expressRouteGateway associated with this


27
28
29
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 27

def express_route_gateway
  @express_route_gateway
end

#p2svpn_gatewaySubResource

VirtualHub.

Returns:

  • (SubResource)

    The P2SVpnGateway associated with this


23
24
25
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 23

def p2svpn_gateway
  @p2svpn_gateway
end

#provisioning_stateProvisioningState

resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Returns:


47
48
49
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 47

def provisioning_state
  @provisioning_state
end

#route_tableVirtualHubRouteTable

virtual hub.

Returns:


42
43
44
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 42

def route_table
  @route_table
end

#security_provider_nameString

Returns The Security Provider name.

Returns:

  • (String)

    The Security Provider name.


50
51
52
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 50

def security_provider_name
  @security_provider_name
end

#skuString

Returns The sku of this VirtualHub.

Returns:

  • (String)

    The sku of this VirtualHub.


57
58
59
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 57

def sku
  @sku
end

#virtual_hub_route_table_v2sArray<VirtualHubRouteTableV2>

table v2s associated with this VirtualHub.

Returns:


54
55
56
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 54

def virtual_hub_route_table_v2s
  @virtual_hub_route_table_v2s
end

#virtual_network_connectionsArray<HubVirtualNetworkConnection>

connections with this VirtualHub.

Returns:


35
36
37
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 35

def virtual_network_connections
  @virtual_network_connections
end

#virtual_wanSubResource

Returns The VirtualWAN to which the VirtualHub belongs.

Returns:

  • (SubResource)

    The VirtualWAN to which the VirtualHub belongs.


16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 16

def virtual_wan
  @virtual_wan
end

#vpn_gatewaySubResource

Returns The VpnGateway associated with this VirtualHub.

Returns:

  • (SubResource)

    The VpnGateway associated with this VirtualHub.


19
20
21
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 19

def vpn_gateway
  @vpn_gateway
end

Class Method Details

.mapperObject

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


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
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/virtual_hub.rb', line 68

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualHub',
    type: {
      name: 'Composite',
      class_name: 'VirtualHub',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        virtual_wan: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.virtualWan',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        vpn_gateway: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnGateway',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        p2svpn_gateway: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnGateway',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        express_route_gateway: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.expressRouteGateway',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        azure_firewall: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.azureFirewall',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        virtual_network_connections: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.virtualNetworkConnections',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HubVirtualNetworkConnectionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HubVirtualNetworkConnection'
                }
            }
          }
        },
        address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.addressPrefix',
          type: {
            name: 'String'
          }
        },
        route_table: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routeTable',
          type: {
            name: 'Composite',
            class_name: 'VirtualHubRouteTable'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        security_provider_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.securityProviderName',
          type: {
            name: 'String'
          }
        },
        virtual_hub_route_table_v2s: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.virtualHubRouteTableV2s',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VirtualHubRouteTableV2ElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VirtualHubRouteTableV2'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sku',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end