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,120 @@
|
|
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 content of the event request message.
|
10
|
+
#
|
11
|
+
class EventContent
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The event ID.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [DateTime] The time at which the event occurred.
|
19
|
+
attr_accessor :timestamp
|
20
|
+
|
21
|
+
# @return [String] The action that encompasses the provided event.
|
22
|
+
attr_accessor :action
|
23
|
+
|
24
|
+
# @return [Target] The target of the event.
|
25
|
+
attr_accessor :target
|
26
|
+
|
27
|
+
# @return [Request] The request that generated the event.
|
28
|
+
attr_accessor :request
|
29
|
+
|
30
|
+
# @return [Actor] The agent that initiated the event. For most
|
31
|
+
# situations, this could be from the authorization context of the
|
32
|
+
# request.
|
33
|
+
attr_accessor :actor
|
34
|
+
|
35
|
+
# @return [Source] The registry node that generated the event. Put
|
36
|
+
# differently, while the actor initiates the event, the source generates
|
37
|
+
# it.
|
38
|
+
attr_accessor :source
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for EventContent class as Ruby Hash.
|
43
|
+
# This will be used for serialization/deserialization.
|
44
|
+
#
|
45
|
+
def self.mapper()
|
46
|
+
{
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'EventContent',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'EventContent',
|
53
|
+
model_properties: {
|
54
|
+
id: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'id',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
timestamp: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'timestamp',
|
66
|
+
type: {
|
67
|
+
name: 'DateTime'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
action: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'action',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
target: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'target',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'Target'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
request: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'request',
|
91
|
+
type: {
|
92
|
+
name: 'Composite',
|
93
|
+
class_name: 'Request'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
actor: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'actor',
|
100
|
+
type: {
|
101
|
+
name: 'Composite',
|
102
|
+
class_name: 'Actor'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
source: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'source',
|
109
|
+
type: {
|
110
|
+
name: 'Composite',
|
111
|
+
class_name: 'Source'
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
@@ -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
|
+
module Azure::ContainerRegistry::Mgmt::V2019_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The basic information of an event.
|
10
|
+
#
|
11
|
+
class EventInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The event ID.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for EventInfo class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'EventInfo',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'EventInfo',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'id',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,101 @@
|
|
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 list events for a webhook.
|
10
|
+
#
|
11
|
+
class EventListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Event>] The list of events. Since this list may be
|
17
|
+
# incomplete, the nextLink field should be used to request the next list
|
18
|
+
# of events.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] The URI that can be used to request the next list of
|
22
|
+
# events.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<Event>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [EventListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for EventListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'EventListResult',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'EventListResult',
|
69
|
+
model_properties: {
|
70
|
+
value: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'value',
|
74
|
+
type: {
|
75
|
+
name: 'Sequence',
|
76
|
+
element: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'EventElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'Event'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
},
|
87
|
+
next_link: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,101 @@
|
|
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 event request message sent to the service URI.
|
10
|
+
#
|
11
|
+
class EventRequestMessage
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [EventContent] The content of the event request message.
|
16
|
+
attr_accessor :content
|
17
|
+
|
18
|
+
# @return [Hash{String => String}] The headers of the event request
|
19
|
+
# message.
|
20
|
+
attr_accessor :headers
|
21
|
+
|
22
|
+
# @return [String] The HTTP method used to send the event request
|
23
|
+
# message.
|
24
|
+
attr_accessor :method
|
25
|
+
|
26
|
+
# @return [String] The URI used to send the event request message.
|
27
|
+
attr_accessor :request_uri
|
28
|
+
|
29
|
+
# @return [String] The HTTP message version.
|
30
|
+
attr_accessor :version
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for EventRequestMessage class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'EventRequestMessage',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'EventRequestMessage',
|
45
|
+
model_properties: {
|
46
|
+
content: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'content',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'EventContent'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
headers: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'headers',
|
59
|
+
type: {
|
60
|
+
name: 'Dictionary',
|
61
|
+
value: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'StringElementType',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
method: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'method',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
request_uri: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'requestUri',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
version: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'version',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,99 @@
|
|
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 event response message received from the service URI.
|
10
|
+
#
|
11
|
+
class EventResponseMessage
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The content of the event response message.
|
16
|
+
attr_accessor :content
|
17
|
+
|
18
|
+
# @return [Hash{String => String}] The headers of the event response
|
19
|
+
# message.
|
20
|
+
attr_accessor :headers
|
21
|
+
|
22
|
+
# @return [String] The reason phrase of the event response message.
|
23
|
+
attr_accessor :reason_phrase
|
24
|
+
|
25
|
+
# @return [String] The status code of the event response message.
|
26
|
+
attr_accessor :status_code
|
27
|
+
|
28
|
+
# @return [String] The HTTP message version.
|
29
|
+
attr_accessor :version
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for EventResponseMessage 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: 'EventResponseMessage',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'EventResponseMessage',
|
44
|
+
model_properties: {
|
45
|
+
content: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'content',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
headers: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'headers',
|
57
|
+
type: {
|
58
|
+
name: 'Dictionary',
|
59
|
+
value: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'StringElementType',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
reason_phrase: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'reasonPhrase',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
status_code: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'statusCode',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
version: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'version',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|