azure_mgmt_event_grid 0.17.9 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (592) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +20 -20
  3. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid.rb +0 -0
  4. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  5. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  6. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/endpoint_type.rb +0 -0
  7. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  8. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  9. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  10. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  11. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  12. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  13. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  14. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  15. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  16. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  17. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  18. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +0 -0
  19. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  20. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  21. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  22. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  23. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  24. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  25. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  26. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  27. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  28. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  29. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  30. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  31. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  32. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  33. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  34. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  35. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid.rb +0 -0
  36. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  37. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  38. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  39. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  40. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  41. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  42. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  43. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  44. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  45. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  46. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  47. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  48. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  49. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  50. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +0 -0
  51. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  52. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  53. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  54. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  55. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  56. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  57. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  58. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  59. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  60. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  61. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  62. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  63. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  64. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  65. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  66. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  67. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  68. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  69. data/lib/2018-01-01/generated/azure_mgmt_event_grid.rb +0 -0
  70. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  71. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  72. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  73. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  74. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  75. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  76. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  77. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  78. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  79. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  80. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  81. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  82. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  83. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  84. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  85. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  86. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  87. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  88. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  89. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  90. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  91. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  92. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  93. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  94. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  95. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  96. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  97. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  98. data/lib/2018-01-01/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  99. data/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb +0 -0
  100. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  101. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb +0 -0
  102. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid.rb +0 -0
  103. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  104. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  105. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  106. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  107. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  108. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  109. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  110. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  111. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  112. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  113. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  114. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  115. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  116. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  117. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  118. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  119. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  120. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  121. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  122. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  123. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  124. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  125. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  126. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  127. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  128. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  129. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  130. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  131. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  132. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  133. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  134. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  135. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  136. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  137. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  138. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  139. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  140. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  141. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  142. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  143. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  144. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  145. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  146. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid.rb +0 -0
  147. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  148. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +0 -0
  149. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  150. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  151. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  152. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  153. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  154. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +0 -0
  155. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  156. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  157. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  158. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  159. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  160. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +0 -0
  161. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  162. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  163. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  164. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  165. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  166. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  167. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  168. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  169. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  170. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  171. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  172. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  173. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  174. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  175. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  176. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  177. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  178. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  179. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  180. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  181. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  182. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  183. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  184. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  185. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  186. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  187. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  188. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  189. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  190. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  191. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  192. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  193. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  194. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  195. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  196. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  197. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  198. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  199. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  200. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  201. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  202. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  203. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  204. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  205. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  206. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  207. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  208. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  209. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  210. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  211. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  212. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  213. data/lib/2019-01-01/generated/azure_mgmt_event_grid.rb +0 -0
  214. data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  215. data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  216. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  217. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  218. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  219. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  220. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  221. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  222. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  223. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  224. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  225. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  226. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  227. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  228. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  229. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  230. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  231. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  232. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  233. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  234. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  235. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  236. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  237. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  238. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  239. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  240. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  241. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  242. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  243. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  244. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  245. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  246. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  247. data/lib/2019-01-01/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  248. data/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb +0 -0
  249. data/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  250. data/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb +0 -0
  251. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid.rb +0 -0
  252. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  253. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domains.rb +0 -0
  254. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  255. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  256. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  257. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  258. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  259. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +0 -0
  260. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  261. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  262. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  263. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  264. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  265. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  266. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +0 -0
  267. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  268. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  269. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  270. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  271. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  272. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  273. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  274. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  275. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  276. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  277. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  278. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  279. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  280. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  281. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  282. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  283. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  284. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  285. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  286. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  287. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  288. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  289. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  290. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  291. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  292. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  293. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  294. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  295. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  296. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  297. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  298. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  299. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  300. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  301. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  302. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  303. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  304. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  305. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  306. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  307. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  308. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  309. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  310. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  311. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  312. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  313. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  314. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  315. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  316. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  317. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  318. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  319. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  320. data/lib/2019-06-01/generated/azure_mgmt_event_grid.rb +0 -0
  321. data/lib/2019-06-01/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  322. data/lib/2019-06-01/generated/azure_mgmt_event_grid/domains.rb +0 -0
  323. data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  324. data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  325. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  326. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  327. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  328. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain.rb +0 -0
  329. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  330. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  331. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  332. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  333. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  334. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  335. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +0 -0
  336. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  337. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  338. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  339. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  340. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  341. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  342. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  343. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  344. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  345. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  346. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  347. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  348. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  349. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  350. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  351. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  352. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  353. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  354. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  355. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  356. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  357. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  358. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  359. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  360. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  361. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  362. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  363. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  364. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  365. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  366. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  367. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  368. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  369. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  370. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  371. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  372. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  373. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  374. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  375. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  376. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  377. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  378. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  379. data/lib/2019-06-01/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  380. data/lib/2019-06-01/generated/azure_mgmt_event_grid/operations.rb +0 -0
  381. data/lib/2019-06-01/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  382. data/lib/2019-06-01/generated/azure_mgmt_event_grid/topics.rb +0 -0
  383. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid.rb +0 -0
  384. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  385. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/domains.rb +0 -0
  386. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  387. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  388. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  389. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +0 -0
  390. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  391. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  392. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +0 -0
  393. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  394. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  395. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  396. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  397. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  398. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  399. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +0 -0
  400. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  401. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  402. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  403. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  404. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  405. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  406. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  407. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  408. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  409. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  410. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  411. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  412. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  413. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  414. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  415. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  416. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  417. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  418. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  419. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  420. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  421. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  422. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  423. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  424. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  425. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  426. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  427. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  428. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  429. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  430. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  431. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +0 -0
  432. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  433. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  434. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  435. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  436. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  437. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  438. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  439. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  440. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  441. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  442. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  443. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  444. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  445. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  446. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  447. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  448. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  449. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  450. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  451. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  452. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  453. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  454. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid.rb +80 -21
  455. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  456. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/domains.rb +1 -1
  457. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_channels.rb +658 -0
  458. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +42 -1
  459. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  460. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/extension_topics.rb +141 -0
  461. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  462. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +0 -0
  463. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  464. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
  465. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  466. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_with_resource_identity.rb +66 -0
  467. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb +67 -0
  468. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +58 -9
  469. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  470. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  471. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  472. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  473. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  474. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  475. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +63 -2
  476. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  477. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel.rb +158 -0
  478. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb +75 -0
  479. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb +58 -0
  480. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_provisioning_state.rb +20 -0
  481. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb +48 -0
  482. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb +98 -0
  483. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  484. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  485. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +41 -2
  486. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +1 -1
  487. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  488. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  489. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb +61 -0
  490. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity_type.rb +16 -0
  491. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  492. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +41 -2
  493. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  494. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  495. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  496. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/extension_topic.rb +86 -0
  497. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  498. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_info.rb +96 -0
  499. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_type.rb +18 -0
  500. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +0 -0
  501. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  502. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  503. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb +0 -0
  504. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  505. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  506. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  507. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  508. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  509. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  510. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  511. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  512. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  513. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  514. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  515. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  516. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace.rb +126 -0
  517. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_provisioning_state.rb +20 -0
  518. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb +46 -0
  519. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb +57 -0
  520. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb +54 -0
  521. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb +98 -0
  522. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +264 -0
  523. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb +68 -0
  524. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_provisioning_state.rb +20 -0
  525. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +137 -0
  526. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_visibility_state.rb +17 -0
  527. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb +99 -0
  528. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +153 -0
  529. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_activation_state.rb +17 -0
  530. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_provisioning_state.rb +20 -0
  531. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_readiness_state.rb +18 -0
  532. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb +134 -0
  533. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type_authorization_state.rb +17 -0
  534. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb +55 -0
  535. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb +54 -0
  536. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb +98 -0
  537. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
  538. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
  539. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +121 -0
  540. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
  541. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
  542. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
  543. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
  544. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  545. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
  546. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  547. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +47 -0
  548. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  549. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  550. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +0 -0
  551. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku.rb +16 -0
  552. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  553. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  554. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  555. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  556. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  557. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  558. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  559. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topic.rb +134 -0
  560. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topic_update_parameters.rb +54 -0
  561. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topics_list_result.rb +98 -0
  562. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +57 -9
  563. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  564. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  565. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  566. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  567. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  568. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  569. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +61 -0
  570. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  571. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  572. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/user_identity_properties.rb +57 -0
  573. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  574. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  575. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  576. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_namespaces.rb +1333 -0
  577. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_registrations.rb +1074 -0
  578. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb +1043 -0
  579. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_topics.rb +1102 -0
  580. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +791 -0
  581. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
  582. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb +1039 -0
  583. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/system_topics.rb +1128 -0
  584. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +9 -9
  585. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/topics.rb +1 -1
  586. data/lib/azure_mgmt_event_grid.rb +5 -5
  587. data/lib/module_definition.rb +7 -7
  588. data/lib/profiles/latest/eventgrid_latest_profile_client.rb +40 -40
  589. data/lib/profiles/latest/eventgrid_module_definition.rb +8 -8
  590. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +283 -67
  591. data/lib/version.rb +1 -1
  592. metadata +65 -5
@@ -0,0 +1,423 @@
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
+ #
8
+ # Azure EventGrid Management Client
9
+ #
10
+ class PrivateLinkResources
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the PrivateLinkResources class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [EventGridManagementClient] reference to the EventGridManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Get a private link resource.
26
+ #
27
+ # Get properties of a private link resource.
28
+ #
29
+ # @param resource_group_name [String] The name of the resource group within the
30
+ # user's subscription.
31
+ # @param parent_type [String] The type of the parent resource. This can be
32
+ # either \'topics\' or \'domains\'.
33
+ # @param parent_name [String] The name of the parent resource (namely, either,
34
+ # the topic name or domain name).
35
+ # @param private_link_resource_name [String] The name of private link resource.
36
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
+ # will be added to the HTTP request.
38
+ #
39
+ # @return [PrivateLinkResource] operation results.
40
+ #
41
+ def get(resource_group_name, parent_type, parent_name, private_link_resource_name, custom_headers:nil)
42
+ response = get_async(resource_group_name, parent_type, parent_name, private_link_resource_name, custom_headers:custom_headers).value!
43
+ response.body unless response.nil?
44
+ end
45
+
46
+ #
47
+ # Get a private link resource.
48
+ #
49
+ # Get properties of a private link resource.
50
+ #
51
+ # @param resource_group_name [String] The name of the resource group within the
52
+ # user's subscription.
53
+ # @param parent_type [String] The type of the parent resource. This can be
54
+ # either \'topics\' or \'domains\'.
55
+ # @param parent_name [String] The name of the parent resource (namely, either,
56
+ # the topic name or domain name).
57
+ # @param private_link_resource_name [String] The name of private link resource.
58
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
59
+ # will be added to the HTTP request.
60
+ #
61
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
62
+ #
63
+ def get_with_http_info(resource_group_name, parent_type, parent_name, private_link_resource_name, custom_headers:nil)
64
+ get_async(resource_group_name, parent_type, parent_name, private_link_resource_name, custom_headers:custom_headers).value!
65
+ end
66
+
67
+ #
68
+ # Get a private link resource.
69
+ #
70
+ # Get properties of a private link resource.
71
+ #
72
+ # @param resource_group_name [String] The name of the resource group within the
73
+ # user's subscription.
74
+ # @param parent_type [String] The type of the parent resource. This can be
75
+ # either \'topics\' or \'domains\'.
76
+ # @param parent_name [String] The name of the parent resource (namely, either,
77
+ # the topic name or domain name).
78
+ # @param private_link_resource_name [String] The name of private link resource.
79
+ # @param [Hash{String => String}] A hash of custom headers that will be added
80
+ # to the HTTP request.
81
+ #
82
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
83
+ #
84
+ def get_async(resource_group_name, parent_type, parent_name, private_link_resource_name, custom_headers:nil)
85
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
86
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
87
+ fail ArgumentError, 'parent_type is nil' if parent_type.nil?
88
+ fail ArgumentError, 'parent_name is nil' if parent_name.nil?
89
+ fail ArgumentError, 'private_link_resource_name is nil' if private_link_resource_name.nil?
90
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
91
+
92
+
93
+ request_headers = {}
94
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
95
+
96
+ # Set Headers
97
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
98
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
99
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}'
100
+
101
+ request_url = @base_url || @client.base_url
102
+
103
+ options = {
104
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
105
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'parentType' => parent_type,'parentName' => parent_name,'privateLinkResourceName' => private_link_resource_name},
106
+ query_params: {'api-version' => @client.api_version},
107
+ headers: request_headers.merge(custom_headers || {}),
108
+ base_url: request_url
109
+ }
110
+ promise = @client.make_request_async(:get, path_template, options)
111
+
112
+ promise = promise.then do |result|
113
+ http_response = result.response
114
+ status_code = http_response.status
115
+ response_content = http_response.body
116
+ unless status_code == 200
117
+ error_model = JSON.load(response_content)
118
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
119
+ end
120
+
121
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
122
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
123
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
124
+ # Deserialize Response
125
+ if status_code == 200
126
+ begin
127
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
128
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateLinkResource.mapper()
129
+ result.body = @client.deserialize(result_mapper, parsed_response)
130
+ rescue Exception => e
131
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
132
+ end
133
+ end
134
+
135
+ result
136
+ end
137
+
138
+ promise.execute
139
+ end
140
+
141
+ #
142
+ # List private link resources under specific topic or domain.
143
+ #
144
+ # List all the private link resources under a topic or domain.
145
+ #
146
+ # @param resource_group_name [String] The name of the resource group within the
147
+ # user's subscription.
148
+ # @param parent_type [String] The type of the parent resource. This can be
149
+ # either \'topics\' or \'domains\'.
150
+ # @param parent_name [String] The name of the parent resource (namely, either,
151
+ # the topic name or domain name).
152
+ # @param filter [String] The query used to filter the search results using
153
+ # OData syntax. Filtering is permitted on the 'name' property only and with
154
+ # limited number of OData operations. These operations are: the 'contains'
155
+ # function as well as the following logical operations: not, and, or, eq (for
156
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
157
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
158
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
159
+ # $filter=location eq 'westus'.
160
+ # @param top [Integer] The number of results to return per page for the list
161
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
162
+ # default number of results to be returned is 20 items per page.
163
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
164
+ # will be added to the HTTP request.
165
+ #
166
+ # @return [Array<PrivateLinkResource>] operation results.
167
+ #
168
+ def list_by_resource(resource_group_name, parent_type, parent_name, filter:nil, top:nil, custom_headers:nil)
169
+ first_page = list_by_resource_as_lazy(resource_group_name, parent_type, parent_name, filter:filter, top:top, custom_headers:custom_headers)
170
+ first_page.get_all_items
171
+ end
172
+
173
+ #
174
+ # List private link resources under specific topic or domain.
175
+ #
176
+ # List all the private link resources under a topic or domain.
177
+ #
178
+ # @param resource_group_name [String] The name of the resource group within the
179
+ # user's subscription.
180
+ # @param parent_type [String] The type of the parent resource. This can be
181
+ # either \'topics\' or \'domains\'.
182
+ # @param parent_name [String] The name of the parent resource (namely, either,
183
+ # the topic name or domain name).
184
+ # @param filter [String] The query used to filter the search results using
185
+ # OData syntax. Filtering is permitted on the 'name' property only and with
186
+ # limited number of OData operations. These operations are: the 'contains'
187
+ # function as well as the following logical operations: not, and, or, eq (for
188
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
189
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
190
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
191
+ # $filter=location eq 'westus'.
192
+ # @param top [Integer] The number of results to return per page for the list
193
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
194
+ # default number of results to be returned is 20 items per page.
195
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
196
+ # will be added to the HTTP request.
197
+ #
198
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
199
+ #
200
+ def list_by_resource_with_http_info(resource_group_name, parent_type, parent_name, filter:nil, top:nil, custom_headers:nil)
201
+ list_by_resource_async(resource_group_name, parent_type, parent_name, filter:filter, top:top, custom_headers:custom_headers).value!
202
+ end
203
+
204
+ #
205
+ # List private link resources under specific topic or domain.
206
+ #
207
+ # List all the private link resources under a topic or domain.
208
+ #
209
+ # @param resource_group_name [String] The name of the resource group within the
210
+ # user's subscription.
211
+ # @param parent_type [String] The type of the parent resource. This can be
212
+ # either \'topics\' or \'domains\'.
213
+ # @param parent_name [String] The name of the parent resource (namely, either,
214
+ # the topic name or domain name).
215
+ # @param filter [String] The query used to filter the search results using
216
+ # OData syntax. Filtering is permitted on the 'name' property only and with
217
+ # limited number of OData operations. These operations are: the 'contains'
218
+ # function as well as the following logical operations: not, and, or, eq (for
219
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
220
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
221
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
222
+ # $filter=location eq 'westus'.
223
+ # @param top [Integer] The number of results to return per page for the list
224
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
225
+ # default number of results to be returned is 20 items per page.
226
+ # @param [Hash{String => String}] A hash of custom headers that will be added
227
+ # to the HTTP request.
228
+ #
229
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
230
+ #
231
+ def list_by_resource_async(resource_group_name, parent_type, parent_name, filter:nil, top:nil, custom_headers:nil)
232
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
233
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
234
+ fail ArgumentError, 'parent_type is nil' if parent_type.nil?
235
+ fail ArgumentError, 'parent_name is nil' if parent_name.nil?
236
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
237
+
238
+
239
+ request_headers = {}
240
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
241
+
242
+ # Set Headers
243
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
244
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
245
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources'
246
+
247
+ request_url = @base_url || @client.base_url
248
+
249
+ options = {
250
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
251
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'parentType' => parent_type,'parentName' => parent_name},
252
+ query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top},
253
+ headers: request_headers.merge(custom_headers || {}),
254
+ base_url: request_url
255
+ }
256
+ promise = @client.make_request_async(:get, path_template, options)
257
+
258
+ promise = promise.then do |result|
259
+ http_response = result.response
260
+ status_code = http_response.status
261
+ response_content = http_response.body
262
+ unless status_code == 200
263
+ error_model = JSON.load(response_content)
264
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
265
+ end
266
+
267
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
268
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
269
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
270
+ # Deserialize Response
271
+ if status_code == 200
272
+ begin
273
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
274
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateLinkResourcesListResult.mapper()
275
+ result.body = @client.deserialize(result_mapper, parsed_response)
276
+ rescue Exception => e
277
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
278
+ end
279
+ end
280
+
281
+ result
282
+ end
283
+
284
+ promise.execute
285
+ end
286
+
287
+ #
288
+ # List private link resources under specific topic or domain.
289
+ #
290
+ # List all the private link resources under a topic or domain.
291
+ #
292
+ # @param next_page_link [String] The NextLink from the previous successful call
293
+ # to List operation.
294
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
295
+ # will be added to the HTTP request.
296
+ #
297
+ # @return [PrivateLinkResourcesListResult] operation results.
298
+ #
299
+ def list_by_resource_next(next_page_link, custom_headers:nil)
300
+ response = list_by_resource_next_async(next_page_link, custom_headers:custom_headers).value!
301
+ response.body unless response.nil?
302
+ end
303
+
304
+ #
305
+ # List private link resources under specific topic or domain.
306
+ #
307
+ # List all the private link resources under a topic or domain.
308
+ #
309
+ # @param next_page_link [String] The NextLink from the previous successful call
310
+ # to List operation.
311
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
312
+ # will be added to the HTTP request.
313
+ #
314
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
315
+ #
316
+ def list_by_resource_next_with_http_info(next_page_link, custom_headers:nil)
317
+ list_by_resource_next_async(next_page_link, custom_headers:custom_headers).value!
318
+ end
319
+
320
+ #
321
+ # List private link resources under specific topic or domain.
322
+ #
323
+ # List all the private link resources under a topic or domain.
324
+ #
325
+ # @param next_page_link [String] The NextLink from the previous successful call
326
+ # to List operation.
327
+ # @param [Hash{String => String}] A hash of custom headers that will be added
328
+ # to the HTTP request.
329
+ #
330
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
331
+ #
332
+ def list_by_resource_next_async(next_page_link, custom_headers:nil)
333
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
334
+
335
+
336
+ request_headers = {}
337
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
338
+
339
+ # Set Headers
340
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
341
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
342
+ path_template = '{nextLink}'
343
+
344
+ request_url = @base_url || @client.base_url
345
+
346
+ options = {
347
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
348
+ skip_encoding_path_params: {'nextLink' => next_page_link},
349
+ headers: request_headers.merge(custom_headers || {}),
350
+ base_url: request_url
351
+ }
352
+ promise = @client.make_request_async(:get, path_template, options)
353
+
354
+ promise = promise.then do |result|
355
+ http_response = result.response
356
+ status_code = http_response.status
357
+ response_content = http_response.body
358
+ unless status_code == 200
359
+ error_model = JSON.load(response_content)
360
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
361
+ end
362
+
363
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
364
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
365
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
366
+ # Deserialize Response
367
+ if status_code == 200
368
+ begin
369
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
370
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateLinkResourcesListResult.mapper()
371
+ result.body = @client.deserialize(result_mapper, parsed_response)
372
+ rescue Exception => e
373
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
374
+ end
375
+ end
376
+
377
+ result
378
+ end
379
+
380
+ promise.execute
381
+ end
382
+
383
+ #
384
+ # List private link resources under specific topic or domain.
385
+ #
386
+ # List all the private link resources under a topic or domain.
387
+ #
388
+ # @param resource_group_name [String] The name of the resource group within the
389
+ # user's subscription.
390
+ # @param parent_type [String] The type of the parent resource. This can be
391
+ # either \'topics\' or \'domains\'.
392
+ # @param parent_name [String] The name of the parent resource (namely, either,
393
+ # the topic name or domain name).
394
+ # @param filter [String] The query used to filter the search results using
395
+ # OData syntax. Filtering is permitted on the 'name' property only and with
396
+ # limited number of OData operations. These operations are: the 'contains'
397
+ # function as well as the following logical operations: not, and, or, eq (for
398
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
399
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
400
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
401
+ # $filter=location eq 'westus'.
402
+ # @param top [Integer] The number of results to return per page for the list
403
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
404
+ # default number of results to be returned is 20 items per page.
405
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
406
+ # will be added to the HTTP request.
407
+ #
408
+ # @return [PrivateLinkResourcesListResult] which provide lazy access to pages
409
+ # of the response.
410
+ #
411
+ def list_by_resource_as_lazy(resource_group_name, parent_type, parent_name, filter:nil, top:nil, custom_headers:nil)
412
+ response = list_by_resource_async(resource_group_name, parent_type, parent_name, filter:filter, top:top, custom_headers:custom_headers).value!
413
+ unless response.nil?
414
+ page = response.body
415
+ page.next_method = Proc.new do |next_page_link|
416
+ list_by_resource_next_async(next_page_link, custom_headers:custom_headers)
417
+ end
418
+ page
419
+ end
420
+ end
421
+
422
+ end
423
+ end
@@ -0,0 +1,1039 @@
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
+ #
8
+ # Azure EventGrid Management Client
9
+ #
10
+ class SystemTopicEventSubscriptions
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the SystemTopicEventSubscriptions class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [EventGridManagementClient] reference to the EventGridManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Get an event subscription of a system topic.
26
+ #
27
+ # Get an event subscription.
28
+ #
29
+ # @param resource_group_name [String] The name of the resource group within the
30
+ # user's subscription.
31
+ # @param system_topic_name [String] Name of the system topic.
32
+ # @param event_subscription_name [String] Name of the event subscription to be
33
+ # created. Event subscription names must be between 3 and 100 characters in
34
+ # length and use alphanumeric letters only.
35
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
36
+ # will be added to the HTTP request.
37
+ #
38
+ # @return [EventSubscription] operation results.
39
+ #
40
+ def get(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
41
+ response = get_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
42
+ response.body unless response.nil?
43
+ end
44
+
45
+ #
46
+ # Get an event subscription of a system topic.
47
+ #
48
+ # Get an event subscription.
49
+ #
50
+ # @param resource_group_name [String] The name of the resource group within the
51
+ # user's subscription.
52
+ # @param system_topic_name [String] Name of the system topic.
53
+ # @param event_subscription_name [String] Name of the event subscription to be
54
+ # created. Event subscription names must be between 3 and 100 characters in
55
+ # length and use alphanumeric letters only.
56
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
57
+ # will be added to the HTTP request.
58
+ #
59
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
60
+ #
61
+ def get_with_http_info(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
62
+ get_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
63
+ end
64
+
65
+ #
66
+ # Get an event subscription of a system topic.
67
+ #
68
+ # Get an event subscription.
69
+ #
70
+ # @param resource_group_name [String] The name of the resource group within the
71
+ # user's subscription.
72
+ # @param system_topic_name [String] Name of the system topic.
73
+ # @param event_subscription_name [String] Name of the event subscription to be
74
+ # created. Event subscription names must be between 3 and 100 characters in
75
+ # length and use alphanumeric letters only.
76
+ # @param [Hash{String => String}] A hash of custom headers that will be added
77
+ # to the HTTP request.
78
+ #
79
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
80
+ #
81
+ def get_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
82
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
83
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
84
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
85
+ fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil?
86
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
87
+
88
+
89
+ request_headers = {}
90
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
91
+
92
+ # Set Headers
93
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
94
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
95
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}'
96
+
97
+ request_url = @base_url || @client.base_url
98
+
99
+ options = {
100
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
101
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name,'eventSubscriptionName' => event_subscription_name},
102
+ query_params: {'api-version' => @client.api_version},
103
+ headers: request_headers.merge(custom_headers || {}),
104
+ base_url: request_url
105
+ }
106
+ promise = @client.make_request_async(:get, path_template, options)
107
+
108
+ promise = promise.then do |result|
109
+ http_response = result.response
110
+ status_code = http_response.status
111
+ response_content = http_response.body
112
+ unless status_code == 200
113
+ error_model = JSON.load(response_content)
114
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
115
+ end
116
+
117
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
118
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
119
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
120
+ # Deserialize Response
121
+ if status_code == 200
122
+ begin
123
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
124
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
125
+ result.body = @client.deserialize(result_mapper, parsed_response)
126
+ rescue Exception => e
127
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
128
+ end
129
+ end
130
+
131
+ result
132
+ end
133
+
134
+ promise.execute
135
+ end
136
+
137
+ #
138
+ # Create or update an event subscription for a system topic.
139
+ #
140
+ # Asynchronously creates or updates an event subscription with the specified
141
+ # parameters. Existing event subscriptions will be updated with this API.
142
+ #
143
+ # @param resource_group_name [String] The name of the resource group within the
144
+ # user's subscription.
145
+ # @param system_topic_name [String] Name of the system topic.
146
+ # @param event_subscription_name [String] Name of the event subscription to be
147
+ # created. Event subscription names must be between 3 and 100 characters in
148
+ # length and use alphanumeric letters only.
149
+ # @param event_subscription_info [EventSubscription] Event subscription
150
+ # properties containing the destination and filter information.
151
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
152
+ # will be added to the HTTP request.
153
+ #
154
+ # @return [EventSubscription] operation results.
155
+ #
156
+ def create_or_update(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:nil)
157
+ response = create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value!
158
+ response.body unless response.nil?
159
+ end
160
+
161
+ #
162
+ # @param resource_group_name [String] The name of the resource group within the
163
+ # user's subscription.
164
+ # @param system_topic_name [String] Name of the system topic.
165
+ # @param event_subscription_name [String] Name of the event subscription to be
166
+ # created. Event subscription names must be between 3 and 100 characters in
167
+ # length and use alphanumeric letters only.
168
+ # @param event_subscription_info [EventSubscription] Event subscription
169
+ # properties containing the destination and filter information.
170
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
171
+ # will be added to the HTTP request.
172
+ #
173
+ # @return [Concurrent::Promise] promise which provides async access to http
174
+ # response.
175
+ #
176
+ def create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:nil)
177
+ # Send request
178
+ promise = begin_create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:custom_headers)
179
+
180
+ promise = promise.then do |response|
181
+ # Defining deserialization method.
182
+ deserialize_method = lambda do |parsed_response|
183
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
184
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
185
+ end
186
+
187
+ # Waiting for response.
188
+ @client.get_long_running_operation_result(response, deserialize_method)
189
+ end
190
+
191
+ promise
192
+ end
193
+
194
+ #
195
+ # Delete an event subscription of a system topic.
196
+ #
197
+ # Delete an event subscription of a system topic.
198
+ #
199
+ # @param resource_group_name [String] The name of the resource group within the
200
+ # user's subscription.
201
+ # @param system_topic_name [String] Name of the system topic.
202
+ # @param event_subscription_name [String] Name of the event subscription to be
203
+ # created. Event subscription names must be between 3 and 100 characters in
204
+ # length and use alphanumeric letters only.
205
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
206
+ # will be added to the HTTP request.
207
+ #
208
+ def delete(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
209
+ response = delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
210
+ nil
211
+ end
212
+
213
+ #
214
+ # @param resource_group_name [String] The name of the resource group within the
215
+ # user's subscription.
216
+ # @param system_topic_name [String] Name of the system topic.
217
+ # @param event_subscription_name [String] Name of the event subscription to be
218
+ # created. Event subscription names must be between 3 and 100 characters in
219
+ # length and use alphanumeric letters only.
220
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
221
+ # will be added to the HTTP request.
222
+ #
223
+ # @return [Concurrent::Promise] promise which provides async access to http
224
+ # response.
225
+ #
226
+ def delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
227
+ # Send request
228
+ promise = begin_delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers)
229
+
230
+ promise = promise.then do |response|
231
+ # Defining deserialization method.
232
+ deserialize_method = lambda do |parsed_response|
233
+ end
234
+
235
+ # Waiting for response.
236
+ @client.get_long_running_operation_result(response, deserialize_method)
237
+ end
238
+
239
+ promise
240
+ end
241
+
242
+ #
243
+ # Update event subscription of a system topic.
244
+ #
245
+ # Update event subscription of a system topic.
246
+ #
247
+ # @param resource_group_name [String] The name of the resource group within the
248
+ # user's subscription.
249
+ # @param system_topic_name [String] Name of the system topic.
250
+ # @param event_subscription_name [String] Name of the event subscription to be
251
+ # created. Event subscription names must be between 3 and 100 characters in
252
+ # length and use alphanumeric letters only.
253
+ # @param event_subscription_update_parameters
254
+ # [EventSubscriptionUpdateParameters] Updated event subscription information.
255
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
256
+ # will be added to the HTTP request.
257
+ #
258
+ # @return [EventSubscription] operation results.
259
+ #
260
+ def update(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:nil)
261
+ response = update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value!
262
+ response.body unless response.nil?
263
+ end
264
+
265
+ #
266
+ # @param resource_group_name [String] The name of the resource group within the
267
+ # user's subscription.
268
+ # @param system_topic_name [String] Name of the system topic.
269
+ # @param event_subscription_name [String] Name of the event subscription to be
270
+ # created. Event subscription names must be between 3 and 100 characters in
271
+ # length and use alphanumeric letters only.
272
+ # @param event_subscription_update_parameters
273
+ # [EventSubscriptionUpdateParameters] Updated event subscription information.
274
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
275
+ # will be added to the HTTP request.
276
+ #
277
+ # @return [Concurrent::Promise] promise which provides async access to http
278
+ # response.
279
+ #
280
+ def update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:nil)
281
+ # Send request
282
+ promise = begin_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers)
283
+
284
+ promise = promise.then do |response|
285
+ # Defining deserialization method.
286
+ deserialize_method = lambda do |parsed_response|
287
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
288
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
289
+ end
290
+
291
+ # Waiting for response.
292
+ @client.get_long_running_operation_result(response, deserialize_method)
293
+ end
294
+
295
+ promise
296
+ end
297
+
298
+ #
299
+ # Get full URL of an event subscription of a system topic
300
+ #
301
+ # Get the full endpoint URL for an event subscription of a system topic.
302
+ #
303
+ # @param resource_group_name [String] The name of the resource group within the
304
+ # user's subscription.
305
+ # @param system_topic_name [String] Name of the system topic.
306
+ # @param event_subscription_name [String] Name of the event subscription to be
307
+ # created. Event subscription names must be between 3 and 100 characters in
308
+ # length and use alphanumeric letters only.
309
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
310
+ # will be added to the HTTP request.
311
+ #
312
+ # @return [EventSubscriptionFullUrl] operation results.
313
+ #
314
+ def get_full_url(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
315
+ response = get_full_url_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
316
+ response.body unless response.nil?
317
+ end
318
+
319
+ #
320
+ # Get full URL of an event subscription of a system topic
321
+ #
322
+ # Get the full endpoint URL for an event subscription of a system topic.
323
+ #
324
+ # @param resource_group_name [String] The name of the resource group within the
325
+ # user's subscription.
326
+ # @param system_topic_name [String] Name of the system topic.
327
+ # @param event_subscription_name [String] Name of the event subscription to be
328
+ # created. Event subscription names must be between 3 and 100 characters in
329
+ # length and use alphanumeric letters only.
330
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
331
+ # will be added to the HTTP request.
332
+ #
333
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
334
+ #
335
+ def get_full_url_with_http_info(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
336
+ get_full_url_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
337
+ end
338
+
339
+ #
340
+ # Get full URL of an event subscription of a system topic
341
+ #
342
+ # Get the full endpoint URL for an event subscription of a system topic.
343
+ #
344
+ # @param resource_group_name [String] The name of the resource group within the
345
+ # user's subscription.
346
+ # @param system_topic_name [String] Name of the system topic.
347
+ # @param event_subscription_name [String] Name of the event subscription to be
348
+ # created. Event subscription names must be between 3 and 100 characters in
349
+ # length and use alphanumeric letters only.
350
+ # @param [Hash{String => String}] A hash of custom headers that will be added
351
+ # to the HTTP request.
352
+ #
353
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
354
+ #
355
+ def get_full_url_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
356
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
357
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
358
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
359
+ fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil?
360
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
361
+
362
+
363
+ request_headers = {}
364
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
365
+
366
+ # Set Headers
367
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
368
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
369
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl'
370
+
371
+ request_url = @base_url || @client.base_url
372
+
373
+ options = {
374
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
375
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name,'eventSubscriptionName' => event_subscription_name},
376
+ query_params: {'api-version' => @client.api_version},
377
+ headers: request_headers.merge(custom_headers || {}),
378
+ base_url: request_url
379
+ }
380
+ promise = @client.make_request_async(:post, path_template, options)
381
+
382
+ promise = promise.then do |result|
383
+ http_response = result.response
384
+ status_code = http_response.status
385
+ response_content = http_response.body
386
+ unless status_code == 200
387
+ error_model = JSON.load(response_content)
388
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
389
+ end
390
+
391
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
392
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
393
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
394
+ # Deserialize Response
395
+ if status_code == 200
396
+ begin
397
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
398
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFullUrl.mapper()
399
+ result.body = @client.deserialize(result_mapper, parsed_response)
400
+ rescue Exception => e
401
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
402
+ end
403
+ end
404
+
405
+ result
406
+ end
407
+
408
+ promise.execute
409
+ end
410
+
411
+ #
412
+ # List event subscriptions of a system topic.
413
+ #
414
+ # List event subscriptions that belong to a specific system topic.
415
+ #
416
+ # @param resource_group_name [String] The name of the resource group within the
417
+ # user's subscription.
418
+ # @param system_topic_name [String] Name of the system topic.
419
+ # @param filter [String] The query used to filter the search results using
420
+ # OData syntax. Filtering is permitted on the 'name' property only and with
421
+ # limited number of OData operations. These operations are: the 'contains'
422
+ # function as well as the following logical operations: not, and, or, eq (for
423
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
424
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
425
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
426
+ # $filter=location eq 'westus'.
427
+ # @param top [Integer] The number of results to return per page for the list
428
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
429
+ # default number of results to be returned is 20 items per page.
430
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
431
+ # will be added to the HTTP request.
432
+ #
433
+ # @return [Array<EventSubscription>] operation results.
434
+ #
435
+ def list_by_system_topic(resource_group_name, system_topic_name, filter:nil, top:nil, custom_headers:nil)
436
+ first_page = list_by_system_topic_as_lazy(resource_group_name, system_topic_name, filter:filter, top:top, custom_headers:custom_headers)
437
+ first_page.get_all_items
438
+ end
439
+
440
+ #
441
+ # List event subscriptions of a system topic.
442
+ #
443
+ # List event subscriptions that belong to a specific system topic.
444
+ #
445
+ # @param resource_group_name [String] The name of the resource group within the
446
+ # user's subscription.
447
+ # @param system_topic_name [String] Name of the system topic.
448
+ # @param filter [String] The query used to filter the search results using
449
+ # OData syntax. Filtering is permitted on the 'name' property only and with
450
+ # limited number of OData operations. These operations are: the 'contains'
451
+ # function as well as the following logical operations: not, and, or, eq (for
452
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
453
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
454
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
455
+ # $filter=location eq 'westus'.
456
+ # @param top [Integer] The number of results to return per page for the list
457
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
458
+ # default number of results to be returned is 20 items per page.
459
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
460
+ # will be added to the HTTP request.
461
+ #
462
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
463
+ #
464
+ def list_by_system_topic_with_http_info(resource_group_name, system_topic_name, filter:nil, top:nil, custom_headers:nil)
465
+ list_by_system_topic_async(resource_group_name, system_topic_name, filter:filter, top:top, custom_headers:custom_headers).value!
466
+ end
467
+
468
+ #
469
+ # List event subscriptions of a system topic.
470
+ #
471
+ # List event subscriptions that belong to a specific system topic.
472
+ #
473
+ # @param resource_group_name [String] The name of the resource group within the
474
+ # user's subscription.
475
+ # @param system_topic_name [String] Name of the system topic.
476
+ # @param filter [String] The query used to filter the search results using
477
+ # OData syntax. Filtering is permitted on the 'name' property only and with
478
+ # limited number of OData operations. These operations are: the 'contains'
479
+ # function as well as the following logical operations: not, and, or, eq (for
480
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
481
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
482
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
483
+ # $filter=location eq 'westus'.
484
+ # @param top [Integer] The number of results to return per page for the list
485
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
486
+ # default number of results to be returned is 20 items per page.
487
+ # @param [Hash{String => String}] A hash of custom headers that will be added
488
+ # to the HTTP request.
489
+ #
490
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
491
+ #
492
+ def list_by_system_topic_async(resource_group_name, system_topic_name, filter:nil, top:nil, custom_headers:nil)
493
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
494
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
495
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
496
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
497
+
498
+
499
+ request_headers = {}
500
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
501
+
502
+ # Set Headers
503
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
504
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
505
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions'
506
+
507
+ request_url = @base_url || @client.base_url
508
+
509
+ options = {
510
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
511
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name},
512
+ query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top},
513
+ headers: request_headers.merge(custom_headers || {}),
514
+ base_url: request_url
515
+ }
516
+ promise = @client.make_request_async(:get, path_template, options)
517
+
518
+ promise = promise.then do |result|
519
+ http_response = result.response
520
+ status_code = http_response.status
521
+ response_content = http_response.body
522
+ unless status_code == 200
523
+ error_model = JSON.load(response_content)
524
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
525
+ end
526
+
527
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
528
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
529
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
530
+ # Deserialize Response
531
+ if status_code == 200
532
+ begin
533
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
534
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionsListResult.mapper()
535
+ result.body = @client.deserialize(result_mapper, parsed_response)
536
+ rescue Exception => e
537
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
538
+ end
539
+ end
540
+
541
+ result
542
+ end
543
+
544
+ promise.execute
545
+ end
546
+
547
+ #
548
+ # Create or update an event subscription for a system topic.
549
+ #
550
+ # Asynchronously creates or updates an event subscription with the specified
551
+ # parameters. Existing event subscriptions will be updated with this API.
552
+ #
553
+ # @param resource_group_name [String] The name of the resource group within the
554
+ # user's subscription.
555
+ # @param system_topic_name [String] Name of the system topic.
556
+ # @param event_subscription_name [String] Name of the event subscription to be
557
+ # created. Event subscription names must be between 3 and 100 characters in
558
+ # length and use alphanumeric letters only.
559
+ # @param event_subscription_info [EventSubscription] Event subscription
560
+ # properties containing the destination and filter information.
561
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
562
+ # will be added to the HTTP request.
563
+ #
564
+ # @return [EventSubscription] operation results.
565
+ #
566
+ def begin_create_or_update(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:nil)
567
+ response = begin_create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value!
568
+ response.body unless response.nil?
569
+ end
570
+
571
+ #
572
+ # Create or update an event subscription for a system topic.
573
+ #
574
+ # Asynchronously creates or updates an event subscription with the specified
575
+ # parameters. Existing event subscriptions will be updated with this API.
576
+ #
577
+ # @param resource_group_name [String] The name of the resource group within the
578
+ # user's subscription.
579
+ # @param system_topic_name [String] Name of the system topic.
580
+ # @param event_subscription_name [String] Name of the event subscription to be
581
+ # created. Event subscription names must be between 3 and 100 characters in
582
+ # length and use alphanumeric letters only.
583
+ # @param event_subscription_info [EventSubscription] Event subscription
584
+ # properties containing the destination and filter information.
585
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
586
+ # will be added to the HTTP request.
587
+ #
588
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
589
+ #
590
+ def begin_create_or_update_with_http_info(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:nil)
591
+ begin_create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value!
592
+ end
593
+
594
+ #
595
+ # Create or update an event subscription for a system topic.
596
+ #
597
+ # Asynchronously creates or updates an event subscription with the specified
598
+ # parameters. Existing event subscriptions will be updated with this API.
599
+ #
600
+ # @param resource_group_name [String] The name of the resource group within the
601
+ # user's subscription.
602
+ # @param system_topic_name [String] Name of the system topic.
603
+ # @param event_subscription_name [String] Name of the event subscription to be
604
+ # created. Event subscription names must be between 3 and 100 characters in
605
+ # length and use alphanumeric letters only.
606
+ # @param event_subscription_info [EventSubscription] Event subscription
607
+ # properties containing the destination and filter information.
608
+ # @param [Hash{String => String}] A hash of custom headers that will be added
609
+ # to the HTTP request.
610
+ #
611
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
612
+ #
613
+ def begin_create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:nil)
614
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
615
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
616
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
617
+ fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil?
618
+ fail ArgumentError, 'event_subscription_info is nil' if event_subscription_info.nil?
619
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
620
+
621
+
622
+ request_headers = {}
623
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
624
+
625
+ # Set Headers
626
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
627
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
628
+
629
+ # Serialize Request
630
+ request_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
631
+ request_content = @client.serialize(request_mapper, event_subscription_info)
632
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
633
+
634
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}'
635
+
636
+ request_url = @base_url || @client.base_url
637
+
638
+ options = {
639
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
640
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name,'eventSubscriptionName' => event_subscription_name},
641
+ query_params: {'api-version' => @client.api_version},
642
+ body: request_content,
643
+ headers: request_headers.merge(custom_headers || {}),
644
+ base_url: request_url
645
+ }
646
+ promise = @client.make_request_async(:put, path_template, options)
647
+
648
+ promise = promise.then do |result|
649
+ http_response = result.response
650
+ status_code = http_response.status
651
+ response_content = http_response.body
652
+ unless status_code == 201
653
+ error_model = JSON.load(response_content)
654
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
655
+ end
656
+
657
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
658
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
659
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
660
+ # Deserialize Response
661
+ if status_code == 201
662
+ begin
663
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
664
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
665
+ result.body = @client.deserialize(result_mapper, parsed_response)
666
+ rescue Exception => e
667
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
668
+ end
669
+ end
670
+
671
+ result
672
+ end
673
+
674
+ promise.execute
675
+ end
676
+
677
+ #
678
+ # Delete an event subscription of a system topic.
679
+ #
680
+ # Delete an event subscription of a system topic.
681
+ #
682
+ # @param resource_group_name [String] The name of the resource group within the
683
+ # user's subscription.
684
+ # @param system_topic_name [String] Name of the system topic.
685
+ # @param event_subscription_name [String] Name of the event subscription to be
686
+ # created. Event subscription names must be between 3 and 100 characters in
687
+ # length and use alphanumeric letters only.
688
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
689
+ # will be added to the HTTP request.
690
+ #
691
+ #
692
+ def begin_delete(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
693
+ response = begin_delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
694
+ nil
695
+ end
696
+
697
+ #
698
+ # Delete an event subscription of a system topic.
699
+ #
700
+ # Delete an event subscription of a system topic.
701
+ #
702
+ # @param resource_group_name [String] The name of the resource group within the
703
+ # user's subscription.
704
+ # @param system_topic_name [String] Name of the system topic.
705
+ # @param event_subscription_name [String] Name of the event subscription to be
706
+ # created. Event subscription names must be between 3 and 100 characters in
707
+ # length and use alphanumeric letters only.
708
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
709
+ # will be added to the HTTP request.
710
+ #
711
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
712
+ #
713
+ def begin_delete_with_http_info(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
714
+ begin_delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
715
+ end
716
+
717
+ #
718
+ # Delete an event subscription of a system topic.
719
+ #
720
+ # Delete an event subscription of a system topic.
721
+ #
722
+ # @param resource_group_name [String] The name of the resource group within the
723
+ # user's subscription.
724
+ # @param system_topic_name [String] Name of the system topic.
725
+ # @param event_subscription_name [String] Name of the event subscription to be
726
+ # created. Event subscription names must be between 3 and 100 characters in
727
+ # length and use alphanumeric letters only.
728
+ # @param [Hash{String => String}] A hash of custom headers that will be added
729
+ # to the HTTP request.
730
+ #
731
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
732
+ #
733
+ def begin_delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
734
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
735
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
736
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
737
+ fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil?
738
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
739
+
740
+
741
+ request_headers = {}
742
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
743
+
744
+ # Set Headers
745
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
746
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
747
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}'
748
+
749
+ request_url = @base_url || @client.base_url
750
+
751
+ options = {
752
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
753
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name,'eventSubscriptionName' => event_subscription_name},
754
+ query_params: {'api-version' => @client.api_version},
755
+ headers: request_headers.merge(custom_headers || {}),
756
+ base_url: request_url
757
+ }
758
+ promise = @client.make_request_async(:delete, path_template, options)
759
+
760
+ promise = promise.then do |result|
761
+ http_response = result.response
762
+ status_code = http_response.status
763
+ response_content = http_response.body
764
+ unless status_code == 202 || status_code == 204
765
+ error_model = JSON.load(response_content)
766
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
767
+ end
768
+
769
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
770
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
771
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
772
+
773
+ result
774
+ end
775
+
776
+ promise.execute
777
+ end
778
+
779
+ #
780
+ # Update event subscription of a system topic.
781
+ #
782
+ # Update event subscription of a system topic.
783
+ #
784
+ # @param resource_group_name [String] The name of the resource group within the
785
+ # user's subscription.
786
+ # @param system_topic_name [String] Name of the system topic.
787
+ # @param event_subscription_name [String] Name of the event subscription to be
788
+ # created. Event subscription names must be between 3 and 100 characters in
789
+ # length and use alphanumeric letters only.
790
+ # @param event_subscription_update_parameters
791
+ # [EventSubscriptionUpdateParameters] Updated event subscription information.
792
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
793
+ # will be added to the HTTP request.
794
+ #
795
+ # @return [EventSubscription] operation results.
796
+ #
797
+ def begin_update(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:nil)
798
+ response = begin_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value!
799
+ response.body unless response.nil?
800
+ end
801
+
802
+ #
803
+ # Update event subscription of a system topic.
804
+ #
805
+ # Update event subscription of a system topic.
806
+ #
807
+ # @param resource_group_name [String] The name of the resource group within the
808
+ # user's subscription.
809
+ # @param system_topic_name [String] Name of the system topic.
810
+ # @param event_subscription_name [String] Name of the event subscription to be
811
+ # created. Event subscription names must be between 3 and 100 characters in
812
+ # length and use alphanumeric letters only.
813
+ # @param event_subscription_update_parameters
814
+ # [EventSubscriptionUpdateParameters] Updated event subscription information.
815
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
816
+ # will be added to the HTTP request.
817
+ #
818
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
819
+ #
820
+ def begin_update_with_http_info(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:nil)
821
+ begin_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value!
822
+ end
823
+
824
+ #
825
+ # Update event subscription of a system topic.
826
+ #
827
+ # Update event subscription of a system topic.
828
+ #
829
+ # @param resource_group_name [String] The name of the resource group within the
830
+ # user's subscription.
831
+ # @param system_topic_name [String] Name of the system topic.
832
+ # @param event_subscription_name [String] Name of the event subscription to be
833
+ # created. Event subscription names must be between 3 and 100 characters in
834
+ # length and use alphanumeric letters only.
835
+ # @param event_subscription_update_parameters
836
+ # [EventSubscriptionUpdateParameters] Updated event subscription information.
837
+ # @param [Hash{String => String}] A hash of custom headers that will be added
838
+ # to the HTTP request.
839
+ #
840
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
841
+ #
842
+ def begin_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:nil)
843
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
844
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
845
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
846
+ fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil?
847
+ fail ArgumentError, 'event_subscription_update_parameters is nil' if event_subscription_update_parameters.nil?
848
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
849
+
850
+
851
+ request_headers = {}
852
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
853
+
854
+ # Set Headers
855
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
856
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
857
+
858
+ # Serialize Request
859
+ request_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionUpdateParameters.mapper()
860
+ request_content = @client.serialize(request_mapper, event_subscription_update_parameters)
861
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
862
+
863
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}'
864
+
865
+ request_url = @base_url || @client.base_url
866
+
867
+ options = {
868
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
869
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name,'eventSubscriptionName' => event_subscription_name},
870
+ query_params: {'api-version' => @client.api_version},
871
+ body: request_content,
872
+ headers: request_headers.merge(custom_headers || {}),
873
+ base_url: request_url
874
+ }
875
+ promise = @client.make_request_async(:patch, path_template, options)
876
+
877
+ promise = promise.then do |result|
878
+ http_response = result.response
879
+ status_code = http_response.status
880
+ response_content = http_response.body
881
+ unless status_code == 201
882
+ error_model = JSON.load(response_content)
883
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
884
+ end
885
+
886
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
887
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
888
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
889
+ # Deserialize Response
890
+ if status_code == 201
891
+ begin
892
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
893
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
894
+ result.body = @client.deserialize(result_mapper, parsed_response)
895
+ rescue Exception => e
896
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
897
+ end
898
+ end
899
+
900
+ result
901
+ end
902
+
903
+ promise.execute
904
+ end
905
+
906
+ #
907
+ # List event subscriptions of a system topic.
908
+ #
909
+ # List event subscriptions that belong to a specific system topic.
910
+ #
911
+ # @param next_page_link [String] The NextLink from the previous successful call
912
+ # to List operation.
913
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
914
+ # will be added to the HTTP request.
915
+ #
916
+ # @return [EventSubscriptionsListResult] operation results.
917
+ #
918
+ def list_by_system_topic_next(next_page_link, custom_headers:nil)
919
+ response = list_by_system_topic_next_async(next_page_link, custom_headers:custom_headers).value!
920
+ response.body unless response.nil?
921
+ end
922
+
923
+ #
924
+ # List event subscriptions of a system topic.
925
+ #
926
+ # List event subscriptions that belong to a specific system topic.
927
+ #
928
+ # @param next_page_link [String] The NextLink from the previous successful call
929
+ # to List operation.
930
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
931
+ # will be added to the HTTP request.
932
+ #
933
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
934
+ #
935
+ def list_by_system_topic_next_with_http_info(next_page_link, custom_headers:nil)
936
+ list_by_system_topic_next_async(next_page_link, custom_headers:custom_headers).value!
937
+ end
938
+
939
+ #
940
+ # List event subscriptions of a system topic.
941
+ #
942
+ # List event subscriptions that belong to a specific system topic.
943
+ #
944
+ # @param next_page_link [String] The NextLink from the previous successful call
945
+ # to List operation.
946
+ # @param [Hash{String => String}] A hash of custom headers that will be added
947
+ # to the HTTP request.
948
+ #
949
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
950
+ #
951
+ def list_by_system_topic_next_async(next_page_link, custom_headers:nil)
952
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
953
+
954
+
955
+ request_headers = {}
956
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
957
+
958
+ # Set Headers
959
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
960
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
961
+ path_template = '{nextLink}'
962
+
963
+ request_url = @base_url || @client.base_url
964
+
965
+ options = {
966
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
967
+ skip_encoding_path_params: {'nextLink' => next_page_link},
968
+ headers: request_headers.merge(custom_headers || {}),
969
+ base_url: request_url
970
+ }
971
+ promise = @client.make_request_async(:get, path_template, options)
972
+
973
+ promise = promise.then do |result|
974
+ http_response = result.response
975
+ status_code = http_response.status
976
+ response_content = http_response.body
977
+ unless status_code == 200
978
+ error_model = JSON.load(response_content)
979
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
980
+ end
981
+
982
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
983
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
984
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
985
+ # Deserialize Response
986
+ if status_code == 200
987
+ begin
988
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
989
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionsListResult.mapper()
990
+ result.body = @client.deserialize(result_mapper, parsed_response)
991
+ rescue Exception => e
992
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
993
+ end
994
+ end
995
+
996
+ result
997
+ end
998
+
999
+ promise.execute
1000
+ end
1001
+
1002
+ #
1003
+ # List event subscriptions of a system topic.
1004
+ #
1005
+ # List event subscriptions that belong to a specific system topic.
1006
+ #
1007
+ # @param resource_group_name [String] The name of the resource group within the
1008
+ # user's subscription.
1009
+ # @param system_topic_name [String] Name of the system topic.
1010
+ # @param filter [String] The query used to filter the search results using
1011
+ # OData syntax. Filtering is permitted on the 'name' property only and with
1012
+ # limited number of OData operations. These operations are: the 'contains'
1013
+ # function as well as the following logical operations: not, and, or, eq (for
1014
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
1015
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
1016
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
1017
+ # $filter=location eq 'westus'.
1018
+ # @param top [Integer] The number of results to return per page for the list
1019
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
1020
+ # default number of results to be returned is 20 items per page.
1021
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1022
+ # will be added to the HTTP request.
1023
+ #
1024
+ # @return [EventSubscriptionsListResult] which provide lazy access to pages of
1025
+ # the response.
1026
+ #
1027
+ def list_by_system_topic_as_lazy(resource_group_name, system_topic_name, filter:nil, top:nil, custom_headers:nil)
1028
+ response = list_by_system_topic_async(resource_group_name, system_topic_name, filter:filter, top:top, custom_headers:custom_headers).value!
1029
+ unless response.nil?
1030
+ page = response.body
1031
+ page.next_method = Proc.new do |next_page_link|
1032
+ list_by_system_topic_next_async(next_page_link, custom_headers:custom_headers)
1033
+ end
1034
+ page
1035
+ end
1036
+ end
1037
+
1038
+ end
1039
+ end