azure_mgmt_container_registry 0.18.2 → 0.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  3. data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb +22 -0
  4. data/lib/2017-03-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  5. data/lib/2017-03-01/generated/azure_mgmt_container_registry/operations.rb +4 -0
  6. data/lib/2017-03-01/generated/azure_mgmt_container_registry/registries.rb +22 -0
  7. data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  8. data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/operations.rb +4 -0
  9. data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb +24 -0
  10. data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb +12 -0
  11. data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb +20 -0
  12. data/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  13. data/lib/2017-10-01/generated/azure_mgmt_container_registry/operations.rb +4 -0
  14. data/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb +30 -0
  15. data/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb +12 -0
  16. data/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb +20 -0
  17. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_steps.rb +16 -0
  18. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_tasks.rb +14 -0
  19. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/builds.rb +12 -0
  20. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  21. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/registries.rb +4 -0
  22. data/lib/2018-09-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  23. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger.rb +2 -1
  24. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb +2 -1
  25. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger.rb +2 -1
  26. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger_update_parameters.rb +2 -1
  27. data/lib/2018-09-01/generated/azure_mgmt_container_registry/registries.rb +4 -0
  28. data/lib/2018-09-01/generated/azure_mgmt_container_registry/runs.rb +12 -0
  29. data/lib/2018-09-01/generated/azure_mgmt_container_registry/tasks.rb +14 -0
  30. data/lib/2019-04-01/generated/azure_mgmt_container_registry.rb +7 -6
  31. data/lib/2019-04-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  32. data/lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb +12 -0
  33. data/lib/2019-04-01/generated/azure_mgmt_container_registry/models/timer_trigger_descriptor.rb +58 -0
  34. data/lib/2019-04-01/generated/azure_mgmt_container_registry/registries.rb +4 -0
  35. data/lib/2019-04-01/generated/azure_mgmt_container_registry/runs.rb +12 -0
  36. data/lib/2019-04-01/generated/azure_mgmt_container_registry/tasks.rb +14 -0
  37. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry.rb +46 -0
  38. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +139 -0
  39. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_parameters.rb +75 -0
  40. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_result.rb +67 -0
  41. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
  42. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb +72 -0
  43. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map.rb +133 -0
  44. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_list_result.rb +101 -0
  45. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb +68 -0
  46. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/status.rb +16 -0
  47. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token.rb +137 -0
  48. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb +81 -0
  49. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate_name.rb +16 -0
  50. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_credentials_properties.rb +76 -0
  51. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_list_result.rb +101 -0
  52. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_password.rb +82 -0
  53. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_password_name.rb +16 -0
  54. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_update_parameters.rb +72 -0
  55. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
  56. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/registries.rb +188 -0
  57. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/scope_maps.rb +850 -0
  58. data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/tokens.rb +844 -0
  59. data/lib/2019-05-01/generated/azure_mgmt_container_registry.rb +90 -0
  60. data/lib/2019-05-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +143 -0
  61. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/action.rb +15 -0
  62. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/actor.rb +48 -0
  63. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/callback_config.rb +66 -0
  64. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/default_action.rb +16 -0
  65. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event.rb +69 -0
  66. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_content.rb +120 -0
  67. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_info.rb +46 -0
  68. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_list_result.rb +101 -0
  69. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_request_message.rb +101 -0
  70. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_response_message.rb +99 -0
  71. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb +104 -0
  72. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_mode.rb +16 -0
  73. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_source.rb +89 -0
  74. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb +59 -0
  75. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/iprule.rb +60 -0
  76. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/network_rule_set.rb +89 -0
  77. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_definition.rb +84 -0
  78. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +80 -0
  79. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb +101 -0
  80. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_metric_specification_definition.rb +101 -0
  81. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_service_specification_definition.rb +56 -0
  82. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/password_name.rb +16 -0
  83. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/policies.rb +74 -0
  84. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/policy_status.rb +16 -0
  85. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
  86. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/quarantine_policy.rb +47 -0
  87. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +49 -0
  88. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry.rb +202 -0
  89. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +67 -0
  90. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb +101 -0
  91. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +66 -0
  92. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb +71 -0
  93. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_password.rb +59 -0
  94. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +102 -0
  95. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_usage.rb +80 -0
  96. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb +56 -0
  97. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_usage_unit.rb +16 -0
  98. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/replication.rb +114 -0
  99. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb +101 -0
  100. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb +54 -0
  101. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/request.rb +93 -0
  102. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/resource.rb +111 -0
  103. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/retention_policy.rb +71 -0
  104. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/sku.rb +61 -0
  105. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/sku_name.rb +18 -0
  106. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/sku_tier.rb +18 -0
  107. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/source.rb +61 -0
  108. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/status.rb +73 -0
  109. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +47 -0
  110. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/target.rb +137 -0
  111. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/trust_policy.rb +59 -0
  112. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/trust_policy_type.rb +15 -0
  113. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/virtual_network_rule.rb +60 -0
  114. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook.rb +146 -0
  115. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_action.rb +19 -0
  116. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb +143 -0
  117. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb +101 -0
  118. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_status.rb +16 -0
  119. data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb +131 -0
  120. data/lib/2019-05-01/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
  121. data/lib/2019-05-01/generated/azure_mgmt_container_registry/operations.rb +219 -0
  122. data/lib/2019-05-01/generated/azure_mgmt_container_registry/registries.rb +1580 -0
  123. data/lib/2019-05-01/generated/azure_mgmt_container_registry/replications.rb +845 -0
  124. data/lib/2019-05-01/generated/azure_mgmt_container_registry/webhooks.rb +1287 -0
  125. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry.rb +100 -0
  126. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +139 -0
  127. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_properties.rb +47 -0
  128. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/architecture.rb +19 -0
  129. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/argument.rb +70 -0
  130. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/auth_info.rb +92 -0
  131. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/auth_info_update_parameters.rb +92 -0
  132. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency.rb +91 -0
  133. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency_type.rb +16 -0
  134. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger.rb +94 -0
  135. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_type.rb +16 -0
  136. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb +94 -0
  137. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/credentials.rb +74 -0
  138. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb +82 -0
  139. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_request.rb +218 -0
  140. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step.rb +175 -0
  141. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb +154 -0
  142. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_run_request.rb +172 -0
  143. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_step.rb +129 -0
  144. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_step_update_parameters.rb +111 -0
  145. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_run_request.rb +172 -0
  146. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_step.rb +129 -0
  147. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb +111 -0
  148. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/identity_properties.rb +95 -0
  149. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_descriptor.rb +79 -0
  150. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_update_trigger.rb +78 -0
  151. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/os.rb +16 -0
  152. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/override_task_step_properties.rb +125 -0
  153. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb +71 -0
  154. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb +71 -0
  155. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
  156. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb +72 -0
  157. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb +111 -0
  158. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource_identity_type.rb +18 -0
  159. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run.rb +320 -0
  160. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_filter.rb +129 -0
  161. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_get_log_result.rb +47 -0
  162. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_list_result.rb +99 -0
  163. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_request.rb +62 -0
  164. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_status.rb +22 -0
  165. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_type.rb +18 -0
  166. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_update_parameters.rb +47 -0
  167. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object.rb +63 -0
  168. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object_type.rb +16 -0
  169. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/set_value.rb +71 -0
  170. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_control_type.rb +16 -0
  171. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_properties.rb +83 -0
  172. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb +52 -0
  173. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_login_mode.rb +16 -0
  174. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger.rb +92 -0
  175. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_descriptor.rb +112 -0
  176. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_event.rb +16 -0
  177. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_update_parameters.rb +92 -0
  178. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_update_parameters.rb +83 -0
  179. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_upload_definition.rb +58 -0
  180. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task.rb +218 -0
  181. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_list_result.rb +99 -0
  182. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_run_request.rb +84 -0
  183. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_status.rb +16 -0
  184. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_properties.rb +94 -0
  185. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb +72 -0
  186. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_update_parameters.rb +155 -0
  187. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger.rb +70 -0
  188. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_descriptor.rb +58 -0
  189. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_update_parameters.rb +70 -0
  190. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/token_type.rb +16 -0
  191. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_properties.rb +89 -0
  192. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_status.rb +16 -0
  193. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_update_parameters.rb +90 -0
  194. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/update_trigger_payload_type.rb +16 -0
  195. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/user_identity_properties.rb +58 -0
  196. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/variant.rb +17 -0
  197. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
  198. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/registries.rb +293 -0
  199. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/runs.rb +778 -0
  200. data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/tasks.rb +952 -0
  201. data/lib/azure_mgmt_container_registry.rb +3 -0
  202. data/lib/profiles/latest/modules/containerregistry_profile_module.rb +321 -305
  203. data/lib/version.rb +1 -1
  204. metadata +170 -5
@@ -0,0 +1,100 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2019-06-01-preview/generated/azure_mgmt_container_registry/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
23
+ autoload :Registries, '2019-06-01-preview/generated/azure_mgmt_container_registry/registries.rb'
24
+ autoload :Runs, '2019-06-01-preview/generated/azure_mgmt_container_registry/runs.rb'
25
+ autoload :Tasks, '2019-06-01-preview/generated/azure_mgmt_container_registry/tasks.rb'
26
+ autoload :ContainerRegistryManagementClient, '2019-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb'
27
+
28
+ module Models
29
+ autoload :Credentials, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/credentials.rb'
30
+ autoload :BaseImageTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger.rb'
31
+ autoload :TriggerProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_properties.rb'
32
+ autoload :ImageUpdateTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_update_trigger.rb'
33
+ autoload :SourceRegistryCredentials, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb'
34
+ autoload :TimerTriggerDescriptor, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_descriptor.rb'
35
+ autoload :SecretObject, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object.rb'
36
+ autoload :AgentProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_properties.rb'
37
+ autoload :CustomRegistryCredentials, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb'
38
+ autoload :SourceUploadDefinition, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_upload_definition.rb'
39
+ autoload :RunRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_request.rb'
40
+ autoload :RunFilter, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_filter.rb'
41
+ autoload :RunGetLogResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_get_log_result.rb'
42
+ autoload :TaskListResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_list_result.rb'
43
+ autoload :IdentityProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/identity_properties.rb'
44
+ autoload :PlatformUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb'
45
+ autoload :TaskStepProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_properties.rb'
46
+ autoload :TaskStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb'
47
+ autoload :AuthInfo, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/auth_info.rb'
48
+ autoload :TimerTriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_update_parameters.rb'
49
+ autoload :SourceTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger.rb'
50
+ autoload :AuthInfoUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/auth_info_update_parameters.rb'
51
+ autoload :SourceTriggerDescriptor, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_descriptor.rb'
52
+ autoload :SourceUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_update_parameters.rb'
53
+ autoload :SetValue, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/set_value.rb'
54
+ autoload :RunListResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_list_result.rb'
55
+ autoload :SourceTriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_update_parameters.rb'
56
+ autoload :UserIdentityProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/user_identity_properties.rb'
57
+ autoload :BaseImageTriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb'
58
+ autoload :TimerTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger.rb'
59
+ autoload :TriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_update_parameters.rb'
60
+ autoload :ImageDescriptor, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_descriptor.rb'
61
+ autoload :TaskUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_update_parameters.rb'
62
+ autoload :RunUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_update_parameters.rb'
63
+ autoload :Resource, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb'
64
+ autoload :SourceProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_properties.rb'
65
+ autoload :ProxyResource, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb'
66
+ autoload :BaseImageDependency, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency.rb'
67
+ autoload :Argument, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/argument.rb'
68
+ autoload :PlatformProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb'
69
+ autoload :OverrideTaskStepProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/override_task_step_properties.rb'
70
+ autoload :Run, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run.rb'
71
+ autoload :Task, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task.rb'
72
+ autoload :DockerBuildRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_request.rb'
73
+ autoload :FileTaskRunRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_run_request.rb'
74
+ autoload :TaskRunRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_run_request.rb'
75
+ autoload :EncodedTaskRunRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_run_request.rb'
76
+ autoload :DockerBuildStep, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step.rb'
77
+ autoload :FileTaskStep, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_step.rb'
78
+ autoload :EncodedTaskStep, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_step.rb'
79
+ autoload :DockerBuildStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb'
80
+ autoload :FileTaskStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb'
81
+ autoload :EncodedTaskStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_step_update_parameters.rb'
82
+ autoload :RunStatus, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_status.rb'
83
+ autoload :RunType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_type.rb'
84
+ autoload :OS, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/os.rb'
85
+ autoload :Architecture, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/architecture.rb'
86
+ autoload :Variant, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/variant.rb'
87
+ autoload :ProvisioningState, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb'
88
+ autoload :ResourceIdentityType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource_identity_type.rb'
89
+ autoload :TaskStatus, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_status.rb'
90
+ autoload :BaseImageDependencyType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency_type.rb'
91
+ autoload :TriggerStatus, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_status.rb'
92
+ autoload :SourceControlType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_control_type.rb'
93
+ autoload :TokenType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/token_type.rb'
94
+ autoload :SourceTriggerEvent, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_event.rb'
95
+ autoload :BaseImageTriggerType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_type.rb'
96
+ autoload :UpdateTriggerPayloadType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/update_trigger_payload_type.rb'
97
+ autoload :SourceRegistryLoginMode, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_login_mode.rb'
98
+ autoload :SecretObjectType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object_type.rb'
99
+ end
100
+ end
@@ -0,0 +1,139 @@
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::ContainerRegistry::Mgmt::V2019_06_01_preview
7
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class ContainerRegistryManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] The Microsoft Azure subscription ID.
21
+ attr_accessor :subscription_id
22
+
23
+ # @return [String] The client API version.
24
+ attr_reader :api_version
25
+
26
+ # @return [String] The preferred language for the response.
27
+ attr_accessor :accept_language
28
+
29
+ # @return [Integer] The retry timeout in seconds for Long Running
30
+ # Operations. Default value is 30.
31
+ attr_accessor :long_running_operation_retry_timeout
32
+
33
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
34
+ # generated. When set to true a unique x-ms-client-request-id value is
35
+ # generated and included in each request. Default is true.
36
+ attr_accessor :generate_client_request_id
37
+
38
+ # @return [Registries] registries
39
+ attr_reader :registries
40
+
41
+ # @return [Runs] runs
42
+ attr_reader :runs
43
+
44
+ # @return [Tasks] tasks
45
+ attr_reader :tasks
46
+
47
+ #
48
+ # Creates initializes a new instance of the ContainerRegistryManagementClient class.
49
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
50
+ # @param base_url [String] the base URI of the service.
51
+ # @param options [Array] filters to be applied to the HTTP requests.
52
+ #
53
+ def initialize(credentials = nil, base_url = nil, options = nil)
54
+ super(credentials, options)
55
+ @base_url = base_url || 'https://management.azure.com/'
56
+
57
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
58
+ @credentials = credentials
59
+
60
+ @registries = Registries.new(self)
61
+ @runs = Runs.new(self)
62
+ @tasks = Tasks.new(self)
63
+ @api_version = '2019-06-01-preview'
64
+ @accept_language = 'en-US'
65
+ @long_running_operation_retry_timeout = 30
66
+ @generate_client_request_id = true
67
+ add_telemetry
68
+ end
69
+
70
+ #
71
+ # Makes a request and returns the body of the response.
72
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
73
+ # @param path [String] the path, relative to {base_url}.
74
+ # @param options [Hash{String=>String}] specifying any request options like :body.
75
+ # @return [Hash{String=>String}] containing the body of the response.
76
+ # Example:
77
+ #
78
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
79
+ # path = "/path"
80
+ # options = {
81
+ # body: request_content,
82
+ # query_params: {'api-version' => '2016-02-01'}
83
+ # }
84
+ # result = @client.make_request(:put, path, options)
85
+ #
86
+ def make_request(method, path, options = {})
87
+ result = make_request_with_http_info(method, path, options)
88
+ result.body unless result.nil?
89
+ end
90
+
91
+ #
92
+ # Makes a request and returns the operation response.
93
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
94
+ # @param path [String] the path, relative to {base_url}.
95
+ # @param options [Hash{String=>String}] specifying any request options like :body.
96
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
97
+ #
98
+ def make_request_with_http_info(method, path, options = {})
99
+ result = make_request_async(method, path, options).value!
100
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
101
+ result
102
+ end
103
+
104
+ #
105
+ # Makes a request asynchronously.
106
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
107
+ # @param path [String] the path, relative to {base_url}.
108
+ # @param options [Hash{String=>String}] specifying any request options like :body.
109
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
110
+ #
111
+ def make_request_async(method, path, options = {})
112
+ fail ArgumentError, 'method is nil' if method.nil?
113
+ fail ArgumentError, 'path is nil' if path.nil?
114
+
115
+ request_url = options[:base_url] || @base_url
116
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
117
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
118
+ end
119
+
120
+ request_headers = @request_headers
121
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
122
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
123
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
124
+
125
+ super(request_url, method, path, options)
126
+ end
127
+
128
+
129
+ private
130
+ #
131
+ # Adds telemetry information.
132
+ #
133
+ def add_telemetry
134
+ sdk_information = 'azure_mgmt_container_registry'
135
+ sdk_information = "#{sdk_information}/0.18.3"
136
+ add_user_agent_information(sdk_information)
137
+ end
138
+ end
139
+ end
@@ -0,0 +1,47 @@
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::ContainerRegistry::Mgmt::V2019_06_01_preview
7
+ module Models
8
+ #
9
+ # The properties that determine the run agent configuration.
10
+ #
11
+ class AgentProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The CPU configuration in terms of number of cores
16
+ # required for the run.
17
+ attr_accessor :cpu
18
+
19
+
20
+ #
21
+ # Mapper for AgentProperties class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'AgentProperties',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AgentProperties',
32
+ model_properties: {
33
+ cpu: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'cpu',
37
+ type: {
38
+ name: 'Number'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,19 @@
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::ContainerRegistry::Mgmt::V2019_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for Architecture
10
+ #
11
+ module Architecture
12
+ Amd64 = "amd64"
13
+ X86 = "x86"
14
+ ThreeEightSix = "386"
15
+ Arm = "arm"
16
+ Arm64 = "arm64"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,70 @@
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::ContainerRegistry::Mgmt::V2019_06_01_preview
7
+ module Models
8
+ #
9
+ # The properties of a run argument.
10
+ #
11
+ class Argument
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the argument.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The value of the argument.
19
+ attr_accessor :value
20
+
21
+ # @return [Boolean] Flag to indicate whether the argument represents a
22
+ # secret and want to be removed from build logs. Default value: false .
23
+ attr_accessor :is_secret
24
+
25
+
26
+ #
27
+ # Mapper for Argument class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'Argument',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Argument',
38
+ model_properties: {
39
+ name: {
40
+ client_side_validation: true,
41
+ required: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ value: {
48
+ client_side_validation: true,
49
+ required: true,
50
+ serialized_name: 'value',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ is_secret: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'isSecret',
59
+ default_value: false,
60
+ type: {
61
+ name: 'Boolean'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,92 @@
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::ContainerRegistry::Mgmt::V2019_06_01_preview
7
+ module Models
8
+ #
9
+ # The authorization properties for accessing the source code repository.
10
+ #
11
+ class AuthInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [TokenType] The type of Auth token. Possible values include:
16
+ # 'PAT', 'OAuth'
17
+ attr_accessor :token_type
18
+
19
+ # @return [String] The access token used to access the source control
20
+ # provider.
21
+ attr_accessor :token
22
+
23
+ # @return [String] The refresh token used to refresh the access token.
24
+ attr_accessor :refresh_token
25
+
26
+ # @return [String] The scope of the access token.
27
+ attr_accessor :scope
28
+
29
+ # @return [Integer] Time in seconds that the token remains valid
30
+ attr_accessor :expires_in
31
+
32
+
33
+ #
34
+ # Mapper for AuthInfo class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'AuthInfo',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'AuthInfo',
45
+ model_properties: {
46
+ token_type: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'tokenType',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ token: {
55
+ client_side_validation: true,
56
+ required: true,
57
+ serialized_name: 'token',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ refresh_token: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'refreshToken',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ scope: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'scope',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ expires_in: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'expiresIn',
82
+ type: {
83
+ name: 'Number'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end