azure_mgmt_container_registry 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
- 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/registries.rb +7 -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/models/target.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_container_registry.rb +15 -11
- 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/models/default_action.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source.rb +27 -2
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb +59 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/network_rule_set.rb +69 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb +12 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +12 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/virtual_network_rule.rb +47 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb +11 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb +5 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb +8 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry.rb +72 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_steps.rb +1147 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_tasks.rb +971 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/builds.rb +766 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +143 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency.rb +91 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency_type.rb +16 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_type.rb +17 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build.rb +239 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_argument.rb +84 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_argument_list.rb +99 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_filter.rb +129 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_get_log_result.rb +46 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_list_result.rb +99 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_status.rb +22 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step.rb +76 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_list.rb +99 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties.rb +60 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties_update_parameters.rb +46 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_update_parameters.rb +69 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb +178 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_build_request.rb +62 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_filter.rb +46 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_list_result.rb +99 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_status.rb +16 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb +118 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_type.rb +16 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_update_parameters.rb +47 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step.rb +197 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb +163 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb +90 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/image_descriptor.rb +79 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/image_update_trigger.rb +78 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/os_type.rb +16 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb +59 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb +72 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/queue_build_request.rb +47 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/quick_build_request.rb +173 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/resource.rb +111 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_control_auth_info.rb +92 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_control_type.rb +16 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_repository_properties.rb +84 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_repository_update_parameters.rb +60 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_upload_definition.rb +58 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/token_type.rb +16 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/registries.rb +287 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry.rb +86 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +139 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/agent_properties.rb +47 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/architecture.rb +17 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/argument.rb +70 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/auth_info.rb +92 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/auth_info_update_parameters.rb +92 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_dependency.rb +91 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_dependency_type.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger.rb +70 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger_type.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb +70 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/docker_build_request.rb +193 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/docker_build_step.rb +163 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb +142 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/encoded_task_run_request.rb +159 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/encoded_task_step.rb +129 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/encoded_task_step_update_parameters.rb +111 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_run_request.rb +159 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step.rb +129 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb +111 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/image_descriptor.rb +79 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/image_update_trigger.rb +78 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/os.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_properties.rb +71 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb +71 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/proxy_resource.rb +72 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/resource.rb +111 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run.rb +252 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb +129 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_get_log_result.rb +47 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_list_result.rb +99 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_request.rb +62 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_status.rb +22 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_type.rb +18 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_update_parameters.rb +47 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/set_value.rb +71 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_control_type.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_properties.rb +83 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger.rb +91 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger_descriptor.rb +112 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger_event.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger_update_parameters.rb +91 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_update_parameters.rb +83 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_upload_definition.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task.rb +193 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_list_result.rb +99 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_run_request.rb +91 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_status.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb +94 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb +72 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_update_parameters.rb +130 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/token_type.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/trigger_properties.rb +69 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/trigger_status.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/trigger_update_parameters.rb +69 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/variant.rb +17 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/registries.rb +289 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/runs.rb +766 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_registry/tasks.rb +938 -0
- data/lib/azure_mgmt_container_registry.rb +2 -0
- data/lib/profiles/latest/modules/containerregistry_profile_module.rb +288 -44
- data/lib/version.rb +1 -1
- metadata +116 -2
@@ -0,0 +1,47 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The result of get log link operation.
|
10
|
+
#
|
11
|
+
class RunGetLogResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The link to logs for a run on a azure container
|
16
|
+
# registry.
|
17
|
+
attr_accessor :log_link
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for RunGetLogResult 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: 'RunGetLogResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'RunGetLogResult',
|
32
|
+
model_properties: {
|
33
|
+
log_link: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'logLink',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Collection of runs.
|
10
|
+
#
|
11
|
+
class RunListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Run>] The collection value.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The URI that can be used to request the next set of
|
20
|
+
# paged results.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<Run>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [RunListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for RunListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'RunListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'RunListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'RunElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Run'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,62 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The request parameters for scheduling a run.
|
10
|
+
#
|
11
|
+
class RunRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
@@discriminatorMap = Hash.new
|
16
|
+
@@discriminatorMap["DockerBuildRequest"] = "DockerBuildRequest"
|
17
|
+
@@discriminatorMap["FileTaskRunRequest"] = "FileTaskRunRequest"
|
18
|
+
@@discriminatorMap["TaskRunRequest"] = "TaskRunRequest"
|
19
|
+
@@discriminatorMap["EncodedTaskRunRequest"] = "EncodedTaskRunRequest"
|
20
|
+
|
21
|
+
def initialize
|
22
|
+
@type = "RunRequest"
|
23
|
+
end
|
24
|
+
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
# @return [Boolean] The value that indicates whether archiving is enabled
|
28
|
+
# for the run or not. Default value: false .
|
29
|
+
attr_accessor :is_archive_enabled
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for RunRequest 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: 'RunRequest',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
polymorphic_discriminator: 'type',
|
44
|
+
uber_parent: 'RunRequest',
|
45
|
+
class_name: 'RunRequest',
|
46
|
+
model_properties: {
|
47
|
+
is_archive_enabled: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'isArchiveEnabled',
|
51
|
+
default_value: false,
|
52
|
+
type: {
|
53
|
+
name: 'Boolean'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,22 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for RunStatus
|
10
|
+
#
|
11
|
+
module RunStatus
|
12
|
+
Queued = "Queued"
|
13
|
+
Started = "Started"
|
14
|
+
Running = "Running"
|
15
|
+
Succeeded = "Succeeded"
|
16
|
+
Failed = "Failed"
|
17
|
+
Canceled = "Canceled"
|
18
|
+
Error = "Error"
|
19
|
+
Timeout = "Timeout"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerRegistry::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for RunType
|
10
|
+
#
|
11
|
+
module RunType
|
12
|
+
QuickBuild = "QuickBuild"
|
13
|
+
QuickRun = "QuickRun"
|
14
|
+
AutoBuild = "AutoBuild"
|
15
|
+
AutoRun = "AutoRun"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The set of run properties that can be updated.
|
10
|
+
#
|
11
|
+
class RunUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] The value that indicates whether archiving is enabled
|
16
|
+
# or not.
|
17
|
+
attr_accessor :is_archive_enabled
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for RunUpdateParameters 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: 'RunUpdateParameters',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'RunUpdateParameters',
|
32
|
+
model_properties: {
|
33
|
+
is_archive_enabled: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'isArchiveEnabled',
|
37
|
+
type: {
|
38
|
+
name: 'Boolean'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The properties of a overridable value that can be passed to a task
|
10
|
+
# template.
|
11
|
+
#
|
12
|
+
class SetValue
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The name of the overridable value.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] The overridable value.
|
20
|
+
attr_accessor :value
|
21
|
+
|
22
|
+
# @return [Boolean] Flag to indicate whether the value represents a
|
23
|
+
# secret or not. Default value: false .
|
24
|
+
attr_accessor :is_secret
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for SetValue 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: 'SetValue',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'SetValue',
|
39
|
+
model_properties: {
|
40
|
+
name: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
value: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: true,
|
51
|
+
serialized_name: 'value',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
is_secret: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'isSecret',
|
60
|
+
default_value: false,
|
61
|
+
type: {
|
62
|
+
name: 'Boolean'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for SourceControlType
|
10
|
+
#
|
11
|
+
module SourceControlType
|
12
|
+
Github = "Github"
|
13
|
+
VisualStudioTeamService = "VisualStudioTeamService"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The properties of the source code repository.
|
10
|
+
#
|
11
|
+
class SourceProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [SourceControlType] The type of source control service.
|
16
|
+
# Possible values include: 'Github', 'VisualStudioTeamService'
|
17
|
+
attr_accessor :source_control_type
|
18
|
+
|
19
|
+
# @return [String] The full URL to the source code repository
|
20
|
+
attr_accessor :repository_url
|
21
|
+
|
22
|
+
# @return [String] The branch name of the source code.
|
23
|
+
attr_accessor :branch
|
24
|
+
|
25
|
+
# @return [AuthInfo] The authorization properties for accessing the
|
26
|
+
# source code repository and to set up
|
27
|
+
# webhooks for notifications.
|
28
|
+
attr_accessor :source_control_auth_properties
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for SourceProperties 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: 'SourceProperties',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'SourceProperties',
|
43
|
+
model_properties: {
|
44
|
+
source_control_type: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: true,
|
47
|
+
serialized_name: 'sourceControlType',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
repository_url: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: true,
|
55
|
+
serialized_name: 'repositoryUrl',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
branch: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'branch',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
source_control_auth_properties: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'sourceControlAuthProperties',
|
72
|
+
type: {
|
73
|
+
name: 'Composite',
|
74
|
+
class_name: 'AuthInfo'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|