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.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_network.rb +91 -67
- data/lib/generated/azure_mgmt_network/application_gateways.rb +12 -12
- data/lib/generated/azure_mgmt_network/{available_private_access_services.rb → available_endpoint_services.rb} +21 -25
- data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +1 -1
- data/lib/generated/azure_mgmt_network/default_security_rules.rb +330 -0
- data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +4 -4
- data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +4 -4
- data/lib/generated/azure_mgmt_network/express_route_circuits.rb +10 -10
- data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +1 -1
- data/lib/generated/azure_mgmt_network/inbound_nat_rules.rb +616 -0
- data/lib/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +323 -0
- data/lib/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +323 -0
- data/lib/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +320 -0
- data/lib/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +225 -0
- data/lib/generated/azure_mgmt_network/load_balancer_probes.rb +320 -0
- data/lib/generated/azure_mgmt_network/load_balancers.rb +5 -5
- data/lib/generated/azure_mgmt_network/local_network_gateways.rb +4 -4
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +2 -1
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +3 -3
- data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
- data/lib/generated/azure_mgmt_network/models/{private_access_service_result.rb → endpoint_service_result.rb} +7 -7
- data/lib/generated/azure_mgmt_network/models/{private_access_services_list_result.rb → endpoint_services_list_result.rb} +11 -11
- data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer.rb +11 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +98 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer_sku.rb +46 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
- data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +13 -1
- data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +7 -4
- data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +98 -0
- data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +15 -2
- data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +46 -0
- data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
- data/lib/generated/azure_mgmt_network/models/security_rule.rb +35 -1
- data/lib/generated/azure_mgmt_network/models/{private_access_service_properties_format.rb → service_endpoint_properties_format.rb} +6 -6
- data/lib/generated/azure_mgmt_network/models/subnet.rb +7 -7
- data/lib/generated/azure_mgmt_network/models/usage.rb +11 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +46 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +0 -22
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +6 -3
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +300 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +100 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +22 -0
- data/lib/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +320 -0
- data/lib/generated/azure_mgmt_network/network_interface_load_balancers.rb +225 -0
- data/lib/generated/azure_mgmt_network/network_interfaces.rb +7 -7
- data/lib/generated/azure_mgmt_network/network_management_client.rb +55 -12
- data/lib/generated/azure_mgmt_network/network_security_groups.rb +5 -5
- data/lib/generated/azure_mgmt_network/network_watchers.rb +14 -14
- data/lib/generated/azure_mgmt_network/packet_captures.rb +6 -6
- data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +5 -5
- data/lib/generated/azure_mgmt_network/route_filter_rules.rb +5 -5
- data/lib/generated/azure_mgmt_network/route_filters.rb +6 -6
- data/lib/generated/azure_mgmt_network/route_tables.rb +5 -5
- data/lib/generated/azure_mgmt_network/routes.rb +4 -4
- data/lib/generated/azure_mgmt_network/security_rules.rb +4 -4
- data/lib/generated/azure_mgmt_network/subnets.rb +4 -4
- data/lib/generated/azure_mgmt_network/usages.rb +8 -8
- data/lib/generated/azure_mgmt_network/version.rb +1 -1
- data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +7 -7
- data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +373 -11
- data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +4 -4
- data/lib/generated/azure_mgmt_network/virtual_networks.rb +7 -7
- metadata +32 -8
@@ -0,0 +1,97 @@
|
|
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 ListLoadBalancingRule API service call.
|
10
|
+
#
|
11
|
+
class LoadBalancerLoadBalancingRuleListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<LoadBalancingRule>] A list of load balancing rules in a
|
17
|
+
# load balancer.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URL to get the next set of results.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<LoadBalancingRule>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [LoadBalancerLoadBalancingRuleListResult] with next page
|
45
|
+
# content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for LoadBalancerLoadBalancingRuleListResult class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'LoadBalancerLoadBalancingRuleListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'LoadBalancerLoadBalancingRuleListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'value',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'LoadBalancingRuleElementType',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'LoadBalancingRule'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
next_link: {
|
84
|
+
required: false,
|
85
|
+
read_only: true,
|
86
|
+
serialized_name: 'nextLink',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,95 @@
|
|
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 ListProbe API service call.
|
10
|
+
#
|
11
|
+
class LoadBalancerProbeListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Probe>] A list of probes in a load balancer.
|
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<Probe>] 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 [LoadBalancerProbeListResult] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for LoadBalancerProbeListResult class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'LoadBalancerProbeListResult',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'LoadBalancerProbeListResult',
|
65
|
+
model_properties: {
|
66
|
+
value: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'value',
|
69
|
+
type: {
|
70
|
+
name: 'Sequence',
|
71
|
+
element: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'ProbeElementType',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'Probe'
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
},
|
81
|
+
next_link: {
|
82
|
+
required: false,
|
83
|
+
read_only: true,
|
84
|
+
serialized_name: 'nextLink',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -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 load balancer
|
10
|
+
#
|
11
|
+
class LoadBalancerSku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [LoadBalancerSkuName] Name of a load balancer SKU. Possible
|
17
|
+
# values include: 'Basic', 'Standard'
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for LoadBalancerSku class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'LoadBalancerSku',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'LoadBalancerSku',
|
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 LoadBalancerSkuName
|
10
|
+
#
|
11
|
+
module LoadBalancerSkuName
|
12
|
+
Basic = "Basic"
|
13
|
+
Standard = "Standard"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ARM::Network
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# A
|
9
|
+
# A load balancing rule for a load balancer.
|
10
10
|
#
|
11
11
|
class LoadBalancingRule < MsRestAzure::SubResource
|
12
12
|
|
@@ -55,6 +55,11 @@ module Azure::ARM::Network
|
|
55
55
|
# changed after you create the endpoint.
|
56
56
|
attr_accessor :enable_floating_ip
|
57
57
|
|
58
|
+
# @return [Boolean] Configures SNAT for the VMs in the backend pool to
|
59
|
+
# use the publicIP address specified in the frontend of the load
|
60
|
+
# balancing rule.
|
61
|
+
attr_accessor :disable_outbound_snat
|
62
|
+
|
58
63
|
# @return [String] Gets the provisioning state of the PublicIP resource.
|
59
64
|
# Possible values are: 'Updating', 'Deleting', and 'Failed'.
|
60
65
|
attr_accessor :provisioning_state
|
@@ -153,6 +158,13 @@ module Azure::ARM::Network
|
|
153
158
|
name: 'Boolean'
|
154
159
|
}
|
155
160
|
},
|
161
|
+
disable_outbound_snat: {
|
162
|
+
required: false,
|
163
|
+
serialized_name: 'properties.disableOutboundSnat',
|
164
|
+
type: {
|
165
|
+
name: 'Boolean'
|
166
|
+
}
|
167
|
+
},
|
156
168
|
provisioning_state: {
|
157
169
|
required: false,
|
158
170
|
serialized_name: 'properties.provisioningState',
|
@@ -25,7 +25,7 @@ module Azure::ARM::Network
|
|
25
25
|
# LoadBalancerInboundNatRules.
|
26
26
|
attr_accessor :load_balancer_inbound_nat_rules
|
27
27
|
|
28
|
-
# @return [String]
|
28
|
+
# @return [String] Private IP address of the IP configuration.
|
29
29
|
attr_accessor :private_ipaddress
|
30
30
|
|
31
31
|
# @return [IPAllocationMethod] Defines how a private IP address is
|
@@ -39,17 +39,20 @@ module Azure::ARM::Network
|
|
39
39
|
# Possible values include: 'IPv4', 'IPv6'
|
40
40
|
attr_accessor :private_ipaddress_version
|
41
41
|
|
42
|
-
# @return [Subnet]
|
42
|
+
# @return [Subnet] Subnet bound to the IP configuration.
|
43
43
|
attr_accessor :subnet
|
44
44
|
|
45
45
|
# @return [Boolean] Gets whether this is a primary customer address on
|
46
46
|
# the network interface.
|
47
47
|
attr_accessor :primary
|
48
48
|
|
49
|
-
# @return [PublicIPAddress]
|
49
|
+
# @return [PublicIPAddress] Public IP address bound to the IP
|
50
|
+
# configuration.
|
50
51
|
attr_accessor :public_ipaddress
|
51
52
|
|
52
|
-
# @return [String]
|
53
|
+
# @return [String] The provisioning state of the network interface IP
|
54
|
+
# configuration. Possible values are: 'Updating', 'Deleting', and
|
55
|
+
# 'Failed'.
|
53
56
|
attr_accessor :provisioning_state
|
54
57
|
|
55
58
|
# @return [String] The name of the resource that is unique within a
|
@@ -0,0 +1,98 @@
|
|
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 NetworkInterfaceIPConfigurationListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<NetworkInterfaceIPConfiguration>] A list of ip
|
17
|
+
# configurations.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URL to get the next set of results.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<NetworkInterfaceIPConfiguration>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [NetworkInterfaceIPConfigurationListResult] with next page
|
45
|
+
# content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for NetworkInterfaceIPConfigurationListResult class as Ruby
|
58
|
+
# Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'NetworkInterfaceIPConfigurationListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'NetworkInterfaceIPConfigurationListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'NetworkInterfaceIPConfigurationElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'NetworkInterfaceIPConfiguration'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
next_link: {
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'nextLink',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|