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
@@ -0,0 +1,104 @@
|
|
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
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ImportImageParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [ImportSource] The source of the image.
|
17
|
+
attr_accessor :source
|
18
|
+
|
19
|
+
# @return [Array<String>] List of strings of the form repo[:tag]. When
|
20
|
+
# tag is omitted the source will be used (or 'latest' if source tag is
|
21
|
+
# also omitted).
|
22
|
+
attr_accessor :target_tags
|
23
|
+
|
24
|
+
# @return [Array<String>] List of strings of repository names to do a
|
25
|
+
# manifest only copy. No tag will be created.
|
26
|
+
attr_accessor :untagged_target_repositories
|
27
|
+
|
28
|
+
# @return [ImportMode] When Force, any existing target tags will be
|
29
|
+
# overwritten. When NoForce, any existing target tags will fail the
|
30
|
+
# operation before any copying begins. Possible values include:
|
31
|
+
# 'NoForce', 'Force'. Default value: 'NoForce' .
|
32
|
+
attr_accessor :mode
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for ImportImageParameters class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'ImportImageParameters',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'ImportImageParameters',
|
47
|
+
model_properties: {
|
48
|
+
source: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: true,
|
51
|
+
serialized_name: 'source',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'ImportSource'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
target_tags: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'targetTags',
|
61
|
+
type: {
|
62
|
+
name: 'Sequence',
|
63
|
+
element: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'StringElementType',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
untagged_target_repositories: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'untaggedTargetRepositories',
|
77
|
+
type: {
|
78
|
+
name: 'Sequence',
|
79
|
+
element: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'StringElementType',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
},
|
89
|
+
mode: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'mode',
|
93
|
+
default_value: 'NoForce',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ImportMode
|
10
|
+
#
|
11
|
+
module ImportMode
|
12
|
+
NoForce = "NoForce"
|
13
|
+
Force = "Force"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,89 @@
|
|
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
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ImportSource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The resource identifier of the source Azure Container
|
17
|
+
# Registry.
|
18
|
+
attr_accessor :resource_id
|
19
|
+
|
20
|
+
# @return [String] The address of the source registry (e.g.
|
21
|
+
# 'mcr.microsoft.com').
|
22
|
+
attr_accessor :registry_uri
|
23
|
+
|
24
|
+
# @return [ImportSourceCredentials] Credentials used when importing from
|
25
|
+
# a registry uri.
|
26
|
+
attr_accessor :credentials
|
27
|
+
|
28
|
+
# @return [String] Repository name of the source image.
|
29
|
+
# Specify an image by repository ('hello-world'). This will use the
|
30
|
+
# 'latest' tag.
|
31
|
+
# Specify an image by tag ('hello-world:latest').
|
32
|
+
# Specify an image by sha256-based manifest digest
|
33
|
+
# ('hello-world@sha256:abc123').
|
34
|
+
attr_accessor :source_image
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for ImportSource class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'ImportSource',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'ImportSource',
|
49
|
+
model_properties: {
|
50
|
+
resource_id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'resourceId',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
registry_uri: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'registryUri',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
credentials: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'credentials',
|
70
|
+
type: {
|
71
|
+
name: 'Composite',
|
72
|
+
class_name: 'ImportSourceCredentials'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
source_image: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: true,
|
78
|
+
serialized_name: 'sourceImage',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb
ADDED
@@ -0,0 +1,59 @@
|
|
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
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ImportSourceCredentials
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The username to authenticate with the source registry.
|
17
|
+
attr_accessor :username
|
18
|
+
|
19
|
+
# @return [String] The password used to authenticate with the source
|
20
|
+
# registry.
|
21
|
+
attr_accessor :password
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ImportSourceCredentials class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'ImportSourceCredentials',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ImportSourceCredentials',
|
36
|
+
model_properties: {
|
37
|
+
username: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'username',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
password: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'password',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,60 @@
|
|
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
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# IP rule with specific IP or IP range in CIDR format.
|
10
|
+
#
|
11
|
+
class IPRule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Action] The action of IP ACL rule. Possible values include:
|
16
|
+
# 'Allow'. Default value: 'Allow' .
|
17
|
+
attr_accessor :action
|
18
|
+
|
19
|
+
# @return [String] Specifies the IP or IP range in CIDR format. Only IPV4
|
20
|
+
# address is allowed.
|
21
|
+
attr_accessor :ipaddress_or_range
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for IPRule class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'IPRule',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'IPRule',
|
36
|
+
model_properties: {
|
37
|
+
action: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'action',
|
41
|
+
default_value: 'Allow',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
ipaddress_or_range: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'value',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,89 @@
|
|
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
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The network rule set for a container registry.
|
10
|
+
#
|
11
|
+
class NetworkRuleSet
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DefaultAction] The default action of allow or deny when no
|
16
|
+
# other rules match. Possible values include: 'Allow', 'Deny'. Default
|
17
|
+
# value: 'Allow' .
|
18
|
+
attr_accessor :default_action
|
19
|
+
|
20
|
+
# @return [Array<VirtualNetworkRule>] The virtual network rules.
|
21
|
+
attr_accessor :virtual_network_rules
|
22
|
+
|
23
|
+
# @return [Array<IPRule>] The IP ACL rules.
|
24
|
+
attr_accessor :ip_rules
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for NetworkRuleSet class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'NetworkRuleSet',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'NetworkRuleSet',
|
39
|
+
model_properties: {
|
40
|
+
default_action: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'defaultAction',
|
44
|
+
default_value: 'Allow',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
virtual_network_rules: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'virtualNetworkRules',
|
53
|
+
type: {
|
54
|
+
name: 'Sequence',
|
55
|
+
element: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'VirtualNetworkRuleElementType',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'VirtualNetworkRule'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
ip_rules: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'ipRules',
|
70
|
+
type: {
|
71
|
+
name: 'Sequence',
|
72
|
+
element: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'IPRuleElementType',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'IPRule'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
@@ -0,0 +1,84 @@
|
|
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
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The definition of a container registry operation.
|
10
|
+
#
|
11
|
+
class OperationDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The origin information of the container registry
|
16
|
+
# operation.
|
17
|
+
attr_accessor :origin
|
18
|
+
|
19
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [OperationDisplayDefinition] The display information for the
|
23
|
+
# container registry operation.
|
24
|
+
attr_accessor :display
|
25
|
+
|
26
|
+
# @return [OperationServiceSpecificationDefinition] The definition of
|
27
|
+
# Azure Monitoring service.
|
28
|
+
attr_accessor :service_specification
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for OperationDefinition 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: 'OperationDefinition',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'OperationDefinition',
|
43
|
+
model_properties: {
|
44
|
+
origin: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'origin',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
name: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'name',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
display: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'display',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'OperationDisplayDefinition'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
service_specification: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'properties.serviceSpecification',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
class_name: 'OperationServiceSpecificationDefinition'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|