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.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  3. data/lib/2017-03-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  4. data/lib/2017-03-01/generated/azure_mgmt_container_registry/registries.rb +7 -0
  5. data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  6. data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/target.rb +1 -1
  7. data/lib/2017-10-01/generated/azure_mgmt_container_registry.rb +15 -11
  8. data/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -1
  9. data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/default_action.rb +16 -0
  10. data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source.rb +27 -2
  11. data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb +59 -0
  12. data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/network_rule_set.rb +69 -0
  13. data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb +12 -0
  14. data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +12 -0
  15. data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/virtual_network_rule.rb +47 -0
  16. data/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb +11 -0
  17. data/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb +5 -0
  18. data/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb +8 -0
  19. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry.rb +72 -0
  20. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_steps.rb +1147 -0
  21. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_tasks.rb +971 -0
  22. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/builds.rb +766 -0
  23. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +143 -0
  24. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency.rb +91 -0
  25. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency_type.rb +16 -0
  26. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_type.rb +17 -0
  27. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build.rb +239 -0
  28. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_argument.rb +84 -0
  29. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_argument_list.rb +99 -0
  30. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_filter.rb +129 -0
  31. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_get_log_result.rb +46 -0
  32. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_list_result.rb +99 -0
  33. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_status.rb +22 -0
  34. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step.rb +76 -0
  35. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_list.rb +99 -0
  36. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties.rb +60 -0
  37. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties_update_parameters.rb +46 -0
  38. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_update_parameters.rb +69 -0
  39. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task.rb +178 -0
  40. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_build_request.rb +62 -0
  41. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_filter.rb +46 -0
  42. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_list_result.rb +99 -0
  43. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_status.rb +16 -0
  44. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_task_update_parameters.rb +118 -0
  45. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_type.rb +16 -0
  46. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_update_parameters.rb +47 -0
  47. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step.rb +197 -0
  48. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb +163 -0
  49. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb +90 -0
  50. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/image_descriptor.rb +79 -0
  51. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/image_update_trigger.rb +78 -0
  52. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/os_type.rb +16 -0
  53. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb +59 -0
  54. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
  55. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb +72 -0
  56. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/queue_build_request.rb +47 -0
  57. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/quick_build_request.rb +173 -0
  58. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/resource.rb +111 -0
  59. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_control_auth_info.rb +92 -0
  60. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_control_type.rb +16 -0
  61. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_repository_properties.rb +84 -0
  62. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_repository_update_parameters.rb +60 -0
  63. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_upload_definition.rb +58 -0
  64. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/token_type.rb +16 -0
  65. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
  66. data/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/registries.rb +287 -0
  67. data/lib/2018-09-01/generated/azure_mgmt_container_registry.rb +86 -0
  68. data/lib/2018-09-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +139 -0
  69. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/agent_properties.rb +47 -0
  70. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/architecture.rb +17 -0
  71. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/argument.rb +70 -0
  72. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/auth_info.rb +92 -0
  73. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/auth_info_update_parameters.rb +92 -0
  74. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_dependency.rb +91 -0
  75. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_dependency_type.rb +16 -0
  76. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger.rb +70 -0
  77. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger_type.rb +16 -0
  78. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb +70 -0
  79. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/docker_build_request.rb +193 -0
  80. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/docker_build_step.rb +163 -0
  81. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb +142 -0
  82. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/encoded_task_run_request.rb +159 -0
  83. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/encoded_task_step.rb +129 -0
  84. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/encoded_task_step_update_parameters.rb +111 -0
  85. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_run_request.rb +159 -0
  86. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step.rb +129 -0
  87. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb +111 -0
  88. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/image_descriptor.rb +79 -0
  89. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/image_update_trigger.rb +78 -0
  90. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/os.rb +16 -0
  91. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_properties.rb +71 -0
  92. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb +71 -0
  93. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
  94. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/proxy_resource.rb +72 -0
  95. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/resource.rb +111 -0
  96. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run.rb +252 -0
  97. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb +129 -0
  98. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_get_log_result.rb +47 -0
  99. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_list_result.rb +99 -0
  100. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_request.rb +62 -0
  101. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_status.rb +22 -0
  102. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_type.rb +18 -0
  103. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_update_parameters.rb +47 -0
  104. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/set_value.rb +71 -0
  105. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_control_type.rb +16 -0
  106. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_properties.rb +83 -0
  107. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger.rb +91 -0
  108. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger_descriptor.rb +112 -0
  109. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger_event.rb +16 -0
  110. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_trigger_update_parameters.rb +91 -0
  111. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_update_parameters.rb +83 -0
  112. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_upload_definition.rb +58 -0
  113. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task.rb +193 -0
  114. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_list_result.rb +99 -0
  115. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_run_request.rb +91 -0
  116. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_status.rb +16 -0
  117. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_properties.rb +94 -0
  118. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb +72 -0
  119. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_update_parameters.rb +130 -0
  120. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/token_type.rb +16 -0
  121. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/trigger_properties.rb +69 -0
  122. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/trigger_status.rb +16 -0
  123. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/trigger_update_parameters.rb +69 -0
  124. data/lib/2018-09-01/generated/azure_mgmt_container_registry/models/variant.rb +17 -0
  125. data/lib/2018-09-01/generated/azure_mgmt_container_registry/module_definition.rb +9 -0
  126. data/lib/2018-09-01/generated/azure_mgmt_container_registry/registries.rb +289 -0
  127. data/lib/2018-09-01/generated/azure_mgmt_container_registry/runs.rb +766 -0
  128. data/lib/2018-09-01/generated/azure_mgmt_container_registry/tasks.rb +938 -0
  129. data/lib/azure_mgmt_container_registry.rb +2 -0
  130. data/lib/profiles/latest/modules/containerregistry_profile_module.rb +288 -44
  131. data/lib/version.rb +1 -1
  132. metadata +116 -2
@@ -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_09_01
7
+ module Models
8
+ #
9
+ # The properties of a encoded task step.
10
+ #
11
+ class EncodedTaskStep < TaskStepProperties
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "EncodedTask"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [String] Base64 encoded value of the template/definition file
23
+ # content.
24
+ attr_accessor :encoded_task_content
25
+
26
+ # @return [String] Base64 encoded value of the parameters/values file
27
+ # content.
28
+ attr_accessor :encoded_values_content
29
+
30
+ # @return [Array<SetValue>] The collection of overridable values that can
31
+ # be passed when running a task.
32
+ attr_accessor :values
33
+
34
+
35
+ #
36
+ # Mapper for EncodedTaskStep class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'EncodedTask',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'EncodedTaskStep',
47
+ model_properties: {
48
+ base_image_dependencies: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'baseImageDependencies',
53
+ type: {
54
+ name: 'Sequence',
55
+ element: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'BaseImageDependencyElementType',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'BaseImageDependency'
62
+ }
63
+ }
64
+ }
65
+ },
66
+ context_path: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'contextPath',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ context_access_token: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'contextAccessToken',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ type: {
83
+ client_side_validation: true,
84
+ required: true,
85
+ serialized_name: 'type',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ encoded_task_content: {
91
+ client_side_validation: true,
92
+ required: true,
93
+ serialized_name: 'encodedTaskContent',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ encoded_values_content: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'encodedValuesContent',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ values: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'values',
110
+ type: {
111
+ name: 'Sequence',
112
+ element: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'SetValueElementType',
116
+ type: {
117
+ name: 'Composite',
118
+ class_name: 'SetValue'
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ end
127
+ end
128
+ end
129
+ end
@@ -0,0 +1,111 @@
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 for updating encoded task step.
10
+ #
11
+ class EncodedTaskStepUpdateParameters < TaskStepUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "EncodedTask"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [String] Base64 encoded value of the template/definition file
23
+ # content.
24
+ attr_accessor :encoded_task_content
25
+
26
+ # @return [String] Base64 encoded value of the parameters/values file
27
+ # content.
28
+ attr_accessor :encoded_values_content
29
+
30
+ # @return [Array<SetValue>] The collection of overridable values that can
31
+ # be passed when running a task.
32
+ attr_accessor :values
33
+
34
+
35
+ #
36
+ # Mapper for EncodedTaskStepUpdateParameters class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'EncodedTask',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'EncodedTaskStepUpdateParameters',
47
+ model_properties: {
48
+ context_path: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'contextPath',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ context_access_token: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'contextAccessToken',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ type: {
65
+ client_side_validation: true,
66
+ required: true,
67
+ serialized_name: 'type',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ encoded_task_content: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'encodedTaskContent',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ encoded_values_content: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'encodedValuesContent',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ values: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'values',
92
+ type: {
93
+ name: 'Sequence',
94
+ element: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'SetValueElementType',
98
+ type: {
99
+ name: 'Composite',
100
+ class_name: 'SetValue'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ end
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,159 @@
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 a scheduling run against a task file.
10
+ #
11
+ class FileTaskRunRequest < RunRequest
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "FileTaskRunRequest"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [String] The template/definition file path relative to the
23
+ # source.
24
+ attr_accessor :task_file_path
25
+
26
+ # @return [String] The values/parameters file path relative to the
27
+ # source.
28
+ attr_accessor :values_file_path
29
+
30
+ # @return [Array<SetValue>] The collection of overridable values that can
31
+ # be passed when running a task.
32
+ attr_accessor :values
33
+
34
+ # @return [Integer] Run timeout in seconds. Default value: 3600 .
35
+ attr_accessor :timeout
36
+
37
+ # @return [PlatformProperties] The platform properties against which the
38
+ # run has to happen.
39
+ attr_accessor :platform
40
+
41
+ # @return [AgentProperties] The machine configuration of the run agent.
42
+ attr_accessor :agent_configuration
43
+
44
+ # @return [String] The URL(absolute or relative) of the source context.
45
+ # It can be an URL to a tar or git repository.
46
+ # If it is relative URL, the relative path should be obtained from
47
+ # calling listBuildSourceUploadUrl API.
48
+ attr_accessor :source_location
49
+
50
+
51
+ #
52
+ # Mapper for FileTaskRunRequest class as Ruby Hash.
53
+ # This will be used for serialization/deserialization.
54
+ #
55
+ def self.mapper()
56
+ {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'FileTaskRunRequest',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'FileTaskRunRequest',
63
+ model_properties: {
64
+ is_archive_enabled: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'isArchiveEnabled',
68
+ default_value: false,
69
+ type: {
70
+ name: 'Boolean'
71
+ }
72
+ },
73
+ type: {
74
+ client_side_validation: true,
75
+ required: true,
76
+ serialized_name: 'type',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ task_file_path: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'taskFilePath',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ values_file_path: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'valuesFilePath',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ values: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'values',
101
+ type: {
102
+ name: 'Sequence',
103
+ element: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'SetValueElementType',
107
+ type: {
108
+ name: 'Composite',
109
+ class_name: 'SetValue'
110
+ }
111
+ }
112
+ }
113
+ },
114
+ timeout: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'timeout',
118
+ default_value: 3600,
119
+ constraints: {
120
+ InclusiveMaximum: 28800,
121
+ InclusiveMinimum: 300
122
+ },
123
+ type: {
124
+ name: 'Number'
125
+ }
126
+ },
127
+ platform: {
128
+ client_side_validation: true,
129
+ required: true,
130
+ serialized_name: 'platform',
131
+ type: {
132
+ name: 'Composite',
133
+ class_name: 'PlatformProperties'
134
+ }
135
+ },
136
+ agent_configuration: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ serialized_name: 'agentConfiguration',
140
+ type: {
141
+ name: 'Composite',
142
+ class_name: 'AgentProperties'
143
+ }
144
+ },
145
+ source_location: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ serialized_name: 'sourceLocation',
149
+ type: {
150
+ name: 'String'
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ end
157
+ end
158
+ end
159
+ 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_09_01
7
+ module Models
8
+ #
9
+ # The properties of a task step.
10
+ #
11
+ class FileTaskStep < TaskStepProperties
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "FileTask"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [String] The task template/definition file path relative to the
23
+ # source context.
24
+ attr_accessor :task_file_path
25
+
26
+ # @return [String] The task values/parameters file path relative to the
27
+ # source context.
28
+ attr_accessor :values_file_path
29
+
30
+ # @return [Array<SetValue>] The collection of overridable values that can
31
+ # be passed when running a task.
32
+ attr_accessor :values
33
+
34
+
35
+ #
36
+ # Mapper for FileTaskStep class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'FileTask',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'FileTaskStep',
47
+ model_properties: {
48
+ base_image_dependencies: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'baseImageDependencies',
53
+ type: {
54
+ name: 'Sequence',
55
+ element: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'BaseImageDependencyElementType',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'BaseImageDependency'
62
+ }
63
+ }
64
+ }
65
+ },
66
+ context_path: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'contextPath',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ context_access_token: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'contextAccessToken',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ type: {
83
+ client_side_validation: true,
84
+ required: true,
85
+ serialized_name: 'type',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ task_file_path: {
91
+ client_side_validation: true,
92
+ required: true,
93
+ serialized_name: 'taskFilePath',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ values_file_path: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'valuesFilePath',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ values: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'values',
110
+ type: {
111
+ name: 'Sequence',
112
+ element: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'SetValueElementType',
116
+ type: {
117
+ name: 'Composite',
118
+ class_name: 'SetValue'
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ end
127
+ end
128
+ end
129
+ end