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
@@ -0,0 +1,106 @@
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
+ # Firewall Policy Filter Rule
10
+ #
11
+ class FirewallPolicyFilterRule < FirewallPolicyRule
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @ruleType = "FirewallPolicyFilterRule"
18
+ end
19
+
20
+ attr_accessor :ruleType
21
+
22
+ # @return [FirewallPolicyFilterRuleAction] The action type of a Filter
23
+ # rule
24
+ attr_accessor :action
25
+
26
+ # @return [Array<FirewallPolicyRuleCondition>] Collection of rule
27
+ # conditions used by a rule.
28
+ attr_accessor :rule_conditions
29
+
30
+
31
+ #
32
+ # Mapper for FirewallPolicyFilterRule class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'FirewallPolicyFilterRule',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'FirewallPolicyFilterRule',
43
+ model_properties: {
44
+ name: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'name',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ priority: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'priority',
56
+ constraints: {
57
+ InclusiveMaximum: 65000,
58
+ InclusiveMinimum: 100
59
+ },
60
+ type: {
61
+ name: 'Number'
62
+ }
63
+ },
64
+ ruleType: {
65
+ client_side_validation: true,
66
+ required: true,
67
+ serialized_name: 'ruleType',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ action: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'action',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'FirewallPolicyFilterRuleAction'
79
+ }
80
+ },
81
+ rule_conditions: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'ruleConditions',
85
+ type: {
86
+ name: 'Sequence',
87
+ element: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'FirewallPolicyRuleConditionElementType',
91
+ type: {
92
+ name: 'Composite',
93
+ polymorphic_discriminator: 'ruleConditionType',
94
+ uber_parent: 'FirewallPolicyRuleCondition',
95
+ class_name: 'FirewallPolicyRuleCondition'
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ end
104
+ end
105
+ end
106
+ end
@@ -0,0 +1,47 @@
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
+ # Properties of the FirewallPolicyFilterRuleAction.
10
+ #
11
+ class FirewallPolicyFilterRuleAction
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [FirewallPolicyFilterRuleActionType] The type of action.
16
+ # Possible values include: 'Allow', 'Deny', 'Alert '
17
+ attr_accessor :type
18
+
19
+
20
+ #
21
+ # Mapper for FirewallPolicyFilterRuleAction class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'FirewallPolicyFilterRuleAction',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'FirewallPolicyFilterRuleAction',
32
+ model_properties: {
33
+ type: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'type',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,17 @@
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
+ # Defines values for FirewallPolicyFilterRuleActionType
10
+ #
11
+ module FirewallPolicyFilterRuleActionType
12
+ Allow = "Allow"
13
+ Deny = "Deny"
14
+ Alert = "Alert "
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,99 @@
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
+ # Response for ListFirewallPolicies API service call.
10
+ #
11
+ class FirewallPolicyListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<FirewallPolicy>] List of Firewall Policies in a resource
17
+ # group.
18
+ attr_accessor :value
19
+
20
+ # @return [String] 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<FirewallPolicy>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? 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 [FirewallPolicyListResult] with next page 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 FirewallPolicyListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'FirewallPolicyListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'FirewallPolicyListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'FirewallPolicyElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'FirewallPolicy'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,120 @@
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
+ # Firewall Policy NAT Rule
10
+ #
11
+ class FirewallPolicyNatRule < FirewallPolicyRule
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @ruleType = "FirewallPolicyNatRule"
18
+ end
19
+
20
+ attr_accessor :ruleType
21
+
22
+ # @return [FirewallPolicyNatRuleAction] The action type of a Nat rule,
23
+ # SNAT or DNAT
24
+ attr_accessor :action
25
+
26
+ # @return [String] The translated address for this NAT rule.
27
+ attr_accessor :translated_address
28
+
29
+ # @return [String] The translated port for this NAT rule.
30
+ attr_accessor :translated_port
31
+
32
+ # @return [FirewallPolicyRuleCondition] The match conditions for incoming
33
+ # traffic
34
+ attr_accessor :rule_condition
35
+
36
+
37
+ #
38
+ # Mapper for FirewallPolicyNatRule class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'FirewallPolicyNatRule',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'FirewallPolicyNatRule',
49
+ model_properties: {
50
+ name: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'name',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ priority: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'priority',
62
+ constraints: {
63
+ InclusiveMaximum: 65000,
64
+ InclusiveMinimum: 100
65
+ },
66
+ type: {
67
+ name: 'Number'
68
+ }
69
+ },
70
+ ruleType: {
71
+ client_side_validation: true,
72
+ required: true,
73
+ serialized_name: 'ruleType',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ action: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'action',
82
+ type: {
83
+ name: 'Composite',
84
+ class_name: 'FirewallPolicyNatRuleAction'
85
+ }
86
+ },
87
+ translated_address: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'translatedAddress',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ translated_port: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'translatedPort',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ rule_condition: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'ruleCondition',
107
+ type: {
108
+ name: 'Composite',
109
+ polymorphic_discriminator: 'ruleConditionType',
110
+ uber_parent: 'FirewallPolicyRuleCondition',
111
+ class_name: 'FirewallPolicyRuleCondition'
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ end
118
+ end
119
+ end
120
+ end
@@ -0,0 +1,47 @@
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
+ # Properties of the FirewallPolicyNatRuleAction.
10
+ #
11
+ class FirewallPolicyNatRuleAction
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [FirewallPolicyNatRuleActionType] The type of action. Possible
16
+ # values include: 'DNAT', 'SNAT'
17
+ attr_accessor :type
18
+
19
+
20
+ #
21
+ # Mapper for FirewallPolicyNatRuleAction class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'FirewallPolicyNatRuleAction',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'FirewallPolicyNatRuleAction',
32
+ model_properties: {
33
+ type: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'type',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,16 @@
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
+ # Defines values for FirewallPolicyNatRuleActionType
10
+ #
11
+ module FirewallPolicyNatRuleActionType
12
+ DNAT = "DNAT"
13
+ SNAT = "SNAT"
14
+ end
15
+ end
16
+ end