azure_mgmt_event_grid 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +4 -1
  3. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +4 -4
  4. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb +4 -4
  5. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +4 -1
  6. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +4 -4
  7. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
  8. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +170 -4
  9. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid.rb +9 -8
  10. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +144 -0
  11. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +1799 -0
  12. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
  13. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +136 -0
  14. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +47 -0
  15. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -0
  16. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
  17. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -0
  18. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +83 -0
  19. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -0
  20. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +95 -0
  21. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
  22. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
  23. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
  24. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
  25. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb +71 -0
  26. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  27. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -0
  28. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  29. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
  30. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
  31. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -0
  32. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  33. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
  34. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
  35. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -0
  36. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
  37. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -0
  38. data/lib/2018-01-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  39. data/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb +115 -0
  40. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb +296 -0
  41. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb +1092 -0
  42. data/lib/2018-01-01/generated/azure_mgmt_event_grid.rb +57 -0
  43. data/lib/azure_mgmt_event_grid.rb +1 -0
  44. data/lib/profiles/latest/eventgrid_latest_profile_client.rb +28 -9
  45. data/lib/profiles/latest/eventgrid_module_definition.rb +0 -1
  46. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +125 -114
  47. data/lib/version.rb +1 -1
  48. metadata +37 -3
@@ -0,0 +1,62 @@
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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Information about the event hub destination for an event subscription
10
+ #
11
+ class EventHubEventSubscriptionDestination < EventSubscriptionDestination
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @endpointType = "EventHub"
18
+ end
19
+
20
+ attr_accessor :endpointType
21
+
22
+ # @return [String] The Azure Resource Id that represents the endpoint of
23
+ # an Event Hub destination of an event subscription.
24
+ attr_accessor :resource_id
25
+
26
+
27
+ #
28
+ # Mapper for EventHubEventSubscriptionDestination class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'EventHub',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'EventHubEventSubscriptionDestination',
39
+ model_properties: {
40
+ endpointType: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'endpointType',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ resource_id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'properties.resourceId',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,136 @@
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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Event Subscription
10
+ #
11
+ class EventSubscription < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the topic of the event subscription.
16
+ attr_accessor :topic
17
+
18
+ # @return [EventSubscriptionProvisioningState] Provisioning state of the
19
+ # event subscription. Possible values include: 'Creating', 'Updating',
20
+ # 'Deleting', 'Succeeded', 'Canceled', 'Failed'
21
+ attr_accessor :provisioning_state
22
+
23
+ # @return [EventSubscriptionDestination] Information about the
24
+ # destination where events have to be delivered for the event
25
+ # subscription.
26
+ attr_accessor :destination
27
+
28
+ # @return [EventSubscriptionFilter] Information about the filter for the
29
+ # event subscription.
30
+ attr_accessor :filter
31
+
32
+ # @return [Array<String>] List of user defined labels.
33
+ attr_accessor :labels
34
+
35
+
36
+ #
37
+ # Mapper for EventSubscription class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'EventSubscription',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'EventSubscription',
48
+ model_properties: {
49
+ id: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'id',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ name: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'name',
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
+ topic: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'properties.topic',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ provisioning_state: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'properties.provisioningState',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ destination: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'properties.destination',
98
+ type: {
99
+ name: 'Composite',
100
+ polymorphic_discriminator: 'endpointType',
101
+ uber_parent: 'EventSubscriptionDestination',
102
+ class_name: 'EventSubscriptionDestination'
103
+ }
104
+ },
105
+ filter: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'properties.filter',
109
+ type: {
110
+ name: 'Composite',
111
+ class_name: 'EventSubscriptionFilter'
112
+ }
113
+ },
114
+ labels: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'properties.labels',
118
+ type: {
119
+ name: 'Sequence',
120
+ element: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ serialized_name: 'StringElementType',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ end
134
+ end
135
+ end
136
+ 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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Information about the destination for an event subscription
10
+ #
11
+ class EventSubscriptionDestination
12
+
13
+ include MsRestAzure
14
+
15
+ @@discriminatorMap = Hash.new
16
+ @@discriminatorMap["WebHook"] = "WebHookEventSubscriptionDestination"
17
+ @@discriminatorMap["EventHub"] = "EventHubEventSubscriptionDestination"
18
+
19
+ def initialize
20
+ @endpointType = "EventSubscriptionDestination"
21
+ end
22
+
23
+ attr_accessor :endpointType
24
+
25
+
26
+ #
27
+ # Mapper for EventSubscriptionDestination 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: 'EventSubscriptionDestination',
35
+ type: {
36
+ name: 'Composite',
37
+ polymorphic_discriminator: 'endpointType',
38
+ uber_parent: 'EventSubscriptionDestination',
39
+ class_name: 'EventSubscriptionDestination',
40
+ model_properties: {
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,98 @@
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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Filter for the Event Subscription
10
+ #
11
+ class EventSubscriptionFilter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] An optional string to filter events for an event
16
+ # subscription based on a resource path prefix.
17
+ # The format of this depends on the publisher of the events.
18
+ # Wildcard characters are not supported in this path.
19
+ attr_accessor :subject_begins_with
20
+
21
+ # @return [String] An optional string to filter events for an event
22
+ # subscription based on a resource path suffix.
23
+ # Wildcard characters are not supported in this path.
24
+ attr_accessor :subject_ends_with
25
+
26
+ # @return [Array<String>] A list of applicable event types that need to
27
+ # be part of the event subscription.
28
+ # If it is desired to subscribe to all event types, the string "all"
29
+ # needs to be specified as an element in this list.
30
+ attr_accessor :included_event_types
31
+
32
+ # @return [Boolean] Specifies if the SubjectBeginsWith and
33
+ # SubjectEndsWith properties of the filter
34
+ # should be compared in a case sensitive manner. Default value: false .
35
+ attr_accessor :is_subject_case_sensitive
36
+
37
+
38
+ #
39
+ # Mapper for EventSubscriptionFilter class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'EventSubscriptionFilter',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'EventSubscriptionFilter',
50
+ model_properties: {
51
+ subject_begins_with: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'subjectBeginsWith',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ subject_ends_with: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'subjectEndsWith',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ included_event_types: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'includedEventTypes',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'StringElementType',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ is_subject_case_sensitive: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'isSubjectCaseSensitive',
87
+ default_value: false,
88
+ type: {
89
+ name: 'Boolean'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ 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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Full endpoint url of an event subscription
10
+ #
11
+ class EventSubscriptionFullUrl
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The URL that represents the endpoint of the
16
+ # destination of an event subscription.
17
+ attr_accessor :endpoint_url
18
+
19
+
20
+ #
21
+ # Mapper for EventSubscriptionFullUrl 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: 'EventSubscriptionFullUrl',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'EventSubscriptionFullUrl',
32
+ model_properties: {
33
+ endpoint_url: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'endpointUrl',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,20 @@
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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Defines values for EventSubscriptionProvisioningState
10
+ #
11
+ module EventSubscriptionProvisioningState
12
+ Creating = "Creating"
13
+ Updating = "Updating"
14
+ Deleting = "Deleting"
15
+ Succeeded = "Succeeded"
16
+ Canceled = "Canceled"
17
+ Failed = "Failed"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,83 @@
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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Properties of the Event Subscription update
10
+ #
11
+ class EventSubscriptionUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EventSubscriptionDestination] Information about the
16
+ # destination where events have to be delivered for the event
17
+ # subscription.
18
+ attr_accessor :destination
19
+
20
+ # @return [EventSubscriptionFilter] Information about the filter for the
21
+ # event subscription.
22
+ attr_accessor :filter
23
+
24
+ # @return [Array<String>] List of user defined labels.
25
+ attr_accessor :labels
26
+
27
+
28
+ #
29
+ # Mapper for EventSubscriptionUpdateParameters 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: 'EventSubscriptionUpdateParameters',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'EventSubscriptionUpdateParameters',
40
+ model_properties: {
41
+ destination: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'destination',
45
+ type: {
46
+ name: 'Composite',
47
+ polymorphic_discriminator: 'endpointType',
48
+ uber_parent: 'EventSubscriptionDestination',
49
+ class_name: 'EventSubscriptionDestination'
50
+ }
51
+ },
52
+ filter: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'filter',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'EventSubscriptionFilter'
59
+ }
60
+ },
61
+ labels: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'labels',
65
+ type: {
66
+ name: 'Sequence',
67
+ element: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'StringElementType',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,55 @@
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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Result of the List EventSubscriptions operation
10
+ #
11
+ class EventSubscriptionsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<EventSubscription>] A collection of EventSubscriptions
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for EventSubscriptionsListResult 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: 'EventSubscriptionsListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'EventSubscriptionsListResult',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'EventSubscriptionElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'EventSubscription'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,95 @@
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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Event Type for a subject under a topic
10
+ #
11
+ class EventType < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Display name of the event type.
16
+ attr_accessor :display_name
17
+
18
+ # @return [String] Description of the event type.
19
+ attr_accessor :description
20
+
21
+ # @return [String] Url of the schema for this event type.
22
+ attr_accessor :schema_url
23
+
24
+
25
+ #
26
+ # Mapper for EventType class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'EventType',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'EventType',
37
+ model_properties: {
38
+ id: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'id',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ name: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ display_name: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'properties.displayName',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ description: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'properties.description',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ schema_url: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'properties.schemaUrl',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,55 @@
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::EventGrid::Mgmt::V2018_01_01
7
+ module Models
8
+ #
9
+ # Result of the List Event Types operation
10
+ #
11
+ class EventTypesListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<EventType>] A collection of event types
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for EventTypesListResult 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: 'EventTypesListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'EventTypesListResult',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'EventTypeElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'EventType'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end