azure_mgmt_event_grid 0.20.2 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) 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/event_grid_management_client.rb +1 -1
  7. data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  8. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  9. data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  10. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  11. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  12. data/lib/2020-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  13. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid.rb +171 -0
  14. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +699 -0
  15. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/domains.rb +1328 -0
  16. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_channels.rb +658 -0
  17. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +194 -0
  18. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +3775 -0
  19. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/extension_topics.rb +141 -0
  20. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +81 -0
  21. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +112 -0
  22. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
  23. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
  24. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/created_by_type.rb +18 -0
  25. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
  26. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_with_resource_identity.rb +66 -0
  27. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_attribute_list_result.rb +58 -0
  28. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_attribute_mapping.rb +58 -0
  29. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb +67 -0
  30. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +253 -0
  31. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
  32. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
  33. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
  34. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +89 -0
  35. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
  36. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
  37. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +117 -0
  38. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
  39. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dynamic_delivery_attribute_mapping.rb +69 -0
  40. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel.rb +172 -0
  41. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb +75 -0
  42. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb +70 -0
  43. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_provisioning_state.rb +20 -0
  44. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb +48 -0
  45. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb +98 -0
  46. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
  47. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +84 -0
  48. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +244 -0
  49. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -0
  50. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +132 -0
  51. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
  52. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb +61 -0
  53. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity_type.rb +16 -0
  54. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
  55. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +176 -0
  56. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
  57. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
  58. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
  59. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/extended_location.rb +57 -0
  60. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/extension_topic.rb +86 -0
  61. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +86 -0
  62. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/identity_info.rb +96 -0
  63. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/identity_type.rb +18 -0
  64. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +59 -0
  65. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
  66. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
  67. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb +15 -0
  68. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/is_not_null_advanced_filter.rb +58 -0
  69. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/is_null_or_undefined_advanced_filter.rb +58 -0
  70. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
  71. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
  72. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
  73. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
  74. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
  75. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
  76. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_in_range_advanced_filter.rb +85 -0
  77. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
  78. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
  79. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
  80. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_range_advanced_filter.rb +85 -0
  81. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
  82. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
  83. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
  84. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace.rb +140 -0
  85. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_provisioning_state.rb +20 -0
  86. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb +46 -0
  87. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb +57 -0
  88. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb +54 -0
  89. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb +98 -0
  90. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +278 -0
  91. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb +68 -0
  92. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_provisioning_state.rb +20 -0
  93. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +137 -0
  94. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_visibility_state.rb +17 -0
  95. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb +99 -0
  96. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +179 -0
  97. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_activation_state.rb +17 -0
  98. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_provisioning_state.rb +20 -0
  99. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_readiness_state.rb +18 -0
  100. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb +134 -0
  101. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_type_authorization_state.rb +17 -0
  102. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb +55 -0
  103. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb +54 -0
  104. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb +98 -0
  105. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
  106. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
  107. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +121 -0
  108. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
  109. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
  110. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
  111. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
  112. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
  113. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_kind.rb +16 -0
  114. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
  115. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  116. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +47 -0
  117. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +61 -0
  118. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +85 -0
  119. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +86 -0
  120. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/sku.rb +16 -0
  121. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/static_delivery_attribute_mapping.rb +81 -0
  122. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
  123. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +86 -0
  124. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
  125. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
  126. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
  127. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
  128. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_begins_with_advanced_filter.rb +77 -0
  129. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_contains_advanced_filter.rb +77 -0
  130. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_ends_with_advanced_filter.rb +77 -0
  131. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
  132. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_data.rb +105 -0
  133. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topic.rb +159 -0
  134. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topic_update_parameters.rb +66 -0
  135. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topics_list_result.rb +98 -0
  136. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +278 -0
  137. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  138. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
  139. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
  140. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +169 -0
  141. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  142. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
  143. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +117 -0
  144. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
  145. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
  146. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/user_identity_properties.rb +57 -0
  147. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +148 -0
  148. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  149. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -0
  150. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_namespaces.rb +1333 -0
  151. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_registrations.rb +1074 -0
  152. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb +1156 -0
  153. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_topics.rb +1102 -0
  154. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +791 -0
  155. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
  156. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb +1152 -0
  157. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/system_topics.rb +1128 -0
  158. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -0
  159. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/topics.rb +1489 -0
  160. data/lib/azure_mgmt_event_grid.rb +8 -7
  161. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +417 -181
  162. data/lib/version.rb +1 -1
  163. metadata +150 -3
@@ -0,0 +1,18 @@
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::V2020_10_15_preview
7
+ module Models
8
+ #
9
+ # Defines values for CreatedByType
10
+ #
11
+ module CreatedByType
12
+ User = "User"
13
+ Application = "Application"
14
+ ManagedIdentity = "ManagedIdentity"
15
+ Key = "Key"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,50 @@
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::V2020_10_15_preview
7
+ module Models
8
+ #
9
+ # Information about the dead letter destination for an event subscription.
10
+ # To configure a deadletter destination, do not directly instantiate an
11
+ # object of this class. Instead, instantiate an object of a derived class.
12
+ # Currently, StorageBlobDeadLetterDestination is the only class that
13
+ # derives from this class.
14
+ #
15
+ class DeadLetterDestination
16
+
17
+ include MsRestAzure
18
+
19
+ @@discriminatorMap = Hash.new
20
+ @@discriminatorMap["StorageBlob"] = "StorageBlobDeadLetterDestination"
21
+
22
+ def initialize
23
+ @endpointType = "DeadLetterDestination"
24
+ end
25
+
26
+ attr_accessor :endpointType
27
+
28
+
29
+ #
30
+ # Mapper for DeadLetterDestination class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'DeadLetterDestination',
38
+ type: {
39
+ name: 'Composite',
40
+ polymorphic_discriminator: 'endpointType',
41
+ uber_parent: 'DeadLetterDestination',
42
+ class_name: 'DeadLetterDestination',
43
+ model_properties: {
44
+ }
45
+ }
46
+ }
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,66 @@
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::V2020_10_15_preview
7
+ module Models
8
+ #
9
+ # Information about the deadletter destination with resource identity.
10
+ #
11
+ class DeadLetterWithResourceIdentity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EventSubscriptionIdentity] The identity to use when
16
+ # dead-lettering events.
17
+ attr_accessor :identity
18
+
19
+ # @return [DeadLetterDestination] Information about the destination where
20
+ # events have to be delivered for the event subscription.
21
+ # Uses the managed identity setup on the parent resource (namely, topic
22
+ # or domain) to acquire the authentication tokens being used during
23
+ # delivery / dead-lettering.
24
+ attr_accessor :dead_letter_destination
25
+
26
+
27
+ #
28
+ # Mapper for DeadLetterWithResourceIdentity 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: 'DeadLetterWithResourceIdentity',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'DeadLetterWithResourceIdentity',
39
+ model_properties: {
40
+ identity: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'identity',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'EventSubscriptionIdentity'
47
+ }
48
+ },
49
+ dead_letter_destination: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'deadLetterDestination',
53
+ type: {
54
+ name: 'Composite',
55
+ polymorphic_discriminator: 'endpointType',
56
+ uber_parent: 'DeadLetterDestination',
57
+ class_name: 'DeadLetterDestination'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,58 @@
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::V2020_10_15_preview
7
+ module Models
8
+ #
9
+ # Result of the Get delivery attributes operation.
10
+ #
11
+ class DeliveryAttributeListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DeliveryAttributeMapping>] A collection of
16
+ # DeliveryAttributeMapping
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for DeliveryAttributeListResult 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: 'DeliveryAttributeListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DeliveryAttributeListResult',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'DeliveryAttributeMappingElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ polymorphic_discriminator: 'type',
46
+ uber_parent: 'DeliveryAttributeMapping',
47
+ class_name: 'DeliveryAttributeMapping'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,58 @@
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::V2020_10_15_preview
7
+ module Models
8
+ #
9
+ # Delivery attribute mapping details.
10
+ #
11
+ class DeliveryAttributeMapping
12
+
13
+ include MsRestAzure
14
+
15
+ @@discriminatorMap = Hash.new
16
+ @@discriminatorMap["Static"] = "StaticDeliveryAttributeMapping"
17
+ @@discriminatorMap["Dynamic"] = "DynamicDeliveryAttributeMapping"
18
+
19
+ def initialize
20
+ @type = "DeliveryAttributeMapping"
21
+ end
22
+
23
+ attr_accessor :type
24
+
25
+ # @return [String] Name of the delivery attribute or header.
26
+ attr_accessor :name
27
+
28
+
29
+ #
30
+ # Mapper for DeliveryAttributeMapping class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'DeliveryAttributeMapping',
38
+ type: {
39
+ name: 'Composite',
40
+ polymorphic_discriminator: 'type',
41
+ uber_parent: 'DeliveryAttributeMapping',
42
+ class_name: 'DeliveryAttributeMapping',
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
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,67 @@
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::V2020_10_15_preview
7
+ module Models
8
+ #
9
+ # Information about the delivery for an event subscription with resource
10
+ # identity.
11
+ #
12
+ class DeliveryWithResourceIdentity
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [EventSubscriptionIdentity] The identity to use when delivering
17
+ # events.
18
+ attr_accessor :identity
19
+
20
+ # @return [EventSubscriptionDestination] Information about the
21
+ # destination where events have to be delivered for the event
22
+ # subscription.
23
+ # Uses Azure Event Grid's identity to acquire the authentication tokens
24
+ # being used during delivery / dead-lettering.
25
+ attr_accessor :destination
26
+
27
+
28
+ #
29
+ # Mapper for DeliveryWithResourceIdentity 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: 'DeliveryWithResourceIdentity',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'DeliveryWithResourceIdentity',
40
+ model_properties: {
41
+ identity: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'identity',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'EventSubscriptionIdentity'
48
+ }
49
+ },
50
+ destination: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'destination',
54
+ type: {
55
+ name: 'Composite',
56
+ polymorphic_discriminator: 'endpointType',
57
+ uber_parent: 'EventSubscriptionDestination',
58
+ class_name: 'EventSubscriptionDestination'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,253 @@
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::V2020_10_15_preview
7
+ module Models
8
+ #
9
+ # EventGrid Domain.
10
+ #
11
+ class Domain < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<PrivateEndpointConnection>] List of private endpoint
16
+ # connections.
17
+ attr_accessor :private_endpoint_connections
18
+
19
+ # @return [DomainProvisioningState] Provisioning state of the domain.
20
+ # Possible values include: 'Creating', 'Updating', 'Deleting',
21
+ # 'Succeeded', 'Canceled', 'Failed'
22
+ attr_accessor :provisioning_state
23
+
24
+ # @return [String] Endpoint for the domain.
25
+ attr_accessor :endpoint
26
+
27
+ # @return [InputSchema] This determines the format that Event Grid should
28
+ # expect for incoming events published to the domain. Possible values
29
+ # include: 'EventGridSchema', 'CustomEventSchema',
30
+ # 'CloudEventSchemaV1_0'. Default value: 'EventGridSchema' .
31
+ attr_accessor :input_schema
32
+
33
+ # @return [InputSchemaMapping] Information about the InputSchemaMapping
34
+ # which specified the info about mapping event payload.
35
+ attr_accessor :input_schema_mapping
36
+
37
+ # @return [String] Metric resource id for the domain.
38
+ attr_accessor :metric_resource_id
39
+
40
+ # @return [PublicNetworkAccess] This determines if traffic is allowed
41
+ # over public network. By default it is enabled.
42
+ # You can further restrict to specific IPs by configuring <seealso
43
+ # cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainProperties.InboundIpRules"
44
+ # />. Possible values include: 'Enabled', 'Disabled'. Default value:
45
+ # 'Enabled' .
46
+ attr_accessor :public_network_access
47
+
48
+ # @return [Array<InboundIpRule>] This can be used to restrict traffic
49
+ # from specific IPs instead of all IPs. Note: These are considered only
50
+ # if PublicNetworkAccess is enabled.
51
+ attr_accessor :inbound_ip_rules
52
+
53
+ # @return [ResourceSku] The Sku pricing tier for the domain. Default
54
+ # value: Basic .
55
+ attr_accessor :sku
56
+
57
+ # @return [IdentityInfo] Identity information for the resource.
58
+ attr_accessor :identity
59
+
60
+ # @return [SystemData] The system metadata relating to Domain resource.
61
+ attr_accessor :system_data
62
+
63
+
64
+ #
65
+ # Mapper for Domain class as Ruby Hash.
66
+ # This will be used for serialization/deserialization.
67
+ #
68
+ def self.mapper()
69
+ {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'Domain',
73
+ type: {
74
+ name: 'Composite',
75
+ class_name: 'Domain',
76
+ model_properties: {
77
+ id: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'id',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ name: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'name',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ type: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'type',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ location: {
105
+ client_side_validation: true,
106
+ required: true,
107
+ serialized_name: 'location',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ tags: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'tags',
116
+ type: {
117
+ name: 'Dictionary',
118
+ value: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'StringElementType',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ }
126
+ }
127
+ },
128
+ private_endpoint_connections: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ serialized_name: 'properties.privateEndpointConnections',
132
+ type: {
133
+ name: 'Sequence',
134
+ element: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'PrivateEndpointConnectionElementType',
138
+ type: {
139
+ name: 'Composite',
140
+ class_name: 'PrivateEndpointConnection'
141
+ }
142
+ }
143
+ }
144
+ },
145
+ provisioning_state: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ read_only: true,
149
+ serialized_name: 'properties.provisioningState',
150
+ type: {
151
+ name: 'String'
152
+ }
153
+ },
154
+ endpoint: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ read_only: true,
158
+ serialized_name: 'properties.endpoint',
159
+ type: {
160
+ name: 'String'
161
+ }
162
+ },
163
+ input_schema: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'properties.inputSchema',
167
+ default_value: 'EventGridSchema',
168
+ type: {
169
+ name: 'String'
170
+ }
171
+ },
172
+ input_schema_mapping: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ serialized_name: 'properties.inputSchemaMapping',
176
+ type: {
177
+ name: 'Composite',
178
+ polymorphic_discriminator: 'inputSchemaMappingType',
179
+ uber_parent: 'InputSchemaMapping',
180
+ class_name: 'InputSchemaMapping'
181
+ }
182
+ },
183
+ metric_resource_id: {
184
+ client_side_validation: true,
185
+ required: false,
186
+ read_only: true,
187
+ serialized_name: 'properties.metricResourceId',
188
+ type: {
189
+ name: 'String'
190
+ }
191
+ },
192
+ public_network_access: {
193
+ client_side_validation: true,
194
+ required: false,
195
+ serialized_name: 'properties.publicNetworkAccess',
196
+ default_value: 'Enabled',
197
+ type: {
198
+ name: 'String'
199
+ }
200
+ },
201
+ inbound_ip_rules: {
202
+ client_side_validation: true,
203
+ required: false,
204
+ serialized_name: 'properties.inboundIpRules',
205
+ type: {
206
+ name: 'Sequence',
207
+ element: {
208
+ client_side_validation: true,
209
+ required: false,
210
+ serialized_name: 'InboundIpRuleElementType',
211
+ type: {
212
+ name: 'Composite',
213
+ class_name: 'InboundIpRule'
214
+ }
215
+ }
216
+ }
217
+ },
218
+ sku: {
219
+ client_side_validation: true,
220
+ required: false,
221
+ serialized_name: 'sku',
222
+ default_value: Basic,
223
+ type: {
224
+ name: 'Composite',
225
+ class_name: 'ResourceSku'
226
+ }
227
+ },
228
+ identity: {
229
+ client_side_validation: true,
230
+ required: false,
231
+ serialized_name: 'identity',
232
+ type: {
233
+ name: 'Composite',
234
+ class_name: 'IdentityInfo'
235
+ }
236
+ },
237
+ system_data: {
238
+ client_side_validation: true,
239
+ required: false,
240
+ read_only: true,
241
+ serialized_name: 'systemData',
242
+ type: {
243
+ name: 'Composite',
244
+ class_name: 'SystemData'
245
+ }
246
+ }
247
+ }
248
+ }
249
+ }
250
+ end
251
+ end
252
+ end
253
+ end