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
data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb
ADDED
@@ -0,0 +1,66 @@
|
|
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
|
+
# A request to check whether a container registry name is available.
|
10
|
+
#
|
11
|
+
class RegistryNameCheckRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the container registry.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The resource type of the container registry. This
|
19
|
+
# field must be set to 'Microsoft.ContainerRegistry/registries'. Default
|
20
|
+
# value: 'Microsoft.ContainerRegistry/registries' .
|
21
|
+
attr_accessor :type
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for RegistryNameCheckRequest 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: 'RegistryNameCheckRequest',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'RegistryNameCheckRequest',
|
36
|
+
model_properties: {
|
37
|
+
name: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'name',
|
41
|
+
constraints: {
|
42
|
+
MaxLength: 50,
|
43
|
+
MinLength: 5,
|
44
|
+
Pattern: '^[a-zA-Z0-9]*$'
|
45
|
+
},
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
type: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
is_constant: true,
|
54
|
+
serialized_name: 'type',
|
55
|
+
default_value: 'Microsoft.ContainerRegistry/registries',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -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_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The result of a request to check the availability of a container registry
|
10
|
+
# name.
|
11
|
+
#
|
12
|
+
class RegistryNameStatus
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Boolean] The value that indicates whether the name is
|
17
|
+
# available.
|
18
|
+
attr_accessor :name_available
|
19
|
+
|
20
|
+
# @return [String] If any, the reason that the name is not available.
|
21
|
+
attr_accessor :reason
|
22
|
+
|
23
|
+
# @return [String] If any, the error message that provides more detail
|
24
|
+
# for the reason that the name is not available.
|
25
|
+
attr_accessor :message
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for RegistryNameStatus 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: 'RegistryNameStatus',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'RegistryNameStatus',
|
40
|
+
model_properties: {
|
41
|
+
name_available: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'nameAvailable',
|
45
|
+
type: {
|
46
|
+
name: 'Boolean'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
reason: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'reason',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
message: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'message',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -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
|
+
# The login password for the container registry.
|
10
|
+
#
|
11
|
+
class RegistryPassword
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [PasswordName] The password name. Possible values include:
|
16
|
+
# 'password', 'password2'
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] The password value.
|
20
|
+
attr_accessor :value
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for RegistryPassword 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: 'RegistryPassword',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'RegistryPassword',
|
35
|
+
model_properties: {
|
36
|
+
name: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'name',
|
40
|
+
type: {
|
41
|
+
name: 'Enum',
|
42
|
+
module: 'PasswordName'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
value: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'value',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb
ADDED
@@ -0,0 +1,102 @@
|
|
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 parameters for updating a container registry.
|
10
|
+
#
|
11
|
+
class RegistryUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] The tags for the container registry.
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [Sku] The SKU of the container registry.
|
19
|
+
attr_accessor :sku
|
20
|
+
|
21
|
+
# @return [Boolean] The value that indicates whether the admin user is
|
22
|
+
# enabled.
|
23
|
+
attr_accessor :admin_user_enabled
|
24
|
+
|
25
|
+
# @return [NetworkRuleSet] The network rule set for a container registry.
|
26
|
+
attr_accessor :network_rule_set
|
27
|
+
|
28
|
+
# @return [Policies] The policies for a container registry.
|
29
|
+
attr_accessor :policies
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for RegistryUpdateParameters class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'RegistryUpdateParameters',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'RegistryUpdateParameters',
|
44
|
+
model_properties: {
|
45
|
+
tags: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'tags',
|
49
|
+
type: {
|
50
|
+
name: 'Dictionary',
|
51
|
+
value: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'StringElementType',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
sku: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'sku',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'Sku'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
admin_user_enabled: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'properties.adminUserEnabled',
|
74
|
+
type: {
|
75
|
+
name: 'Boolean'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
network_rule_set: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'properties.networkRuleSet',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'NetworkRuleSet'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
policies: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'properties.policies',
|
91
|
+
type: {
|
92
|
+
name: 'Composite',
|
93
|
+
class_name: 'Policies'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,80 @@
|
|
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 quota usage for a container registry.
|
10
|
+
#
|
11
|
+
class RegistryUsage
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the usage.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [Integer] The limit of the usage.
|
19
|
+
attr_accessor :limit
|
20
|
+
|
21
|
+
# @return [Integer] The current value of the usage.
|
22
|
+
attr_accessor :current_value
|
23
|
+
|
24
|
+
# @return [RegistryUsageUnit] The unit of measurement. Possible values
|
25
|
+
# include: 'Count', 'Bytes'
|
26
|
+
attr_accessor :unit
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for RegistryUsage class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'RegistryUsage',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'RegistryUsage',
|
41
|
+
model_properties: {
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
limit: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'limit',
|
54
|
+
type: {
|
55
|
+
name: 'Number'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
current_value: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'currentValue',
|
62
|
+
type: {
|
63
|
+
name: 'Number'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
unit: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'unit',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
data/lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb
ADDED
@@ -0,0 +1,56 @@
|
|
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 result of a request to get container registry quota usages.
|
10
|
+
#
|
11
|
+
class RegistryUsageListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<RegistryUsage>] The list of container registry quota
|
16
|
+
# usages.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for RegistryUsageListResult class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'RegistryUsageListResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'RegistryUsageListResult',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'RegistryUsageElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'RegistryUsage'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
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 RegistryUsageUnit
|
10
|
+
#
|
11
|
+
module RegistryUsageUnit
|
12
|
+
Count = "Count"
|
13
|
+
Bytes = "Bytes"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|