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,96 @@
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 list ip configurations API service call.
10
+ #
11
+ class NetworkInterfaceLoadBalancerListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<LoadBalancer>] A list of load balancers.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The URL to get the next set of results.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<LoadBalancer>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [NetworkInterfaceLoadBalancerListResult] with next page
44
+ # content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for NetworkInterfaceLoadBalancerListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'NetworkInterfaceLoadBalancerListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'NetworkInterfaceLoadBalancerListResult',
66
+ model_properties: {
67
+ value: {
68
+ required: false,
69
+ serialized_name: 'value',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ required: false,
74
+ serialized_name: 'LoadBalancerElementType',
75
+ type: {
76
+ name: 'Composite',
77
+ class_name: 'LoadBalancer'
78
+ }
79
+ }
80
+ }
81
+ },
82
+ next_link: {
83
+ required: false,
84
+ read_only: true,
85
+ serialized_name: 'nextLink',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ end
94
+ end
95
+ end
96
+ end
@@ -13,6 +13,9 @@ module Azure::ARM::Network
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
+ # @return [PublicIPAddressSku] The public IP address SKU.
17
+ attr_accessor :sku
18
+
16
19
  # @return [IPAllocationMethod] The public IP allocation method. Possible
17
20
  # values are: 'Static' and 'Dynamic'. Possible values include: 'Static',
18
21
  # 'Dynamic'
@@ -22,14 +25,16 @@ module Azure::ARM::Network
22
25
  # 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6'
23
26
  attr_accessor :public_ipaddress_version
24
27
 
25
- # @return [IPConfiguration]
28
+ # @return [IPConfiguration] The IP configuration associated with the
29
+ # public IP address.
26
30
  attr_accessor :ip_configuration
27
31
 
28
32
  # @return [PublicIPAddressDnsSettings] The FQDN of the DNS record
29
33
  # associated with the public IP address.
30
34
  attr_accessor :dns_settings
31
35
 
32
- # @return [String]
36
+ # @return [String] The IP address associated with the public IP address
37
+ # resource.
33
38
  attr_accessor :ip_address
34
39
 
35
40
  # @return [Integer] The idle timeout of the public IP address.
@@ -103,6 +108,14 @@ module Azure::ARM::Network
103
108
  }
104
109
  }
105
110
  },
111
+ sku: {
112
+ required: false,
113
+ serialized_name: 'sku',
114
+ type: {
115
+ name: 'Composite',
116
+ class_name: 'PublicIPAddressSku'
117
+ }
118
+ },
106
119
  public_ipallocation_method: {
107
120
  required: false,
108
121
  serialized_name: 'properties.publicIPAllocationMethod',
@@ -0,0 +1,46 @@
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
+ # SKU of a public IP address
10
+ #
11
+ class PublicIPAddressSku
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [PublicIPAddressSkuName] Name of a public IP address SKU.
17
+ # Possible values include: 'Basic', 'Standard'
18
+ attr_accessor :name
19
+
20
+
21
+ #
22
+ # Mapper for PublicIPAddressSku class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'PublicIPAddressSku',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'PublicIPAddressSku',
32
+ model_properties: {
33
+ name: {
34
+ required: false,
35
+ serialized_name: 'name',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,16 @@
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
+ # Defines values for PublicIPAddressSkuName
10
+ #
11
+ module PublicIPAddressSkuName
12
+ Basic = "Basic"
13
+ Standard = "Standard"
14
+ end
15
+ end
16
+ end
@@ -45,9 +45,15 @@ module Azure::ARM::Network
45
45
  attr_accessor :destination_address_prefix
46
46
 
47
47
  # @return [Array<String>] The destination address prefixes. CIDR or
48
- # destination IP rangees.
48
+ # destination IP ranges.
49
49
  attr_accessor :destination_address_prefixes
50
50
 
51
+ # @return [Array<String>] The source port ranges.
52
+ attr_accessor :source_port_ranges
53
+
54
+ # @return [Array<String>] The destination port ranges.
55
+ attr_accessor :destination_port_ranges
56
+
51
57
  # @return [SecurityRuleAccess] The network traffic is allowed or denied.
52
58
  # Possible values are: 'Allow' and 'Deny'. Possible values include:
53
59
  # 'Allow', 'Deny'
@@ -167,6 +173,34 @@ module Azure::ARM::Network
167
173
  }
168
174
  }
169
175
  },
176
+ source_port_ranges: {
177
+ required: false,
178
+ serialized_name: 'properties.sourcePortRanges',
179
+ type: {
180
+ name: 'Sequence',
181
+ element: {
182
+ required: false,
183
+ serialized_name: 'StringElementType',
184
+ type: {
185
+ name: 'String'
186
+ }
187
+ }
188
+ }
189
+ },
190
+ destination_port_ranges: {
191
+ required: false,
192
+ serialized_name: 'properties.destinationPortRanges',
193
+ type: {
194
+ name: 'Sequence',
195
+ element: {
196
+ required: false,
197
+ serialized_name: 'StringElementType',
198
+ type: {
199
+ name: 'String'
200
+ }
201
+ }
202
+ }
203
+ },
170
204
  access: {
171
205
  required: true,
172
206
  serialized_name: 'properties.access',
@@ -6,14 +6,14 @@
6
6
  module Azure::ARM::Network
7
7
  module Models
8
8
  #
9
- # The private access service properties.
9
+ # The service endpoint properties.
10
10
  #
11
- class PrivateAccessServicePropertiesFormat
11
+ class ServiceEndpointPropertiesFormat
12
12
 
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
- # @return [String] The type of the private access.
16
+ # @return [String] The type of the endpoint service.
17
17
  attr_accessor :service
18
18
 
19
19
  # @return [Array<String>] A list of locations.
@@ -24,16 +24,16 @@ module Azure::ARM::Network
24
24
 
25
25
 
26
26
  #
27
- # Mapper for PrivateAccessServicePropertiesFormat class as Ruby Hash.
27
+ # Mapper for ServiceEndpointPropertiesFormat class as Ruby Hash.
28
28
  # This will be used for serialization/deserialization.
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
32
  required: false,
33
- serialized_name: 'PrivateAccessServicePropertiesFormat',
33
+ serialized_name: 'ServiceEndpointPropertiesFormat',
34
34
  type: {
35
35
  name: 'Composite',
36
- class_name: 'PrivateAccessServicePropertiesFormat',
36
+ class_name: 'ServiceEndpointPropertiesFormat',
37
37
  model_properties: {
38
38
  service: {
39
39
  required: false,
@@ -23,9 +23,9 @@ module Azure::ARM::Network
23
23
  # @return [RouteTable] The reference of the RouteTable resource.
24
24
  attr_accessor :route_table
25
25
 
26
- # @return [Array<PrivateAccessServicePropertiesFormat>] An array of
27
- # private access services values.
28
- attr_accessor :private_access_services
26
+ # @return [Array<ServiceEndpointPropertiesFormat>] An array of service
27
+ # endpoints.
28
+ attr_accessor :service_endpoints
29
29
 
30
30
  # @return [Array<IPConfiguration>] Gets an array of references to the
31
31
  # network interface IP configurations using subnet.
@@ -89,17 +89,17 @@ module Azure::ARM::Network
89
89
  class_name: 'RouteTable'
90
90
  }
91
91
  },
92
- private_access_services: {
92
+ service_endpoints: {
93
93
  required: false,
94
- serialized_name: 'properties.privateAccessServices',
94
+ serialized_name: 'properties.serviceEndpoints',
95
95
  type: {
96
96
  name: 'Sequence',
97
97
  element: {
98
98
  required: false,
99
- serialized_name: 'PrivateAccessServicePropertiesFormatElementType',
99
+ serialized_name: 'ServiceEndpointPropertiesFormatElementType',
100
100
  type: {
101
101
  name: 'Composite',
102
- class_name: 'PrivateAccessServicePropertiesFormat'
102
+ class_name: 'ServiceEndpointPropertiesFormat'
103
103
  }
104
104
  }
105
105
  }
@@ -13,6 +13,9 @@ module Azure::ARM::Network
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
+ # @return [String] Resource identifier.
17
+ attr_accessor :id
18
+
16
19
  # @return [String] An enum describing the unit of measurement. Default
17
20
  # value: 'Count' .
18
21
  attr_accessor :unit
@@ -39,6 +42,14 @@ module Azure::ARM::Network
39
42
  name: 'Composite',
40
43
  class_name: 'Usage',
41
44
  model_properties: {
45
+ id: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'id',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
42
53
  unit: {
43
54
  required: true,
44
55
  is_constant: true,
@@ -0,0 +1,46 @@
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 reference to VirtualNetworkGateway or LocalNetworkGateway resource.
10
+ #
11
+ class VirtualNetworkConnectionGatewayReference
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The ID of VirtualNetworkGateway or LocalNetworkGateway
17
+ # resource.
18
+ attr_accessor :id
19
+
20
+
21
+ #
22
+ # Mapper for VirtualNetworkConnectionGatewayReference class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'virtualNetworkConnectionGatewayReference',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'VirtualNetworkConnectionGatewayReference',
32
+ model_properties: {
33
+ id: {
34
+ required: true,
35
+ serialized_name: 'id',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -52,14 +52,6 @@ module Azure::ARM::Network
52
52
  # @return [BgpSettings] Virtual network gateway's BGP speaker settings.
53
53
  attr_accessor :bgp_settings
54
54
 
55
- # @return [String] The radius server address property of the
56
- # VirtualNetworkGateway resource for vpn client connection.
57
- attr_accessor :radius_server
58
-
59
- # @return [String] The radius secret property of the
60
- # VirtualNetworkGateway resource for vpn client connection.
61
- attr_accessor :radius_secret
62
-
63
55
  # @return [String] The resource GUID property of the
64
56
  # VirtualNetworkGateway resource.
65
57
  attr_accessor :resource_guid
@@ -204,20 +196,6 @@ module Azure::ARM::Network
204
196
  class_name: 'BgpSettings'
205
197
  }
206
198
  },
207
- radius_server: {
208
- required: false,
209
- serialized_name: 'properties.radiusServer',
210
- type: {
211
- name: 'String'
212
- }
213
- },
214
- radius_secret: {
215
- required: false,
216
- serialized_name: 'properties.radiusSecret',
217
- type: {
218
- name: 'String'
219
- }
220
- },
221
199
  resource_guid: {
222
200
  required: false,
223
201
  serialized_name: 'properties.resourceGuid',
@@ -16,13 +16,16 @@ module Azure::ARM::Network
16
16
  # @return [String] The authorizationKey.
17
17
  attr_accessor :authorization_key
18
18
 
19
- # @return [VirtualNetworkGateway]
19
+ # @return [VirtualNetworkGateway] The reference to virtual network
20
+ # gateway resource.
20
21
  attr_accessor :virtual_network_gateway1
21
22
 
22
- # @return [VirtualNetworkGateway]
23
+ # @return [VirtualNetworkGateway] The reference to virtual network
24
+ # gateway resource.
23
25
  attr_accessor :virtual_network_gateway2
24
26
 
25
- # @return [LocalNetworkGateway]
27
+ # @return [LocalNetworkGateway] The reference to local network gateway
28
+ # resource.
26
29
  attr_accessor :local_network_gateway2
27
30
 
28
31
  # @return [VirtualNetworkGatewayConnectionType] Gateway connection type.