azure_mgmt_event_hub 0.17.0 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2014-09-01/generated/azure_mgmt_event_hub.rb +59 -0
  3. data/lib/2014-09-01/generated/azure_mgmt_event_hub/consumer_groups.rb +598 -0
  4. data/lib/2014-09-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +145 -0
  5. data/lib/2014-09-01/generated/azure_mgmt_event_hub/event_hubs.rb +1239 -0
  6. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/access_rights.rb +17 -0
  7. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb +46 -0
  8. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb +75 -0
  9. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_create_or_update_parameters.rb +115 -0
  10. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +100 -0
  11. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_resource.rb +117 -0
  12. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/entity_status.rb +23 -0
  13. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb +150 -0
  14. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +100 -0
  15. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_resource.rb +152 -0
  16. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_create_or_update_parameters.rb +160 -0
  17. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_list_result.rb +100 -0
  18. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_resource.rb +181 -0
  19. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_state.rb +27 -0
  20. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_update_parameter.rb +66 -0
  21. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/operation.rb +59 -0
  22. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/operation_display.rb +72 -0
  23. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +103 -0
  24. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/resource.rb +91 -0
  25. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_create_or_update_parameters.rb +79 -0
  26. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb +102 -0
  27. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_post_resource.rb +175 -0
  28. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_resource.rb +90 -0
  29. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/sku.rb +70 -0
  30. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/sku_name.rb +16 -0
  31. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/sku_tier.rb +17 -0
  32. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +89 -0
  33. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/unavailable_reason.rb +20 -0
  34. data/lib/2014-09-01/generated/azure_mgmt_event_hub/module_definition.rb +9 -0
  35. data/lib/2014-09-01/generated/azure_mgmt_event_hub/namespaces.rb +2044 -0
  36. data/lib/2014-09-01/generated/azure_mgmt_event_hub/operations.rb +219 -0
  37. data/lib/2015-08-01/generated/azure_mgmt_event_hub/consumer_groups.rb +10 -0
  38. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  39. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb +31 -5
  40. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +1 -1
  41. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +1 -1
  42. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_list_result.rb +1 -1
  43. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
  44. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/resource.rb +9 -0
  45. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb +1 -1
  46. data/lib/2015-08-01/generated/azure_mgmt_event_hub/namespaces.rb +32 -0
  47. data/lib/2015-08-01/generated/azure_mgmt_event_hub/operations.rb +4 -0
  48. data/lib/2017-04-01/generated/azure_mgmt_event_hub.rb +20 -13
  49. data/lib/2017-04-01/generated/azure_mgmt_event_hub/consumer_groups.rb +14 -0
  50. data/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb +27 -3
  51. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  52. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hubs.rb +33 -0
  53. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery.rb +1 -1
  54. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb +1 -1
  55. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule_list_result.rb +1 -1
  56. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb +11 -0
  57. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group.rb +1 -1
  58. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +1 -1
  59. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/default_action.rb +16 -0
  60. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb +13 -1
  61. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +1 -1
  62. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
  63. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +1 -1
  64. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_list_result.rb +1 -1
  65. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +15 -0
  66. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set.rb +114 -0
  67. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set_list_result.rb +100 -0
  68. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +59 -0
  69. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +59 -0
  70. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
  71. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb +1 -1
  72. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb +9 -0
  73. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb +1 -1
  74. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb +46 -0
  75. data/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb +461 -0
  76. data/lib/2017-04-01/generated/azure_mgmt_event_hub/operations.rb +4 -0
  77. data/lib/2017-04-01/generated/azure_mgmt_event_hub/regions.rb +4 -0
  78. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub.rb +22 -7
  79. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb +483 -0
  80. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/configuration.rb +4 -0
  81. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/event_hub2018preview_management_client.rb +1 -1
  82. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_cluster.rb +47 -0
  83. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_clusters_list.rb +56 -0
  84. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster.rb +12 -0
  85. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster_list_result.rb +1 -1
  86. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/default_action.rb +16 -0
  87. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace.rb +36 -1
  88. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_container.rb +46 -0
  89. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_list_result.rb +56 -0
  90. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +1 -1
  91. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/encryption.rb +62 -0
  92. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/identity.rb +72 -0
  93. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/identity_type.rb +15 -0
  94. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ip_filter_rule_list_result.rb +1 -1
  95. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/key_source.rb +15 -0
  96. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/key_vault_properties.rb +57 -0
  97. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +15 -0
  98. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_set.rb +114 -0
  99. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +58 -0
  100. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +59 -0
  101. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
  102. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/resource.rb +9 -0
  103. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/sku.rb +1 -1
  104. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/subnet.rb +46 -0
  105. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/virtual_network_rule_list_result.rb +6 -6
  106. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb +260 -11
  107. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/operations.rb +4 -0
  108. data/lib/azure_mgmt_event_hub.rb +2 -1
  109. data/lib/profiles/latest/modules/eventhub_profile_module.rb +82 -22
  110. data/lib/version.rb +1 -1
  111. metadata +62 -5
@@ -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::EventHub::Mgmt::V2014_09_01
7
+ module Models
8
+ #
9
+ # Defines values for AccessRights
10
+ #
11
+ module AccessRights
12
+ Manage = "Manage"
13
+ Send = "Send"
14
+ Listen = "Listen"
15
+ end
16
+ end
17
+ end
@@ -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::EventHub::Mgmt::V2014_09_01
7
+ module Models
8
+ #
9
+ # Parameter supplied to check Namespace name availability operation
10
+ #
11
+ class CheckNameAvailabilityParameter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name to check the namespace name availability
16
+ attr_accessor :name
17
+
18
+
19
+ #
20
+ # Mapper for CheckNameAvailabilityParameter 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: 'CheckNameAvailabilityParameter',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'CheckNameAvailabilityParameter',
31
+ model_properties: {
32
+ name: {
33
+ client_side_validation: true,
34
+ required: true,
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,75 @@
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::V2014_09_01
7
+ module Models
8
+ #
9
+ # The Result of the CheckNameAvailability operation
10
+ #
11
+ class CheckNameAvailabilityResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Value indicating Namespace is availability, true if
16
+ # the Namespace is available; otherwise, false.
17
+ attr_accessor :name_available
18
+
19
+ # @return [UnavailableReason] The reason for unavailability of a
20
+ # Namespace. Possible values include: 'None', 'InvalidName',
21
+ # 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown',
22
+ # 'TooManyNamespaceInCurrentSubscription'
23
+ attr_accessor :reason
24
+
25
+ # @return [String] The detailed info regarding the reason associated with
26
+ # the Namespace.
27
+ attr_accessor :message
28
+
29
+
30
+ #
31
+ # Mapper for CheckNameAvailabilityResult class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'CheckNameAvailabilityResult',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'CheckNameAvailabilityResult',
42
+ model_properties: {
43
+ name_available: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'nameAvailable',
47
+ type: {
48
+ name: 'Boolean'
49
+ }
50
+ },
51
+ reason: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'reason',
55
+ type: {
56
+ name: 'Enum',
57
+ module: 'UnavailableReason'
58
+ }
59
+ },
60
+ message: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'message',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,115 @@
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::V2014_09_01
7
+ module Models
8
+ #
9
+ # Parameters supplied to the Create Or Update Consumer Group operation.
10
+ #
11
+ class ConsumerGroupCreateOrUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Location of the resource.
16
+ attr_accessor :location
17
+
18
+ # @return [String] ARM type of the Namespace.
19
+ attr_accessor :type
20
+
21
+ # @return [String] Name of the consumer group.
22
+ attr_accessor :name
23
+
24
+ # @return [DateTime] Exact time the message was created.
25
+ attr_accessor :created_at
26
+
27
+ # @return [String] The path of the Event Hub.
28
+ attr_accessor :event_hub_path
29
+
30
+ # @return [DateTime] The exact time the message was updated.
31
+ attr_accessor :updated_at
32
+
33
+ # @return [String] The user metadata.
34
+ attr_accessor :user_metadata
35
+
36
+
37
+ #
38
+ # Mapper for ConsumerGroupCreateOrUpdateParameters 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: 'ConsumerGroupCreateOrUpdateParameters',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'ConsumerGroupCreateOrUpdateParameters',
49
+ model_properties: {
50
+ location: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'location',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ type: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'type',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ name: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'name',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ created_at: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'properties.createdAt',
79
+ type: {
80
+ name: 'DateTime'
81
+ }
82
+ },
83
+ event_hub_path: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'properties.eventHubPath',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ updated_at: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'properties.updatedAt',
97
+ type: {
98
+ name: 'DateTime'
99
+ }
100
+ },
101
+ user_metadata: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'properties.userMetadata',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,100 @@
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::V2014_09_01
7
+ module Models
8
+ #
9
+ # The result to the List Consumer Group operation.
10
+ #
11
+ class ConsumerGroupListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ConsumerGroupResource>] Result of the List Consumer
17
+ # Group operation.
18
+ attr_accessor :value
19
+
20
+ # @return [String] Link to the next set of results. Not empty if Value
21
+ # contains incomplete list of Consumer Group
22
+ attr_accessor :next_link
23
+
24
+ # return [Proc] with next page method call.
25
+ attr_accessor :next_method
26
+
27
+ #
28
+ # Gets the rest of the items for the request, enabling auto-pagination.
29
+ #
30
+ # @return [Array<ConsumerGroupResource>] operation results.
31
+ #
32
+ def get_all_items
33
+ items = @value
34
+ page = self
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
+ page = page.get_next_page
37
+ items.concat(page.value)
38
+ end
39
+ items
40
+ end
41
+
42
+ #
43
+ # Gets the next page of results.
44
+ #
45
+ # @return [ConsumerGroupListResult] with next page 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 ConsumerGroupListResult class as Ruby Hash.
58
+ # This will be used for serialization/deserialization.
59
+ #
60
+ def self.mapper()
61
+ {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'ConsumerGroupListResult',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'ConsumerGroupListResult',
68
+ model_properties: {
69
+ value: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'value',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'ConsumerGroupResourceElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'ConsumerGroupResource'
82
+ }
83
+ }
84
+ }
85
+ },
86
+ next_link: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,117 @@
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::V2014_09_01
7
+ module Models
8
+ #
9
+ # Single item in List or Get Consumer group operation
10
+ #
11
+ class ConsumerGroupResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DateTime] Exact time the message was created.
16
+ attr_accessor :created_at
17
+
18
+ # @return [String] The path of the Event Hub.
19
+ attr_accessor :event_hub_path
20
+
21
+ # @return [DateTime] The exact time the message was updated.
22
+ attr_accessor :updated_at
23
+
24
+ # @return [String] The user metadata.
25
+ attr_accessor :user_metadata
26
+
27
+
28
+ #
29
+ # Mapper for ConsumerGroupResource class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ConsumerGroupResource',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ConsumerGroupResource',
40
+ model_properties: {
41
+ id: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'id',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ name: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ location: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'location',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ type: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'type',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ created_at: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'properties.createdAt',
81
+ type: {
82
+ name: 'DateTime'
83
+ }
84
+ },
85
+ event_hub_path: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'properties.eventHubPath',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ updated_at: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'properties.updatedAt',
99
+ type: {
100
+ name: 'DateTime'
101
+ }
102
+ },
103
+ user_metadata: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'properties.userMetadata',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ end
115
+ end
116
+ end
117
+ end