azure_mgmt_event_grid 0.17.9 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (592) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +20 -20
  3. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid.rb +0 -0
  4. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  5. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  6. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/endpoint_type.rb +0 -0
  7. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  8. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  9. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  10. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  11. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  12. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  13. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  14. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  15. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  16. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  17. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  18. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +0 -0
  19. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  20. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  21. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  22. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  23. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  24. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  25. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  26. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  27. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  28. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  29. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  30. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  31. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  32. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  33. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  34. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  35. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid.rb +0 -0
  36. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  37. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  38. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  39. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  40. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  41. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  42. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  43. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  44. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  45. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  46. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  47. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  48. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  49. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  50. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +0 -0
  51. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  52. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  53. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  54. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  55. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  56. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  57. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  58. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  59. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  60. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  61. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  62. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  63. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  64. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  65. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  66. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  67. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  68. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  69. data/lib/2018-01-01/generated/azure_mgmt_event_grid.rb +0 -0
  70. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  71. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  72. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  73. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  74. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  75. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  76. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  77. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  78. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  79. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  80. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  81. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  82. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  83. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  84. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  85. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  86. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  87. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  88. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  89. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  90. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  91. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  92. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  93. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  94. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  95. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  96. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  97. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  98. data/lib/2018-01-01/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  99. data/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb +0 -0
  100. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  101. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb +0 -0
  102. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid.rb +0 -0
  103. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  104. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  105. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  106. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  107. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  108. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  109. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  110. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  111. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  112. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  113. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  114. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  115. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  116. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  117. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  118. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  119. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  120. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  121. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  122. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  123. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  124. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  125. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  126. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  127. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  128. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  129. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  130. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  131. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  132. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  133. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  134. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  135. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  136. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  137. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  138. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  139. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  140. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  141. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  142. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  143. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  144. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  145. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  146. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid.rb +0 -0
  147. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  148. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +0 -0
  149. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  150. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  151. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  152. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  153. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  154. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +0 -0
  155. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  156. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  157. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  158. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  159. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  160. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +0 -0
  161. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  162. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  163. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  164. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  165. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  166. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  167. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  168. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  169. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  170. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  171. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  172. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  173. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  174. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  175. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  176. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  177. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  178. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  179. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  180. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  181. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  182. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  183. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  184. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  185. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  186. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  187. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  188. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  189. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  190. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  191. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  192. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  193. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  194. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  195. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  196. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  197. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  198. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  199. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  200. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  201. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  202. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  203. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  204. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  205. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  206. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  207. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  208. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  209. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  210. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  211. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  212. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  213. data/lib/2019-01-01/generated/azure_mgmt_event_grid.rb +0 -0
  214. data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  215. data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  216. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  217. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  218. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  219. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  220. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  221. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  222. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  223. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  224. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  225. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  226. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  227. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  228. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  229. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  230. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  231. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  232. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  233. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  234. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  235. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  236. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  237. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  238. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  239. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  240. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  241. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  242. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  243. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  244. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  245. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  246. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  247. data/lib/2019-01-01/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  248. data/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb +0 -0
  249. data/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  250. data/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb +0 -0
  251. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid.rb +0 -0
  252. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  253. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domains.rb +0 -0
  254. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  255. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  256. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  257. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  258. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  259. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +0 -0
  260. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  261. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  262. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  263. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  264. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  265. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  266. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +0 -0
  267. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  268. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  269. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  270. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  271. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  272. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  273. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  274. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  275. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  276. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  277. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  278. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  279. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  280. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  281. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  282. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  283. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  284. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  285. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  286. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  287. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  288. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  289. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  290. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  291. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  292. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  293. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  294. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  295. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  296. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  297. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  298. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  299. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  300. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  301. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  302. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  303. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  304. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  305. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  306. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  307. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  308. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  309. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  310. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  311. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  312. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  313. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  314. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  315. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  316. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  317. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  318. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  319. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  320. data/lib/2019-06-01/generated/azure_mgmt_event_grid.rb +0 -0
  321. data/lib/2019-06-01/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  322. data/lib/2019-06-01/generated/azure_mgmt_event_grid/domains.rb +0 -0
  323. data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  324. data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  325. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  326. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  327. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  328. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain.rb +0 -0
  329. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  330. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  331. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  332. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  333. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  334. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  335. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +0 -0
  336. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  337. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  338. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  339. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  340. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  341. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  342. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  343. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  344. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  345. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  346. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  347. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  348. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  349. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  350. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  351. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  352. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  353. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  354. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  355. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  356. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  357. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  358. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  359. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  360. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  361. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  362. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  363. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  364. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  365. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  366. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  367. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  368. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  369. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  370. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  371. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  372. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  373. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  374. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  375. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  376. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  377. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  378. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  379. data/lib/2019-06-01/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  380. data/lib/2019-06-01/generated/azure_mgmt_event_grid/operations.rb +0 -0
  381. data/lib/2019-06-01/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  382. data/lib/2019-06-01/generated/azure_mgmt_event_grid/topics.rb +0 -0
  383. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid.rb +0 -0
  384. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  385. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/domains.rb +0 -0
  386. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  387. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  388. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  389. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +0 -0
  390. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  391. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  392. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +0 -0
  393. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  394. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  395. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  396. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  397. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  398. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  399. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +0 -0
  400. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  401. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  402. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  403. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +0 -0
  404. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +0 -0
  405. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  406. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  407. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  408. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +0 -0
  409. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  410. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  411. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  412. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  413. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  414. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  415. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  416. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  417. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  418. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  419. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  420. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  421. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  422. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  423. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  424. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  425. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  426. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  427. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  428. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  429. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  430. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  431. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +0 -0
  432. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  433. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  434. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  435. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  436. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  437. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  438. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  439. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +0 -0
  440. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  441. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  442. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  443. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  444. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  445. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  446. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +0 -0
  447. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  448. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  449. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  450. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  451. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  452. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  453. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/topics.rb +0 -0
  454. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid.rb +80 -21
  455. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  456. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/domains.rb +1 -1
  457. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_channels.rb +658 -0
  458. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +42 -1
  459. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  460. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/extension_topics.rb +141 -0
  461. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  462. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +0 -0
  463. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  464. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
  465. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  466. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_with_resource_identity.rb +66 -0
  467. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb +67 -0
  468. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +58 -9
  469. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  470. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  471. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  472. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  473. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  474. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  475. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +63 -2
  476. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  477. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel.rb +158 -0
  478. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb +75 -0
  479. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb +58 -0
  480. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_provisioning_state.rb +20 -0
  481. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb +48 -0
  482. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb +98 -0
  483. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  484. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  485. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +41 -2
  486. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +1 -1
  487. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  488. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  489. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb +61 -0
  490. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity_type.rb +16 -0
  491. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  492. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +41 -2
  493. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  494. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  495. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  496. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/extension_topic.rb +86 -0
  497. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  498. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_info.rb +96 -0
  499. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_type.rb +18 -0
  500. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +0 -0
  501. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  502. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  503. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb +0 -0
  504. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  505. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  506. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  507. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  508. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  509. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  510. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  511. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  512. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  513. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  514. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  515. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  516. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace.rb +126 -0
  517. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_provisioning_state.rb +20 -0
  518. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb +46 -0
  519. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb +57 -0
  520. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb +54 -0
  521. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb +98 -0
  522. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +264 -0
  523. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb +68 -0
  524. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_provisioning_state.rb +20 -0
  525. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +137 -0
  526. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_visibility_state.rb +17 -0
  527. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb +99 -0
  528. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +153 -0
  529. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_activation_state.rb +17 -0
  530. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_provisioning_state.rb +20 -0
  531. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_readiness_state.rb +18 -0
  532. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb +134 -0
  533. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type_authorization_state.rb +17 -0
  534. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb +55 -0
  535. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb +54 -0
  536. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb +98 -0
  537. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
  538. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
  539. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +121 -0
  540. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
  541. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
  542. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
  543. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
  544. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  545. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
  546. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  547. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +47 -0
  548. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  549. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  550. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +0 -0
  551. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku.rb +16 -0
  552. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  553. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  554. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  555. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  556. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  557. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  558. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  559. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topic.rb +134 -0
  560. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topic_update_parameters.rb +54 -0
  561. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topics_list_result.rb +98 -0
  562. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +57 -9
  563. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  564. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  565. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  566. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  567. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  568. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  569. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +61 -0
  570. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  571. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  572. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/user_identity_properties.rb +57 -0
  573. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  574. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  575. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  576. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_namespaces.rb +1333 -0
  577. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_registrations.rb +1074 -0
  578. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb +1043 -0
  579. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_topics.rb +1102 -0
  580. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +791 -0
  581. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
  582. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb +1039 -0
  583. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/system_topics.rb +1128 -0
  584. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +9 -9
  585. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/topics.rb +1 -1
  586. data/lib/azure_mgmt_event_grid.rb +5 -5
  587. data/lib/module_definition.rb +7 -7
  588. data/lib/profiles/latest/eventgrid_latest_profile_client.rb +40 -40
  589. data/lib/profiles/latest/eventgrid_module_definition.rb +8 -8
  590. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +283 -67
  591. data/lib/version.rb +1 -1
  592. metadata +65 -5
@@ -0,0 +1,54 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::Mgmt::V2020_04_01_preview
7
+ module Models
8
+ #
9
+ # Properties of the System Topic update.
10
+ #
11
+ class SystemTopicUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Tags of the system topic.
16
+ attr_accessor :tags
17
+
18
+
19
+ #
20
+ # Mapper for SystemTopicUpdateParameters class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'SystemTopicUpdateParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'SystemTopicUpdateParameters',
31
+ model_properties: {
32
+ tags: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'tags',
36
+ type: {
37
+ name: 'Dictionary',
38
+ value: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,98 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::Mgmt::V2020_04_01_preview
7
+ module Models
8
+ #
9
+ # Result of the List System topics operation.
10
+ #
11
+ class SystemTopicsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<SystemTopic>] A collection of system Topics.
17
+ attr_accessor :value
18
+
19
+ # @return [String] A link for the next page of topics.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<SystemTopic>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [SystemTopicsListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for SystemTopicsListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'SystemTopicsListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'SystemTopicsListResult',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'SystemTopicElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'SystemTopic'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ next_link: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'nextLink',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end
@@ -12,6 +12,9 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ # @return [Array<PrivateEndpointConnection>]
16
+ attr_accessor :private_endpoint_connections
17
+
15
18
  # @return [TopicProvisioningState] Provisioning state of the topic.
16
19
  # Possible values include: 'Creating', 'Updating', 'Deleting',
17
20
  # 'Succeeded', 'Canceled', 'Failed'
@@ -35,15 +38,24 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
35
38
  # @return [String] Metric resource id for the topic.
36
39
  attr_accessor :metric_resource_id
37
40
 
38
- # @return [Boolean] This determines if IP filtering rules ought to be
39
- # evaluated or not. By default it will not evaluate and will allow
40
- # traffic from all IPs.
41
- attr_accessor :allow_traffic_from_all_ips
41
+ # @return [PublicNetworkAccess] This determines if traffic is allowed
42
+ # over public network. By default it is enabled.
43
+ # You can further restrict to specific IPs by configuring <seealso
44
+ # cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules"
45
+ # />. Possible values include: 'Enabled', 'Disabled'
46
+ attr_accessor :public_network_access
42
47
 
43
- # @return [Array<InboundIpRule>] This determines the IP filtering rules
44
- # that ought to be applied when events are received on this topic.
48
+ # @return [Array<InboundIpRule>] This can be used to restrict traffic
49
+ # from specific IPs instead of all IPs. Note: These are considered only
50
+ # if PublicNetworkAccess is enabled.
45
51
  attr_accessor :inbound_ip_rules
46
52
 
53
+ # @return [ResourceSku] The Sku pricing tier for the topic.
54
+ attr_accessor :sku
55
+
56
+ # @return [IdentityInfo] Identity information for the resource.
57
+ attr_accessor :identity
58
+
47
59
 
48
60
  #
49
61
  # Mapper for Topic class as Ruby Hash.
@@ -109,6 +121,23 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
109
121
  }
110
122
  }
111
123
  },
124
+ private_endpoint_connections: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ serialized_name: 'properties.privateEndpointConnections',
128
+ type: {
129
+ name: 'Sequence',
130
+ element: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ serialized_name: 'PrivateEndpointConnectionElementType',
134
+ type: {
135
+ name: 'Composite',
136
+ class_name: 'PrivateEndpointConnection'
137
+ }
138
+ }
139
+ }
140
+ },
112
141
  provisioning_state: {
113
142
  client_side_validation: true,
114
143
  required: false,
@@ -150,17 +179,18 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
150
179
  metric_resource_id: {
151
180
  client_side_validation: true,
152
181
  required: false,
182
+ read_only: true,
153
183
  serialized_name: 'properties.metricResourceId',
154
184
  type: {
155
185
  name: 'String'
156
186
  }
157
187
  },
158
- allow_traffic_from_all_ips: {
188
+ public_network_access: {
159
189
  client_side_validation: true,
160
190
  required: false,
161
- serialized_name: 'properties.allowTrafficFromAllIPs',
191
+ serialized_name: 'properties.publicNetworkAccess',
162
192
  type: {
163
- name: 'Boolean'
193
+ name: 'String'
164
194
  }
165
195
  },
166
196
  inbound_ip_rules: {
@@ -179,6 +209,24 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
179
209
  }
180
210
  }
181
211
  }
212
+ },
213
+ sku: {
214
+ client_side_validation: true,
215
+ required: false,
216
+ serialized_name: 'sku',
217
+ type: {
218
+ name: 'Composite',
219
+ class_name: 'ResourceSku'
220
+ }
221
+ },
222
+ identity: {
223
+ client_side_validation: true,
224
+ required: false,
225
+ serialized_name: 'identity',
226
+ type: {
227
+ name: 'Composite',
228
+ class_name: 'IdentityInfo'
229
+ }
182
230
  }
183
231
  }
184
232
  }
@@ -15,6 +15,24 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
15
15
  # @return [Hash{String => String}] Tags of the resource.
16
16
  attr_accessor :tags
17
17
 
18
+ # @return [IdentityInfo] Resource identity information.
19
+ attr_accessor :identity
20
+
21
+ # @return [PublicNetworkAccess] This determines if traffic is allowed
22
+ # over public network. By default it is enabled.
23
+ # You can further restrict to specific IPs by configuring <seealso
24
+ # cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules"
25
+ # />. Possible values include: 'Enabled', 'Disabled'
26
+ attr_accessor :public_network_access
27
+
28
+ # @return [Array<InboundIpRule>] This can be used to restrict traffic
29
+ # from specific IPs instead of all IPs. Note: These are considered only
30
+ # if PublicNetworkAccess is enabled.
31
+ attr_accessor :inbound_ip_rules
32
+
33
+ # @return [ResourceSku] The Sku pricing tier for the topic.
34
+ attr_accessor :sku
35
+
18
36
 
19
37
  #
20
38
  # Mapper for TopicUpdateParameters class as Ruby Hash.
@@ -44,6 +62,49 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
44
62
  }
45
63
  }
46
64
  }
65
+ },
66
+ identity: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'identity',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'IdentityInfo'
73
+ }
74
+ },
75
+ public_network_access: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'properties.publicNetworkAccess',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ inbound_ip_rules: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'properties.inboundIpRules',
87
+ type: {
88
+ name: 'Sequence',
89
+ element: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'InboundIpRuleElementType',
93
+ type: {
94
+ name: 'Composite',
95
+ class_name: 'InboundIpRule'
96
+ }
97
+ }
98
+ }
99
+ },
100
+ sku: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ serialized_name: 'sku',
104
+ type: {
105
+ name: 'Composite',
106
+ class_name: 'ResourceSku'
107
+ }
47
108
  }
48
109
  }
49
110
  }
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::Mgmt::V2020_04_01_preview
7
+ module Models
8
+ #
9
+ # The information about the user identity.
10
+ #
11
+ class UserIdentityProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal id of user assigned identity.
16
+ attr_accessor :principal_id
17
+
18
+ # @return [String] The client id of user assigned identity.
19
+ attr_accessor :client_id
20
+
21
+
22
+ #
23
+ # Mapper for UserIdentityProperties class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'UserIdentityProperties',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'UserIdentityProperties',
34
+ model_properties: {
35
+ principal_id: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'principalId',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ client_id: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'clientId',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,1333 @@
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 PartnerNamespaces
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the PartnerNamespaces 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 partner namespace.
26
+ #
27
+ # Get properties of a partner namespace.
28
+ #
29
+ # @param resource_group_name [String] The name of the resource group within the
30
+ # user's subscription.
31
+ # @param partner_namespace_name [String] Name of the partner namespace.
32
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
+ # will be added to the HTTP request.
34
+ #
35
+ # @return [PartnerNamespace] operation results.
36
+ #
37
+ def get(resource_group_name, partner_namespace_name, custom_headers:nil)
38
+ response = get_async(resource_group_name, partner_namespace_name, custom_headers:custom_headers).value!
39
+ response.body unless response.nil?
40
+ end
41
+
42
+ #
43
+ # Get a partner namespace.
44
+ #
45
+ # Get properties of a partner namespace.
46
+ #
47
+ # @param resource_group_name [String] The name of the resource group within the
48
+ # user's subscription.
49
+ # @param partner_namespace_name [String] Name of the partner namespace.
50
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
51
+ # will be added to the HTTP request.
52
+ #
53
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
54
+ #
55
+ def get_with_http_info(resource_group_name, partner_namespace_name, custom_headers:nil)
56
+ get_async(resource_group_name, partner_namespace_name, custom_headers:custom_headers).value!
57
+ end
58
+
59
+ #
60
+ # Get a partner namespace.
61
+ #
62
+ # Get properties of a partner namespace.
63
+ #
64
+ # @param resource_group_name [String] The name of the resource group within the
65
+ # user's subscription.
66
+ # @param partner_namespace_name [String] Name of the partner namespace.
67
+ # @param [Hash{String => String}] A hash of custom headers that will be added
68
+ # to the HTTP request.
69
+ #
70
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
+ #
72
+ def get_async(resource_group_name, partner_namespace_name, custom_headers:nil)
73
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
74
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
75
+ fail ArgumentError, 'partner_namespace_name is nil' if partner_namespace_name.nil?
76
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
77
+
78
+
79
+ request_headers = {}
80
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
81
+
82
+ # Set Headers
83
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
84
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
85
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}'
86
+
87
+ request_url = @base_url || @client.base_url
88
+
89
+ options = {
90
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
91
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerNamespaceName' => partner_namespace_name},
92
+ query_params: {'api-version' => @client.api_version},
93
+ headers: request_headers.merge(custom_headers || {}),
94
+ base_url: request_url
95
+ }
96
+ promise = @client.make_request_async(:get, path_template, options)
97
+
98
+ promise = promise.then do |result|
99
+ http_response = result.response
100
+ status_code = http_response.status
101
+ response_content = http_response.body
102
+ unless status_code == 200
103
+ error_model = JSON.load(response_content)
104
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
105
+ end
106
+
107
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
108
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
109
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
110
+ # Deserialize Response
111
+ if status_code == 200
112
+ begin
113
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
114
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespace.mapper()
115
+ result.body = @client.deserialize(result_mapper, parsed_response)
116
+ rescue Exception => e
117
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
118
+ end
119
+ end
120
+
121
+ result
122
+ end
123
+
124
+ promise.execute
125
+ end
126
+
127
+ #
128
+ # Create a partner namespace.
129
+ #
130
+ # Asynchronously creates a new partner namespace with the specified parameters.
131
+ #
132
+ # @param resource_group_name [String] The name of the resource group within the
133
+ # user's subscription.
134
+ # @param partner_namespace_name [String] Name of the partner namespace.
135
+ # @param partner_namespace_info [PartnerNamespace] PartnerNamespace
136
+ # information.
137
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
138
+ # will be added to the HTTP request.
139
+ #
140
+ # @return [PartnerNamespace] operation results.
141
+ #
142
+ def create_or_update(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:nil)
143
+ response = create_or_update_async(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:custom_headers).value!
144
+ response.body unless response.nil?
145
+ end
146
+
147
+ #
148
+ # @param resource_group_name [String] The name of the resource group within the
149
+ # user's subscription.
150
+ # @param partner_namespace_name [String] Name of the partner namespace.
151
+ # @param partner_namespace_info [PartnerNamespace] PartnerNamespace
152
+ # information.
153
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
154
+ # will be added to the HTTP request.
155
+ #
156
+ # @return [Concurrent::Promise] promise which provides async access to http
157
+ # response.
158
+ #
159
+ def create_or_update_async(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:nil)
160
+ # Send request
161
+ promise = begin_create_or_update_async(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:custom_headers)
162
+
163
+ promise = promise.then do |response|
164
+ # Defining deserialization method.
165
+ deserialize_method = lambda do |parsed_response|
166
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespace.mapper()
167
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
168
+ end
169
+
170
+ # Waiting for response.
171
+ @client.get_long_running_operation_result(response, deserialize_method)
172
+ end
173
+
174
+ promise
175
+ end
176
+
177
+ #
178
+ # Delete a partner namespace.
179
+ #
180
+ # Delete existing partner namespace.
181
+ #
182
+ # @param resource_group_name [String] The name of the resource group within the
183
+ # user's subscription.
184
+ # @param partner_namespace_name [String] Name of the partner namespace.
185
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
186
+ # will be added to the HTTP request.
187
+ #
188
+ def delete(resource_group_name, partner_namespace_name, custom_headers:nil)
189
+ response = delete_async(resource_group_name, partner_namespace_name, custom_headers:custom_headers).value!
190
+ nil
191
+ end
192
+
193
+ #
194
+ # @param resource_group_name [String] The name of the resource group within the
195
+ # user's subscription.
196
+ # @param partner_namespace_name [String] Name of the partner namespace.
197
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
198
+ # will be added to the HTTP request.
199
+ #
200
+ # @return [Concurrent::Promise] promise which provides async access to http
201
+ # response.
202
+ #
203
+ def delete_async(resource_group_name, partner_namespace_name, custom_headers:nil)
204
+ # Send request
205
+ promise = begin_delete_async(resource_group_name, partner_namespace_name, custom_headers:custom_headers)
206
+
207
+ promise = promise.then do |response|
208
+ # Defining deserialization method.
209
+ deserialize_method = lambda do |parsed_response|
210
+ end
211
+
212
+ # Waiting for response.
213
+ @client.get_long_running_operation_result(response, deserialize_method)
214
+ end
215
+
216
+ promise
217
+ end
218
+
219
+ #
220
+ # Update a partner namespace.
221
+ #
222
+ # Asynchronously updates a partner namespace with the specified parameters.
223
+ #
224
+ # @param resource_group_name [String] The name of the resource group within the
225
+ # user's subscription.
226
+ # @param partner_namespace_name [String] Name of the partner namespace.
227
+ # @param partner_namespace_update_parameters [PartnerNamespaceUpdateParameters]
228
+ # Partner namespace update information.
229
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
230
+ # will be added to the HTTP request.
231
+ #
232
+ # @return [PartnerNamespace] operation results.
233
+ #
234
+ def update(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:nil)
235
+ response = update_async(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:custom_headers).value!
236
+ response.body unless response.nil?
237
+ end
238
+
239
+ #
240
+ # @param resource_group_name [String] The name of the resource group within the
241
+ # user's subscription.
242
+ # @param partner_namespace_name [String] Name of the partner namespace.
243
+ # @param partner_namespace_update_parameters [PartnerNamespaceUpdateParameters]
244
+ # Partner namespace update information.
245
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
246
+ # will be added to the HTTP request.
247
+ #
248
+ # @return [Concurrent::Promise] promise which provides async access to http
249
+ # response.
250
+ #
251
+ def update_async(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:nil)
252
+ # Send request
253
+ promise = begin_update_async(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:custom_headers)
254
+
255
+ promise = promise.then do |response|
256
+ # Defining deserialization method.
257
+ deserialize_method = lambda do |parsed_response|
258
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespace.mapper()
259
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
260
+ end
261
+
262
+ # Waiting for response.
263
+ @client.get_long_running_operation_result(response, deserialize_method)
264
+ end
265
+
266
+ promise
267
+ end
268
+
269
+ #
270
+ # List partner namespaces under an Azure subscription.
271
+ #
272
+ # List all the partner namespaces under an Azure subscription.
273
+ #
274
+ # @param filter [String] The query used to filter the search results using
275
+ # OData syntax. Filtering is permitted on the 'name' property only and with
276
+ # limited number of OData operations. These operations are: the 'contains'
277
+ # function as well as the following logical operations: not, and, or, eq (for
278
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
279
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
280
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
281
+ # $filter=location eq 'westus'.
282
+ # @param top [Integer] The number of results to return per page for the list
283
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
284
+ # default number of results to be returned is 20 items per page.
285
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
286
+ # will be added to the HTTP request.
287
+ #
288
+ # @return [Array<PartnerNamespace>] operation results.
289
+ #
290
+ def list_by_subscription(filter:nil, top:nil, custom_headers:nil)
291
+ first_page = list_by_subscription_as_lazy(filter:filter, top:top, custom_headers:custom_headers)
292
+ first_page.get_all_items
293
+ end
294
+
295
+ #
296
+ # List partner namespaces under an Azure subscription.
297
+ #
298
+ # List all the partner namespaces under an Azure subscription.
299
+ #
300
+ # @param filter [String] The query used to filter the search results using
301
+ # OData syntax. Filtering is permitted on the 'name' property only and with
302
+ # limited number of OData operations. These operations are: the 'contains'
303
+ # function as well as the following logical operations: not, and, or, eq (for
304
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
305
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
306
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
307
+ # $filter=location eq 'westus'.
308
+ # @param top [Integer] The number of results to return per page for the list
309
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
310
+ # default number of results to be returned is 20 items per page.
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_subscription_with_http_info(filter:nil, top:nil, custom_headers:nil)
317
+ list_by_subscription_async(filter:filter, top:top, custom_headers:custom_headers).value!
318
+ end
319
+
320
+ #
321
+ # List partner namespaces under an Azure subscription.
322
+ #
323
+ # List all the partner namespaces under an Azure subscription.
324
+ #
325
+ # @param filter [String] The query used to filter the search results using
326
+ # OData syntax. Filtering is permitted on the 'name' property only and with
327
+ # limited number of OData operations. These operations are: the 'contains'
328
+ # function as well as the following logical operations: not, and, or, eq (for
329
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
330
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
331
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
332
+ # $filter=location eq 'westus'.
333
+ # @param top [Integer] The number of results to return per page for the list
334
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
335
+ # default number of results to be returned is 20 items per page.
336
+ # @param [Hash{String => String}] A hash of custom headers that will be added
337
+ # to the HTTP request.
338
+ #
339
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
340
+ #
341
+ def list_by_subscription_async(filter:nil, top:nil, custom_headers:nil)
342
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
343
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
344
+
345
+
346
+ request_headers = {}
347
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
348
+
349
+ # Set Headers
350
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
351
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
352
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/partnerNamespaces'
353
+
354
+ request_url = @base_url || @client.base_url
355
+
356
+ options = {
357
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
358
+ path_params: {'subscriptionId' => @client.subscription_id},
359
+ query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top},
360
+ headers: request_headers.merge(custom_headers || {}),
361
+ base_url: request_url
362
+ }
363
+ promise = @client.make_request_async(:get, path_template, options)
364
+
365
+ promise = promise.then do |result|
366
+ http_response = result.response
367
+ status_code = http_response.status
368
+ response_content = http_response.body
369
+ unless status_code == 200
370
+ error_model = JSON.load(response_content)
371
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
372
+ end
373
+
374
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
375
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
376
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
377
+ # Deserialize Response
378
+ if status_code == 200
379
+ begin
380
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
381
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespacesListResult.mapper()
382
+ result.body = @client.deserialize(result_mapper, parsed_response)
383
+ rescue Exception => e
384
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
385
+ end
386
+ end
387
+
388
+ result
389
+ end
390
+
391
+ promise.execute
392
+ end
393
+
394
+ #
395
+ # List partner namespaces under a resource group.
396
+ #
397
+ # List all the partner namespaces under a resource group.
398
+ #
399
+ # @param resource_group_name [String] The name of the resource group within the
400
+ # user's subscription.
401
+ # @param filter [String] The query used to filter the search results using
402
+ # OData syntax. Filtering is permitted on the 'name' property only and with
403
+ # limited number of OData operations. These operations are: the 'contains'
404
+ # function as well as the following logical operations: not, and, or, eq (for
405
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
406
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
407
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
408
+ # $filter=location eq 'westus'.
409
+ # @param top [Integer] The number of results to return per page for the list
410
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
411
+ # default number of results to be returned is 20 items per page.
412
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
413
+ # will be added to the HTTP request.
414
+ #
415
+ # @return [Array<PartnerNamespace>] operation results.
416
+ #
417
+ def list_by_resource_group(resource_group_name, filter:nil, top:nil, custom_headers:nil)
418
+ first_page = list_by_resource_group_as_lazy(resource_group_name, filter:filter, top:top, custom_headers:custom_headers)
419
+ first_page.get_all_items
420
+ end
421
+
422
+ #
423
+ # List partner namespaces under a resource group.
424
+ #
425
+ # List all the partner namespaces under a resource group.
426
+ #
427
+ # @param resource_group_name [String] The name of the resource group within the
428
+ # user's subscription.
429
+ # @param filter [String] The query used to filter the search results using
430
+ # OData syntax. Filtering is permitted on the 'name' property only and with
431
+ # limited number of OData operations. These operations are: the 'contains'
432
+ # function as well as the following logical operations: not, and, or, eq (for
433
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
434
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
435
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
436
+ # $filter=location eq 'westus'.
437
+ # @param top [Integer] The number of results to return per page for the list
438
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
439
+ # default number of results to be returned is 20 items per page.
440
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
441
+ # will be added to the HTTP request.
442
+ #
443
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
444
+ #
445
+ def list_by_resource_group_with_http_info(resource_group_name, filter:nil, top:nil, custom_headers:nil)
446
+ list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
447
+ end
448
+
449
+ #
450
+ # List partner namespaces under a resource group.
451
+ #
452
+ # List all the partner namespaces under a resource group.
453
+ #
454
+ # @param resource_group_name [String] The name of the resource group within the
455
+ # user's subscription.
456
+ # @param filter [String] The query used to filter the search results using
457
+ # OData syntax. Filtering is permitted on the 'name' property only and with
458
+ # limited number of OData operations. These operations are: the 'contains'
459
+ # function as well as the following logical operations: not, and, or, eq (for
460
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
461
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
462
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
463
+ # $filter=location eq 'westus'.
464
+ # @param top [Integer] The number of results to return per page for the list
465
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
466
+ # default number of results to be returned is 20 items per page.
467
+ # @param [Hash{String => String}] A hash of custom headers that will be added
468
+ # to the HTTP request.
469
+ #
470
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
471
+ #
472
+ def list_by_resource_group_async(resource_group_name, filter:nil, top:nil, custom_headers:nil)
473
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
474
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
475
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
476
+
477
+
478
+ request_headers = {}
479
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
480
+
481
+ # Set Headers
482
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
483
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
484
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces'
485
+
486
+ request_url = @base_url || @client.base_url
487
+
488
+ options = {
489
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
490
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name},
491
+ query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top},
492
+ headers: request_headers.merge(custom_headers || {}),
493
+ base_url: request_url
494
+ }
495
+ promise = @client.make_request_async(:get, path_template, options)
496
+
497
+ promise = promise.then do |result|
498
+ http_response = result.response
499
+ status_code = http_response.status
500
+ response_content = http_response.body
501
+ unless status_code == 200
502
+ error_model = JSON.load(response_content)
503
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
504
+ end
505
+
506
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
507
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
508
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
509
+ # Deserialize Response
510
+ if status_code == 200
511
+ begin
512
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
513
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespacesListResult.mapper()
514
+ result.body = @client.deserialize(result_mapper, parsed_response)
515
+ rescue Exception => e
516
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
517
+ end
518
+ end
519
+
520
+ result
521
+ end
522
+
523
+ promise.execute
524
+ end
525
+
526
+ #
527
+ # List keys for a partner namespace.
528
+ #
529
+ # List the two keys used to publish to a partner namespace.
530
+ #
531
+ # @param resource_group_name [String] The name of the resource group within the
532
+ # user's subscription.
533
+ # @param partner_namespace_name [String] Name of the partner namespace.
534
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
535
+ # will be added to the HTTP request.
536
+ #
537
+ # @return [PartnerNamespaceSharedAccessKeys] operation results.
538
+ #
539
+ def list_shared_access_keys(resource_group_name, partner_namespace_name, custom_headers:nil)
540
+ response = list_shared_access_keys_async(resource_group_name, partner_namespace_name, custom_headers:custom_headers).value!
541
+ response.body unless response.nil?
542
+ end
543
+
544
+ #
545
+ # List keys for a partner namespace.
546
+ #
547
+ # List the two keys used to publish to a partner namespace.
548
+ #
549
+ # @param resource_group_name [String] The name of the resource group within the
550
+ # user's subscription.
551
+ # @param partner_namespace_name [String] Name of the partner namespace.
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 list_shared_access_keys_with_http_info(resource_group_name, partner_namespace_name, custom_headers:nil)
558
+ list_shared_access_keys_async(resource_group_name, partner_namespace_name, custom_headers:custom_headers).value!
559
+ end
560
+
561
+ #
562
+ # List keys for a partner namespace.
563
+ #
564
+ # List the two keys used to publish to a partner namespace.
565
+ #
566
+ # @param resource_group_name [String] The name of the resource group within the
567
+ # user's subscription.
568
+ # @param partner_namespace_name [String] Name of the partner namespace.
569
+ # @param [Hash{String => String}] A hash of custom headers that will be added
570
+ # to the HTTP request.
571
+ #
572
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
573
+ #
574
+ def list_shared_access_keys_async(resource_group_name, partner_namespace_name, custom_headers:nil)
575
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
576
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
577
+ fail ArgumentError, 'partner_namespace_name is nil' if partner_namespace_name.nil?
578
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
579
+
580
+
581
+ request_headers = {}
582
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
583
+
584
+ # Set Headers
585
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
586
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
587
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/listKeys'
588
+
589
+ request_url = @base_url || @client.base_url
590
+
591
+ options = {
592
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
593
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerNamespaceName' => partner_namespace_name},
594
+ query_params: {'api-version' => @client.api_version},
595
+ headers: request_headers.merge(custom_headers || {}),
596
+ base_url: request_url
597
+ }
598
+ promise = @client.make_request_async(:post, path_template, options)
599
+
600
+ promise = promise.then do |result|
601
+ http_response = result.response
602
+ status_code = http_response.status
603
+ response_content = http_response.body
604
+ unless status_code == 200
605
+ error_model = JSON.load(response_content)
606
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
607
+ end
608
+
609
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
610
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
611
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
612
+ # Deserialize Response
613
+ if status_code == 200
614
+ begin
615
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
616
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceSharedAccessKeys.mapper()
617
+ result.body = @client.deserialize(result_mapper, parsed_response)
618
+ rescue Exception => e
619
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
620
+ end
621
+ end
622
+
623
+ result
624
+ end
625
+
626
+ promise.execute
627
+ end
628
+
629
+ #
630
+ # Regenerate key for a partner namespace.
631
+ #
632
+ # Regenerate a shared access key for a partner namespace.
633
+ #
634
+ # @param resource_group_name [String] The name of the resource group within the
635
+ # user's subscription.
636
+ # @param partner_namespace_name [String] Name of the partner namespace.
637
+ # @param regenerate_key_request [PartnerNamespaceRegenerateKeyRequest] Request
638
+ # body to regenerate key.
639
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
640
+ # will be added to the HTTP request.
641
+ #
642
+ # @return [PartnerNamespaceSharedAccessKeys] operation results.
643
+ #
644
+ def regenerate_key(resource_group_name, partner_namespace_name, regenerate_key_request, custom_headers:nil)
645
+ response = regenerate_key_async(resource_group_name, partner_namespace_name, regenerate_key_request, custom_headers:custom_headers).value!
646
+ response.body unless response.nil?
647
+ end
648
+
649
+ #
650
+ # Regenerate key for a partner namespace.
651
+ #
652
+ # Regenerate a shared access key for a partner namespace.
653
+ #
654
+ # @param resource_group_name [String] The name of the resource group within the
655
+ # user's subscription.
656
+ # @param partner_namespace_name [String] Name of the partner namespace.
657
+ # @param regenerate_key_request [PartnerNamespaceRegenerateKeyRequest] Request
658
+ # body to regenerate key.
659
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
660
+ # will be added to the HTTP request.
661
+ #
662
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
663
+ #
664
+ def regenerate_key_with_http_info(resource_group_name, partner_namespace_name, regenerate_key_request, custom_headers:nil)
665
+ regenerate_key_async(resource_group_name, partner_namespace_name, regenerate_key_request, custom_headers:custom_headers).value!
666
+ end
667
+
668
+ #
669
+ # Regenerate key for a partner namespace.
670
+ #
671
+ # Regenerate a shared access key for a partner namespace.
672
+ #
673
+ # @param resource_group_name [String] The name of the resource group within the
674
+ # user's subscription.
675
+ # @param partner_namespace_name [String] Name of the partner namespace.
676
+ # @param regenerate_key_request [PartnerNamespaceRegenerateKeyRequest] Request
677
+ # body to regenerate key.
678
+ # @param [Hash{String => String}] A hash of custom headers that will be added
679
+ # to the HTTP request.
680
+ #
681
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
682
+ #
683
+ def regenerate_key_async(resource_group_name, partner_namespace_name, regenerate_key_request, custom_headers:nil)
684
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
685
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
686
+ fail ArgumentError, 'partner_namespace_name is nil' if partner_namespace_name.nil?
687
+ fail ArgumentError, 'regenerate_key_request is nil' if regenerate_key_request.nil?
688
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
689
+
690
+
691
+ request_headers = {}
692
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
693
+
694
+ # Set Headers
695
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
696
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
697
+
698
+ # Serialize Request
699
+ request_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceRegenerateKeyRequest.mapper()
700
+ request_content = @client.serialize(request_mapper, regenerate_key_request)
701
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
702
+
703
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/regenerateKey'
704
+
705
+ request_url = @base_url || @client.base_url
706
+
707
+ options = {
708
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
709
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerNamespaceName' => partner_namespace_name},
710
+ query_params: {'api-version' => @client.api_version},
711
+ body: request_content,
712
+ headers: request_headers.merge(custom_headers || {}),
713
+ base_url: request_url
714
+ }
715
+ promise = @client.make_request_async(:post, path_template, options)
716
+
717
+ promise = promise.then do |result|
718
+ http_response = result.response
719
+ status_code = http_response.status
720
+ response_content = http_response.body
721
+ unless status_code == 200
722
+ error_model = JSON.load(response_content)
723
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
724
+ end
725
+
726
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
727
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
728
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
729
+ # Deserialize Response
730
+ if status_code == 200
731
+ begin
732
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
733
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceSharedAccessKeys.mapper()
734
+ result.body = @client.deserialize(result_mapper, parsed_response)
735
+ rescue Exception => e
736
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
737
+ end
738
+ end
739
+
740
+ result
741
+ end
742
+
743
+ promise.execute
744
+ end
745
+
746
+ #
747
+ # Create a partner namespace.
748
+ #
749
+ # Asynchronously creates a new partner namespace with the specified parameters.
750
+ #
751
+ # @param resource_group_name [String] The name of the resource group within the
752
+ # user's subscription.
753
+ # @param partner_namespace_name [String] Name of the partner namespace.
754
+ # @param partner_namespace_info [PartnerNamespace] PartnerNamespace
755
+ # information.
756
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
757
+ # will be added to the HTTP request.
758
+ #
759
+ # @return [PartnerNamespace] operation results.
760
+ #
761
+ def begin_create_or_update(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:nil)
762
+ response = begin_create_or_update_async(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:custom_headers).value!
763
+ response.body unless response.nil?
764
+ end
765
+
766
+ #
767
+ # Create a partner namespace.
768
+ #
769
+ # Asynchronously creates a new partner namespace with the specified parameters.
770
+ #
771
+ # @param resource_group_name [String] The name of the resource group within the
772
+ # user's subscription.
773
+ # @param partner_namespace_name [String] Name of the partner namespace.
774
+ # @param partner_namespace_info [PartnerNamespace] PartnerNamespace
775
+ # information.
776
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
777
+ # will be added to the HTTP request.
778
+ #
779
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
780
+ #
781
+ def begin_create_or_update_with_http_info(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:nil)
782
+ begin_create_or_update_async(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:custom_headers).value!
783
+ end
784
+
785
+ #
786
+ # Create a partner namespace.
787
+ #
788
+ # Asynchronously creates a new partner namespace with the specified parameters.
789
+ #
790
+ # @param resource_group_name [String] The name of the resource group within the
791
+ # user's subscription.
792
+ # @param partner_namespace_name [String] Name of the partner namespace.
793
+ # @param partner_namespace_info [PartnerNamespace] PartnerNamespace
794
+ # information.
795
+ # @param [Hash{String => String}] A hash of custom headers that will be added
796
+ # to the HTTP request.
797
+ #
798
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
799
+ #
800
+ def begin_create_or_update_async(resource_group_name, partner_namespace_name, partner_namespace_info, custom_headers:nil)
801
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
802
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
803
+ fail ArgumentError, 'partner_namespace_name is nil' if partner_namespace_name.nil?
804
+ fail ArgumentError, 'partner_namespace_info is nil' if partner_namespace_info.nil?
805
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
806
+
807
+
808
+ request_headers = {}
809
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
810
+
811
+ # Set Headers
812
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
813
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
814
+
815
+ # Serialize Request
816
+ request_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespace.mapper()
817
+ request_content = @client.serialize(request_mapper, partner_namespace_info)
818
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
819
+
820
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}'
821
+
822
+ request_url = @base_url || @client.base_url
823
+
824
+ options = {
825
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
826
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerNamespaceName' => partner_namespace_name},
827
+ query_params: {'api-version' => @client.api_version},
828
+ body: request_content,
829
+ headers: request_headers.merge(custom_headers || {}),
830
+ base_url: request_url
831
+ }
832
+ promise = @client.make_request_async(:put, path_template, options)
833
+
834
+ promise = promise.then do |result|
835
+ http_response = result.response
836
+ status_code = http_response.status
837
+ response_content = http_response.body
838
+ unless status_code == 201
839
+ error_model = JSON.load(response_content)
840
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
841
+ end
842
+
843
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
844
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
845
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
846
+ # Deserialize Response
847
+ if status_code == 201
848
+ begin
849
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
850
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespace.mapper()
851
+ result.body = @client.deserialize(result_mapper, parsed_response)
852
+ rescue Exception => e
853
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
854
+ end
855
+ end
856
+
857
+ result
858
+ end
859
+
860
+ promise.execute
861
+ end
862
+
863
+ #
864
+ # Delete a partner namespace.
865
+ #
866
+ # Delete existing partner namespace.
867
+ #
868
+ # @param resource_group_name [String] The name of the resource group within the
869
+ # user's subscription.
870
+ # @param partner_namespace_name [String] Name of the partner namespace.
871
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
872
+ # will be added to the HTTP request.
873
+ #
874
+ #
875
+ def begin_delete(resource_group_name, partner_namespace_name, custom_headers:nil)
876
+ response = begin_delete_async(resource_group_name, partner_namespace_name, custom_headers:custom_headers).value!
877
+ nil
878
+ end
879
+
880
+ #
881
+ # Delete a partner namespace.
882
+ #
883
+ # Delete existing partner namespace.
884
+ #
885
+ # @param resource_group_name [String] The name of the resource group within the
886
+ # user's subscription.
887
+ # @param partner_namespace_name [String] Name of the partner namespace.
888
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
889
+ # will be added to the HTTP request.
890
+ #
891
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
892
+ #
893
+ def begin_delete_with_http_info(resource_group_name, partner_namespace_name, custom_headers:nil)
894
+ begin_delete_async(resource_group_name, partner_namespace_name, custom_headers:custom_headers).value!
895
+ end
896
+
897
+ #
898
+ # Delete a partner namespace.
899
+ #
900
+ # Delete existing partner namespace.
901
+ #
902
+ # @param resource_group_name [String] The name of the resource group within the
903
+ # user's subscription.
904
+ # @param partner_namespace_name [String] Name of the partner namespace.
905
+ # @param [Hash{String => String}] A hash of custom headers that will be added
906
+ # to the HTTP request.
907
+ #
908
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
909
+ #
910
+ def begin_delete_async(resource_group_name, partner_namespace_name, custom_headers:nil)
911
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
912
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
913
+ fail ArgumentError, 'partner_namespace_name is nil' if partner_namespace_name.nil?
914
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
915
+
916
+
917
+ request_headers = {}
918
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
919
+
920
+ # Set Headers
921
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
922
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
923
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}'
924
+
925
+ request_url = @base_url || @client.base_url
926
+
927
+ options = {
928
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
929
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerNamespaceName' => partner_namespace_name},
930
+ query_params: {'api-version' => @client.api_version},
931
+ headers: request_headers.merge(custom_headers || {}),
932
+ base_url: request_url
933
+ }
934
+ promise = @client.make_request_async(:delete, path_template, options)
935
+
936
+ promise = promise.then do |result|
937
+ http_response = result.response
938
+ status_code = http_response.status
939
+ response_content = http_response.body
940
+ unless status_code == 202 || status_code == 204
941
+ error_model = JSON.load(response_content)
942
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
943
+ end
944
+
945
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
946
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
947
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
948
+
949
+ result
950
+ end
951
+
952
+ promise.execute
953
+ end
954
+
955
+ #
956
+ # Update a partner namespace.
957
+ #
958
+ # Asynchronously updates a partner namespace with the specified parameters.
959
+ #
960
+ # @param resource_group_name [String] The name of the resource group within the
961
+ # user's subscription.
962
+ # @param partner_namespace_name [String] Name of the partner namespace.
963
+ # @param partner_namespace_update_parameters [PartnerNamespaceUpdateParameters]
964
+ # Partner namespace update information.
965
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
966
+ # will be added to the HTTP request.
967
+ #
968
+ # @return [PartnerNamespace] operation results.
969
+ #
970
+ def begin_update(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:nil)
971
+ response = begin_update_async(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:custom_headers).value!
972
+ response.body unless response.nil?
973
+ end
974
+
975
+ #
976
+ # Update a partner namespace.
977
+ #
978
+ # Asynchronously updates a partner namespace with the specified parameters.
979
+ #
980
+ # @param resource_group_name [String] The name of the resource group within the
981
+ # user's subscription.
982
+ # @param partner_namespace_name [String] Name of the partner namespace.
983
+ # @param partner_namespace_update_parameters [PartnerNamespaceUpdateParameters]
984
+ # Partner namespace update information.
985
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
986
+ # will be added to the HTTP request.
987
+ #
988
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
989
+ #
990
+ def begin_update_with_http_info(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:nil)
991
+ begin_update_async(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:custom_headers).value!
992
+ end
993
+
994
+ #
995
+ # Update a partner namespace.
996
+ #
997
+ # Asynchronously updates a partner namespace with the specified parameters.
998
+ #
999
+ # @param resource_group_name [String] The name of the resource group within the
1000
+ # user's subscription.
1001
+ # @param partner_namespace_name [String] Name of the partner namespace.
1002
+ # @param partner_namespace_update_parameters [PartnerNamespaceUpdateParameters]
1003
+ # Partner namespace update information.
1004
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1005
+ # to the HTTP request.
1006
+ #
1007
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1008
+ #
1009
+ def begin_update_async(resource_group_name, partner_namespace_name, partner_namespace_update_parameters, custom_headers:nil)
1010
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1011
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1012
+ fail ArgumentError, 'partner_namespace_name is nil' if partner_namespace_name.nil?
1013
+ fail ArgumentError, 'partner_namespace_update_parameters is nil' if partner_namespace_update_parameters.nil?
1014
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1015
+
1016
+
1017
+ request_headers = {}
1018
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1019
+
1020
+ # Set Headers
1021
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1022
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1023
+
1024
+ # Serialize Request
1025
+ request_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceUpdateParameters.mapper()
1026
+ request_content = @client.serialize(request_mapper, partner_namespace_update_parameters)
1027
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1028
+
1029
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}'
1030
+
1031
+ request_url = @base_url || @client.base_url
1032
+
1033
+ options = {
1034
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1035
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerNamespaceName' => partner_namespace_name},
1036
+ query_params: {'api-version' => @client.api_version},
1037
+ body: request_content,
1038
+ headers: request_headers.merge(custom_headers || {}),
1039
+ base_url: request_url
1040
+ }
1041
+ promise = @client.make_request_async(:patch, path_template, options)
1042
+
1043
+ promise = promise.then do |result|
1044
+ http_response = result.response
1045
+ status_code = http_response.status
1046
+ response_content = http_response.body
1047
+ unless status_code == 200 || status_code == 201
1048
+ error_model = JSON.load(response_content)
1049
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1050
+ end
1051
+
1052
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1053
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1054
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1055
+ # Deserialize Response
1056
+ if status_code == 201
1057
+ begin
1058
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1059
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespace.mapper()
1060
+ result.body = @client.deserialize(result_mapper, parsed_response)
1061
+ rescue Exception => e
1062
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1063
+ end
1064
+ end
1065
+
1066
+ result
1067
+ end
1068
+
1069
+ promise.execute
1070
+ end
1071
+
1072
+ #
1073
+ # List partner namespaces under an Azure subscription.
1074
+ #
1075
+ # List all the partner namespaces under an Azure subscription.
1076
+ #
1077
+ # @param next_page_link [String] The NextLink from the previous successful call
1078
+ # to List operation.
1079
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1080
+ # will be added to the HTTP request.
1081
+ #
1082
+ # @return [PartnerNamespacesListResult] operation results.
1083
+ #
1084
+ def list_by_subscription_next(next_page_link, custom_headers:nil)
1085
+ response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
1086
+ response.body unless response.nil?
1087
+ end
1088
+
1089
+ #
1090
+ # List partner namespaces under an Azure subscription.
1091
+ #
1092
+ # List all the partner namespaces under an Azure subscription.
1093
+ #
1094
+ # @param next_page_link [String] The NextLink from the previous successful call
1095
+ # to List operation.
1096
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1097
+ # will be added to the HTTP request.
1098
+ #
1099
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1100
+ #
1101
+ def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
1102
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
1103
+ end
1104
+
1105
+ #
1106
+ # List partner namespaces under an Azure subscription.
1107
+ #
1108
+ # List all the partner namespaces under an Azure subscription.
1109
+ #
1110
+ # @param next_page_link [String] The NextLink from the previous successful call
1111
+ # to List operation.
1112
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1113
+ # to the HTTP request.
1114
+ #
1115
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1116
+ #
1117
+ def list_by_subscription_next_async(next_page_link, custom_headers:nil)
1118
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1119
+
1120
+
1121
+ request_headers = {}
1122
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1123
+
1124
+ # Set Headers
1125
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1126
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1127
+ path_template = '{nextLink}'
1128
+
1129
+ request_url = @base_url || @client.base_url
1130
+
1131
+ options = {
1132
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1133
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1134
+ headers: request_headers.merge(custom_headers || {}),
1135
+ base_url: request_url
1136
+ }
1137
+ promise = @client.make_request_async(:get, path_template, options)
1138
+
1139
+ promise = promise.then do |result|
1140
+ http_response = result.response
1141
+ status_code = http_response.status
1142
+ response_content = http_response.body
1143
+ unless status_code == 200
1144
+ error_model = JSON.load(response_content)
1145
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1146
+ end
1147
+
1148
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1149
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1150
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1151
+ # Deserialize Response
1152
+ if status_code == 200
1153
+ begin
1154
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1155
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespacesListResult.mapper()
1156
+ result.body = @client.deserialize(result_mapper, parsed_response)
1157
+ rescue Exception => e
1158
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1159
+ end
1160
+ end
1161
+
1162
+ result
1163
+ end
1164
+
1165
+ promise.execute
1166
+ end
1167
+
1168
+ #
1169
+ # List partner namespaces under a resource group.
1170
+ #
1171
+ # List all the partner namespaces under a resource group.
1172
+ #
1173
+ # @param next_page_link [String] The NextLink from the previous successful call
1174
+ # to List operation.
1175
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1176
+ # will be added to the HTTP request.
1177
+ #
1178
+ # @return [PartnerNamespacesListResult] operation results.
1179
+ #
1180
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
1181
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1182
+ response.body unless response.nil?
1183
+ end
1184
+
1185
+ #
1186
+ # List partner namespaces under a resource group.
1187
+ #
1188
+ # List all the partner namespaces under a resource group.
1189
+ #
1190
+ # @param next_page_link [String] The NextLink from the previous successful call
1191
+ # to List operation.
1192
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1193
+ # will be added to the HTTP request.
1194
+ #
1195
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1196
+ #
1197
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
1198
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1199
+ end
1200
+
1201
+ #
1202
+ # List partner namespaces under a resource group.
1203
+ #
1204
+ # List all the partner namespaces under a resource group.
1205
+ #
1206
+ # @param next_page_link [String] The NextLink from the previous successful call
1207
+ # to List operation.
1208
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1209
+ # to the HTTP request.
1210
+ #
1211
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1212
+ #
1213
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
1214
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1215
+
1216
+
1217
+ request_headers = {}
1218
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1219
+
1220
+ # Set Headers
1221
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1222
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1223
+ path_template = '{nextLink}'
1224
+
1225
+ request_url = @base_url || @client.base_url
1226
+
1227
+ options = {
1228
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1229
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1230
+ headers: request_headers.merge(custom_headers || {}),
1231
+ base_url: request_url
1232
+ }
1233
+ promise = @client.make_request_async(:get, path_template, options)
1234
+
1235
+ promise = promise.then do |result|
1236
+ http_response = result.response
1237
+ status_code = http_response.status
1238
+ response_content = http_response.body
1239
+ unless status_code == 200
1240
+ error_model = JSON.load(response_content)
1241
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1242
+ end
1243
+
1244
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1245
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1246
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1247
+ # Deserialize Response
1248
+ if status_code == 200
1249
+ begin
1250
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1251
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespacesListResult.mapper()
1252
+ result.body = @client.deserialize(result_mapper, parsed_response)
1253
+ rescue Exception => e
1254
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1255
+ end
1256
+ end
1257
+
1258
+ result
1259
+ end
1260
+
1261
+ promise.execute
1262
+ end
1263
+
1264
+ #
1265
+ # List partner namespaces under an Azure subscription.
1266
+ #
1267
+ # List all the partner namespaces under an Azure subscription.
1268
+ #
1269
+ # @param filter [String] The query used to filter the search results using
1270
+ # OData syntax. Filtering is permitted on the 'name' property only and with
1271
+ # limited number of OData operations. These operations are: the 'contains'
1272
+ # function as well as the following logical operations: not, and, or, eq (for
1273
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
1274
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
1275
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
1276
+ # $filter=location eq 'westus'.
1277
+ # @param top [Integer] The number of results to return per page for the list
1278
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
1279
+ # default number of results to be returned is 20 items per page.
1280
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1281
+ # will be added to the HTTP request.
1282
+ #
1283
+ # @return [PartnerNamespacesListResult] which provide lazy access to pages of
1284
+ # the response.
1285
+ #
1286
+ def list_by_subscription_as_lazy(filter:nil, top:nil, custom_headers:nil)
1287
+ response = list_by_subscription_async(filter:filter, top:top, custom_headers:custom_headers).value!
1288
+ unless response.nil?
1289
+ page = response.body
1290
+ page.next_method = Proc.new do |next_page_link|
1291
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
1292
+ end
1293
+ page
1294
+ end
1295
+ end
1296
+
1297
+ #
1298
+ # List partner namespaces under a resource group.
1299
+ #
1300
+ # List all the partner namespaces under a resource group.
1301
+ #
1302
+ # @param resource_group_name [String] The name of the resource group within the
1303
+ # user's subscription.
1304
+ # @param filter [String] The query used to filter the search results using
1305
+ # OData syntax. Filtering is permitted on the 'name' property only and with
1306
+ # limited number of OData operations. These operations are: the 'contains'
1307
+ # function as well as the following logical operations: not, and, or, eq (for
1308
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
1309
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
1310
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
1311
+ # $filter=location eq 'westus'.
1312
+ # @param top [Integer] The number of results to return per page for the list
1313
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
1314
+ # default number of results to be returned is 20 items per page.
1315
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1316
+ # will be added to the HTTP request.
1317
+ #
1318
+ # @return [PartnerNamespacesListResult] which provide lazy access to pages of
1319
+ # the response.
1320
+ #
1321
+ def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, custom_headers:nil)
1322
+ response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
1323
+ unless response.nil?
1324
+ page = response.body
1325
+ page.next_method = Proc.new do |next_page_link|
1326
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
1327
+ end
1328
+ page
1329
+ end
1330
+ end
1331
+
1332
+ end
1333
+ end