azure_mgmt_event_grid 0.17.10 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (592) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +20 -20
  3. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid.rb +56 -56
  4. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  5. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1841 -1841
  6. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/endpoint_type.rb +15 -15
  7. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +134 -134
  8. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +72 -72
  9. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  10. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  11. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -20
  12. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +81 -81
  13. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  14. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  15. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  16. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +81 -81
  17. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  18. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +17 -17
  19. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  20. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  21. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  22. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  23. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  24. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  25. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  26. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +120 -120
  27. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  28. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  29. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  30. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  31. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  32. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  33. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  34. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb +946 -946
  35. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid.rb +58 -58
  36. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  37. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1841 -1841
  38. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  39. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +136 -136
  40. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +47 -47
  41. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  42. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  43. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -20
  44. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +83 -83
  45. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  46. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  47. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  48. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +81 -81
  49. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  50. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +17 -17
  51. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  52. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  53. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  54. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  55. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  56. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  57. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  58. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  59. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  60. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  61. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  62. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  63. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  64. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  65. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  66. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  67. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  68. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  69. data/lib/2018-01-01/generated/azure_mgmt_event_grid.rb +57 -57
  70. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  71. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +1837 -1837
  72. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  73. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +136 -136
  74. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +47 -47
  75. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  76. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  77. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -20
  78. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +83 -83
  79. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  80. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  81. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  82. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  83. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  84. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  85. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  86. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  87. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  88. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  89. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  90. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  91. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  92. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  93. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  94. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  95. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  96. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  97. data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  98. data/lib/2018-01-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  99. data/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb +118 -118
  100. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  101. data/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  102. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid.rb +68 -68
  103. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  104. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1837 -1837
  105. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  106. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -17
  107. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  108. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +180 -180
  109. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -49
  110. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  111. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  112. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  113. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +125 -125
  114. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  115. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  116. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  117. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  118. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -17
  119. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -49
  120. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -50
  121. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +65 -65
  122. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -130
  123. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  124. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  125. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  126. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  127. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  128. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  129. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  130. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  131. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -144
  132. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  133. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  134. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  135. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  136. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  137. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  138. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  139. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  140. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  141. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  142. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  143. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  144. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  145. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  146. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid.rb +91 -91
  147. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +235 -235
  148. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +1002 -1002
  149. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  150. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1947 -1947
  151. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +70 -70
  152. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -69
  153. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  154. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +140 -140
  155. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -20
  156. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -46
  157. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -57
  158. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +62 -62
  159. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +55 -55
  160. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -54
  161. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +55 -55
  162. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -17
  163. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  164. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -189
  165. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -49
  166. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -120
  167. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  168. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  169. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -137
  170. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  171. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  172. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  173. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  174. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -17
  175. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -49
  176. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -50
  177. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +65 -65
  178. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -130
  179. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -69
  180. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -69
  181. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -77
  182. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -69
  183. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -69
  184. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -77
  185. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  186. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  187. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  188. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  189. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  190. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  191. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  192. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  193. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -77
  194. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -77
  195. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -77
  196. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -77
  197. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -77
  198. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -144
  199. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  200. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  201. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  202. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  203. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  204. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  205. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  206. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  207. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  208. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  209. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  210. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  211. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  212. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  213. data/lib/2019-01-01/generated/azure_mgmt_event_grid.rb +62 -62
  214. data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  215. data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +1837 -1837
  216. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  217. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  218. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +165 -165
  219. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -49
  220. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -98
  221. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  222. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  223. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +112 -112
  224. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -55
  225. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +95 -95
  226. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  227. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  228. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  229. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  230. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  231. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  232. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  233. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  234. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +75 -75
  235. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  236. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  237. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  238. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  239. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  240. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  241. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  242. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  243. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  244. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -55
  245. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  246. data/lib/2019-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  247. data/lib/2019-01-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  248. data/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb +118 -118
  249. data/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  250. data/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb +1113 -1113
  251. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid.rb +93 -93
  252. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +663 -663
  253. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domains.rb +1256 -1256
  254. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  255. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +3368 -3368
  256. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -74
  257. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -69
  258. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  259. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +142 -142
  260. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -20
  261. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -46
  262. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -57
  263. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -75
  264. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -20
  265. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -98
  266. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -54
  267. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -98
  268. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -17
  269. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  270. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -189
  271. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +50 -50
  272. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -120
  273. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  274. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  275. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -137
  276. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -98
  277. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -106
  278. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  279. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  280. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -17
  281. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -49
  282. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -50
  283. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -67
  284. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -130
  285. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -69
  286. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -69
  287. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -77
  288. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -69
  289. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -69
  290. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -77
  291. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  292. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  293. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  294. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  295. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  296. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  297. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -63
  298. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  299. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  300. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -77
  301. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -77
  302. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -77
  303. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -77
  304. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -77
  305. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -144
  306. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  307. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  308. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  309. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  310. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  311. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  312. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  313. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -98
  314. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  315. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  316. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  317. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  318. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  319. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb +1367 -1367
  320. data/lib/2019-06-01/generated/azure_mgmt_event_grid.rb +87 -87
  321. data/lib/2019-06-01/generated/azure_mgmt_event_grid/domain_topics.rb +699 -699
  322. data/lib/2019-06-01/generated/azure_mgmt_event_grid/domains.rb +1328 -1328
  323. data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  324. data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +3648 -3648
  325. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -74
  326. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -69
  327. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  328. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain.rb +112 -112
  329. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -20
  330. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -46
  331. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -57
  332. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -75
  333. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -20
  334. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -98
  335. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -54
  336. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -98
  337. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  338. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +176 -176
  339. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +50 -50
  340. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -120
  341. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  342. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  343. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +124 -124
  344. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -98
  345. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_type.rb +106 -106
  346. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  347. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  348. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -69
  349. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -69
  350. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -77
  351. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -69
  352. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -69
  353. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -77
  354. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  355. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  356. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  357. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  358. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  359. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  360. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -63
  361. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  362. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  363. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -77
  364. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -77
  365. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -77
  366. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -77
  367. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -77
  368. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -112
  369. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  370. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  371. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  372. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  373. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  374. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  375. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  376. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -98
  377. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  378. data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -75
  379. data/lib/2019-06-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  380. data/lib/2019-06-01/generated/azure_mgmt_event_grid/operations.rb +118 -118
  381. data/lib/2019-06-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  382. data/lib/2019-06-01/generated/azure_mgmt_event_grid/topics.rb +1439 -1439
  383. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid.rb +95 -95
  384. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +699 -699
  385. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/domains.rb +1328 -1328
  386. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  387. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +3648 -3648
  388. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -74
  389. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +86 -86
  390. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -69
  391. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -50
  392. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +154 -154
  393. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -20
  394. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -46
  395. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -57
  396. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -75
  397. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -20
  398. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -98
  399. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -54
  400. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -98
  401. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -17
  402. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -62
  403. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -189
  404. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -52
  405. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -120
  406. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -47
  407. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -21
  408. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -137
  409. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -98
  410. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -106
  411. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -55
  412. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -64
  413. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -17
  414. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -49
  415. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -50
  416. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -67
  417. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -130
  418. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -69
  419. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -69
  420. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -77
  421. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -69
  422. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -69
  423. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -77
  424. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -80
  425. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -79
  426. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -55
  427. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -80
  428. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -16
  429. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -57
  430. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -63
  431. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +64 -64
  432. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -74
  433. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -75
  434. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -77
  435. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -77
  436. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -77
  437. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -77
  438. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -77
  439. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +156 -156
  440. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -20
  441. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -46
  442. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -57
  443. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -139
  444. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -20
  445. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -55
  446. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -54
  447. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -98
  448. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -92
  449. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +122 -122
  450. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -9
  451. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/operations.rb +118 -118
  452. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -305
  453. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/topics.rb +1439 -1439
  454. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid.rb +78 -19
  455. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +0 -0
  456. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/domains.rb +1 -1
  457. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_channels.rb +614 -0
  458. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +42 -1
  459. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +0 -0
  460. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/extension_topics.rb +141 -0
  461. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +0 -0
  462. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +0 -0
  463. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +0 -0
  464. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
  465. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +0 -0
  466. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_with_resource_identity.rb +66 -0
  467. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb +67 -0
  468. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +57 -9
  469. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +0 -0
  470. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +0 -0
  471. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +0 -0
  472. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +0 -0
  473. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +0 -0
  474. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +0 -0
  475. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +39 -12
  476. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +0 -0
  477. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel.rb +102 -0
  478. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb +75 -0
  479. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_provisioning_state.rb +20 -0
  480. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb +48 -0
  481. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb +98 -0
  482. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +0 -0
  483. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +0 -0
  484. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +41 -2
  485. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +1 -1
  486. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +0 -0
  487. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +0 -0
  488. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb +61 -0
  489. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity_type.rb +16 -0
  490. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +0 -0
  491. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +41 -2
  492. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +0 -0
  493. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +0 -0
  494. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +0 -0
  495. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/extension_topic.rb +86 -0
  496. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +0 -0
  497. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_info.rb +96 -0
  498. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_type.rb +18 -0
  499. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +0 -0
  500. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +0 -0
  501. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +0 -0
  502. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb +0 -0
  503. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +0 -0
  504. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +0 -0
  505. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +0 -0
  506. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +0 -0
  507. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +0 -0
  508. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +0 -0
  509. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +0 -0
  510. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +0 -0
  511. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +0 -0
  512. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +0 -0
  513. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +0 -0
  514. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +0 -0
  515. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace.rb +126 -0
  516. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_provisioning_state.rb +20 -0
  517. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb +46 -0
  518. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb +57 -0
  519. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb +54 -0
  520. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb +98 -0
  521. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +207 -0
  522. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb +68 -0
  523. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_provisioning_state.rb +20 -0
  524. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +117 -0
  525. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_visibility_state.rb +17 -0
  526. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb +99 -0
  527. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +125 -0
  528. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_activation_state.rb +17 -0
  529. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_provisioning_state.rb +20 -0
  530. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb +134 -0
  531. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_type_authorization_state.rb +17 -0
  532. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb +55 -0
  533. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb +54 -0
  534. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb +98 -0
  535. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
  536. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
  537. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +120 -0
  538. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
  539. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
  540. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
  541. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
  542. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +0 -0
  543. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
  544. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +0 -0
  545. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +48 -0
  546. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +0 -0
  547. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +0 -0
  548. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +0 -0
  549. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku.rb +16 -0
  550. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type.rb +67 -0
  551. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type_list_result.rb +67 -0
  552. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +0 -0
  553. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +0 -0
  554. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +0 -0
  555. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +0 -0
  556. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +0 -0
  557. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +0 -0
  558. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +0 -0
  559. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topic.rb +134 -0
  560. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topic_update_parameters.rb +54 -0
  561. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topics_list_result.rb +98 -0
  562. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +57 -9
  563. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +0 -0
  564. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +0 -0
  565. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +0 -0
  566. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +0 -0
  567. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +0 -0
  568. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +0 -0
  569. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +37 -10
  570. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +0 -0
  571. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +0 -0
  572. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/user_identity_properties.rb +57 -0
  573. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +0 -0
  574. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +0 -0
  575. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/operations.rb +0 -0
  576. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_namespaces.rb +1333 -0
  577. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_registrations.rb +1074 -0
  578. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb +878 -0
  579. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_topics.rb +1102 -0
  580. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +773 -0
  581. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
  582. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb +874 -0
  583. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/system_topics.rb +1128 -0
  584. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +0 -0
  585. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/topics.rb +1 -1
  586. data/lib/azure_mgmt_event_grid.rb +5 -5
  587. data/lib/module_definition.rb +7 -7
  588. data/lib/profiles/latest/eventgrid_latest_profile_client.rb +40 -40
  589. data/lib/profiles/latest/eventgrid_module_definition.rb +8 -8
  590. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +282 -66
  591. data/lib/version.rb +1 -1
  592. metadata +62 -3
@@ -0,0 +1,773 @@
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 PrivateEndpointConnections
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the PrivateEndpointConnections 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 specific private endpoint connection.
26
+ #
27
+ # Get a specific private endpoint connection under a topic or domain.
28
+ #
29
+ # @param resource_group_name [String] The name of the resource group within the
30
+ # user's subscription.
31
+ # @param parent_type [String] The type of the parent resource. This can be
32
+ # either \'topics\' or \'domains\'.
33
+ # @param parent_name [String] The name of the parent resource (namely, either,
34
+ # the topic name or domain name).
35
+ # @param private_endpoint_connection_name [String] The name of the private
36
+ # endpoint connection connection.
37
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
38
+ # will be added to the HTTP request.
39
+ #
40
+ # @return [PrivateEndpointConnection] operation results.
41
+ #
42
+ def get(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
43
+ response = get_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers).value!
44
+ response.body unless response.nil?
45
+ end
46
+
47
+ #
48
+ # Get a specific private endpoint connection.
49
+ #
50
+ # Get a specific private endpoint connection under a topic or domain.
51
+ #
52
+ # @param resource_group_name [String] The name of the resource group within the
53
+ # user's subscription.
54
+ # @param parent_type [String] The type of the parent resource. This can be
55
+ # either \'topics\' or \'domains\'.
56
+ # @param parent_name [String] The name of the parent resource (namely, either,
57
+ # the topic name or domain name).
58
+ # @param private_endpoint_connection_name [String] The name of the private
59
+ # endpoint connection connection.
60
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
61
+ # will be added to the HTTP request.
62
+ #
63
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
64
+ #
65
+ def get_with_http_info(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
66
+ get_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers).value!
67
+ end
68
+
69
+ #
70
+ # Get a specific private endpoint connection.
71
+ #
72
+ # Get a specific private endpoint connection under a topic or domain.
73
+ #
74
+ # @param resource_group_name [String] The name of the resource group within the
75
+ # user's subscription.
76
+ # @param parent_type [String] The type of the parent resource. This can be
77
+ # either \'topics\' or \'domains\'.
78
+ # @param parent_name [String] The name of the parent resource (namely, either,
79
+ # the topic name or domain name).
80
+ # @param private_endpoint_connection_name [String] The name of the private
81
+ # endpoint connection connection.
82
+ # @param [Hash{String => String}] A hash of custom headers that will be added
83
+ # to the HTTP request.
84
+ #
85
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
86
+ #
87
+ def get_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
88
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
89
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
90
+ fail ArgumentError, 'parent_type is nil' if parent_type.nil?
91
+ fail ArgumentError, 'parent_name is nil' if parent_name.nil?
92
+ fail ArgumentError, 'private_endpoint_connection_name is nil' if private_endpoint_connection_name.nil?
93
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
94
+
95
+
96
+ request_headers = {}
97
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
98
+
99
+ # Set Headers
100
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
101
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
102
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}'
103
+
104
+ request_url = @base_url || @client.base_url
105
+
106
+ options = {
107
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
108
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'parentType' => parent_type,'parentName' => parent_name,'privateEndpointConnectionName' => private_endpoint_connection_name},
109
+ query_params: {'api-version' => @client.api_version},
110
+ headers: request_headers.merge(custom_headers || {}),
111
+ base_url: request_url
112
+ }
113
+ promise = @client.make_request_async(:get, path_template, options)
114
+
115
+ promise = promise.then do |result|
116
+ http_response = result.response
117
+ status_code = http_response.status
118
+ response_content = http_response.body
119
+ unless status_code == 200
120
+ error_model = JSON.load(response_content)
121
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
122
+ end
123
+
124
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
125
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
126
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
127
+ # Deserialize Response
128
+ if status_code == 200
129
+ begin
130
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
131
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnection.mapper()
132
+ result.body = @client.deserialize(result_mapper, parsed_response)
133
+ rescue Exception => e
134
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
135
+ end
136
+ end
137
+
138
+ result
139
+ end
140
+
141
+ promise.execute
142
+ end
143
+
144
+ #
145
+ # Update a specific private endpoint connection.
146
+ #
147
+ # Update a specific private endpoint connection under a topic or domain.
148
+ #
149
+ # @param resource_group_name [String] The name of the resource group within the
150
+ # user's subscription.
151
+ # @param parent_type [String] The type of the parent resource. This can be
152
+ # either \'topics\' or \'domains\'.
153
+ # @param parent_name [String] The name of the parent resource (namely, either,
154
+ # the topic name or domain name).
155
+ # @param private_endpoint_connection_name [String] The name of the private
156
+ # endpoint connection connection.
157
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
158
+ # will be added to the HTTP request.
159
+ #
160
+ # @return [PrivateEndpointConnection] operation results.
161
+ #
162
+ def update(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
163
+ response = update_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers).value!
164
+ response.body unless response.nil?
165
+ end
166
+
167
+ #
168
+ # @param resource_group_name [String] The name of the resource group within the
169
+ # user's subscription.
170
+ # @param parent_type [String] The type of the parent resource. This can be
171
+ # either \'topics\' or \'domains\'.
172
+ # @param parent_name [String] The name of the parent resource (namely, either,
173
+ # the topic name or domain name).
174
+ # @param private_endpoint_connection_name [String] The name of the private
175
+ # endpoint connection connection.
176
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
177
+ # will be added to the HTTP request.
178
+ #
179
+ # @return [Concurrent::Promise] promise which provides async access to http
180
+ # response.
181
+ #
182
+ def update_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
183
+ # Send request
184
+ promise = begin_update_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers)
185
+
186
+ promise = promise.then do |response|
187
+ # Defining deserialization method.
188
+ deserialize_method = lambda do |parsed_response|
189
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnection.mapper()
190
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
191
+ end
192
+
193
+ # Waiting for response.
194
+ @client.get_long_running_operation_result(response, deserialize_method)
195
+ end
196
+
197
+ promise
198
+ end
199
+
200
+ #
201
+ # Delete a specific private endpoint connection.
202
+ #
203
+ # Delete a specific private endpoint connection under a topic or domain.
204
+ #
205
+ # @param resource_group_name [String] The name of the resource group within the
206
+ # user's subscription.
207
+ # @param parent_type [String] The type of the parent resource. This can be
208
+ # either \'topics\' or \'domains\'.
209
+ # @param parent_name [String] The name of the parent resource (namely, either,
210
+ # the topic name or domain name).
211
+ # @param private_endpoint_connection_name [String] The name of the private
212
+ # endpoint connection connection.
213
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
214
+ # will be added to the HTTP request.
215
+ #
216
+ def delete(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
217
+ response = delete_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers).value!
218
+ nil
219
+ end
220
+
221
+ #
222
+ # @param resource_group_name [String] The name of the resource group within the
223
+ # user's subscription.
224
+ # @param parent_type [String] The type of the parent resource. This can be
225
+ # either \'topics\' or \'domains\'.
226
+ # @param parent_name [String] The name of the parent resource (namely, either,
227
+ # the topic name or domain name).
228
+ # @param private_endpoint_connection_name [String] The name of the private
229
+ # endpoint connection connection.
230
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
231
+ # will be added to the HTTP request.
232
+ #
233
+ # @return [Concurrent::Promise] promise which provides async access to http
234
+ # response.
235
+ #
236
+ def delete_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
237
+ # Send request
238
+ promise = begin_delete_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers)
239
+
240
+ promise = promise.then do |response|
241
+ # Defining deserialization method.
242
+ deserialize_method = lambda do |parsed_response|
243
+ end
244
+
245
+ # Waiting for response.
246
+ @client.get_long_running_operation_result(response, deserialize_method)
247
+ end
248
+
249
+ promise
250
+ end
251
+
252
+ #
253
+ # Lists all private endpoint connections under a resource.
254
+ #
255
+ # Get all private endpoint connections under a topic or domain.
256
+ #
257
+ # @param resource_group_name [String] The name of the resource group within the
258
+ # user's subscription.
259
+ # @param parent_type [String] The type of the parent resource. This can be
260
+ # either \'topics\' or \'domains\'.
261
+ # @param parent_name [String] The name of the parent resource (namely, either,
262
+ # the topic name or domain name).
263
+ # @param filter [String] The query used to filter the search results using
264
+ # OData syntax. Filtering is permitted on the 'name' property only and with
265
+ # limited number of OData operations. These operations are: the 'contains'
266
+ # function as well as the following logical operations: not, and, or, eq (for
267
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
268
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
269
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
270
+ # $filter=location eq 'westus'.
271
+ # @param top [Integer] The number of results to return per page for the list
272
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
273
+ # default number of results to be returned is 20 items per page.
274
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
275
+ # will be added to the HTTP request.
276
+ #
277
+ # @return [Array<PrivateEndpointConnection>] operation results.
278
+ #
279
+ def list_by_resource(resource_group_name, parent_type, parent_name, filter:nil, top:nil, custom_headers:nil)
280
+ first_page = list_by_resource_as_lazy(resource_group_name, parent_type, parent_name, filter:filter, top:top, custom_headers:custom_headers)
281
+ first_page.get_all_items
282
+ end
283
+
284
+ #
285
+ # Lists all private endpoint connections under a resource.
286
+ #
287
+ # Get all private endpoint connections under a topic or domain.
288
+ #
289
+ # @param resource_group_name [String] The name of the resource group within the
290
+ # user's subscription.
291
+ # @param parent_type [String] The type of the parent resource. This can be
292
+ # either \'topics\' or \'domains\'.
293
+ # @param parent_name [String] The name of the parent resource (namely, either,
294
+ # the topic name or domain name).
295
+ # @param filter [String] The query used to filter the search results using
296
+ # OData syntax. Filtering is permitted on the 'name' property only and with
297
+ # limited number of OData operations. These operations are: the 'contains'
298
+ # function as well as the following logical operations: not, and, or, eq (for
299
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
300
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
301
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
302
+ # $filter=location eq 'westus'.
303
+ # @param top [Integer] The number of results to return per page for the list
304
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
305
+ # default number of results to be returned is 20 items per page.
306
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
307
+ # will be added to the HTTP request.
308
+ #
309
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
310
+ #
311
+ def list_by_resource_with_http_info(resource_group_name, parent_type, parent_name, filter:nil, top:nil, custom_headers:nil)
312
+ list_by_resource_async(resource_group_name, parent_type, parent_name, filter:filter, top:top, custom_headers:custom_headers).value!
313
+ end
314
+
315
+ #
316
+ # Lists all private endpoint connections under a resource.
317
+ #
318
+ # Get all private endpoint connections under a topic or domain.
319
+ #
320
+ # @param resource_group_name [String] The name of the resource group within the
321
+ # user's subscription.
322
+ # @param parent_type [String] The type of the parent resource. This can be
323
+ # either \'topics\' or \'domains\'.
324
+ # @param parent_name [String] The name of the parent resource (namely, either,
325
+ # the topic name or domain name).
326
+ # @param filter [String] The query used to filter the search results using
327
+ # OData syntax. Filtering is permitted on the 'name' property only and with
328
+ # limited number of OData operations. These operations are: the 'contains'
329
+ # function as well as the following logical operations: not, and, or, eq (for
330
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
331
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
332
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
333
+ # $filter=location eq 'westus'.
334
+ # @param top [Integer] The number of results to return per page for the list
335
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
336
+ # default number of results to be returned is 20 items per page.
337
+ # @param [Hash{String => String}] A hash of custom headers that will be added
338
+ # to the HTTP request.
339
+ #
340
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
341
+ #
342
+ def list_by_resource_async(resource_group_name, parent_type, parent_name, filter:nil, top:nil, custom_headers:nil)
343
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
344
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
345
+ fail ArgumentError, 'parent_type is nil' if parent_type.nil?
346
+ fail ArgumentError, 'parent_name is nil' if parent_name.nil?
347
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
348
+
349
+
350
+ request_headers = {}
351
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
352
+
353
+ # Set Headers
354
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
355
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
356
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections'
357
+
358
+ request_url = @base_url || @client.base_url
359
+
360
+ options = {
361
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
362
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'parentType' => parent_type,'parentName' => parent_name},
363
+ query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top},
364
+ headers: request_headers.merge(custom_headers || {}),
365
+ base_url: request_url
366
+ }
367
+ promise = @client.make_request_async(:get, path_template, options)
368
+
369
+ promise = promise.then do |result|
370
+ http_response = result.response
371
+ status_code = http_response.status
372
+ response_content = http_response.body
373
+ unless status_code == 200
374
+ error_model = JSON.load(response_content)
375
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
376
+ end
377
+
378
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
379
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
380
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
381
+ # Deserialize Response
382
+ if status_code == 200
383
+ begin
384
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
385
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnectionListResult.mapper()
386
+ result.body = @client.deserialize(result_mapper, parsed_response)
387
+ rescue Exception => e
388
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
389
+ end
390
+ end
391
+
392
+ result
393
+ end
394
+
395
+ promise.execute
396
+ end
397
+
398
+ #
399
+ # Update a specific private endpoint connection.
400
+ #
401
+ # Update a specific private endpoint connection under a topic or domain.
402
+ #
403
+ # @param resource_group_name [String] The name of the resource group within the
404
+ # user's subscription.
405
+ # @param parent_type [String] The type of the parent resource. This can be
406
+ # either \'topics\' or \'domains\'.
407
+ # @param parent_name [String] The name of the parent resource (namely, either,
408
+ # the topic name or domain name).
409
+ # @param private_endpoint_connection_name [String] The name of the private
410
+ # endpoint connection connection.
411
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
412
+ # will be added to the HTTP request.
413
+ #
414
+ # @return [PrivateEndpointConnection] operation results.
415
+ #
416
+ def begin_update(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
417
+ response = begin_update_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers).value!
418
+ response.body unless response.nil?
419
+ end
420
+
421
+ #
422
+ # Update a specific private endpoint connection.
423
+ #
424
+ # Update a specific private endpoint connection under a topic or domain.
425
+ #
426
+ # @param resource_group_name [String] The name of the resource group within the
427
+ # user's subscription.
428
+ # @param parent_type [String] The type of the parent resource. This can be
429
+ # either \'topics\' or \'domains\'.
430
+ # @param parent_name [String] The name of the parent resource (namely, either,
431
+ # the topic name or domain name).
432
+ # @param private_endpoint_connection_name [String] The name of the private
433
+ # endpoint connection connection.
434
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
435
+ # will be added to the HTTP request.
436
+ #
437
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
438
+ #
439
+ def begin_update_with_http_info(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
440
+ begin_update_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers).value!
441
+ end
442
+
443
+ #
444
+ # Update a specific private endpoint connection.
445
+ #
446
+ # Update a specific private endpoint connection under a topic or domain.
447
+ #
448
+ # @param resource_group_name [String] The name of the resource group within the
449
+ # user's subscription.
450
+ # @param parent_type [String] The type of the parent resource. This can be
451
+ # either \'topics\' or \'domains\'.
452
+ # @param parent_name [String] The name of the parent resource (namely, either,
453
+ # the topic name or domain name).
454
+ # @param private_endpoint_connection_name [String] The name of the private
455
+ # endpoint connection connection.
456
+ # @param [Hash{String => String}] A hash of custom headers that will be added
457
+ # to the HTTP request.
458
+ #
459
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
460
+ #
461
+ def begin_update_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
462
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
463
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
464
+ fail ArgumentError, 'parent_type is nil' if parent_type.nil?
465
+ fail ArgumentError, 'parent_name is nil' if parent_name.nil?
466
+ fail ArgumentError, 'private_endpoint_connection_name is nil' if private_endpoint_connection_name.nil?
467
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
468
+
469
+
470
+ request_headers = {}
471
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
472
+
473
+ # Set Headers
474
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
475
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
476
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}'
477
+
478
+ request_url = @base_url || @client.base_url
479
+
480
+ options = {
481
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
482
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'parentType' => parent_type,'parentName' => parent_name,'privateEndpointConnectionName' => private_endpoint_connection_name},
483
+ query_params: {'api-version' => @client.api_version},
484
+ headers: request_headers.merge(custom_headers || {}),
485
+ base_url: request_url
486
+ }
487
+ promise = @client.make_request_async(:put, path_template, options)
488
+
489
+ promise = promise.then do |result|
490
+ http_response = result.response
491
+ status_code = http_response.status
492
+ response_content = http_response.body
493
+ unless status_code == 200 || status_code == 201
494
+ error_model = JSON.load(response_content)
495
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
496
+ end
497
+
498
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
499
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
500
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
501
+ # Deserialize Response
502
+ if status_code == 200
503
+ begin
504
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
505
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnection.mapper()
506
+ result.body = @client.deserialize(result_mapper, parsed_response)
507
+ rescue Exception => e
508
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
509
+ end
510
+ end
511
+ # Deserialize Response
512
+ if status_code == 201
513
+ begin
514
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
515
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnection.mapper()
516
+ result.body = @client.deserialize(result_mapper, parsed_response)
517
+ rescue Exception => e
518
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
519
+ end
520
+ end
521
+
522
+ result
523
+ end
524
+
525
+ promise.execute
526
+ end
527
+
528
+ #
529
+ # Delete a specific private endpoint connection.
530
+ #
531
+ # Delete a specific private endpoint connection under a topic or domain.
532
+ #
533
+ # @param resource_group_name [String] The name of the resource group within the
534
+ # user's subscription.
535
+ # @param parent_type [String] The type of the parent resource. This can be
536
+ # either \'topics\' or \'domains\'.
537
+ # @param parent_name [String] The name of the parent resource (namely, either,
538
+ # the topic name or domain name).
539
+ # @param private_endpoint_connection_name [String] The name of the private
540
+ # endpoint connection connection.
541
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
542
+ # will be added to the HTTP request.
543
+ #
544
+ #
545
+ def begin_delete(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
546
+ response = begin_delete_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers).value!
547
+ nil
548
+ end
549
+
550
+ #
551
+ # Delete a specific private endpoint connection.
552
+ #
553
+ # Delete a specific private endpoint connection under a topic or domain.
554
+ #
555
+ # @param resource_group_name [String] The name of the resource group within the
556
+ # user's subscription.
557
+ # @param parent_type [String] The type of the parent resource. This can be
558
+ # either \'topics\' or \'domains\'.
559
+ # @param parent_name [String] The name of the parent resource (namely, either,
560
+ # the topic name or domain name).
561
+ # @param private_endpoint_connection_name [String] The name of the private
562
+ # endpoint connection connection.
563
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
564
+ # will be added to the HTTP request.
565
+ #
566
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
567
+ #
568
+ def begin_delete_with_http_info(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
569
+ begin_delete_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:custom_headers).value!
570
+ end
571
+
572
+ #
573
+ # Delete a specific private endpoint connection.
574
+ #
575
+ # Delete a specific private endpoint connection under a topic or domain.
576
+ #
577
+ # @param resource_group_name [String] The name of the resource group within the
578
+ # user's subscription.
579
+ # @param parent_type [String] The type of the parent resource. This can be
580
+ # either \'topics\' or \'domains\'.
581
+ # @param parent_name [String] The name of the parent resource (namely, either,
582
+ # the topic name or domain name).
583
+ # @param private_endpoint_connection_name [String] The name of the private
584
+ # endpoint connection connection.
585
+ # @param [Hash{String => String}] A hash of custom headers that will be added
586
+ # to the HTTP request.
587
+ #
588
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
589
+ #
590
+ def begin_delete_async(resource_group_name, parent_type, parent_name, private_endpoint_connection_name, custom_headers:nil)
591
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
592
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
593
+ fail ArgumentError, 'parent_type is nil' if parent_type.nil?
594
+ fail ArgumentError, 'parent_name is nil' if parent_name.nil?
595
+ fail ArgumentError, 'private_endpoint_connection_name is nil' if private_endpoint_connection_name.nil?
596
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
597
+
598
+
599
+ request_headers = {}
600
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
601
+
602
+ # Set Headers
603
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
604
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
605
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}'
606
+
607
+ request_url = @base_url || @client.base_url
608
+
609
+ options = {
610
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
611
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'parentType' => parent_type,'parentName' => parent_name,'privateEndpointConnectionName' => private_endpoint_connection_name},
612
+ query_params: {'api-version' => @client.api_version},
613
+ headers: request_headers.merge(custom_headers || {}),
614
+ base_url: request_url
615
+ }
616
+ promise = @client.make_request_async(:delete, path_template, options)
617
+
618
+ promise = promise.then do |result|
619
+ http_response = result.response
620
+ status_code = http_response.status
621
+ response_content = http_response.body
622
+ unless status_code == 202 || status_code == 204
623
+ error_model = JSON.load(response_content)
624
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
625
+ end
626
+
627
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
628
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
629
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
630
+
631
+ result
632
+ end
633
+
634
+ promise.execute
635
+ end
636
+
637
+ #
638
+ # Lists all private endpoint connections under a resource.
639
+ #
640
+ # Get all private endpoint connections under a topic or domain.
641
+ #
642
+ # @param next_page_link [String] The NextLink from the previous successful call
643
+ # to List operation.
644
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
645
+ # will be added to the HTTP request.
646
+ #
647
+ # @return [PrivateEndpointConnectionListResult] operation results.
648
+ #
649
+ def list_by_resource_next(next_page_link, custom_headers:nil)
650
+ response = list_by_resource_next_async(next_page_link, custom_headers:custom_headers).value!
651
+ response.body unless response.nil?
652
+ end
653
+
654
+ #
655
+ # Lists all private endpoint connections under a resource.
656
+ #
657
+ # Get all private endpoint connections under a topic or domain.
658
+ #
659
+ # @param next_page_link [String] The NextLink from the previous successful call
660
+ # to List operation.
661
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
662
+ # will be added to the HTTP request.
663
+ #
664
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
665
+ #
666
+ def list_by_resource_next_with_http_info(next_page_link, custom_headers:nil)
667
+ list_by_resource_next_async(next_page_link, custom_headers:custom_headers).value!
668
+ end
669
+
670
+ #
671
+ # Lists all private endpoint connections under a resource.
672
+ #
673
+ # Get all private endpoint connections under a topic or domain.
674
+ #
675
+ # @param next_page_link [String] The NextLink from the previous successful call
676
+ # to List operation.
677
+ # @param [Hash{String => String}] A hash of custom headers that will be added
678
+ # to the HTTP request.
679
+ #
680
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
681
+ #
682
+ def list_by_resource_next_async(next_page_link, custom_headers:nil)
683
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
684
+
685
+
686
+ request_headers = {}
687
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
688
+
689
+ # Set Headers
690
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
691
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
692
+ path_template = '{nextLink}'
693
+
694
+ request_url = @base_url || @client.base_url
695
+
696
+ options = {
697
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
698
+ skip_encoding_path_params: {'nextLink' => next_page_link},
699
+ headers: request_headers.merge(custom_headers || {}),
700
+ base_url: request_url
701
+ }
702
+ promise = @client.make_request_async(:get, path_template, options)
703
+
704
+ promise = promise.then do |result|
705
+ http_response = result.response
706
+ status_code = http_response.status
707
+ response_content = http_response.body
708
+ unless status_code == 200
709
+ error_model = JSON.load(response_content)
710
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
711
+ end
712
+
713
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
714
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
715
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
716
+ # Deserialize Response
717
+ if status_code == 200
718
+ begin
719
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
720
+ result_mapper = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnectionListResult.mapper()
721
+ result.body = @client.deserialize(result_mapper, parsed_response)
722
+ rescue Exception => e
723
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
724
+ end
725
+ end
726
+
727
+ result
728
+ end
729
+
730
+ promise.execute
731
+ end
732
+
733
+ #
734
+ # Lists all private endpoint connections under a resource.
735
+ #
736
+ # Get all private endpoint connections under a topic or domain.
737
+ #
738
+ # @param resource_group_name [String] The name of the resource group within the
739
+ # user's subscription.
740
+ # @param parent_type [String] The type of the parent resource. This can be
741
+ # either \'topics\' or \'domains\'.
742
+ # @param parent_name [String] The name of the parent resource (namely, either,
743
+ # the topic name or domain name).
744
+ # @param filter [String] The query used to filter the search results using
745
+ # OData syntax. Filtering is permitted on the 'name' property only and with
746
+ # limited number of OData operations. These operations are: the 'contains'
747
+ # function as well as the following logical operations: not, and, or, eq (for
748
+ # equal), and ne (for not equal). No arithmetic operations are supported. The
749
+ # following is a valid filter example: $filter=contains(namE, 'PATTERN') and
750
+ # name ne 'PATTERN-1'. The following is not a valid filter example:
751
+ # $filter=location eq 'westus'.
752
+ # @param top [Integer] The number of results to return per page for the list
753
+ # operation. Valid range for top parameter is 1 to 100. If not specified, the
754
+ # default number of results to be returned is 20 items per page.
755
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
756
+ # will be added to the HTTP request.
757
+ #
758
+ # @return [PrivateEndpointConnectionListResult] which provide lazy access to
759
+ # pages of the response.
760
+ #
761
+ def list_by_resource_as_lazy(resource_group_name, parent_type, parent_name, filter:nil, top:nil, custom_headers:nil)
762
+ response = list_by_resource_async(resource_group_name, parent_type, parent_name, filter:filter, top:top, custom_headers:custom_headers).value!
763
+ unless response.nil?
764
+ page = response.body
765
+ page.next_method = Proc.new do |next_page_link|
766
+ list_by_resource_next_async(next_page_link, custom_headers:custom_headers)
767
+ end
768
+ page
769
+ end
770
+ end
771
+
772
+ end
773
+ end