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,84 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerRegistry::Mgmt::V2018_02_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of a build argument.
|
10
|
+
#
|
11
|
+
class BuildArgument
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The type of the argument. Default value:
|
16
|
+
# 'DockerBuildArgument' .
|
17
|
+
attr_accessor :type
|
18
|
+
|
19
|
+
# @return [String] The name of the argument.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [String] The value of the argument.
|
23
|
+
attr_accessor :value
|
24
|
+
|
25
|
+
# @return [Boolean] Flag to indicate whether the argument represents a
|
26
|
+
# secret and want to be removed from build logs. Default value: false .
|
27
|
+
attr_accessor :is_secret
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for BuildArgument class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'BuildArgument',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'BuildArgument',
|
42
|
+
model_properties: {
|
43
|
+
type: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: true,
|
46
|
+
is_constant: true,
|
47
|
+
serialized_name: 'type',
|
48
|
+
default_value: 'DockerBuildArgument',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
name: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: true,
|
56
|
+
serialized_name: 'name',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
value: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: true,
|
64
|
+
serialized_name: 'value',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
is_secret: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'isSecret',
|
73
|
+
default_value: false,
|
74
|
+
type: {
|
75
|
+
name: 'Boolean'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_argument_list.rb
ADDED
@@ -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_02_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list of build arguments for a build step.
|
10
|
+
#
|
11
|
+
class BuildArgumentList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<BuildArgument>] 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<BuildArgument>] 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 [BuildArgumentList] 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 BuildArgumentList 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: 'BuildArgumentList',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'BuildArgumentList',
|
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: 'BuildArgumentElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'BuildArgument'
|
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,129 @@
|
|
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_02_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties that are enabled for Odata querying.
|
10
|
+
#
|
11
|
+
class BuildFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The unique identifier for the build.
|
16
|
+
attr_accessor :build_id
|
17
|
+
|
18
|
+
# @return [BuildType] The type of build. Possible values include:
|
19
|
+
# 'AutoBuild', 'QuickBuild'
|
20
|
+
attr_accessor :build_type
|
21
|
+
|
22
|
+
# @return [BuildStatus] The current status of the build. Possible values
|
23
|
+
# include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed',
|
24
|
+
# 'Canceled', 'Error', 'Timeout'
|
25
|
+
attr_accessor :status
|
26
|
+
|
27
|
+
# @return [DateTime] The create time for a build.
|
28
|
+
attr_accessor :create_time
|
29
|
+
|
30
|
+
# @return [DateTime] The time the build finished.
|
31
|
+
attr_accessor :finish_time
|
32
|
+
|
33
|
+
# @return [String] The list of comma-separated image manifests that were
|
34
|
+
# generated from the build.
|
35
|
+
attr_accessor :output_image_manifests
|
36
|
+
|
37
|
+
# @return [Boolean] The value that indicates whether archiving is enabled
|
38
|
+
# or not.
|
39
|
+
attr_accessor :is_archive_enabled
|
40
|
+
|
41
|
+
# @return [String] The name of the build task that the build corresponds
|
42
|
+
# to.
|
43
|
+
attr_accessor :build_task_name
|
44
|
+
|
45
|
+
|
46
|
+
#
|
47
|
+
# Mapper for BuildFilter class as Ruby Hash.
|
48
|
+
# This will be used for serialization/deserialization.
|
49
|
+
#
|
50
|
+
def self.mapper()
|
51
|
+
{
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'BuildFilter',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'BuildFilter',
|
58
|
+
model_properties: {
|
59
|
+
build_id: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'buildId',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
build_type: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'buildType',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
status: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'status',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
create_time: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'createTime',
|
87
|
+
type: {
|
88
|
+
name: 'DateTime'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
finish_time: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'finishTime',
|
95
|
+
type: {
|
96
|
+
name: 'DateTime'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
output_image_manifests: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'outputImageManifests',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
is_archive_enabled: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'isArchiveEnabled',
|
111
|
+
type: {
|
112
|
+
name: 'Boolean'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
build_task_name: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'buildTaskName',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_get_log_result.rb
ADDED
@@ -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::V2018_02_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The result of get log link operation.
|
10
|
+
#
|
11
|
+
class BuildGetLogResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The link to logs for a azure container registry build.
|
16
|
+
attr_accessor :log_link
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for BuildGetLogResult 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: 'BuildGetLogResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'BuildGetLogResult',
|
31
|
+
model_properties: {
|
32
|
+
log_link: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'logLink',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_list_result.rb
ADDED
@@ -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_02_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Collection of builds.
|
10
|
+
#
|
11
|
+
class BuildListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Build>] 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<Build>] 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 [BuildListResult] 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 BuildListResult 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: 'BuildListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'BuildListResult',
|
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: 'BuildElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Build'
|
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
|