azure_mgmt_event_grid 0.17.10 → 0.18.0

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 +56 -56
  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 +1841 -1841
  6. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/endpoint_type.rb +15 -15
  7. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +134 -134
  8. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +72 -72
  9. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  10. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  11. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -20
  12. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +81 -81
  13. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  14. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  15. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  16. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +81 -81
  17. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  18. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +17 -17
  19. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  20. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  21. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  22. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  23. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  24. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  25. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  26. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +120 -120
  27. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  28. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  29. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  30. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  31. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  32. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  33. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  34. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb +946 -946
  35. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid.rb +58 -58
  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 +1841 -1841
  38. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  39. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +136 -136
  40. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +47 -47
  41. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  42. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  43. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -20
  44. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +83 -83
  45. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  46. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  47. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  48. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +81 -81
  49. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  50. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +17 -17
  51. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  52. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  53. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  54. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  55. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  56. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  57. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  58. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  59. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  60. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  61. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  62. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  63. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  64. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  65. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  66. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  67. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  68. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  69. data/lib/2018-01-01/generated/azure_mgmt_event_grid.rb +57 -57
  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 +1837 -1837
  72. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  73. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +136 -136
  74. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +47 -47
  75. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  76. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  77. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -20
  78. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +83 -83
  79. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  80. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  81. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  82. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  83. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  84. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  85. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  86. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  87. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  88. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  89. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  90. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  91. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  92. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  93. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  94. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  95. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  96. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  97. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  98. data/lib/2018-01-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  99. data/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb +118 -118
  100. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  101. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  102. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid.rb +68 -68
  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 +1837 -1837
  105. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  106. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -17
  107. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  108. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +180 -180
  109. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -49
  110. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  111. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  112. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  113. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +125 -125
  114. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  115. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  116. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  117. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  118. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -17
  119. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -49
  120. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -50
  121. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +65 -65
  122. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -130
  123. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  124. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  125. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  126. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  127. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  128. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  129. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  130. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  131. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -144
  132. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  133. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  134. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  135. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  136. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  137. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  138. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  139. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  140. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  141. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  142. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  143. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  144. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  145. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  146. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid.rb +91 -91
  147. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +235 -235
  148. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +1002 -1002
  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 +1947 -1947
  151. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +70 -70
  152. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -69
  153. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  154. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +140 -140
  155. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -20
  156. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -46
  157. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -57
  158. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +62 -62
  159. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +55 -55
  160. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -54
  161. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +55 -55
  162. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -17
  163. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  164. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -189
  165. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -49
  166. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -120
  167. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  168. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  169. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -137
  170. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  171. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  172. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  173. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  174. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -17
  175. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -49
  176. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -50
  177. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +65 -65
  178. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -130
  179. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -69
  180. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -69
  181. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -77
  182. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -69
  183. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -69
  184. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -77
  185. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  186. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  187. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  188. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  189. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  190. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  191. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  192. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  193. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -77
  194. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -77
  195. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -77
  196. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -77
  197. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -77
  198. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -144
  199. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  200. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  201. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  202. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  203. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  204. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  205. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  206. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  207. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  208. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  209. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  210. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  211. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  212. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  213. data/lib/2019-01-01/generated/azure_mgmt_event_grid.rb +62 -62
  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 +1837 -1837
  216. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  217. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  218. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +165 -165
  219. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -49
  220. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  221. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  222. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  223. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +112 -112
  224. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  225. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  226. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  227. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  228. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  229. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  230. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  231. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  232. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  233. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  234. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +75 -75
  235. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  236. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  237. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  238. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  239. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  240. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  241. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  242. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  243. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  244. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  245. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  246. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  247. data/lib/2019-01-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  248. data/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb +118 -118
  249. data/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  250. data/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  251. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid.rb +93 -93
  252. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +663 -663
  253. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domains.rb +1256 -1256
  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 +3368 -3368
  256. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -74
  257. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -69
  258. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  259. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +142 -142
  260. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -20
  261. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -46
  262. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -57
  263. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -75
  264. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -20
  265. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -98
  266. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -54
  267. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -98
  268. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -17
  269. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  270. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -189
  271. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +50 -50
  272. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -120
  273. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  274. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  275. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -137
  276. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -98
  277. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -106
  278. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  279. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  280. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -17
  281. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -49
  282. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -50
  283. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -67
  284. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -130
  285. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -69
  286. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -69
  287. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -77
  288. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -69
  289. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -69
  290. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -77
  291. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  292. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  293. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  294. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  295. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  296. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  297. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -63
  298. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  299. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  300. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -77
  301. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -77
  302. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -77
  303. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -77
  304. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -77
  305. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -144
  306. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  307. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  308. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  309. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  310. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  311. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  312. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  313. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -98
  314. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  315. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  316. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  317. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  318. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  319. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb +1367 -1367
  320. data/lib/2019-06-01/generated/azure_mgmt_event_grid.rb +87 -87
  321. data/lib/2019-06-01/generated/azure_mgmt_event_grid/domain_topics.rb +699 -699
  322. data/lib/2019-06-01/generated/azure_mgmt_event_grid/domains.rb +1328 -1328
  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 +3648 -3648
  325. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -74
  326. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -69
  327. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  328. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain.rb +112 -112
  329. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -20
  330. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -46
  331. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -57
  332. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -75
  333. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -20
  334. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -98
  335. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -54
  336. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -98
  337. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  338. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +176 -176
  339. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +50 -50
  340. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -120
  341. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  342. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  343. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +124 -124
  344. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -98
  345. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_type.rb +106 -106
  346. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  347. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  348. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -69
  349. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -69
  350. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -77
  351. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -69
  352. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -69
  353. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -77
  354. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  355. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  356. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  357. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  358. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  359. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  360. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -63
  361. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  362. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  363. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -77
  364. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -77
  365. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -77
  366. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -77
  367. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -77
  368. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  369. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  370. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  371. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  372. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  373. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  374. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  375. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  376. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -98
  377. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  378. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  379. data/lib/2019-06-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  380. data/lib/2019-06-01/generated/azure_mgmt_event_grid/operations.rb +118 -118
  381. data/lib/2019-06-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  382. data/lib/2019-06-01/generated/azure_mgmt_event_grid/topics.rb +1439 -1439
  383. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid.rb +95 -95
  384. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +699 -699
  385. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/domains.rb +1328 -1328
  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 +3648 -3648
  388. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -74
  389. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +86 -86
  390. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -69
  391. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  392. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +154 -154
  393. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -20
  394. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -46
  395. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -57
  396. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -75
  397. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -20
  398. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -98
  399. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -54
  400. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -98
  401. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -17
  402. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  403. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -189
  404. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -52
  405. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -120
  406. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  407. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  408. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -137
  409. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -98
  410. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -106
  411. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  412. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  413. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -17
  414. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -49
  415. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -50
  416. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -67
  417. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -130
  418. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -69
  419. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -69
  420. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -77
  421. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -69
  422. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -69
  423. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -77
  424. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  425. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  426. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  427. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  428. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  429. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  430. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -63
  431. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +64 -64
  432. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  433. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  434. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -77
  435. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -77
  436. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -77
  437. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -77
  438. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -77
  439. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +156 -156
  440. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  441. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  442. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  443. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  444. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  445. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  446. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  447. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -98
  448. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  449. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +122 -122
  450. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  451. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  452. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  453. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/topics.rb +1439 -1439
  454. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid.rb +78 -19
  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 +614 -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 +57 -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 +39 -12
  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 +102 -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_provisioning_state.rb +20 -0
  480. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb +48 -0
  481. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb +98 -0
  482. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  483. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  484. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +41 -2
  485. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +1 -1
  486. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  487. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  488. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb +61 -0
  489. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity_type.rb +16 -0
  490. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  491. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +41 -2
  492. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  493. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  494. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  495. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/extension_topic.rb +86 -0
  496. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  497. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_info.rb +96 -0
  498. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_type.rb +18 -0
  499. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +0 -0
  500. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  501. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  502. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb +0 -0
  503. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  504. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  505. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  506. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  507. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  508. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  509. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  510. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  511. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  512. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  513. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  514. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  515. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace.rb +126 -0
  516. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_provisioning_state.rb +20 -0
  517. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb +46 -0
  518. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb +57 -0
  519. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb +54 -0
  520. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb +98 -0
  521. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +207 -0
  522. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb +68 -0
  523. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_provisioning_state.rb +20 -0
  524. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +117 -0
  525. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_visibility_state.rb +17 -0
  526. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb +99 -0
  527. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +125 -0
  528. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_activation_state.rb +17 -0
  529. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_provisioning_state.rb +20 -0
  530. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb +134 -0
  531. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type_authorization_state.rb +17 -0
  532. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb +55 -0
  533. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb +54 -0
  534. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb +98 -0
  535. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
  536. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
  537. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +120 -0
  538. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
  539. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
  540. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
  541. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
  542. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  543. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
  544. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  545. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +48 -0
  546. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  547. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  548. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +0 -0
  549. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku.rb +16 -0
  550. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type.rb +67 -0
  551. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type_list_result.rb +67 -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 +37 -10
  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 +878 -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 +773 -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 +874 -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 +0 -0
  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 +282 -66
  591. data/lib/version.rb +1 -1
  592. metadata +62 -3
@@ -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,874 @@
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 custom_headers [Hash{String => String}] A hash of custom headers that
420
+ # will be added to the HTTP request.
421
+ #
422
+ # @return [EventSubscriptionsListResult] operation results.
423
+ #
424
+ def list_by_system_topic(resource_group_name, system_topic_name, custom_headers:nil)
425
+ response = list_by_system_topic_async(resource_group_name, system_topic_name, custom_headers:custom_headers).value!
426
+ response.body unless response.nil?
427
+ end
428
+
429
+ #
430
+ # List event subscriptions of a system topic.
431
+ #
432
+ # List event subscriptions that belong to a specific system topic.
433
+ #
434
+ # @param resource_group_name [String] The name of the resource group within the
435
+ # user's subscription.
436
+ # @param system_topic_name [String] Name of the system topic.
437
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
438
+ # will be added to the HTTP request.
439
+ #
440
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
441
+ #
442
+ def list_by_system_topic_with_http_info(resource_group_name, system_topic_name, custom_headers:nil)
443
+ list_by_system_topic_async(resource_group_name, system_topic_name, custom_headers:custom_headers).value!
444
+ end
445
+
446
+ #
447
+ # List event subscriptions of a system topic.
448
+ #
449
+ # List event subscriptions that belong to a specific system topic.
450
+ #
451
+ # @param resource_group_name [String] The name of the resource group within the
452
+ # user's subscription.
453
+ # @param system_topic_name [String] Name of the system topic.
454
+ # @param [Hash{String => String}] A hash of custom headers that will be added
455
+ # to the HTTP request.
456
+ #
457
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
458
+ #
459
+ def list_by_system_topic_async(resource_group_name, system_topic_name, custom_headers:nil)
460
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
461
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
462
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
463
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
464
+
465
+
466
+ request_headers = {}
467
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
468
+
469
+ # Set Headers
470
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
471
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
472
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions'
473
+
474
+ request_url = @base_url || @client.base_url
475
+
476
+ options = {
477
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
478
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name},
479
+ query_params: {'api-version' => @client.api_version},
480
+ headers: request_headers.merge(custom_headers || {}),
481
+ base_url: request_url
482
+ }
483
+ promise = @client.make_request_async(:get, path_template, options)
484
+
485
+ promise = promise.then do |result|
486
+ http_response = result.response
487
+ status_code = http_response.status
488
+ response_content = http_response.body
489
+ unless status_code == 200
490
+ error_model = JSON.load(response_content)
491
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
492
+ end
493
+
494
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
495
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
496
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
497
+ # Deserialize Response
498
+ if status_code == 200
499
+ begin
500
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
501
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionsListResult.mapper()
502
+ result.body = @client.deserialize(result_mapper, parsed_response)
503
+ rescue Exception => e
504
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
505
+ end
506
+ end
507
+
508
+ result
509
+ end
510
+
511
+ promise.execute
512
+ end
513
+
514
+ #
515
+ # Create or update an event subscription for a system topic.
516
+ #
517
+ # Asynchronously creates or updates an event subscription with the specified
518
+ # parameters. Existing event subscriptions will be updated with this API.
519
+ #
520
+ # @param resource_group_name [String] The name of the resource group within the
521
+ # user's subscription.
522
+ # @param system_topic_name [String] Name of the system topic.
523
+ # @param event_subscription_name [String] Name of the event subscription to be
524
+ # created. Event subscription names must be between 3 and 100 characters in
525
+ # length and use alphanumeric letters only.
526
+ # @param event_subscription_info [EventSubscription] Event subscription
527
+ # properties containing the destination and filter information.
528
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
529
+ # will be added to the HTTP request.
530
+ #
531
+ # @return [EventSubscription] operation results.
532
+ #
533
+ def begin_create_or_update(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:nil)
534
+ response = begin_create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value!
535
+ response.body unless response.nil?
536
+ end
537
+
538
+ #
539
+ # Create or update an event subscription for a system topic.
540
+ #
541
+ # Asynchronously creates or updates an event subscription with the specified
542
+ # parameters. Existing event subscriptions will be updated with this API.
543
+ #
544
+ # @param resource_group_name [String] The name of the resource group within the
545
+ # user's subscription.
546
+ # @param system_topic_name [String] Name of the system topic.
547
+ # @param event_subscription_name [String] Name of the event subscription to be
548
+ # created. Event subscription names must be between 3 and 100 characters in
549
+ # length and use alphanumeric letters only.
550
+ # @param event_subscription_info [EventSubscription] Event subscription
551
+ # properties containing the destination and filter information.
552
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
553
+ # will be added to the HTTP request.
554
+ #
555
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
556
+ #
557
+ def begin_create_or_update_with_http_info(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:nil)
558
+ begin_create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:custom_headers).value!
559
+ end
560
+
561
+ #
562
+ # Create or update an event subscription for a system topic.
563
+ #
564
+ # Asynchronously creates or updates an event subscription with the specified
565
+ # parameters. Existing event subscriptions will be updated with this API.
566
+ #
567
+ # @param resource_group_name [String] The name of the resource group within the
568
+ # user's subscription.
569
+ # @param system_topic_name [String] Name of the system topic.
570
+ # @param event_subscription_name [String] Name of the event subscription to be
571
+ # created. Event subscription names must be between 3 and 100 characters in
572
+ # length and use alphanumeric letters only.
573
+ # @param event_subscription_info [EventSubscription] Event subscription
574
+ # properties containing the destination and filter information.
575
+ # @param [Hash{String => String}] A hash of custom headers that will be added
576
+ # to the HTTP request.
577
+ #
578
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
579
+ #
580
+ def begin_create_or_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_info, custom_headers:nil)
581
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
582
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
583
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
584
+ fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil?
585
+ fail ArgumentError, 'event_subscription_info is nil' if event_subscription_info.nil?
586
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
587
+
588
+
589
+ request_headers = {}
590
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
591
+
592
+ # Set Headers
593
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
594
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
595
+
596
+ # Serialize Request
597
+ request_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
598
+ request_content = @client.serialize(request_mapper, event_subscription_info)
599
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
600
+
601
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}'
602
+
603
+ request_url = @base_url || @client.base_url
604
+
605
+ options = {
606
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
607
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name,'eventSubscriptionName' => event_subscription_name},
608
+ query_params: {'api-version' => @client.api_version},
609
+ body: request_content,
610
+ headers: request_headers.merge(custom_headers || {}),
611
+ base_url: request_url
612
+ }
613
+ promise = @client.make_request_async(:put, path_template, options)
614
+
615
+ promise = promise.then do |result|
616
+ http_response = result.response
617
+ status_code = http_response.status
618
+ response_content = http_response.body
619
+ unless status_code == 201
620
+ error_model = JSON.load(response_content)
621
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
622
+ end
623
+
624
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
625
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
626
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
627
+ # Deserialize Response
628
+ if status_code == 201
629
+ begin
630
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
631
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
632
+ result.body = @client.deserialize(result_mapper, parsed_response)
633
+ rescue Exception => e
634
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
635
+ end
636
+ end
637
+
638
+ result
639
+ end
640
+
641
+ promise.execute
642
+ end
643
+
644
+ #
645
+ # Delete an event subscription of a system topic.
646
+ #
647
+ # Delete an event subscription of a system topic.
648
+ #
649
+ # @param resource_group_name [String] The name of the resource group within the
650
+ # user's subscription.
651
+ # @param system_topic_name [String] Name of the system topic.
652
+ # @param event_subscription_name [String] Name of the event subscription to be
653
+ # created. Event subscription names must be between 3 and 100 characters in
654
+ # length and use alphanumeric letters only.
655
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
656
+ # will be added to the HTTP request.
657
+ #
658
+ #
659
+ def begin_delete(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
660
+ response = begin_delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
661
+ nil
662
+ end
663
+
664
+ #
665
+ # Delete an event subscription of a system topic.
666
+ #
667
+ # Delete an event subscription of a system topic.
668
+ #
669
+ # @param resource_group_name [String] The name of the resource group within the
670
+ # user's subscription.
671
+ # @param system_topic_name [String] Name of the system topic.
672
+ # @param event_subscription_name [String] Name of the event subscription to be
673
+ # created. Event subscription names must be between 3 and 100 characters in
674
+ # length and use alphanumeric letters only.
675
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
676
+ # will be added to the HTTP request.
677
+ #
678
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
679
+ #
680
+ def begin_delete_with_http_info(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
681
+ begin_delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:custom_headers).value!
682
+ end
683
+
684
+ #
685
+ # Delete an event subscription of a system topic.
686
+ #
687
+ # Delete an event subscription of a system topic.
688
+ #
689
+ # @param resource_group_name [String] The name of the resource group within the
690
+ # user's subscription.
691
+ # @param system_topic_name [String] Name of the system topic.
692
+ # @param event_subscription_name [String] Name of the event subscription to be
693
+ # created. Event subscription names must be between 3 and 100 characters in
694
+ # length and use alphanumeric letters only.
695
+ # @param [Hash{String => String}] A hash of custom headers that will be added
696
+ # to the HTTP request.
697
+ #
698
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
699
+ #
700
+ def begin_delete_async(resource_group_name, system_topic_name, event_subscription_name, custom_headers:nil)
701
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
702
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
703
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
704
+ fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil?
705
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
706
+
707
+
708
+ request_headers = {}
709
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
710
+
711
+ # Set Headers
712
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
713
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
714
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}'
715
+
716
+ request_url = @base_url || @client.base_url
717
+
718
+ options = {
719
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
720
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name,'eventSubscriptionName' => event_subscription_name},
721
+ query_params: {'api-version' => @client.api_version},
722
+ headers: request_headers.merge(custom_headers || {}),
723
+ base_url: request_url
724
+ }
725
+ promise = @client.make_request_async(:delete, path_template, options)
726
+
727
+ promise = promise.then do |result|
728
+ http_response = result.response
729
+ status_code = http_response.status
730
+ response_content = http_response.body
731
+ unless status_code == 202 || status_code == 204
732
+ error_model = JSON.load(response_content)
733
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
734
+ end
735
+
736
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
737
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
738
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
739
+
740
+ result
741
+ end
742
+
743
+ promise.execute
744
+ end
745
+
746
+ #
747
+ # Update event subscription of a system topic.
748
+ #
749
+ # Update event subscription of a system topic.
750
+ #
751
+ # @param resource_group_name [String] The name of the resource group within the
752
+ # user's subscription.
753
+ # @param system_topic_name [String] Name of the system topic.
754
+ # @param event_subscription_name [String] Name of the event subscription to be
755
+ # created. Event subscription names must be between 3 and 100 characters in
756
+ # length and use alphanumeric letters only.
757
+ # @param event_subscription_update_parameters
758
+ # [EventSubscriptionUpdateParameters] Updated event subscription information.
759
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
760
+ # will be added to the HTTP request.
761
+ #
762
+ # @return [EventSubscription] operation results.
763
+ #
764
+ def begin_update(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:nil)
765
+ response = begin_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value!
766
+ response.body unless response.nil?
767
+ end
768
+
769
+ #
770
+ # Update event subscription of a system topic.
771
+ #
772
+ # Update event subscription of a system topic.
773
+ #
774
+ # @param resource_group_name [String] The name of the resource group within the
775
+ # user's subscription.
776
+ # @param system_topic_name [String] Name of the system topic.
777
+ # @param event_subscription_name [String] Name of the event subscription to be
778
+ # created. Event subscription names must be between 3 and 100 characters in
779
+ # length and use alphanumeric letters only.
780
+ # @param event_subscription_update_parameters
781
+ # [EventSubscriptionUpdateParameters] Updated event subscription information.
782
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
783
+ # will be added to the HTTP request.
784
+ #
785
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
786
+ #
787
+ def begin_update_with_http_info(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:nil)
788
+ begin_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:custom_headers).value!
789
+ end
790
+
791
+ #
792
+ # Update event subscription of a system topic.
793
+ #
794
+ # Update event subscription of a system topic.
795
+ #
796
+ # @param resource_group_name [String] The name of the resource group within the
797
+ # user's subscription.
798
+ # @param system_topic_name [String] Name of the system topic.
799
+ # @param event_subscription_name [String] Name of the event subscription to be
800
+ # created. Event subscription names must be between 3 and 100 characters in
801
+ # length and use alphanumeric letters only.
802
+ # @param event_subscription_update_parameters
803
+ # [EventSubscriptionUpdateParameters] Updated event subscription information.
804
+ # @param [Hash{String => String}] A hash of custom headers that will be added
805
+ # to the HTTP request.
806
+ #
807
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
808
+ #
809
+ def begin_update_async(resource_group_name, system_topic_name, event_subscription_name, event_subscription_update_parameters, custom_headers:nil)
810
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
811
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
812
+ fail ArgumentError, 'system_topic_name is nil' if system_topic_name.nil?
813
+ fail ArgumentError, 'event_subscription_name is nil' if event_subscription_name.nil?
814
+ fail ArgumentError, 'event_subscription_update_parameters is nil' if event_subscription_update_parameters.nil?
815
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
816
+
817
+
818
+ request_headers = {}
819
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
820
+
821
+ # Set Headers
822
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
823
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
824
+
825
+ # Serialize Request
826
+ request_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionUpdateParameters.mapper()
827
+ request_content = @client.serialize(request_mapper, event_subscription_update_parameters)
828
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
829
+
830
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}'
831
+
832
+ request_url = @base_url || @client.base_url
833
+
834
+ options = {
835
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
836
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'systemTopicName' => system_topic_name,'eventSubscriptionName' => event_subscription_name},
837
+ query_params: {'api-version' => @client.api_version},
838
+ body: request_content,
839
+ headers: request_headers.merge(custom_headers || {}),
840
+ base_url: request_url
841
+ }
842
+ promise = @client.make_request_async(:patch, path_template, options)
843
+
844
+ promise = promise.then do |result|
845
+ http_response = result.response
846
+ status_code = http_response.status
847
+ response_content = http_response.body
848
+ unless status_code == 201
849
+ error_model = JSON.load(response_content)
850
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
851
+ end
852
+
853
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
854
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
855
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
856
+ # Deserialize Response
857
+ if status_code == 201
858
+ begin
859
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
860
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription.mapper()
861
+ result.body = @client.deserialize(result_mapper, parsed_response)
862
+ rescue Exception => e
863
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
864
+ end
865
+ end
866
+
867
+ result
868
+ end
869
+
870
+ promise.execute
871
+ end
872
+
873
+ end
874
+ end