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.
- checksums.yaml +5 -5
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb +22 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/operations.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/registries.rb +22 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/operations.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb +24 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb +12 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb +20 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/operations.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb +30 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb +12 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb +20 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_steps.rb +16 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_tasks.rb +14 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/builds.rb +12 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/registries.rb +4 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger.rb +2 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb +2 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger.rb +2 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger_update_parameters.rb +2 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/registries.rb +4 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/runs.rb +12 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/tasks.rb +14 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_registry.rb +7 -6
- data/lib/2019-04-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_container_registry/models/run.rb +12 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_registry/models/timer_trigger_descriptor.rb +58 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_registry/registries.rb +4 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_registry/runs.rb +12 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_registry/tasks.rb +14 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry.rb +46 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +139 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_parameters.rb +75 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_result.rb +67 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb +72 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map.rb +133 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_list_result.rb +101 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb +68 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/status.rb +16 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token.rb +137 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb +81 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate_name.rb +16 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_credentials_properties.rb +76 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_list_result.rb +101 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_password.rb +82 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_password_name.rb +16 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_update_parameters.rb +72 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/registries.rb +188 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/scope_maps.rb +850 -0
- data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/tokens.rb +844 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry.rb +90 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +143 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/action.rb +15 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/actor.rb +48 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/callback_config.rb +66 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/default_action.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event.rb +69 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_content.rb +120 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_info.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_list_result.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_request_message.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_response_message.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb +104 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_mode.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_source.rb +89 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb +59 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/iprule.rb +60 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/network_rule_set.rb +89 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_definition.rb +84 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +80 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_metric_specification_definition.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/operation_service_specification_definition.rb +56 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/password_name.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/policies.rb +74 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/policy_status.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/quarantine_policy.rb +47 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +49 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry.rb +202 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +67 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +66 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb +71 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_password.rb +59 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +102 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_usage.rb +80 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb +56 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_usage_unit.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/replication.rb +114 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb +54 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/request.rb +93 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/resource.rb +111 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/retention_policy.rb +71 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/sku.rb +61 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/sku_name.rb +18 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/sku_tier.rb +18 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/source.rb +61 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/status.rb +73 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +47 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/target.rb +137 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/trust_policy.rb +59 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/trust_policy_type.rb +15 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/virtual_network_rule.rb +60 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook.rb +146 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_action.rb +19 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb +143 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_status.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb +131 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/operations.rb +219 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/registries.rb +1580 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/replications.rb +845 -0
- data/lib/2019-05-01/generated/azure_mgmt_container_registry/webhooks.rb +1287 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +139 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_properties.rb +47 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/architecture.rb +19 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/argument.rb +70 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/auth_info.rb +92 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/auth_info_update_parameters.rb +92 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency.rb +91 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency_type.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger.rb +94 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_type.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb +94 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/credentials.rb +74 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb +82 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_request.rb +218 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step.rb +175 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb +154 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_run_request.rb +172 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_step.rb +129 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_step_update_parameters.rb +111 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_run_request.rb +172 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_step.rb +129 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb +111 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/identity_properties.rb +95 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_descriptor.rb +79 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_update_trigger.rb +78 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/os.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/override_task_step_properties.rb +125 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb +71 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb +71 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb +72 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb +111 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource_identity_type.rb +18 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run.rb +320 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_filter.rb +129 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_get_log_result.rb +47 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_list_result.rb +99 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_request.rb +62 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_status.rb +22 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_type.rb +18 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_update_parameters.rb +47 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object.rb +63 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object_type.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/set_value.rb +71 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_control_type.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_properties.rb +83 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb +52 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_login_mode.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger.rb +92 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_descriptor.rb +112 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_event.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_update_parameters.rb +92 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_update_parameters.rb +83 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_upload_definition.rb +58 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task.rb +218 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_list_result.rb +99 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_run_request.rb +84 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_status.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_properties.rb +94 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb +72 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_update_parameters.rb +155 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger.rb +70 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_descriptor.rb +58 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_update_parameters.rb +70 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/token_type.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_properties.rb +89 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_status.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_update_parameters.rb +90 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/update_trigger_payload_type.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/user_identity_properties.rb +58 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/variant.rb +17 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/registries.rb +293 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/runs.rb +778 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_container_registry/tasks.rb +952 -0
- data/lib/azure_mgmt_container_registry.rb +3 -0
- data/lib/profiles/latest/modules/containerregistry_profile_module.rb +321 -305
- data/lib/version.rb +1 -1
- metadata +170 -5
@@ -103,6 +103,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_04_01
|
|
103
103
|
end
|
104
104
|
|
105
105
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
106
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
107
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
106
108
|
# Deserialize Response
|
107
109
|
if status_code == 200
|
108
110
|
begin
|
@@ -209,6 +211,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_04_01
|
|
209
211
|
end
|
210
212
|
|
211
213
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
214
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
215
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
212
216
|
# Deserialize Response
|
213
217
|
if status_code == 200
|
214
218
|
begin
|
@@ -455,6 +459,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_04_01
|
|
455
459
|
end
|
456
460
|
|
457
461
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
462
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
463
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
458
464
|
# Deserialize Response
|
459
465
|
if status_code == 200
|
460
466
|
begin
|
@@ -572,6 +578,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_04_01
|
|
572
578
|
end
|
573
579
|
|
574
580
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
581
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
582
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
575
583
|
# Deserialize Response
|
576
584
|
if status_code == 200
|
577
585
|
begin
|
@@ -687,6 +695,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_04_01
|
|
687
695
|
end
|
688
696
|
|
689
697
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
698
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
699
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
690
700
|
|
691
701
|
result
|
692
702
|
end
|
@@ -797,6 +807,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_04_01
|
|
797
807
|
end
|
798
808
|
|
799
809
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
810
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
811
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
800
812
|
# Deserialize Response
|
801
813
|
if status_code == 200
|
802
814
|
begin
|
@@ -895,6 +907,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_04_01
|
|
895
907
|
end
|
896
908
|
|
897
909
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
910
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
911
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
898
912
|
# Deserialize Response
|
899
913
|
if status_code == 200
|
900
914
|
begin
|
@@ -0,0 +1,46 @@
|
|
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-05-01-preview/generated/azure_mgmt_container_registry/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
|
23
|
+
autoload :ScopeMaps, '2019-05-01-preview/generated/azure_mgmt_container_registry/scope_maps.rb'
|
24
|
+
autoload :Tokens, '2019-05-01-preview/generated/azure_mgmt_container_registry/tokens.rb'
|
25
|
+
autoload :Registries, '2019-05-01-preview/generated/azure_mgmt_container_registry/registries.rb'
|
26
|
+
autoload :ContainerRegistryManagementClient, '2019-05-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb'
|
27
|
+
|
28
|
+
module Models
|
29
|
+
autoload :TokenCredentialsProperties, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_credentials_properties.rb'
|
30
|
+
autoload :ScopeMapUpdateParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb'
|
31
|
+
autoload :TokenUpdateParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_update_parameters.rb'
|
32
|
+
autoload :TokenCertificate, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb'
|
33
|
+
autoload :TokenListResult, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_list_result.rb'
|
34
|
+
autoload :ProxyResource, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb'
|
35
|
+
autoload :ScopeMapListResult, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_list_result.rb'
|
36
|
+
autoload :GenerateCredentialsParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_parameters.rb'
|
37
|
+
autoload :TokenPassword, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_password.rb'
|
38
|
+
autoload :GenerateCredentialsResult, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_result.rb'
|
39
|
+
autoload :ScopeMap, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map.rb'
|
40
|
+
autoload :Token, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token.rb'
|
41
|
+
autoload :ProvisioningState, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb'
|
42
|
+
autoload :TokenCertificateName, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate_name.rb'
|
43
|
+
autoload :TokenPasswordName, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_password_name.rb'
|
44
|
+
autoload :Status, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/status.rb'
|
45
|
+
end
|
46
|
+
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_05_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 [ScopeMaps] scope_maps
|
39
|
+
attr_reader :scope_maps
|
40
|
+
|
41
|
+
# @return [Tokens] tokens
|
42
|
+
attr_reader :tokens
|
43
|
+
|
44
|
+
# @return [Registries] registries
|
45
|
+
attr_reader :registries
|
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
|
+
@scope_maps = ScopeMaps.new(self)
|
61
|
+
@tokens = Tokens.new(self)
|
62
|
+
@registries = Registries.new(self)
|
63
|
+
@api_version = '2019-05-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,75 @@
|
|
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_05_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters used to generate credentials for a specified token or user
|
10
|
+
# of a container registry.
|
11
|
+
#
|
12
|
+
class GenerateCredentialsParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The resource ID of the token for which credentials
|
17
|
+
# have to be generated.
|
18
|
+
attr_accessor :token_id
|
19
|
+
|
20
|
+
# @return [DateTime] The expiry date of the generated credentials after
|
21
|
+
# which the credentials become invalid. Default value:
|
22
|
+
# Date.parse('9999-12-31T15:59:59.9999999-08:00') .
|
23
|
+
attr_accessor :expiry
|
24
|
+
|
25
|
+
# @return [TokenPasswordName] Specifies name of the password which should
|
26
|
+
# be regenerated if any -- password or password2. Possible values
|
27
|
+
# include: 'password1', 'password2'
|
28
|
+
attr_accessor :name
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for GenerateCredentialsParameters class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'GenerateCredentialsParameters',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'GenerateCredentialsParameters',
|
43
|
+
model_properties: {
|
44
|
+
token_id: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'tokenId',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
expiry: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'expiry',
|
56
|
+
default_value: Date.parse('9999-12-31T15:59:59.9999999-08:00'),
|
57
|
+
type: {
|
58
|
+
name: 'DateTime'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
name: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'name',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,67 @@
|
|
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_05_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response from the GenerateCredentials operation.
|
10
|
+
#
|
11
|
+
class GenerateCredentialsResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The username for a container registry.
|
16
|
+
attr_accessor :username
|
17
|
+
|
18
|
+
# @return [Array<TokenPassword>] The list of passwords for a container
|
19
|
+
# registry.
|
20
|
+
attr_accessor :passwords
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for GenerateCredentialsResult class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'GenerateCredentialsResult',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'GenerateCredentialsResult',
|
35
|
+
model_properties: {
|
36
|
+
username: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'username',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
passwords: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'passwords',
|
48
|
+
type: {
|
49
|
+
name: 'Sequence',
|
50
|
+
element: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'TokenPasswordElementType',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'TokenPassword'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
data/lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb
ADDED
@@ -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_05_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_05_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
|