azure_mgmt_network 0.19.0 → 0.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +1 -1
  4. data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
  5. data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  6. data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  7. data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  8. data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  9. data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
  10. data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  11. data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  12. data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  13. data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  14. data/lib/2018-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  15. data/lib/2018-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  16. data/lib/2018-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  17. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipprefix.rb +14 -0
  18. data/lib/2018-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  19. data/lib/2018-08-01/generated/azure_mgmt_network/models/public_ipprefix.rb +14 -0
  20. data/lib/2018-08-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  21. data/lib/2018-10-01/generated/azure_mgmt_network/models/public_ipprefix.rb +14 -0
  22. data/lib/2018-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  23. data/lib/2018-11-01/generated/azure_mgmt_network/models/public_ipprefix.rb +14 -0
  24. data/lib/2018-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  25. data/lib/2018-12-01/generated/azure_mgmt_network/models/public_ipprefix.rb +14 -0
  26. data/lib/2018-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  27. data/lib/2019-02-01/generated/azure_mgmt_network.rb +93 -93
  28. data/lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb +14 -12
  29. data/lib/2019-02-01/generated/azure_mgmt_network/models/public_ipprefix.rb +16 -2
  30. data/lib/2019-02-01/generated/azure_mgmt_network/models/public_ipprefix_sku.rb +1 -1
  31. data/lib/2019-02-01/generated/azure_mgmt_network/models/referenced_public_ip_address.rb +1 -1
  32. data/lib/2019-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  33. data/lib/2019-04-01/generated/azure_mgmt_network.rb +120 -120
  34. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb +14 -12
  35. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipprefix.rb +14 -0
  36. data/lib/2019-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  37. data/lib/2019-04-01/generated/azure_mgmt_network/service_tags.rb +12 -3
  38. data/lib/2019-06-01/generated/azure_mgmt_network.rb +202 -180
  39. data/lib/2019-06-01/generated/azure_mgmt_network/firewall_policies.rb +918 -0
  40. data/lib/2019-06-01/generated/azure_mgmt_network/firewall_policy_rule_groups.rb +626 -0
  41. data/lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb +14 -12
  42. data/lib/2019-06-01/generated/azure_mgmt_network/models/application_rule_condition.rb +164 -0
  43. data/lib/2019-06-01/generated/azure_mgmt_network/models/azure_firewall.rb +38 -0
  44. data/lib/2019-06-01/generated/azure_mgmt_network/models/azure_firewall_public_ipaddress.rb +46 -0
  45. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy.rb +201 -0
  46. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule.rb +106 -0
  47. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_action.rb +47 -0
  48. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_action_type.rb +17 -0
  49. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_list_result.rb +99 -0
  50. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule.rb +120 -0
  51. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_action.rb +47 -0
  52. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_action_type.rb +16 -0
  53. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_rule.rb +73 -0
  54. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb +69 -0
  55. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_application_protocol.rb +64 -0
  56. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_application_protocol_type.rb +16 -0
  57. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_network_protocol.rb +18 -0
  58. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_rule_group.rb +129 -0
  59. data/lib/2019-06-01/generated/azure_mgmt_network/models/firewall_policy_rule_group_list_result.rb +99 -0
  60. data/lib/2019-06-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb +67 -0
  61. data/lib/2019-06-01/generated/azure_mgmt_network/models/network_rule_condition.rb +144 -0
  62. data/lib/2019-06-01/generated/azure_mgmt_network/models/private_endpoint.rb +5 -5
  63. data/lib/2019-06-01/generated/azure_mgmt_network/models/private_endpoint_connection.rb +38 -0
  64. data/lib/2019-06-01/generated/azure_mgmt_network/models/private_link_service.rb +5 -5
  65. data/lib/2019-06-01/generated/azure_mgmt_network/models/private_link_service_connection.rb +38 -0
  66. data/lib/2019-06-01/generated/azure_mgmt_network/models/private_link_service_ip_configuration.rb +42 -9
  67. data/lib/2019-06-01/generated/azure_mgmt_network/models/public_ipprefix.rb +14 -0
  68. data/lib/2019-06-01/generated/azure_mgmt_network/models/unprepare_network_policies_request.rb +47 -0
  69. data/lib/2019-06-01/generated/azure_mgmt_network/network_management_client.rb +19 -11
  70. data/lib/2019-06-01/generated/azure_mgmt_network/service_tags.rb +12 -3
  71. data/lib/2019-06-01/generated/azure_mgmt_network/subnets.rb +150 -0
  72. data/lib/2019-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  73. data/lib/2019-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -1
  74. data/lib/profiles/latest/modules/network_profile_module.rb +638 -554
  75. data/lib/version.rb +1 -1
  76. metadata +24 -2
@@ -36,13 +36,13 @@ module Azure::Network::Mgmt::V2019_06_01
36
36
  # classifying a healthy probe response.
37
37
  attr_accessor :match
38
38
 
39
- # @return [String] Name of backend pool of application gateway to which
40
- # probe request will be sent.
41
- attr_accessor :backend_pool_name
39
+ # @return [SubResource] Reference of backend pool of application gateway
40
+ # to which probe request will be sent.
41
+ attr_accessor :backend_address_pool
42
42
 
43
- # @return [String] Name of backend http setting of application gateway to
44
- # be used for test probe.
45
- attr_accessor :backend_http_setting_name
43
+ # @return [SubResource] Reference of backend http setting of application
44
+ # gateway to be used for test probe.
45
+ attr_accessor :backend_http_settings
46
46
 
47
47
 
48
48
  #
@@ -107,20 +107,22 @@ module Azure::Network::Mgmt::V2019_06_01
107
107
  class_name: 'ApplicationGatewayProbeHealthResponseMatch'
108
108
  }
109
109
  },
110
- backend_pool_name: {
110
+ backend_address_pool: {
111
111
  client_side_validation: true,
112
112
  required: false,
113
- serialized_name: 'backendPoolName',
113
+ serialized_name: 'backendAddressPool',
114
114
  type: {
115
- name: 'String'
115
+ name: 'Composite',
116
+ class_name: 'SubResource'
116
117
  }
117
118
  },
118
- backend_http_setting_name: {
119
+ backend_http_settings: {
119
120
  client_side_validation: true,
120
121
  required: false,
121
- serialized_name: 'backendHttpSettingName',
122
+ serialized_name: 'backendHttpSettings',
122
123
  type: {
123
- name: 'String'
124
+ name: 'Composite',
125
+ class_name: 'SubResource'
124
126
  }
125
127
  }
126
128
  }
@@ -0,0 +1,164 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2019_06_01
7
+ module Models
8
+ #
9
+ # Rule condition of type application.
10
+ #
11
+ class ApplicationRuleCondition < FirewallPolicyRuleCondition
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @ruleConditionType = "ApplicationRuleCondition"
18
+ end
19
+
20
+ attr_accessor :ruleConditionType
21
+
22
+ # @return [Array<String>] List of source IP addresses for this rule.
23
+ attr_accessor :source_addresses
24
+
25
+ # @return [Array<String>] List of destination IP addresses or Service
26
+ # Tags.
27
+ attr_accessor :destination_addresses
28
+
29
+ # @return [Array<FirewallPolicyRuleConditionApplicationProtocol>] Array
30
+ # of Application Protocols.
31
+ attr_accessor :protocols
32
+
33
+ # @return [Array<String>] List of FQDNs for this rule condition.
34
+ attr_accessor :target_fqdns
35
+
36
+ # @return [Array<String>] List of FQDN Tags for this rule condition.
37
+ attr_accessor :fqdn_tags
38
+
39
+
40
+ #
41
+ # Mapper for ApplicationRuleCondition class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'ApplicationRuleCondition',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'ApplicationRuleCondition',
52
+ model_properties: {
53
+ name: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'name',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ description: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'description',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ ruleConditionType: {
70
+ client_side_validation: true,
71
+ required: true,
72
+ serialized_name: 'ruleConditionType',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ source_addresses: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'sourceAddresses',
81
+ type: {
82
+ name: 'Sequence',
83
+ element: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'StringElementType',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ }
91
+ }
92
+ },
93
+ destination_addresses: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'destinationAddresses',
97
+ type: {
98
+ name: 'Sequence',
99
+ element: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ serialized_name: 'StringElementType',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ }
107
+ }
108
+ },
109
+ protocols: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'protocols',
113
+ type: {
114
+ name: 'Sequence',
115
+ element: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ serialized_name: 'FirewallPolicyRuleConditionApplicationProtocolElementType',
119
+ type: {
120
+ name: 'Composite',
121
+ class_name: 'FirewallPolicyRuleConditionApplicationProtocol'
122
+ }
123
+ }
124
+ }
125
+ },
126
+ target_fqdns: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'targetFqdns',
130
+ type: {
131
+ name: 'Sequence',
132
+ element: {
133
+ client_side_validation: true,
134
+ required: false,
135
+ serialized_name: 'StringElementType',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ }
140
+ }
141
+ },
142
+ fqdn_tags: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'fqdnTags',
146
+ type: {
147
+ name: 'Sequence',
148
+ element: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ serialized_name: 'StringElementType',
152
+ type: {
153
+ name: 'String'
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ end
162
+ end
163
+ end
164
+ end
@@ -36,6 +36,16 @@ module Azure::Network::Mgmt::V2019_06_01
36
36
  # Intelligence. Possible values include: 'Alert', 'Deny', 'Off'
37
37
  attr_accessor :threat_intel_mode
38
38
 
39
+ # @return [SubResource] The virtualHub to which the firewall belongs.
40
+ attr_accessor :virtual_hub
41
+
42
+ # @return [SubResource] The firewallPolicy associated with this azure
43
+ # firewall.
44
+ attr_accessor :firewall_policy
45
+
46
+ # @return [HubIPAddresses] IP addresses associated with AzureFirewall.
47
+ attr_accessor :hub_ip_addresses
48
+
39
49
  # @return [Array<String>] A list of availability zones denoting where the
40
50
  # resource needs to come from.
41
51
  attr_accessor :zones
@@ -192,6 +202,34 @@ module Azure::Network::Mgmt::V2019_06_01
192
202
  name: 'String'
193
203
  }
194
204
  },
205
+ virtual_hub: {
206
+ client_side_validation: true,
207
+ required: false,
208
+ serialized_name: 'properties.virtualHub',
209
+ type: {
210
+ name: 'Composite',
211
+ class_name: 'SubResource'
212
+ }
213
+ },
214
+ firewall_policy: {
215
+ client_side_validation: true,
216
+ required: false,
217
+ serialized_name: 'properties.firewallPolicy',
218
+ type: {
219
+ name: 'Composite',
220
+ class_name: 'SubResource'
221
+ }
222
+ },
223
+ hub_ip_addresses: {
224
+ client_side_validation: true,
225
+ required: false,
226
+ read_only: true,
227
+ serialized_name: 'properties.hubIpAddresses',
228
+ type: {
229
+ name: 'Composite',
230
+ class_name: 'HubIPAddresses'
231
+ }
232
+ },
195
233
  zones: {
196
234
  client_side_validation: true,
197
235
  required: false,
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2019_06_01
7
+ module Models
8
+ #
9
+ # Public IP Address associated with azure firewall.
10
+ #
11
+ class AzureFirewallPublicIPAddress
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Public IP Address value.
16
+ attr_accessor :address
17
+
18
+
19
+ #
20
+ # Mapper for AzureFirewallPublicIPAddress class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'AzureFirewallPublicIPAddress',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'AzureFirewallPublicIPAddress',
31
+ model_properties: {
32
+ address: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'address',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,201 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2019_06_01
7
+ module Models
8
+ #
9
+ # FirewallPolicy Resource.
10
+ #
11
+ class FirewallPolicy < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<SubResource>] List of references to
16
+ # FirewallPolicyRuleGroups
17
+ attr_accessor :rule_groups
18
+
19
+ # @return [ProvisioningState] The provisioning state of the resource.
20
+ # Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
21
+ attr_accessor :provisioning_state
22
+
23
+ # @return [SubResource] The parent firewall policy from which rules are
24
+ # inherited.
25
+ attr_accessor :base_policy
26
+
27
+ # @return [Array<SubResource>] List of references to Azure Firewalls that
28
+ # this Firewall Policy is associated with
29
+ attr_accessor :firewalls
30
+
31
+ # @return [Array<SubResource>] List of references to Child Firewall
32
+ # Policies
33
+ attr_accessor :child_policies
34
+
35
+ # @return [AzureFirewallThreatIntelMode] The operation mode for Threat
36
+ # Intelligence. Possible values include: 'Alert', 'Deny', 'Off'
37
+ attr_accessor :threat_intel_mode
38
+
39
+ # @return [String] Gets a unique read-only string that changes whenever
40
+ # the resource is updated.
41
+ attr_accessor :etag
42
+
43
+
44
+ #
45
+ # Mapper for FirewallPolicy class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'FirewallPolicy',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'FirewallPolicy',
56
+ model_properties: {
57
+ id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'id',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ name: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'name',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ type: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'type',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ location: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'location',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ tags: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'tags',
95
+ type: {
96
+ name: 'Dictionary',
97
+ value: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'StringElementType',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ },
107
+ rule_groups: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ read_only: true,
111
+ serialized_name: 'properties.ruleGroups',
112
+ type: {
113
+ name: 'Sequence',
114
+ element: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'SubResourceElementType',
118
+ type: {
119
+ name: 'Composite',
120
+ class_name: 'SubResource'
121
+ }
122
+ }
123
+ }
124
+ },
125
+ provisioning_state: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'properties.provisioningState',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ base_policy: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ serialized_name: 'properties.basePolicy',
137
+ type: {
138
+ name: 'Composite',
139
+ class_name: 'SubResource'
140
+ }
141
+ },
142
+ firewalls: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ read_only: true,
146
+ serialized_name: 'properties.firewalls',
147
+ type: {
148
+ name: 'Sequence',
149
+ element: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ serialized_name: 'SubResourceElementType',
153
+ type: {
154
+ name: 'Composite',
155
+ class_name: 'SubResource'
156
+ }
157
+ }
158
+ }
159
+ },
160
+ child_policies: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ read_only: true,
164
+ serialized_name: 'properties.childPolicies',
165
+ type: {
166
+ name: 'Sequence',
167
+ element: {
168
+ client_side_validation: true,
169
+ required: false,
170
+ serialized_name: 'SubResourceElementType',
171
+ type: {
172
+ name: 'Composite',
173
+ class_name: 'SubResource'
174
+ }
175
+ }
176
+ }
177
+ },
178
+ threat_intel_mode: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ serialized_name: 'properties.threatIntelMode',
182
+ type: {
183
+ name: 'String'
184
+ }
185
+ },
186
+ etag: {
187
+ client_side_validation: true,
188
+ required: false,
189
+ read_only: true,
190
+ serialized_name: 'etag',
191
+ type: {
192
+ name: 'String'
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+ end
199
+ end
200
+ end
201
+ end