azure_mgmt_network 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -11
- data/azure_mgmt_network.gemspec +1 -1
- data/lib/generated/azure_mgmt_network.rb +7 -2
- data/lib/generated/azure_mgmt_network/application_gateways.rb +15 -15
- data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -1
- data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -1
- data/lib/generated/azure_mgmt_network/express_route_circuits.rb +47 -47
- data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +8 -8
- data/lib/generated/azure_mgmt_network/load_balancers.rb +22 -22
- data/lib/generated/azure_mgmt_network/local_network_gateways.rb +8 -8
- data/lib/generated/azure_mgmt_network/models/application_gateway.rb +59 -29
- data/lib/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +85 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +2 -2
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +5 -6
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +30 -12
- data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +9 -10
- data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +5 -5
- data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +12 -15
- data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +6 -7
- data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +6 -8
- data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +11 -11
- data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +10 -13
- data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +6 -7
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +7 -7
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +52 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +9 -9
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +3 -3
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +0 -32
- data/lib/generated/azure_mgmt_network/models/{effective_network_security_rules.rb → effective_network_security_rule.rb} +4 -4
- data/lib/generated/azure_mgmt_network/models/effective_route.rb +6 -14
- data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +0 -31
- data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +10 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +21 -0
- data/lib/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +62 -0
- data/lib/generated/azure_mgmt_network/models/resource_navigation_link.rb +96 -0
- data/lib/generated/azure_mgmt_network/models/subnet.rb +19 -0
- data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +41 -0
- data/lib/generated/azure_mgmt_network/network_interfaces.rb +41 -445
- data/lib/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/generated/azure_mgmt_network/network_security_groups.rb +1 -1
- data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +15 -15
- data/lib/generated/azure_mgmt_network/route_tables.rb +1 -1
- data/lib/generated/azure_mgmt_network/routes.rb +8 -8
- data/lib/generated/azure_mgmt_network/security_rules.rb +8 -8
- data/lib/generated/azure_mgmt_network/subnets.rb +8 -8
- data/lib/generated/azure_mgmt_network/usages.rb +115 -4
- data/lib/generated/azure_mgmt_network/version.rb +1 -1
- data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
- data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +8 -8
- data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +8 -8
- data/lib/generated/azure_mgmt_network/virtual_networks.rb +98 -1
- metadata +10 -5
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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 ApplicationGatewaySslProtocol
|
10
|
+
#
|
11
|
+
module ApplicationGatewaySslProtocol
|
12
|
+
TLSv10 = "TLSv1_0"
|
13
|
+
TLSv11 = "TLSv1_1"
|
14
|
+
TLSv12 = "TLSv1_2"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -12,24 +12,24 @@ module Azure::ARM::Network
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [SubResource]
|
16
|
-
#
|
15
|
+
# @return [SubResource] Default backend address pool resource of URL
|
16
|
+
# path map
|
17
17
|
attr_accessor :default_backend_address_pool
|
18
18
|
|
19
|
-
# @return [SubResource]
|
20
|
-
#
|
19
|
+
# @return [SubResource] Default backend http settings resource of URL
|
20
|
+
# path map
|
21
21
|
attr_accessor :default_backend_http_settings
|
22
22
|
|
23
|
-
# @return [Array<ApplicationGatewayPathRule>]
|
24
|
-
#
|
23
|
+
# @return [Array<ApplicationGatewayPathRule>] Path rule of URL path map
|
24
|
+
# resource
|
25
25
|
attr_accessor :path_rules
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] Provisioning state of the backend http settings
|
28
28
|
# resource Updating/Deleting/Failed
|
29
29
|
attr_accessor :provisioning_state
|
30
30
|
|
31
|
-
# @return [String]
|
32
|
-
#
|
31
|
+
# @return [String] Name of the resource that is unique within a resource
|
32
|
+
# group. This name can be used to access the resource
|
33
33
|
attr_accessor :name
|
34
34
|
|
35
35
|
# @return [String] A unique read-only string that changes whenever the
|
@@ -19,7 +19,7 @@ module Azure::ARM::Network
|
|
19
19
|
# @return [EffectiveNetworkSecurityGroupAssociation]
|
20
20
|
attr_accessor :association
|
21
21
|
|
22
|
-
# @return [Array<
|
22
|
+
# @return [Array<EffectiveNetworkSecurityRule>] Gets collection of
|
23
23
|
# effective security rules
|
24
24
|
attr_accessor :effective_security_rules
|
25
25
|
|
@@ -59,10 +59,10 @@ module Azure::ARM::Network
|
|
59
59
|
name: 'Sequence',
|
60
60
|
element: {
|
61
61
|
required: false,
|
62
|
-
serialized_name: '
|
62
|
+
serialized_name: 'EffectiveNetworkSecurityRuleElementType',
|
63
63
|
type: {
|
64
64
|
name: 'Composite',
|
65
|
-
class_name: '
|
65
|
+
class_name: 'EffectiveNetworkSecurityRule'
|
66
66
|
}
|
67
67
|
}
|
68
68
|
}
|
data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb
CHANGED
@@ -19,38 +19,6 @@ module Azure::ARM::Network
|
|
19
19
|
# @return [String] Gets the URL to get the next set of results.
|
20
20
|
attr_accessor :next_link
|
21
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<EffectiveNetworkSecurityGroup>] 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 [EffectiveNetworkSecurityGroupListResult] 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
22
|
|
55
23
|
#
|
56
24
|
# Mapper for EffectiveNetworkSecurityGroupListResult class as Ruby Hash.
|
@@ -8,7 +8,7 @@ module Azure::ARM::Network
|
|
8
8
|
#
|
9
9
|
# Effective NetworkSecurityRules
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class EffectiveNetworkSecurityRule
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
@@ -51,16 +51,16 @@ module Azure::ARM::Network
|
|
51
51
|
|
52
52
|
|
53
53
|
#
|
54
|
-
# Mapper for
|
54
|
+
# Mapper for EffectiveNetworkSecurityRule class as Ruby Hash.
|
55
55
|
# This will be used for serialization/deserialization.
|
56
56
|
#
|
57
57
|
def self.mapper()
|
58
58
|
{
|
59
59
|
required: false,
|
60
|
-
serialized_name: '
|
60
|
+
serialized_name: 'EffectiveNetworkSecurityRule',
|
61
61
|
type: {
|
62
62
|
name: 'Composite',
|
63
|
-
class_name: '
|
63
|
+
class_name: 'EffectiveNetworkSecurityRule',
|
64
64
|
model_properties: {
|
65
65
|
name: {
|
66
66
|
required: false,
|
@@ -8,13 +8,13 @@ module Azure::ARM::Network
|
|
8
8
|
#
|
9
9
|
# Effective Route
|
10
10
|
#
|
11
|
-
class EffectiveRoute
|
11
|
+
class EffectiveRoute
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [
|
16
|
-
# optional
|
17
|
-
attr_accessor :
|
15
|
+
# @return [String] Gets the name of the user defined route. This is
|
16
|
+
# optional.
|
17
|
+
attr_accessor :name
|
18
18
|
|
19
19
|
# @return [EffectiveRouteSource] Gets who created the route. Possible
|
20
20
|
# values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default'
|
@@ -51,21 +51,13 @@ module Azure::ARM::Network
|
|
51
51
|
name: 'Composite',
|
52
52
|
class_name: 'EffectiveRoute',
|
53
53
|
model_properties: {
|
54
|
-
|
54
|
+
name: {
|
55
55
|
required: false,
|
56
|
-
serialized_name: '
|
56
|
+
serialized_name: 'name',
|
57
57
|
type: {
|
58
58
|
name: 'String'
|
59
59
|
}
|
60
60
|
},
|
61
|
-
user_defined_route: {
|
62
|
-
required: false,
|
63
|
-
serialized_name: 'userDefinedRoute',
|
64
|
-
type: {
|
65
|
-
name: 'Composite',
|
66
|
-
class_name: 'SubResource'
|
67
|
-
}
|
68
|
-
},
|
69
61
|
source: {
|
70
62
|
required: false,
|
71
63
|
serialized_name: 'source',
|
@@ -18,37 +18,6 @@ module Azure::ARM::Network
|
|
18
18
|
# @return [String] Gets the URL to get the next set of results.
|
19
19
|
attr_accessor :next_link
|
20
20
|
|
21
|
-
# return [Proc] with next page method call.
|
22
|
-
attr_accessor :next_method
|
23
|
-
|
24
|
-
#
|
25
|
-
# Gets the rest of the items for the request, enabling auto-pagination.
|
26
|
-
#
|
27
|
-
# @return [Array<EffectiveRoute>] operation results.
|
28
|
-
#
|
29
|
-
def get_all_items
|
30
|
-
items = @value
|
31
|
-
page = self
|
32
|
-
while page.next_link != nil do
|
33
|
-
page = page.get_next_page
|
34
|
-
items.concat(page.value)
|
35
|
-
end
|
36
|
-
items
|
37
|
-
end
|
38
|
-
|
39
|
-
#
|
40
|
-
# Gets the next page of results.
|
41
|
-
#
|
42
|
-
# @return [EffectiveRouteListResult] with next page content.
|
43
|
-
#
|
44
|
-
def get_next_page
|
45
|
-
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
46
|
-
unless response.nil?
|
47
|
-
@next_link = response.body.next_link
|
48
|
-
@value = response.body.value
|
49
|
-
self
|
50
|
-
end
|
51
|
-
end
|
52
21
|
|
53
22
|
#
|
54
23
|
# Mapper for EffectiveRouteListResult class as Ruby Hash.
|
@@ -50,6 +50,9 @@ module Azure::ARM::Network
|
|
50
50
|
# Updating/Deleting/Failed
|
51
51
|
attr_accessor :provisioning_state
|
52
52
|
|
53
|
+
# @return [String] Gets or sets the GatewayManager Etag
|
54
|
+
attr_accessor :gateway_manager_etag
|
55
|
+
|
53
56
|
# @return [String] Gets a unique read-only string that changes whenever
|
54
57
|
# the resource is updated
|
55
58
|
attr_accessor :etag
|
@@ -199,6 +202,13 @@ module Azure::ARM::Network
|
|
199
202
|
name: 'String'
|
200
203
|
}
|
201
204
|
},
|
205
|
+
gateway_manager_etag: {
|
206
|
+
required: false,
|
207
|
+
serialized_name: 'properties.gatewayManagerEtag',
|
208
|
+
type: {
|
209
|
+
name: 'String'
|
210
|
+
}
|
211
|
+
},
|
202
212
|
etag: {
|
203
213
|
required: false,
|
204
214
|
serialized_name: 'etag',
|
@@ -56,6 +56,13 @@ module Azure::ARM::Network
|
|
56
56
|
# Updating/Deleting/Failed
|
57
57
|
attr_accessor :provisioning_state
|
58
58
|
|
59
|
+
# @return [String] Gets or sets the GatewayManager Etag
|
60
|
+
attr_accessor :gateway_manager_etag
|
61
|
+
|
62
|
+
# @return [String] Gets whether the provider or the customer last
|
63
|
+
# modified the peering
|
64
|
+
attr_accessor :last_modified_by
|
65
|
+
|
59
66
|
# @return [String] Gets name of the resource that is unique within a
|
60
67
|
# resource group. This name can be used to access the resource
|
61
68
|
attr_accessor :name
|
@@ -177,6 +184,20 @@ module Azure::ARM::Network
|
|
177
184
|
name: 'String'
|
178
185
|
}
|
179
186
|
},
|
187
|
+
gateway_manager_etag: {
|
188
|
+
required: false,
|
189
|
+
serialized_name: 'properties.gatewayManagerEtag',
|
190
|
+
type: {
|
191
|
+
name: 'String'
|
192
|
+
}
|
193
|
+
},
|
194
|
+
last_modified_by: {
|
195
|
+
required: false,
|
196
|
+
serialized_name: 'properties.lastModifiedBy',
|
197
|
+
type: {
|
198
|
+
name: 'String'
|
199
|
+
}
|
200
|
+
},
|
180
201
|
name: {
|
181
202
|
required: false,
|
182
203
|
serialized_name: 'name',
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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 CheckIPAddressAvailability Api service call
|
10
|
+
#
|
11
|
+
class IPAddressAvailabilityResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Private IP address availability
|
16
|
+
attr_accessor :available
|
17
|
+
|
18
|
+
# @return [Array<String>] Contains other available private IP addresses
|
19
|
+
# if the asked for address is taken
|
20
|
+
attr_accessor :available_ipaddresses
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for IPAddressAvailabilityResult class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'IPAddressAvailabilityResult',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'IPAddressAvailabilityResult',
|
34
|
+
model_properties: {
|
35
|
+
available: {
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'available',
|
38
|
+
type: {
|
39
|
+
name: 'Boolean'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
available_ipaddresses: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'availableIPAddresses',
|
45
|
+
type: {
|
46
|
+
name: 'Sequence',
|
47
|
+
element: {
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'StringElementType',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
|
+
# ResourceNavigationLink resource
|
10
|
+
#
|
11
|
+
class ResourceNavigationLink < MsRestAzure::SubResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource type of the linked resource
|
16
|
+
attr_accessor :linked_resource_type
|
17
|
+
|
18
|
+
# @return [String] Link to the external resource
|
19
|
+
attr_accessor :link
|
20
|
+
|
21
|
+
# @return [String] Provisioning state of the ResourceNavigationLink
|
22
|
+
# resource
|
23
|
+
attr_accessor :provisioning_state
|
24
|
+
|
25
|
+
# @return [String] Name of the resource that is unique within a resource
|
26
|
+
# group. This name can be used to access the resource
|
27
|
+
attr_accessor :name
|
28
|
+
|
29
|
+
# @return [String] A unique read-only string that changes whenever the
|
30
|
+
# resource is updated
|
31
|
+
attr_accessor :etag
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for ResourceNavigationLink class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'ResourceNavigationLink',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'ResourceNavigationLink',
|
45
|
+
model_properties: {
|
46
|
+
id: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'id',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
linked_resource_type: {
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'properties.linkedResourceType',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
link: {
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'properties.link',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
provisioning_state: {
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'properties.provisioningState',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
name: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'name',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
etag: {
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'etag',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|