azure_mgmt_event_grid 0.18.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) 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.rb +39 -39
  12. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_channels.rb +106 -62
  13. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  14. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/connection_state.rb +1 -1
  15. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel.rb +56 -0
  16. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb +58 -0
  17. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +58 -1
  18. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +20 -0
  19. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +28 -0
  20. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_readiness_state.rb +18 -0
  21. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +2 -1
  22. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +2 -3
  23. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +1 -2
  24. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb +173 -8
  25. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +27 -9
  26. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb +173 -8
  27. data/lib/2020-06-01/generated/azure_mgmt_event_grid.rb +108 -0
  28. data/lib/2020-06-01/generated/azure_mgmt_event_grid/domain_topics.rb +699 -0
  29. data/lib/2020-06-01/generated/azure_mgmt_event_grid/domains.rb +1328 -0
  30. data/lib/2020-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +161 -0
  31. data/lib/2020-06-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +3648 -0
  32. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -0
  33. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +86 -0
  34. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
  35. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
  36. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
  37. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain.rb +212 -0
  38. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
  39. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
  40. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
  41. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -0
  42. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
  43. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
  44. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +91 -0
  45. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
  46. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
  47. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
  48. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
  49. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -0
  50. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
  51. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
  52. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
  53. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
  54. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
  55. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
  56. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
  57. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
  58. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +59 -0
  59. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
  60. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
  61. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/ip_action_type.rb +15 -0
  62. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
  63. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
  64. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
  65. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
  66. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
  67. data/lib/{2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type.rb → 2020-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb} +28 -18
  68. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
  69. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
  70. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
  71. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
  72. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
  73. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
  74. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
  75. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
  76. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +121 -0
  77. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
  78. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
  79. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
  80. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
  81. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
  82. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
  83. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  84. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
  85. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -0
  86. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +64 -0
  87. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
  88. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
  89. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
  90. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
  91. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
  92. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
  93. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
  94. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic.rb +213 -0
  95. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  96. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
  97. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
  98. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +150 -0
  99. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  100. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
  101. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +91 -0
  102. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
  103. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
  104. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +122 -0
  105. data/lib/2020-06-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  106. data/lib/2020-06-01/generated/azure_mgmt_event_grid/operations.rb +118 -0
  107. data/lib/2020-06-01/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +791 -0
  108. data/lib/2020-06-01/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
  109. data/lib/2020-06-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -0
  110. data/lib/2020-06-01/generated/azure_mgmt_event_grid/topics.rb +1439 -0
  111. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid.rb +171 -0
  112. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +699 -0
  113. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/domains.rb +1328 -0
  114. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_channels.rb +658 -0
  115. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +194 -0
  116. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +3775 -0
  117. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/extension_topics.rb +141 -0
  118. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +81 -0
  119. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +112 -0
  120. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
  121. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
  122. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/created_by_type.rb +18 -0
  123. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
  124. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_with_resource_identity.rb +66 -0
  125. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_attribute_list_result.rb +58 -0
  126. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_attribute_mapping.rb +58 -0
  127. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb +67 -0
  128. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +253 -0
  129. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
  130. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
  131. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
  132. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +89 -0
  133. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
  134. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
  135. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +117 -0
  136. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
  137. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dynamic_delivery_attribute_mapping.rb +69 -0
  138. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel.rb +172 -0
  139. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb +75 -0
  140. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb +70 -0
  141. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_provisioning_state.rb +20 -0
  142. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb +48 -0
  143. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb +98 -0
  144. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
  145. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +84 -0
  146. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +244 -0
  147. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -0
  148. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +132 -0
  149. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
  150. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb +61 -0
  151. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity_type.rb +16 -0
  152. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
  153. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +176 -0
  154. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
  155. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
  156. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
  157. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/extended_location.rb +57 -0
  158. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/extension_topic.rb +86 -0
  159. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +86 -0
  160. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/identity_info.rb +96 -0
  161. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/identity_type.rb +18 -0
  162. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +59 -0
  163. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
  164. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
  165. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb +15 -0
  166. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/is_not_null_advanced_filter.rb +58 -0
  167. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/is_null_or_undefined_advanced_filter.rb +58 -0
  168. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
  169. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
  170. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
  171. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
  172. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
  173. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
  174. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_in_range_advanced_filter.rb +85 -0
  175. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
  176. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
  177. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
  178. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_range_advanced_filter.rb +85 -0
  179. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
  180. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
  181. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
  182. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace.rb +140 -0
  183. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_provisioning_state.rb +20 -0
  184. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb +46 -0
  185. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb +57 -0
  186. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb +54 -0
  187. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb +98 -0
  188. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +278 -0
  189. data/lib/{2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type_list_result.rb → 2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb} +12 -11
  190. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_provisioning_state.rb +20 -0
  191. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +137 -0
  192. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_visibility_state.rb +17 -0
  193. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb +99 -0
  194. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +179 -0
  195. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_activation_state.rb +17 -0
  196. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_provisioning_state.rb +20 -0
  197. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_readiness_state.rb +18 -0
  198. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb +134 -0
  199. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_type_authorization_state.rb +17 -0
  200. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb +55 -0
  201. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb +54 -0
  202. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb +98 -0
  203. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
  204. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
  205. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +121 -0
  206. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
  207. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
  208. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
  209. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
  210. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
  211. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_kind.rb +16 -0
  212. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
  213. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  214. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +47 -0
  215. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +61 -0
  216. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +85 -0
  217. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +86 -0
  218. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/sku.rb +16 -0
  219. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/static_delivery_attribute_mapping.rb +81 -0
  220. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
  221. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +86 -0
  222. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
  223. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
  224. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
  225. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
  226. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_begins_with_advanced_filter.rb +77 -0
  227. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_contains_advanced_filter.rb +77 -0
  228. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_ends_with_advanced_filter.rb +77 -0
  229. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
  230. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_data.rb +105 -0
  231. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topic.rb +159 -0
  232. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topic_update_parameters.rb +66 -0
  233. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topics_list_result.rb +98 -0
  234. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +278 -0
  235. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  236. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
  237. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
  238. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +169 -0
  239. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  240. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
  241. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +117 -0
  242. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
  243. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
  244. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/user_identity_properties.rb +57 -0
  245. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +148 -0
  246. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  247. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -0
  248. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_namespaces.rb +1333 -0
  249. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_registrations.rb +1074 -0
  250. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb +1156 -0
  251. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_topics.rb +1102 -0
  252. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +791 -0
  253. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
  254. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb +1152 -0
  255. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/system_topics.rb +1128 -0
  256. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -0
  257. data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/topics.rb +1489 -0
  258. data/lib/azure_mgmt_event_grid.rb +8 -6
  259. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +353 -293
  260. data/lib/version.rb +1 -1
  261. metadata +238 -7
@@ -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_04_01_preview
7
+ module Models
8
+ #
9
+ # Filter for the Event Channel.
10
+ #
11
+ class EventChannelFilter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<AdvancedFilter>] An array of advanced filters that are
16
+ # used for filtering event channels.
17
+ attr_accessor :advanced_filters
18
+
19
+
20
+ #
21
+ # Mapper for EventChannelFilter 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: 'EventChannelFilter',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'EventChannelFilter',
32
+ model_properties: {
33
+ advanced_filters: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'advancedFilters',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'AdvancedFilterElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ polymorphic_discriminator: 'operatorType',
46
+ uber_parent: 'AdvancedFilter',
47
+ class_name: 'AdvancedFilter'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -27,9 +27,34 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
27
27
  # @return [String] Display name of the partner resource type.
28
28
  attr_accessor :partner_resource_type_display_name
29
29
 
30
- # @return [String] Description of the partner resource type.
30
+ # @return [String] Short description of the partner resource type. The
31
+ # length of this description should not exceed 256 characters.
31
32
  attr_accessor :partner_resource_type_description
32
33
 
34
+ # @return [String] Long description for the custom scenarios and
35
+ # integration to be displayed in the portal if needed.
36
+ # Length of this description should not exceed 2048 characters.
37
+ attr_accessor :long_description
38
+
39
+ # @return [String] The customer service number of the publisher. The
40
+ # expected phone format should start with a '+' sign
41
+ # followed by the country code. The remaining digits are then followed.
42
+ # Only digits and spaces are allowed and its
43
+ # length cannot exceed 16 digits including country code. Examples of
44
+ # valid phone numbers are: +1 515 123 4567 and
45
+ # +966 7 5115 2471. Examples of invalid phone numbers are: +1 (515)
46
+ # 123-4567, 1 515 123 4567 and +966 121 5115 24 7 551 1234 43
47
+ attr_accessor :partner_customer_service_number
48
+
49
+ # @return [String] The extension of the customer service number of the
50
+ # publisher. Only digits are allowed and number of digits should not
51
+ # exceed 10.
52
+ attr_accessor :partner_customer_service_extension
53
+
54
+ # @return [String] The extension of the customer service URI of the
55
+ # publisher.
56
+ attr_accessor :customer_service_uri
57
+
33
58
  # @return [String] URI of the partner website that can be used by Azure
34
59
  # customers to setup Event Grid
35
60
  # integration on an event source.
@@ -158,6 +183,38 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
158
183
  name: 'String'
159
184
  }
160
185
  },
186
+ long_description: {
187
+ client_side_validation: true,
188
+ required: false,
189
+ serialized_name: 'properties.longDescription',
190
+ type: {
191
+ name: 'String'
192
+ }
193
+ },
194
+ partner_customer_service_number: {
195
+ client_side_validation: true,
196
+ required: false,
197
+ serialized_name: 'properties.partnerCustomerServiceNumber',
198
+ type: {
199
+ name: 'String'
200
+ }
201
+ },
202
+ partner_customer_service_extension: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'properties.partnerCustomerServiceExtension',
206
+ type: {
207
+ name: 'String'
208
+ }
209
+ },
210
+ customer_service_uri: {
211
+ client_side_validation: true,
212
+ required: false,
213
+ serialized_name: 'properties.customerServiceUri',
214
+ type: {
215
+ name: 'String'
216
+ }
217
+ },
161
218
  setup_uri: {
162
219
  client_side_validation: true,
163
220
  required: false,
@@ -12,6 +12,10 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ # @return [Hash{String => String}] Tags of the partner registration
16
+ # resource.
17
+ attr_accessor :tags
18
+
15
19
  # @return [String] Name of the partner topic type.
16
20
  attr_accessor :partner_topic_type_name
17
21
 
@@ -52,6 +56,22 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
52
56
  name: 'Composite',
53
57
  class_name: 'PartnerRegistrationUpdateParameters',
54
58
  model_properties: {
59
+ tags: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'tags',
63
+ type: {
64
+ name: 'Dictionary',
65
+ value: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'StringElementType',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ },
55
75
  partner_topic_type_name: {
56
76
  client_side_validation: true,
57
77
  required: false,
@@ -16,6 +16,11 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
16
16
  # represents a unique partner resource.
17
17
  attr_accessor :source
18
18
 
19
+ # @return [DateTime] Expiration time of the partner topic. If this timer
20
+ # expires while the partner topic is still never activated,
21
+ # the partner topic and corresponding event channel are deleted.
22
+ attr_accessor :expiration_time_if_not_activated_utc
23
+
19
24
  # @return [PartnerTopicProvisioningState] Provisioning state of the
20
25
  # partner topic. Possible values include: 'Creating', 'Updating',
21
26
  # 'Deleting', 'Succeeded', 'Canceled', 'Failed'
@@ -26,6 +31,13 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
26
31
  # 'Deactivated'
27
32
  attr_accessor :activation_state
28
33
 
34
+ # @return [String] Friendly description about the topic. This can be set
35
+ # by the publisher/partner to show custom description for the customer
36
+ # partner topic.
37
+ # This will be helpful to remove any ambiguity of the origin of creation
38
+ # of the partner topic for the customer.
39
+ attr_accessor :partner_topic_friendly_description
40
+
29
41
 
30
42
  #
31
43
  # Mapper for PartnerTopic class as Ruby Hash.
@@ -99,6 +111,14 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
99
111
  name: 'String'
100
112
  }
101
113
  },
114
+ expiration_time_if_not_activated_utc: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'properties.expirationTimeIfNotActivatedUtc',
118
+ type: {
119
+ name: 'DateTime'
120
+ }
121
+ },
102
122
  provisioning_state: {
103
123
  client_side_validation: true,
104
124
  required: false,
@@ -115,6 +135,14 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
115
135
  type: {
116
136
  name: 'String'
117
137
  }
138
+ },
139
+ partner_topic_friendly_description: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ serialized_name: 'properties.partnerTopicFriendlyDescription',
143
+ type: {
144
+ name: 'String'
145
+ }
118
146
  }
119
147
  }
120
148
  }
@@ -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_04_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for PartnerTopicReadinessState
10
+ #
11
+ module PartnerTopicReadinessState
12
+ NotActivatedByUserYet = "NotActivatedByUserYet"
13
+ ActivatedByUser = "ActivatedByUser"
14
+ DeactivatedByUser = "DeactivatedByUser"
15
+ DeletedByUser = "DeletedByUser"
16
+ end
17
+ end
18
+ end
@@ -6,7 +6,8 @@
6
6
  module Azure::EventGrid::Mgmt::V2020_04_01_preview
7
7
  module Models
8
8
  #
9
- # PrivateEndpointConnection resource information.
9
+ # Model object.
10
+ #
10
11
  #
11
12
  class PrivateEndpointConnection < Resource
12
13
 
@@ -12,9 +12,8 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Sku] the Sku name of the resource.
16
- # the possible values: Basic; Premium. Possible values include: 'Basic',
17
- # 'Premium'
15
+ # @return [Sku] The Sku name of the resource. The possible values are:
16
+ # Basic or Premium. Possible values include: 'Basic', 'Premium'
18
17
  attr_accessor :name
19
18
 
20
19
 
@@ -12,8 +12,7 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<PrivateEndpointConnection>] List of private endpoint
16
- # connections.
15
+ # @return [Array<PrivateEndpointConnection>]
17
16
  attr_accessor :private_endpoint_connections
18
17
 
19
18
  # @return [TopicProvisioningState] Provisioning state of the topic.
@@ -417,14 +417,25 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
417
417
  # @param resource_group_name [String] The name of the resource group within the
418
418
  # user's subscription.
419
419
  # @param partner_topic_name [String] Name of the partner topic.
420
+ # @param filter [String] The query used to filter the search results using
421
+ # OData syntax. Filtering is permitted on the 'name' property only and with
422
+ # limited number of OData operations. These operations are: the 'contains'
423
+ # function as well as the following logical operations: not, and, or, eq (for
424
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
425
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
426
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
427
+ # $filter=location eq 'westus'.
428
+ # @param top [Integer] The number of results to return per page for the list
429
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
430
+ # default number of results to be returned is 20 items per page.
420
431
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
421
432
  # will be added to the HTTP request.
422
433
  #
423
- # @return [EventSubscriptionsListResult] operation results.
434
+ # @return [Array<EventSubscription>] operation results.
424
435
  #
425
- def list_by_partner_topic(resource_group_name, partner_topic_name, custom_headers:nil)
426
- response = list_by_partner_topic_async(resource_group_name, partner_topic_name, custom_headers:custom_headers).value!
427
- response.body unless response.nil?
436
+ def list_by_partner_topic(resource_group_name, partner_topic_name, filter:nil, top:nil, custom_headers:nil)
437
+ first_page = list_by_partner_topic_as_lazy(resource_group_name, partner_topic_name, filter:filter, top:top, custom_headers:custom_headers)
438
+ first_page.get_all_items
428
439
  end
429
440
 
430
441
  #
@@ -435,13 +446,24 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
435
446
  # @param resource_group_name [String] The name of the resource group within the
436
447
  # user's subscription.
437
448
  # @param partner_topic_name [String] Name of the partner topic.
449
+ # @param filter [String] The query used to filter the search results using
450
+ # OData syntax. Filtering is permitted on the 'name' property only and with
451
+ # limited number of OData operations. These operations are: the 'contains'
452
+ # function as well as the following logical operations: not, and, or, eq (for
453
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
454
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
455
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
456
+ # $filter=location eq 'westus'.
457
+ # @param top [Integer] The number of results to return per page for the list
458
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
459
+ # default number of results to be returned is 20 items per page.
438
460
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
439
461
  # will be added to the HTTP request.
440
462
  #
441
463
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
442
464
  #
443
- def list_by_partner_topic_with_http_info(resource_group_name, partner_topic_name, custom_headers:nil)
444
- list_by_partner_topic_async(resource_group_name, partner_topic_name, custom_headers:custom_headers).value!
465
+ def list_by_partner_topic_with_http_info(resource_group_name, partner_topic_name, filter:nil, top:nil, custom_headers:nil)
466
+ list_by_partner_topic_async(resource_group_name, partner_topic_name, filter:filter, top:top, custom_headers:custom_headers).value!
445
467
  end
446
468
 
447
469
  #
@@ -452,12 +474,23 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
452
474
  # @param resource_group_name [String] The name of the resource group within the
453
475
  # user's subscription.
454
476
  # @param partner_topic_name [String] Name of the partner topic.
477
+ # @param filter [String] The query used to filter the search results using
478
+ # OData syntax. Filtering is permitted on the 'name' property only and with
479
+ # limited number of OData operations. These operations are: the 'contains'
480
+ # function as well as the following logical operations: not, and, or, eq (for
481
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
482
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
483
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
484
+ # $filter=location eq 'westus'.
485
+ # @param top [Integer] The number of results to return per page for the list
486
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
487
+ # default number of results to be returned is 20 items per page.
455
488
  # @param [Hash{String => String}] A hash of custom headers that will be added
456
489
  # to the HTTP request.
457
490
  #
458
491
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
459
492
  #
460
- def list_by_partner_topic_async(resource_group_name, partner_topic_name, custom_headers:nil)
493
+ def list_by_partner_topic_async(resource_group_name, partner_topic_name, filter:nil, top:nil, custom_headers:nil)
461
494
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
462
495
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
463
496
  fail ArgumentError, 'partner_topic_name is nil' if partner_topic_name.nil?
@@ -477,7 +510,7 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
477
510
  options = {
478
511
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
479
512
  path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerTopicName' => partner_topic_name},
480
- query_params: {'api-version' => @client.api_version},
513
+ query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top},
481
514
  headers: request_headers.merge(custom_headers || {}),
482
515
  base_url: request_url
483
516
  }
@@ -874,5 +907,137 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
874
907
  promise.execute
875
908
  end
876
909
 
910
+ #
911
+ # List event subscriptions of a partner topic.
912
+ #
913
+ # List event subscriptions that belong to a specific partner topic.
914
+ #
915
+ # @param next_page_link [String] The NextLink from the previous successful call
916
+ # to List operation.
917
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
918
+ # will be added to the HTTP request.
919
+ #
920
+ # @return [EventSubscriptionsListResult] operation results.
921
+ #
922
+ def list_by_partner_topic_next(next_page_link, custom_headers:nil)
923
+ response = list_by_partner_topic_next_async(next_page_link, custom_headers:custom_headers).value!
924
+ response.body unless response.nil?
925
+ end
926
+
927
+ #
928
+ # List event subscriptions of a partner topic.
929
+ #
930
+ # List event subscriptions that belong to a specific partner topic.
931
+ #
932
+ # @param next_page_link [String] The NextLink from the previous successful call
933
+ # to List operation.
934
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
935
+ # will be added to the HTTP request.
936
+ #
937
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
938
+ #
939
+ def list_by_partner_topic_next_with_http_info(next_page_link, custom_headers:nil)
940
+ list_by_partner_topic_next_async(next_page_link, custom_headers:custom_headers).value!
941
+ end
942
+
943
+ #
944
+ # List event subscriptions of a partner topic.
945
+ #
946
+ # List event subscriptions that belong to a specific partner topic.
947
+ #
948
+ # @param next_page_link [String] The NextLink from the previous successful call
949
+ # to List operation.
950
+ # @param [Hash{String => String}] A hash of custom headers that will be added
951
+ # to the HTTP request.
952
+ #
953
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
954
+ #
955
+ def list_by_partner_topic_next_async(next_page_link, custom_headers:nil)
956
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
957
+
958
+
959
+ request_headers = {}
960
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
961
+
962
+ # Set Headers
963
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
964
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
965
+ path_template = '{nextLink}'
966
+
967
+ request_url = @base_url || @client.base_url
968
+
969
+ options = {
970
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
971
+ skip_encoding_path_params: {'nextLink' => next_page_link},
972
+ headers: request_headers.merge(custom_headers || {}),
973
+ base_url: request_url
974
+ }
975
+ promise = @client.make_request_async(:get, path_template, options)
976
+
977
+ promise = promise.then do |result|
978
+ http_response = result.response
979
+ status_code = http_response.status
980
+ response_content = http_response.body
981
+ unless status_code == 200
982
+ error_model = JSON.load(response_content)
983
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
984
+ end
985
+
986
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
987
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
988
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
989
+ # Deserialize Response
990
+ if status_code == 200
991
+ begin
992
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
993
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionsListResult.mapper()
994
+ result.body = @client.deserialize(result_mapper, parsed_response)
995
+ rescue Exception => e
996
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
997
+ end
998
+ end
999
+
1000
+ result
1001
+ end
1002
+
1003
+ promise.execute
1004
+ end
1005
+
1006
+ #
1007
+ # List event subscriptions of a partner topic.
1008
+ #
1009
+ # List event subscriptions that belong to a specific partner topic.
1010
+ #
1011
+ # @param resource_group_name [String] The name of the resource group within the
1012
+ # user's subscription.
1013
+ # @param partner_topic_name [String] Name of the partner topic.
1014
+ # @param filter [String] The query used to filter the search results using
1015
+ # OData syntax. Filtering is permitted on the 'name' property only and with
1016
+ # limited number of OData operations. These operations are: the 'contains'
1017
+ # function as well as the following logical operations: not, and, or, eq (for
1018
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
1019
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
1020
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
1021
+ # $filter=location eq 'westus'.
1022
+ # @param top [Integer] The number of results to return per page for the list
1023
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
1024
+ # default number of results to be returned is 20 items per page.
1025
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1026
+ # will be added to the HTTP request.
1027
+ #
1028
+ # @return [EventSubscriptionsListResult] which provide lazy access to pages of
1029
+ # the response.
1030
+ #
1031
+ def list_by_partner_topic_as_lazy(resource_group_name, partner_topic_name, filter:nil, top:nil, custom_headers:nil)
1032
+ response = list_by_partner_topic_async(resource_group_name, partner_topic_name, filter:filter, top:top, custom_headers:custom_headers).value!
1033
+ unless response.nil?
1034
+ page = response.body
1035
+ page.next_method = Proc.new do |next_page_link|
1036
+ list_by_partner_topic_next_async(next_page_link, custom_headers:custom_headers)
1037
+ end
1038
+ page
1039
+ end
1040
+ end
1041
+
877
1042
  end
878
1043
  end