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,71 @@
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 for updating the platform configuration.
10
+ #
11
+ class PlatformUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [OS] The operating system type required for the run. Possible
16
+ # values include: 'Windows', 'Linux'
17
+ attr_accessor :os
18
+
19
+ # @return [Architecture] The OS architecture. Possible values include:
20
+ # 'amd64', 'x86', '386', 'arm', 'arm64'
21
+ attr_accessor :architecture
22
+
23
+ # @return [Variant] Variant of the CPU. Possible values include: 'v6',
24
+ # 'v7', 'v8'
25
+ attr_accessor :variant
26
+
27
+
28
+ #
29
+ # Mapper for PlatformUpdateParameters class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'PlatformUpdateParameters',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'PlatformUpdateParameters',
40
+ model_properties: {
41
+ os: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'os',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ architecture: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'architecture',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ variant: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'variant',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,20 @@
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 ProvisioningState
10
+ #
11
+ module ProvisioningState
12
+ Creating = "Creating"
13
+ Updating = "Updating"
14
+ Deleting = "Deleting"
15
+ Succeeded = "Succeeded"
16
+ Failed = "Failed"
17
+ Canceled = "Canceled"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,72 @@
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 resource model definition for a ARM proxy resource. It will have
10
+ # everything other than required location and tags.
11
+ #
12
+ class ProxyResource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The resource ID.
17
+ attr_accessor :id
18
+
19
+ # @return [String] The name of the resource.
20
+ attr_accessor :name
21
+
22
+ # @return [String] The type of the resource.
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for ProxyResource 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: 'ProxyResource',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ProxyResource',
38
+ model_properties: {
39
+ id: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'id',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ name: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'name',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ type: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'type',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,111 @@
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
+ # An Azure resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The type of the resource.
22
+ attr_accessor :type
23
+
24
+ # @return [String] The location of the resource. This cannot be changed
25
+ # after the resource is created.
26
+ attr_accessor :location
27
+
28
+ # @return [Hash{String => String}] The tags of the resource.
29
+ attr_accessor :tags
30
+
31
+
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
41
+ #
42
+ # Mapper for Resource class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'Resource',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'Resource',
53
+ model_properties: {
54
+ id: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'id',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ name: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'name',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ type: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'type',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ location: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'location',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ tags: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'tags',
93
+ type: {
94
+ name: 'Dictionary',
95
+ value: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'StringElementType',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ end
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,18 @@
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 ResourceIdentityType
10
+ #
11
+ module ResourceIdentityType
12
+ SystemAssigned = "SystemAssigned"
13
+ UserAssigned = "UserAssigned"
14
+ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
15
+ None = "None"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,320 @@
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
+ # Run resource properties
10
+ #
11
+ class Run < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The unique identifier for the run.
16
+ attr_accessor :run_id
17
+
18
+ # @return [RunStatus] The current status of the run. Possible values
19
+ # include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed',
20
+ # 'Canceled', 'Error', 'Timeout'
21
+ attr_accessor :status
22
+
23
+ # @return [DateTime] The last updated time for the run.
24
+ attr_accessor :last_updated_time
25
+
26
+ # @return [RunType] The type of run. Possible values include:
27
+ # 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'
28
+ attr_accessor :run_type
29
+
30
+ # @return [DateTime] The time the run was scheduled.
31
+ attr_accessor :create_time
32
+
33
+ # @return [DateTime] The time the run started.
34
+ attr_accessor :start_time
35
+
36
+ # @return [DateTime] The time the run finished.
37
+ attr_accessor :finish_time
38
+
39
+ # @return [Array<ImageDescriptor>] The list of all images that were
40
+ # generated from the run. This is applicable if the run generates base
41
+ # image dependencies.
42
+ attr_accessor :output_images
43
+
44
+ # @return [String] The task against which run was scheduled.
45
+ attr_accessor :task
46
+
47
+ # @return [ImageUpdateTrigger] The image update trigger that caused the
48
+ # run. This is applicable if the task has base image trigger configured.
49
+ attr_accessor :image_update_trigger
50
+
51
+ # @return [SourceTriggerDescriptor] The source trigger that caused the
52
+ # run.
53
+ attr_accessor :source_trigger
54
+
55
+ # @return [TimerTriggerDescriptor] The timer trigger that caused the run.
56
+ attr_accessor :timer_trigger
57
+
58
+ # @return [PlatformProperties] The platform properties against which the
59
+ # run will happen.
60
+ attr_accessor :platform
61
+
62
+ # @return [AgentProperties] The machine configuration of the run agent.
63
+ attr_accessor :agent_configuration
64
+
65
+ # @return [String] The scope of the credentials that were used to login
66
+ # to the source registry during this run.
67
+ attr_accessor :source_registry_auth
68
+
69
+ # @return [Array<String>] The list of custom registries that were logged
70
+ # in during this run.
71
+ attr_accessor :custom_registries
72
+
73
+ # @return [String] The error message received from backend systems after
74
+ # the run is scheduled.
75
+ attr_accessor :run_error_message
76
+
77
+ # @return [String] The update trigger token passed for the Run.
78
+ attr_accessor :update_trigger_token
79
+
80
+ # @return [ProvisioningState] The provisioning state of a run. Possible
81
+ # values include: 'Creating', 'Updating', 'Deleting', 'Succeeded',
82
+ # 'Failed', 'Canceled'
83
+ attr_accessor :provisioning_state
84
+
85
+ # @return [Boolean] The value that indicates whether archiving is enabled
86
+ # or not. Default value: false .
87
+ attr_accessor :is_archive_enabled
88
+
89
+
90
+ #
91
+ # Mapper for Run class as Ruby Hash.
92
+ # This will be used for serialization/deserialization.
93
+ #
94
+ def self.mapper()
95
+ {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'Run',
99
+ type: {
100
+ name: 'Composite',
101
+ class_name: 'Run',
102
+ model_properties: {
103
+ id: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'id',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ name: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ read_only: true,
116
+ serialized_name: 'name',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ },
121
+ type: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ read_only: true,
125
+ serialized_name: 'type',
126
+ type: {
127
+ name: 'String'
128
+ }
129
+ },
130
+ run_id: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ serialized_name: 'properties.runId',
134
+ type: {
135
+ name: 'String'
136
+ }
137
+ },
138
+ status: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ serialized_name: 'properties.status',
142
+ type: {
143
+ name: 'String'
144
+ }
145
+ },
146
+ last_updated_time: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ serialized_name: 'properties.lastUpdatedTime',
150
+ type: {
151
+ name: 'DateTime'
152
+ }
153
+ },
154
+ run_type: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ serialized_name: 'properties.runType',
158
+ type: {
159
+ name: 'String'
160
+ }
161
+ },
162
+ create_time: {
163
+ client_side_validation: true,
164
+ required: false,
165
+ serialized_name: 'properties.createTime',
166
+ type: {
167
+ name: 'DateTime'
168
+ }
169
+ },
170
+ start_time: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ serialized_name: 'properties.startTime',
174
+ type: {
175
+ name: 'DateTime'
176
+ }
177
+ },
178
+ finish_time: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ serialized_name: 'properties.finishTime',
182
+ type: {
183
+ name: 'DateTime'
184
+ }
185
+ },
186
+ output_images: {
187
+ client_side_validation: true,
188
+ required: false,
189
+ serialized_name: 'properties.outputImages',
190
+ type: {
191
+ name: 'Sequence',
192
+ element: {
193
+ client_side_validation: true,
194
+ required: false,
195
+ serialized_name: 'ImageDescriptorElementType',
196
+ type: {
197
+ name: 'Composite',
198
+ class_name: 'ImageDescriptor'
199
+ }
200
+ }
201
+ }
202
+ },
203
+ task: {
204
+ client_side_validation: true,
205
+ required: false,
206
+ serialized_name: 'properties.task',
207
+ type: {
208
+ name: 'String'
209
+ }
210
+ },
211
+ image_update_trigger: {
212
+ client_side_validation: true,
213
+ required: false,
214
+ serialized_name: 'properties.imageUpdateTrigger',
215
+ type: {
216
+ name: 'Composite',
217
+ class_name: 'ImageUpdateTrigger'
218
+ }
219
+ },
220
+ source_trigger: {
221
+ client_side_validation: true,
222
+ required: false,
223
+ serialized_name: 'properties.sourceTrigger',
224
+ type: {
225
+ name: 'Composite',
226
+ class_name: 'SourceTriggerDescriptor'
227
+ }
228
+ },
229
+ timer_trigger: {
230
+ client_side_validation: true,
231
+ required: false,
232
+ serialized_name: 'properties.timerTrigger',
233
+ type: {
234
+ name: 'Composite',
235
+ class_name: 'TimerTriggerDescriptor'
236
+ }
237
+ },
238
+ platform: {
239
+ client_side_validation: true,
240
+ required: false,
241
+ serialized_name: 'properties.platform',
242
+ type: {
243
+ name: 'Composite',
244
+ class_name: 'PlatformProperties'
245
+ }
246
+ },
247
+ agent_configuration: {
248
+ client_side_validation: true,
249
+ required: false,
250
+ serialized_name: 'properties.agentConfiguration',
251
+ type: {
252
+ name: 'Composite',
253
+ class_name: 'AgentProperties'
254
+ }
255
+ },
256
+ source_registry_auth: {
257
+ client_side_validation: true,
258
+ required: false,
259
+ serialized_name: 'properties.sourceRegistryAuth',
260
+ type: {
261
+ name: 'String'
262
+ }
263
+ },
264
+ custom_registries: {
265
+ client_side_validation: true,
266
+ required: false,
267
+ serialized_name: 'properties.customRegistries',
268
+ type: {
269
+ name: 'Sequence',
270
+ element: {
271
+ client_side_validation: true,
272
+ required: false,
273
+ serialized_name: 'StringElementType',
274
+ type: {
275
+ name: 'String'
276
+ }
277
+ }
278
+ }
279
+ },
280
+ run_error_message: {
281
+ client_side_validation: true,
282
+ required: false,
283
+ read_only: true,
284
+ serialized_name: 'properties.runErrorMessage',
285
+ type: {
286
+ name: 'String'
287
+ }
288
+ },
289
+ update_trigger_token: {
290
+ client_side_validation: true,
291
+ required: false,
292
+ serialized_name: 'properties.updateTriggerToken',
293
+ type: {
294
+ name: 'String'
295
+ }
296
+ },
297
+ provisioning_state: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ serialized_name: 'properties.provisioningState',
301
+ type: {
302
+ name: 'String'
303
+ }
304
+ },
305
+ is_archive_enabled: {
306
+ client_side_validation: true,
307
+ required: false,
308
+ serialized_name: 'properties.isArchiveEnabled',
309
+ default_value: false,
310
+ type: {
311
+ name: 'Boolean'
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+ end
318
+ end
319
+ end
320
+ end