azure_mgmt_event_grid 0.17.1 → 0.17.2

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/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  3. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  4. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  5. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  6. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid.rb +91 -0
  7. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +231 -0
  8. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +986 -0
  9. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +153 -0
  10. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1917 -0
  11. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +70 -0
  12. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
  13. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
  14. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +140 -0
  15. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
  16. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
  17. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
  18. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +62 -0
  19. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +55 -0
  20. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -0
  21. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +55 -0
  22. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
  23. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
  24. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
  25. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -0
  26. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
  27. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
  28. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
  29. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
  30. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -0
  31. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -0
  32. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
  33. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
  34. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
  35. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
  36. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
  37. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +65 -0
  38. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
  39. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
  40. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
  41. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
  42. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
  43. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
  44. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
  45. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
  46. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
  47. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
  48. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
  49. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  50. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
  51. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
  52. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
  53. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
  54. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
  55. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
  56. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
  57. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
  58. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -0
  59. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  60. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
  61. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
  62. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -0
  63. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  64. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
  65. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
  66. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -0
  67. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
  68. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -0
  69. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  70. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +116 -0
  71. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +299 -0
  72. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +1095 -0
  73. data/lib/azure_mgmt_event_grid.rb +1 -0
  74. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +187 -99
  75. data/lib/version.rb +1 -1
  76. metadata +69 -2
@@ -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_09_15_preview
7
+ module Models
8
+ #
9
+ # Domain Topic
10
+ #
11
+ class DomainTopic < Resource
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ #
17
+ # Mapper for DomainTopic class as Ruby Hash.
18
+ # This will be used for serialization/deserialization.
19
+ #
20
+ def self.mapper()
21
+ {
22
+ client_side_validation: true,
23
+ required: false,
24
+ serialized_name: 'DomainTopic',
25
+ type: {
26
+ name: 'Composite',
27
+ class_name: 'DomainTopic',
28
+ model_properties: {
29
+ id: {
30
+ client_side_validation: true,
31
+ required: false,
32
+ read_only: true,
33
+ serialized_name: 'id',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ },
38
+ name: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ type: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'type',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ 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_09_15_preview
7
+ module Models
8
+ #
9
+ # Result of the List Domain Topics operation
10
+ #
11
+ class DomainTopicsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DomainTopic>] A collection of Domain Topics
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for DomainTopicsListResult 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: 'DomainTopicsListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'DomainTopicsListResult',
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: 'DomainTopicElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'DomainTopic'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,54 @@
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_09_15_preview
7
+ module Models
8
+ #
9
+ # Properties of the Domain update
10
+ #
11
+ class DomainUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Tags of the domains resource
16
+ attr_accessor :tags
17
+
18
+
19
+ #
20
+ # Mapper for DomainUpdateParameters 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: 'DomainUpdateParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'DomainUpdateParameters',
31
+ model_properties: {
32
+ tags: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'tags',
36
+ type: {
37
+ name: 'Dictionary',
38
+ value: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ 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_09_15_preview
7
+ module Models
8
+ #
9
+ # Result of the List Domains operation
10
+ #
11
+ class DomainsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Domain>] A collection of Domains
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for DomainsListResult 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: 'DomainsListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'DomainsListResult',
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: 'DomainElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Domain'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ 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::EventGrid::Mgmt::V2018_09_15_preview
7
+ module Models
8
+ #
9
+ # Defines values for EventDeliverySchema
10
+ #
11
+ module EventDeliverySchema
12
+ EventGridSchema = "EventGridSchema"
13
+ CloudEventV01Schema = "CloudEventV01Schema"
14
+ CustomInputSchema = "CustomInputSchema"
15
+ end
16
+ end
17
+ end
@@ -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_09_15_preview
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,189 @@
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_09_15_preview
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', 'AwaitingManualAction'
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
+ # @return [DateTime] Expiration time of the event subscription.
36
+ attr_accessor :expiration_time_utc
37
+
38
+ # @return [EventDeliverySchema] The event delivery schema for the event
39
+ # subscription. Possible values include: 'EventGridSchema',
40
+ # 'CloudEventV01Schema', 'CustomInputSchema'
41
+ attr_accessor :event_delivery_schema
42
+
43
+ # @return [RetryPolicy] The retry policy for events. This can be used to
44
+ # configure maximum number of delivery attempts and time to live for
45
+ # events.
46
+ attr_accessor :retry_policy
47
+
48
+ # @return [DeadLetterDestination] The DeadLetter destination of the event
49
+ # subscription.
50
+ attr_accessor :dead_letter_destination
51
+
52
+
53
+ #
54
+ # Mapper for EventSubscription class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'EventSubscription',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'EventSubscription',
65
+ model_properties: {
66
+ id: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'id',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ name: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'name',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ type: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'type',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ topic: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'properties.topic',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ provisioning_state: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ read_only: true,
106
+ serialized_name: 'properties.provisioningState',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ destination: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'properties.destination',
115
+ type: {
116
+ name: 'Composite',
117
+ polymorphic_discriminator: 'endpointType',
118
+ uber_parent: 'EventSubscriptionDestination',
119
+ class_name: 'EventSubscriptionDestination'
120
+ }
121
+ },
122
+ filter: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ serialized_name: 'properties.filter',
126
+ type: {
127
+ name: 'Composite',
128
+ class_name: 'EventSubscriptionFilter'
129
+ }
130
+ },
131
+ labels: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'properties.labels',
135
+ type: {
136
+ name: 'Sequence',
137
+ element: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'StringElementType',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ }
145
+ }
146
+ },
147
+ expiration_time_utc: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ serialized_name: 'properties.expirationTimeUtc',
151
+ type: {
152
+ name: 'DateTime'
153
+ }
154
+ },
155
+ event_delivery_schema: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ serialized_name: 'properties.eventDeliverySchema',
159
+ type: {
160
+ name: 'String'
161
+ }
162
+ },
163
+ retry_policy: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'properties.retryPolicy',
167
+ type: {
168
+ name: 'Composite',
169
+ class_name: 'RetryPolicy'
170
+ }
171
+ },
172
+ dead_letter_destination: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ serialized_name: 'properties.deadLetterDestination',
176
+ type: {
177
+ name: 'Composite',
178
+ polymorphic_discriminator: 'endpointType',
179
+ uber_parent: 'DeadLetterDestination',
180
+ class_name: 'DeadLetterDestination'
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+ end
187
+ end
188
+ end
189
+ end