azure_mgmt_network 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +91 -67
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +12 -12
  4. data/lib/generated/azure_mgmt_network/{available_private_access_services.rb → available_endpoint_services.rb} +21 -25
  5. data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +1 -1
  6. data/lib/generated/azure_mgmt_network/default_security_rules.rb +330 -0
  7. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +4 -4
  8. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +4 -4
  9. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +10 -10
  10. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +1 -1
  11. data/lib/generated/azure_mgmt_network/inbound_nat_rules.rb +616 -0
  12. data/lib/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +323 -0
  13. data/lib/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +323 -0
  14. data/lib/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +320 -0
  15. data/lib/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +225 -0
  16. data/lib/generated/azure_mgmt_network/load_balancer_probes.rb +320 -0
  17. data/lib/generated/azure_mgmt_network/load_balancers.rb +5 -5
  18. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +4 -4
  19. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +2 -1
  20. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +1 -0
  21. data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +3 -3
  22. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +1 -0
  23. data/lib/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  24. data/lib/generated/azure_mgmt_network/models/{private_access_service_result.rb → endpoint_service_result.rb} +7 -7
  25. data/lib/generated/azure_mgmt_network/models/{private_access_services_list_result.rb → endpoint_services_list_result.rb} +11 -11
  26. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +1 -1
  27. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +96 -0
  28. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +1 -1
  29. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +11 -0
  30. data/lib/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +97 -0
  31. data/lib/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +98 -0
  32. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +1 -0
  33. data/lib/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +97 -0
  34. data/lib/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +95 -0
  35. data/lib/generated/azure_mgmt_network/models/load_balancer_sku.rb +46 -0
  36. data/lib/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  37. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +13 -1
  38. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +1 -0
  39. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +7 -4
  40. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +98 -0
  41. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +1 -0
  42. data/lib/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +96 -0
  43. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +15 -2
  44. data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +46 -0
  45. data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  46. data/lib/generated/azure_mgmt_network/models/security_rule.rb +35 -1
  47. data/lib/generated/azure_mgmt_network/models/{private_access_service_properties_format.rb → service_endpoint_properties_format.rb} +6 -6
  48. data/lib/generated/azure_mgmt_network/models/subnet.rb +7 -7
  49. data/lib/generated/azure_mgmt_network/models/usage.rb +11 -0
  50. data/lib/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +46 -0
  51. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +0 -22
  52. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +6 -3
  53. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +300 -0
  54. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +1 -0
  55. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +100 -0
  56. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +1 -0
  57. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +22 -0
  58. data/lib/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +320 -0
  59. data/lib/generated/azure_mgmt_network/network_interface_load_balancers.rb +225 -0
  60. data/lib/generated/azure_mgmt_network/network_interfaces.rb +7 -7
  61. data/lib/generated/azure_mgmt_network/network_management_client.rb +55 -12
  62. data/lib/generated/azure_mgmt_network/network_security_groups.rb +5 -5
  63. data/lib/generated/azure_mgmt_network/network_watchers.rb +14 -14
  64. data/lib/generated/azure_mgmt_network/packet_captures.rb +6 -6
  65. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +5 -5
  66. data/lib/generated/azure_mgmt_network/route_filter_rules.rb +5 -5
  67. data/lib/generated/azure_mgmt_network/route_filters.rb +6 -6
  68. data/lib/generated/azure_mgmt_network/route_tables.rb +5 -5
  69. data/lib/generated/azure_mgmt_network/routes.rb +4 -4
  70. data/lib/generated/azure_mgmt_network/security_rules.rb +4 -4
  71. data/lib/generated/azure_mgmt_network/subnets.rb +4 -4
  72. data/lib/generated/azure_mgmt_network/usages.rb +8 -8
  73. data/lib/generated/azure_mgmt_network/version.rb +1 -1
  74. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +7 -7
  75. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +373 -11
  76. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +4 -4
  77. data/lib/generated/azure_mgmt_network/virtual_networks.rb +7 -7
  78. metadata +32 -8
@@ -0,0 +1,300 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # A common class for general resource information
10
+ #
11
+ class VirtualNetworkGatewayConnectionListEntity < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The authorizationKey.
17
+ attr_accessor :authorization_key
18
+
19
+ # @return [VirtualNetworkConnectionGatewayReference] The reference to
20
+ # virtual network gateway resource.
21
+ attr_accessor :virtual_network_gateway1
22
+
23
+ # @return [VirtualNetworkConnectionGatewayReference] The reference to
24
+ # virtual network gateway resource.
25
+ attr_accessor :virtual_network_gateway2
26
+
27
+ # @return [VirtualNetworkConnectionGatewayReference] The reference to
28
+ # local network gateway resource.
29
+ attr_accessor :local_network_gateway2
30
+
31
+ # @return [VirtualNetworkGatewayConnectionType] Gateway connection type.
32
+ # Possible values are: 'Ipsec','Vnet2Vnet','ExpressRoute', and
33
+ # 'VPNClient. Possible values include: 'IPsec', 'Vnet2Vnet',
34
+ # 'ExpressRoute', 'VPNClient'
35
+ attr_accessor :connection_type
36
+
37
+ # @return [Integer] The routing weight.
38
+ attr_accessor :routing_weight
39
+
40
+ # @return [String] The IPSec shared key.
41
+ attr_accessor :shared_key
42
+
43
+ # @return [VirtualNetworkGatewayConnectionStatus] Virtual network Gateway
44
+ # connection status. Possible values are 'Unknown', 'Connecting',
45
+ # 'Connected' and 'NotConnected'. Possible values include: 'Unknown',
46
+ # 'Connecting', 'Connected', 'NotConnected'
47
+ attr_accessor :connection_status
48
+
49
+ # @return [Array<TunnelConnectionHealth>] Collection of all tunnels'
50
+ # connection health status.
51
+ attr_accessor :tunnel_connection_status
52
+
53
+ # @return [Integer] The egress bytes transferred in this connection.
54
+ attr_accessor :egress_bytes_transferred
55
+
56
+ # @return [Integer] The ingress bytes transferred in this connection.
57
+ attr_accessor :ingress_bytes_transferred
58
+
59
+ # @return [SubResource] The reference to peerings resource.
60
+ attr_accessor :peer
61
+
62
+ # @return [Boolean] EnableBgp flag
63
+ attr_accessor :enable_bgp
64
+
65
+ # @return [Boolean] Enable policy-based traffic selectors.
66
+ attr_accessor :use_policy_based_traffic_selectors
67
+
68
+ # @return [Array<IpsecPolicy>] The IPSec Policies to be considered by
69
+ # this connection.
70
+ attr_accessor :ipsec_policies
71
+
72
+ # @return [String] The resource GUID property of the
73
+ # VirtualNetworkGatewayConnection resource.
74
+ attr_accessor :resource_guid
75
+
76
+ # @return [String] The provisioning state of the
77
+ # VirtualNetworkGatewayConnection resource. Possible values are:
78
+ # 'Updating', 'Deleting', and 'Failed'.
79
+ attr_accessor :provisioning_state
80
+
81
+ # @return [String] Gets a unique read-only string that changes whenever
82
+ # the resource is updated.
83
+ attr_accessor :etag
84
+
85
+
86
+ #
87
+ # Mapper for VirtualNetworkGatewayConnectionListEntity class as Ruby
88
+ # Hash.
89
+ # This will be used for serialization/deserialization.
90
+ #
91
+ def self.mapper()
92
+ {
93
+ required: false,
94
+ serialized_name: 'VirtualNetworkGatewayConnectionListEntity',
95
+ type: {
96
+ name: 'Composite',
97
+ class_name: 'VirtualNetworkGatewayConnectionListEntity',
98
+ model_properties: {
99
+ id: {
100
+ required: false,
101
+ serialized_name: 'id',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ name: {
107
+ required: false,
108
+ read_only: true,
109
+ serialized_name: 'name',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ type: {
115
+ required: false,
116
+ read_only: true,
117
+ serialized_name: 'type',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
122
+ location: {
123
+ required: false,
124
+ serialized_name: 'location',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ tags: {
130
+ required: false,
131
+ serialized_name: 'tags',
132
+ type: {
133
+ name: 'Dictionary',
134
+ value: {
135
+ required: false,
136
+ serialized_name: 'StringElementType',
137
+ type: {
138
+ name: 'String'
139
+ }
140
+ }
141
+ }
142
+ },
143
+ authorization_key: {
144
+ required: false,
145
+ serialized_name: 'properties.authorizationKey',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ },
150
+ virtual_network_gateway1: {
151
+ required: true,
152
+ serialized_name: 'properties.virtualNetworkGateway1',
153
+ type: {
154
+ name: 'Composite',
155
+ class_name: 'VirtualNetworkConnectionGatewayReference'
156
+ }
157
+ },
158
+ virtual_network_gateway2: {
159
+ required: false,
160
+ serialized_name: 'properties.virtualNetworkGateway2',
161
+ type: {
162
+ name: 'Composite',
163
+ class_name: 'VirtualNetworkConnectionGatewayReference'
164
+ }
165
+ },
166
+ local_network_gateway2: {
167
+ required: false,
168
+ serialized_name: 'properties.localNetworkGateway2',
169
+ type: {
170
+ name: 'Composite',
171
+ class_name: 'VirtualNetworkConnectionGatewayReference'
172
+ }
173
+ },
174
+ connection_type: {
175
+ required: true,
176
+ serialized_name: 'properties.connectionType',
177
+ type: {
178
+ name: 'String'
179
+ }
180
+ },
181
+ routing_weight: {
182
+ required: false,
183
+ serialized_name: 'properties.routingWeight',
184
+ type: {
185
+ name: 'Number'
186
+ }
187
+ },
188
+ shared_key: {
189
+ required: false,
190
+ serialized_name: 'properties.sharedKey',
191
+ type: {
192
+ name: 'String'
193
+ }
194
+ },
195
+ connection_status: {
196
+ required: false,
197
+ read_only: true,
198
+ serialized_name: 'properties.connectionStatus',
199
+ type: {
200
+ name: 'String'
201
+ }
202
+ },
203
+ tunnel_connection_status: {
204
+ required: false,
205
+ read_only: true,
206
+ serialized_name: 'properties.tunnelConnectionStatus',
207
+ type: {
208
+ name: 'Sequence',
209
+ element: {
210
+ required: false,
211
+ serialized_name: 'TunnelConnectionHealthElementType',
212
+ type: {
213
+ name: 'Composite',
214
+ class_name: 'TunnelConnectionHealth'
215
+ }
216
+ }
217
+ }
218
+ },
219
+ egress_bytes_transferred: {
220
+ required: false,
221
+ read_only: true,
222
+ serialized_name: 'properties.egressBytesTransferred',
223
+ type: {
224
+ name: 'Number'
225
+ }
226
+ },
227
+ ingress_bytes_transferred: {
228
+ required: false,
229
+ read_only: true,
230
+ serialized_name: 'properties.ingressBytesTransferred',
231
+ type: {
232
+ name: 'Number'
233
+ }
234
+ },
235
+ peer: {
236
+ required: false,
237
+ serialized_name: 'properties.peer',
238
+ type: {
239
+ name: 'Composite',
240
+ class_name: 'SubResource'
241
+ }
242
+ },
243
+ enable_bgp: {
244
+ required: false,
245
+ serialized_name: 'properties.enableBgp',
246
+ type: {
247
+ name: 'Boolean'
248
+ }
249
+ },
250
+ use_policy_based_traffic_selectors: {
251
+ required: false,
252
+ serialized_name: 'properties.usePolicyBasedTrafficSelectors',
253
+ type: {
254
+ name: 'Boolean'
255
+ }
256
+ },
257
+ ipsec_policies: {
258
+ required: false,
259
+ serialized_name: 'properties.ipsecPolicies',
260
+ type: {
261
+ name: 'Sequence',
262
+ element: {
263
+ required: false,
264
+ serialized_name: 'IpsecPolicyElementType',
265
+ type: {
266
+ name: 'Composite',
267
+ class_name: 'IpsecPolicy'
268
+ }
269
+ }
270
+ }
271
+ },
272
+ resource_guid: {
273
+ required: false,
274
+ serialized_name: 'properties.resourceGuid',
275
+ type: {
276
+ name: 'String'
277
+ }
278
+ },
279
+ provisioning_state: {
280
+ required: false,
281
+ read_only: true,
282
+ serialized_name: 'properties.provisioningState',
283
+ type: {
284
+ name: 'String'
285
+ }
286
+ },
287
+ etag: {
288
+ required: false,
289
+ serialized_name: 'etag',
290
+ type: {
291
+ name: 'String'
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ end
298
+ end
299
+ end
300
+ end
@@ -84,6 +84,7 @@ module Azure::ARM::Network
84
84
  },
85
85
  next_link: {
86
86
  required: false,
87
+ read_only: true,
87
88
  serialized_name: 'nextLink',
88
89
  type: {
89
90
  name: 'String'
@@ -0,0 +1,100 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # Response for the VirtualNetworkGatewayListConnections API service call
10
+ #
11
+ class VirtualNetworkGatewayListConnectionsResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<VirtualNetworkGatewayConnectionListEntity>] Gets a list
17
+ # of VirtualNetworkGatewayConnection resources that exists in a resource
18
+ # group.
19
+ attr_accessor :value
20
+
21
+ # @return [String] The URL to get the next set of results.
22
+ attr_accessor :next_link
23
+
24
+ # return [Proc] with next page method call.
25
+ attr_accessor :next_method
26
+
27
+ #
28
+ # Gets the rest of the items for the request, enabling auto-pagination.
29
+ #
30
+ # @return [Array<VirtualNetworkGatewayConnectionListEntity>] operation
31
+ # results.
32
+ #
33
+ def get_all_items
34
+ items = @value
35
+ page = self
36
+ while page.next_link != nil do
37
+ page = page.get_next_page
38
+ items.concat(page.value)
39
+ end
40
+ items
41
+ end
42
+
43
+ #
44
+ # Gets the next page of results.
45
+ #
46
+ # @return [VirtualNetworkGatewayListConnectionsResult] with next page
47
+ # content.
48
+ #
49
+ def get_next_page
50
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
51
+ unless response.nil?
52
+ @next_link = response.body.next_link
53
+ @value = response.body.value
54
+ self
55
+ end
56
+ end
57
+
58
+ #
59
+ # Mapper for VirtualNetworkGatewayListConnectionsResult class as Ruby
60
+ # Hash.
61
+ # This will be used for serialization/deserialization.
62
+ #
63
+ def self.mapper()
64
+ {
65
+ required: false,
66
+ serialized_name: 'VirtualNetworkGatewayListConnectionsResult',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'VirtualNetworkGatewayListConnectionsResult',
70
+ model_properties: {
71
+ value: {
72
+ required: false,
73
+ serialized_name: 'value',
74
+ type: {
75
+ name: 'Sequence',
76
+ element: {
77
+ required: false,
78
+ serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'VirtualNetworkGatewayConnectionListEntity'
82
+ }
83
+ }
84
+ }
85
+ },
86
+ next_link: {
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -81,6 +81,7 @@ module Azure::ARM::Network
81
81
  },
82
82
  next_link: {
83
83
  required: false,
84
+ read_only: true,
84
85
  serialized_name: 'nextLink',
85
86
  type: {
86
87
  name: 'String'
@@ -29,6 +29,14 @@ module Azure::ARM::Network
29
29
  # network gateway.
30
30
  attr_accessor :vpn_client_protocols
31
31
 
32
+ # @return [String] The radius server address property of the
33
+ # VirtualNetworkGateway resource for vpn client connection.
34
+ attr_accessor :radius_server_address
35
+
36
+ # @return [String] The radius secret property of the
37
+ # VirtualNetworkGateway resource for vpn client connection.
38
+ attr_accessor :radius_server_secret
39
+
32
40
 
33
41
  #
34
42
  # Mapper for VpnClientConfiguration class as Ruby Hash.
@@ -93,6 +101,20 @@ module Azure::ARM::Network
93
101
  }
94
102
  }
95
103
  }
104
+ },
105
+ radius_server_address: {
106
+ required: false,
107
+ serialized_name: 'radiusServerAddress',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ radius_server_secret: {
113
+ required: false,
114
+ serialized_name: 'radiusServerSecret',
115
+ type: {
116
+ name: 'String'
117
+ }
96
118
  }
97
119
  }
98
120
  }