azure_mgmt_event_hub 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  3. data/lib/2017-04-01/generated/azure_mgmt_event_hub.rb +19 -13
  4. data/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb +3 -3
  5. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  6. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery.rb +1 -1
  7. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb +11 -0
  8. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group.rb +1 -1
  9. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/default_action.rb +16 -0
  10. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb +13 -1
  11. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
  12. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +15 -0
  13. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set.rb +114 -0
  14. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +59 -0
  15. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +59 -0
  16. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb +1 -1
  17. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb +1 -1
  18. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb +46 -0
  19. data/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb +209 -0
  20. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub.rb +15 -6
  21. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb +467 -0
  22. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/event_hub2018preview_management_client.rb +1 -1
  23. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_clusters_list.rb +63 -0
  24. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/default_action.rb +16 -0
  25. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace.rb +1 -1
  26. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_container.rb +46 -0
  27. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_list_result.rb +56 -0
  28. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +15 -0
  29. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_set.rb +114 -0
  30. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +58 -0
  31. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +59 -0
  32. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/sku.rb +1 -1
  33. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/subnet.rb +46 -0
  34. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/virtual_network_rule_list_result.rb +5 -5
  35. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb +220 -11
  36. data/lib/profiles/latest/modules/eventhub_profile_module.rb +55 -19
  37. data/lib/version.rb +1 -1
  38. metadata +18 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: b8581f7d04bf032eb530c50957633a5e5993eb3fc7d0dad7f25599a54babae5e
4
- data.tar.gz: 536305c7f6654d685d12c350ee618e42e831b0ec64f789834ce61dcad307af59
2
+ SHA1:
3
+ metadata.gz: 21215bc8750dc747ca5d91c62c16ed60c8d0c137
4
+ data.tar.gz: 793f2c6c13c4d086ce8e416814e0f06826b2f2ea
5
5
  SHA512:
6
- metadata.gz: cd5aafafeb8ef0d1b31416e00956e0e741b78bc35daa51bbb00440a764b4fa2e91fed62e1e14243b844555fd30eb7a9621e019db542f6bed8e04dadb014e6a56
7
- data.tar.gz: 566c894d3da80090677ba1d502594788fc646c6a5ce228b4286c99c1292466a33b5bf2f87dd20a82e0a2c072c5e71c6e9452837a1aa28248af21a5fae3e31993
6
+ metadata.gz: 4bebe1cdc5f924cac0492b3cbbba5fda8951059004e2587292fae93d9e1bbf686a104fb868a9812edaf34909f41f6f27d7802b9170c79cf8b0f85089695cd931
7
+ data.tar.gz: 15d32042a2f3608fae1307a36d49dd132461d95e088a2265d16e029dec9819c89f4f6858fbed57ab64ded24d47a1a3e1a75b58a805dd5c650b23af61e11dd1e0
@@ -138,7 +138,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_event_hub'
141
- sdk_information = "#{sdk_information}/0.17.2"
141
+ sdk_information = "#{sdk_information}/0.17.3"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -29,25 +29,28 @@ module Azure::EventHub::Mgmt::V2017_04_01
29
29
  autoload :EventHubManagementClient, '2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb'
30
30
 
31
31
  module Models
32
- autoload :MessagingRegionsProperties, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_properties.rb'
33
- autoload :CaptureDescription, '2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb'
34
- autoload :Resource, '2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb'
35
- autoload :ErrorResponse, '2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb'
36
- autoload :ArmDisasterRecoveryListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb'
37
- autoload :EventHubListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb'
38
- autoload :MessagingRegionsListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_list_result.rb'
39
- autoload :AccessKeys, '2017-04-01/generated/azure_mgmt_event_hub/models/access_keys.rb'
40
- autoload :ConsumerGroupListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb'
41
- autoload :Destination, '2017-04-01/generated/azure_mgmt_event_hub/models/destination.rb'
42
32
  autoload :CheckNameAvailabilityParameter, '2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb'
43
- autoload :EHNamespaceListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb'
44
33
  autoload :CheckNameAvailabilityResult, '2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb'
45
- autoload :RegenerateAccessKeyParameters, '2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb'
34
+ autoload :Resource, '2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb'
46
35
  autoload :OperationDisplay, '2017-04-01/generated/azure_mgmt_event_hub/models/operation_display.rb'
36
+ autoload :NWRuleSetIpRules, '2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb'
37
+ autoload :ConsumerGroupListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb'
47
38
  autoload :AuthorizationRuleListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule_list_result.rb'
48
- autoload :Operation, '2017-04-01/generated/azure_mgmt_event_hub/models/operation.rb'
39
+ autoload :MessagingRegionsProperties, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_properties.rb'
40
+ autoload :RegenerateAccessKeyParameters, '2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb'
49
41
  autoload :Sku, '2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb'
42
+ autoload :CaptureDescription, '2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb'
43
+ autoload :Subnet, '2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb'
44
+ autoload :EventHubListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb'
45
+ autoload :Operation, '2017-04-01/generated/azure_mgmt_event_hub/models/operation.rb'
46
+ autoload :AccessKeys, '2017-04-01/generated/azure_mgmt_event_hub/models/access_keys.rb'
50
47
  autoload :OperationListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb'
48
+ autoload :NWRuleSetVirtualNetworkRules, '2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb'
49
+ autoload :ErrorResponse, '2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb'
50
+ autoload :Destination, '2017-04-01/generated/azure_mgmt_event_hub/models/destination.rb'
51
+ autoload :MessagingRegionsListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_list_result.rb'
52
+ autoload :EHNamespaceListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb'
53
+ autoload :ArmDisasterRecoveryListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb'
51
54
  autoload :TrackedResource, '2017-04-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb'
52
55
  autoload :EHNamespace, '2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb'
53
56
  autoload :AuthorizationRule, '2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule.rb'
@@ -56,6 +59,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
56
59
  autoload :ArmDisasterRecovery, '2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery.rb'
57
60
  autoload :MessagingRegions, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions.rb'
58
61
  autoload :MessagingPlan, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_plan.rb'
62
+ autoload :NetworkRuleSet, '2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set.rb'
59
63
  autoload :SkuName, '2017-04-01/generated/azure_mgmt_event_hub/models/sku_name.rb'
60
64
  autoload :SkuTier, '2017-04-01/generated/azure_mgmt_event_hub/models/sku_tier.rb'
61
65
  autoload :AccessRights, '2017-04-01/generated/azure_mgmt_event_hub/models/access_rights.rb'
@@ -65,5 +69,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
65
69
  autoload :UnavailableReason, '2017-04-01/generated/azure_mgmt_event_hub/models/unavailable_reason.rb'
66
70
  autoload :ProvisioningStateDR, '2017-04-01/generated/azure_mgmt_event_hub/models/provisioning_state_dr.rb'
67
71
  autoload :RoleDisasterRecovery, '2017-04-01/generated/azure_mgmt_event_hub/models/role_disaster_recovery.rb'
72
+ autoload :NetworkRuleIPAction, '2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb'
73
+ autoload :DefaultAction, '2017-04-01/generated/azure_mgmt_event_hub/models/default_action.rb'
68
74
  end
69
75
  end
@@ -652,7 +652,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
652
652
  end
653
653
 
654
654
  #
655
- # envokes GEO DR failover and reconfigure the alias to point to the secondary
655
+ # Invokes GEO DR failover and reconfigure the alias to point to the secondary
656
656
  # namespace
657
657
  #
658
658
  # @param resource_group_name [String] Name of the resource group within the
@@ -669,7 +669,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
669
669
  end
670
670
 
671
671
  #
672
- # envokes GEO DR failover and reconfigure the alias to point to the secondary
672
+ # Invokes GEO DR failover and reconfigure the alias to point to the secondary
673
673
  # namespace
674
674
  #
675
675
  # @param resource_group_name [String] Name of the resource group within the
@@ -686,7 +686,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
686
686
  end
687
687
 
688
688
  #
689
- # envokes GEO DR failover and reconfigure the alias to point to the secondary
689
+ # Invokes GEO DR failover and reconfigure the alias to point to the secondary
690
690
  # namespace
691
691
  #
692
692
  # @param resource_group_name [String] Name of the resource group within the
@@ -146,7 +146,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
146
146
  #
147
147
  def add_telemetry
148
148
  sdk_information = 'azure_mgmt_event_hub'
149
- sdk_information = "#{sdk_information}/0.17.2"
149
+ sdk_information = "#{sdk_information}/0.17.3"
150
150
  add_user_agent_information(sdk_information)
151
151
  end
152
152
  end
@@ -19,7 +19,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
19
19
  attr_accessor :provisioning_state
20
20
 
21
21
  # @return [String] ARM Id of the Primary/Secondary eventhub namespace
22
- # name, which is part of GEO DR pairning
22
+ # name, which is part of GEO DR pairing
23
23
  attr_accessor :partner_namespace
24
24
 
25
25
  # @return [String] Alternate name specified when alias and namespace
@@ -36,6 +36,9 @@ module Azure::EventHub::Mgmt::V2017_04_01
36
36
  # stored. (Storage Account, Blob Names)
37
37
  attr_accessor :destination
38
38
 
39
+ # @return [Boolean] A value that indicates whether to Skip Empty Archives
40
+ attr_accessor :skip_empty_archives
41
+
39
42
 
40
43
  #
41
44
  # Mapper for CaptureDescription class as Ruby Hash.
@@ -99,6 +102,14 @@ module Azure::EventHub::Mgmt::V2017_04_01
99
102
  name: 'Composite',
100
103
  class_name: 'Destination'
101
104
  }
105
+ },
106
+ skip_empty_archives: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'skipEmptyArchives',
110
+ type: {
111
+ name: 'Boolean'
112
+ }
102
113
  }
103
114
  }
104
115
  }
@@ -18,7 +18,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
18
18
  # @return [DateTime] The exact time the message was updated.
19
19
  attr_accessor :updated_at
20
20
 
21
- # @return [String] Usermetadata is a placeholder to store user-defined
21
+ # @return [String] User Metadata is a placeholder to store user-defined
22
22
  # string data with maximum length 1024. e.g. it can be used to store
23
23
  # descriptive data, such as list of teams and their contact information
24
24
  # also user-defined configuration settings can be stored.
@@ -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::EventHub::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Defines values for DefaultAction
10
+ #
11
+ module DefaultAction
12
+ Allow = "Allow"
13
+ Deny = "Deny"
14
+ end
15
+ end
16
+ end
@@ -36,10 +36,14 @@ module Azure::EventHub::Mgmt::V2017_04_01
36
36
  attr_accessor :is_auto_inflate_enabled
37
37
 
38
38
  # @return [Integer] Upper limit of throughput units when AutoInflate is
39
- # enabled, vaule should be within 0 to 20 throughput units. ( '0' if
39
+ # enabled, value should be within 0 to 20 throughput units. ( '0' if
40
40
  # AutoInflateEnabled = true)
41
41
  attr_accessor :maximum_throughput_units
42
42
 
43
+ # @return [Boolean] Value that indicates whether Kafka is enabled for
44
+ # eventhub namespace.
45
+ attr_accessor :kafka_enabled
46
+
43
47
 
44
48
  #
45
49
  # Mapper for EHNamespace class as Ruby Hash.
@@ -178,6 +182,14 @@ module Azure::EventHub::Mgmt::V2017_04_01
178
182
  type: {
179
183
  name: 'Number'
180
184
  }
185
+ },
186
+ kafka_enabled: {
187
+ client_side_validation: true,
188
+ required: false,
189
+ serialized_name: 'properties.kafkaEnabled',
190
+ type: {
191
+ name: 'Boolean'
192
+ }
181
193
  }
182
194
  }
183
195
  }
@@ -6,7 +6,7 @@
6
6
  module Azure::EventHub::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
- # Error reponse indicates EventHub service is not able to process the
9
+ # Error response indicates EventHub service is not able to process the
10
10
  # incoming request. The reason is provided in the error message.
11
11
  #
12
12
  class ErrorResponse
@@ -0,0 +1,15 @@
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::EventHub::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Defines values for NetworkRuleIPAction
10
+ #
11
+ module NetworkRuleIPAction
12
+ Allow = "Allow"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,114 @@
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::EventHub::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Description of NetworkRuleSet resource.
10
+ #
11
+ class NetworkRuleSet < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DefaultAction] Default Action for Network Rule Set. Possible
16
+ # values include: 'Allow', 'Deny'
17
+ attr_accessor :default_action
18
+
19
+ # @return [Array<NWRuleSetVirtualNetworkRules>] List VirtualNetwork Rules
20
+ attr_accessor :virtual_network_rules
21
+
22
+ # @return [Array<NWRuleSetIpRules>] List of IpRules
23
+ attr_accessor :ip_rules
24
+
25
+
26
+ #
27
+ # Mapper for NetworkRuleSet class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'NetworkRuleSet',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'NetworkRuleSet',
38
+ model_properties: {
39
+ id: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'id',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ name: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'name',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ type: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'type',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ default_action: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'properties.defaultAction',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ virtual_network_rules: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'properties.virtualNetworkRules',
78
+ type: {
79
+ name: 'Sequence',
80
+ element: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'NWRuleSetVirtualNetworkRulesElementType',
84
+ type: {
85
+ name: 'Composite',
86
+ class_name: 'NWRuleSetVirtualNetworkRules'
87
+ }
88
+ }
89
+ }
90
+ },
91
+ ip_rules: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'properties.ipRules',
95
+ type: {
96
+ name: 'Sequence',
97
+ element: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'NWRuleSetIpRulesElementType',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'NWRuleSetIpRules'
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ end
112
+ end
113
+ end
114
+ end
@@ -0,0 +1,59 @@
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::EventHub::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Description of NetWorkRuleSet - IpRules resource.
10
+ #
11
+ class NWRuleSetIpRules
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] IP Mask
16
+ attr_accessor :ip_mask
17
+
18
+ # @return [NetworkRuleIPAction] The IP Filter Action. Possible values
19
+ # include: 'Allow'. Default value: 'Allow' .
20
+ attr_accessor :action
21
+
22
+
23
+ #
24
+ # Mapper for NWRuleSetIpRules class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'NWRuleSetIpRules',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'NWRuleSetIpRules',
35
+ model_properties: {
36
+ ip_mask: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'ipMask',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ action: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'action',
48
+ default_value: 'Allow',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,59 @@
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::EventHub::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Description of VirtualNetworkRules - NetworkRules resource.
10
+ #
11
+ class NWRuleSetVirtualNetworkRules
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Subnet] Subnet properties
16
+ attr_accessor :subnet
17
+
18
+ # @return [Boolean] Value that indicates whether to ignore missing VNet
19
+ # Service Endpoint
20
+ attr_accessor :ignore_missing_vnet_service_endpoint
21
+
22
+
23
+ #
24
+ # Mapper for NWRuleSetVirtualNetworkRules class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'NWRuleSetVirtualNetworkRules',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'NWRuleSetVirtualNetworkRules',
35
+ model_properties: {
36
+ subnet: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'subnet',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Subnet'
43
+ }
44
+ },
45
+ ignore_missing_vnet_service_endpoint: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'ignoreMissingVnetServiceEndpoint',
49
+ type: {
50
+ name: 'Boolean'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end