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,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_02_01_preview
7
+ module Models
8
+ #
9
+ # The queue build parameters based on a build task.
10
+ #
11
+ class BuildTaskBuildRequest < QueueBuildRequest
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "BuildTask"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [String] The name of build task against which build has to be
23
+ # queued.
24
+ attr_accessor :build_task_name
25
+
26
+
27
+ #
28
+ # Mapper for BuildTaskBuildRequest 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: 'BuildTask',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'BuildTaskBuildRequest',
39
+ model_properties: {
40
+ type: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'type',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ build_task_name: {
49
+ client_side_validation: true,
50
+ required: true,
51
+ serialized_name: 'buildTaskName',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ 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::V2018_02_01_preview
7
+ module Models
8
+ #
9
+ # The filter that can be used for listing build tasks.
10
+ #
11
+ class BuildTaskFilter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The alternative name for build task.
16
+ attr_accessor :alias_property
17
+
18
+
19
+ #
20
+ # Mapper for BuildTaskFilter 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: 'BuildTaskFilter',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'BuildTaskFilter',
31
+ model_properties: {
32
+ alias_property: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'alias',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ 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_02_01_preview
7
+ module Models
8
+ #
9
+ # The collection of build tasks.
10
+ #
11
+ class BuildTaskListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<BuildTask>] 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<BuildTask>] 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 [BuildTaskListResult] 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 BuildTaskListResult 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: 'BuildTaskListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'BuildTaskListResult',
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: 'BuildTaskElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'BuildTask'
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,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_02_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for BuildTaskStatus
10
+ #
11
+ module BuildTaskStatus
12
+ Disabled = "Disabled"
13
+ Enabled = "Enabled"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,118 @@
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 parameters for updating a build task.
10
+ #
11
+ class BuildTaskUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The alternative updatable name for a build task.
16
+ attr_accessor :alias_property
17
+
18
+ # @return [BuildTaskStatus] The current status of build task. Possible
19
+ # values include: 'Disabled', 'Enabled'
20
+ attr_accessor :status
21
+
22
+ # @return [PlatformProperties] The platform properties against which the
23
+ # build has to happen.
24
+ attr_accessor :platform
25
+
26
+ # @return [Integer] Build timeout in seconds.
27
+ attr_accessor :timeout
28
+
29
+ # @return [SourceRepositoryUpdateParameters] The properties that
30
+ # describes the source(code) for the build task.
31
+ attr_accessor :source_repository
32
+
33
+ # @return [Hash{String => String}] The ARM resource tags.
34
+ attr_accessor :tags
35
+
36
+
37
+ #
38
+ # Mapper for BuildTaskUpdateParameters class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'BuildTaskUpdateParameters',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'BuildTaskUpdateParameters',
49
+ model_properties: {
50
+ alias_property: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'properties.alias',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ status: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'properties.status',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ platform: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'properties.platform',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'PlatformProperties'
73
+ }
74
+ },
75
+ timeout: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'properties.timeout',
79
+ constraints: {
80
+ InclusiveMaximum: 28800,
81
+ InclusiveMinimum: 300
82
+ },
83
+ type: {
84
+ name: 'Number'
85
+ }
86
+ },
87
+ source_repository: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'properties.sourceRepository',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'SourceRepositoryUpdateParameters'
94
+ }
95
+ },
96
+ tags: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'tags',
100
+ type: {
101
+ name: 'Dictionary',
102
+ value: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'StringElementType',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ end
116
+ end
117
+ end
118
+ 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_02_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for BuildType
10
+ #
11
+ module BuildType
12
+ AutoBuild = "AutoBuild"
13
+ QuickBuild = "QuickBuild"
14
+ end
15
+ end
16
+ 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_02_01_preview
7
+ module Models
8
+ #
9
+ # The set of build properties that can be updated.
10
+ #
11
+ class BuildUpdateParameters
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 BuildUpdateParameters 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: 'BuildUpdateParameters',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'BuildUpdateParameters',
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,197 @@
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 Docker build step.
10
+ #
11
+ class DockerBuildStep < BuildStepProperties
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "Docker"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [String] The repository branch name.
23
+ attr_accessor :branch
24
+
25
+ # @return [Array<String>] The fully qualified image names including the
26
+ # repository and tag.
27
+ attr_accessor :image_names
28
+
29
+ # @return [Boolean] The value of this property indicates whether the
30
+ # image built should be pushed to the registry or not. Default value:
31
+ # true .
32
+ attr_accessor :is_push_enabled
33
+
34
+ # @return [Boolean] The value of this property indicates whether the
35
+ # image cache is enabled or not. Default value: false .
36
+ attr_accessor :no_cache
37
+
38
+ # @return [String] The Docker file path relative to the source control
39
+ # root.
40
+ attr_accessor :docker_file_path
41
+
42
+ # @return [String] The relative context path for a docker build in the
43
+ # source.
44
+ attr_accessor :context_path
45
+
46
+ # @return [Array<BuildArgument>] The custom arguments for building this
47
+ # build step.
48
+ attr_accessor :build_arguments
49
+
50
+ # @return [Array<BaseImageDependency>] List of base image dependencies
51
+ # for a step.
52
+ attr_accessor :base_image_dependencies
53
+
54
+ # @return [BaseImageTriggerType] The type of the auto trigger for base
55
+ # image dependency updates. Possible values include: 'All', 'Runtime',
56
+ # 'None'
57
+ attr_accessor :base_image_trigger
58
+
59
+
60
+ #
61
+ # Mapper for DockerBuildStep class as Ruby Hash.
62
+ # This will be used for serialization/deserialization.
63
+ #
64
+ def self.mapper()
65
+ {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'Docker',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'DockerBuildStep',
72
+ model_properties: {
73
+ provisioning_state: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'provisioningState',
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
+ branch: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'branch',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ image_names: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'imageNames',
102
+ type: {
103
+ name: 'Sequence',
104
+ element: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'StringElementType',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ }
112
+ }
113
+ },
114
+ is_push_enabled: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'isPushEnabled',
118
+ default_value: true,
119
+ type: {
120
+ name: 'Boolean'
121
+ }
122
+ },
123
+ no_cache: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'noCache',
127
+ default_value: false,
128
+ type: {
129
+ name: 'Boolean'
130
+ }
131
+ },
132
+ docker_file_path: {
133
+ client_side_validation: true,
134
+ required: false,
135
+ serialized_name: 'dockerFilePath',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ context_path: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ serialized_name: 'contextPath',
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ },
148
+ build_arguments: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ serialized_name: 'buildArguments',
152
+ type: {
153
+ name: 'Sequence',
154
+ element: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ serialized_name: 'BuildArgumentElementType',
158
+ type: {
159
+ name: 'Composite',
160
+ class_name: 'BuildArgument'
161
+ }
162
+ }
163
+ }
164
+ },
165
+ base_image_dependencies: {
166
+ client_side_validation: true,
167
+ required: false,
168
+ read_only: true,
169
+ serialized_name: 'baseImageDependencies',
170
+ type: {
171
+ name: 'Sequence',
172
+ element: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ serialized_name: 'BaseImageDependencyElementType',
176
+ type: {
177
+ name: 'Composite',
178
+ class_name: 'BaseImageDependency'
179
+ }
180
+ }
181
+ }
182
+ },
183
+ base_image_trigger: {
184
+ client_side_validation: true,
185
+ required: false,
186
+ serialized_name: 'baseImageTrigger',
187
+ type: {
188
+ name: 'String'
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
194
+ end
195
+ end
196
+ end
197
+ end