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,92 @@
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 authorization properties for accessing the source code repository.
10
+ #
11
+ class AuthInfoUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [TokenType] The type of Auth token. Possible values include:
16
+ # 'PAT', 'OAuth'
17
+ attr_accessor :token_type
18
+
19
+ # @return [String] The access token used to access the source control
20
+ # provider.
21
+ attr_accessor :token
22
+
23
+ # @return [String] The refresh token used to refresh the access token.
24
+ attr_accessor :refresh_token
25
+
26
+ # @return [String] The scope of the access token.
27
+ attr_accessor :scope
28
+
29
+ # @return [Integer] Time in seconds that the token remains valid
30
+ attr_accessor :expires_in
31
+
32
+
33
+ #
34
+ # Mapper for AuthInfoUpdateParameters class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'AuthInfoUpdateParameters',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'AuthInfoUpdateParameters',
45
+ model_properties: {
46
+ token_type: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'tokenType',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ token: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'token',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ refresh_token: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'refreshToken',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ scope: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'scope',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ expires_in: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'expiresIn',
82
+ type: {
83
+ name: 'Number'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,91 @@
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
+ # Properties that describe a base image dependency.
10
+ #
11
+ class BaseImageDependency
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [BaseImageDependencyType] The type of the base image
16
+ # dependency. Possible values include: 'BuildTime', 'RunTime'
17
+ attr_accessor :type
18
+
19
+ # @return [String] The registry login server.
20
+ attr_accessor :registry
21
+
22
+ # @return [String] The repository name.
23
+ attr_accessor :repository
24
+
25
+ # @return [String] The tag name.
26
+ attr_accessor :tag
27
+
28
+ # @return [String] The sha256-based digest of the image manifest.
29
+ attr_accessor :digest
30
+
31
+
32
+ #
33
+ # Mapper for BaseImageDependency 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: 'BaseImageDependency',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'BaseImageDependency',
44
+ model_properties: {
45
+ type: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'type',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ registry: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'registry',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ repository: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'repository',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ tag: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'tag',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ digest: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'digest',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ 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 BaseImageDependencyType
10
+ #
11
+ module BaseImageDependencyType
12
+ BuildTime = "BuildTime"
13
+ RunTime = "RunTime"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,70 @@
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 trigger based on base image dependency.
10
+ #
11
+ class BaseImageTrigger
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [BaseImageTriggerType] The type of the auto trigger for base
16
+ # image dependency updates. Possible values include: 'All', 'Runtime'
17
+ attr_accessor :base_image_trigger_type
18
+
19
+ # @return [TriggerStatus] The current status of trigger. Possible values
20
+ # include: 'Disabled', 'Enabled'
21
+ attr_accessor :status
22
+
23
+ # @return [String] The name of the trigger.
24
+ attr_accessor :name
25
+
26
+
27
+ #
28
+ # Mapper for BaseImageTrigger 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: 'BaseImageTrigger',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'BaseImageTrigger',
39
+ model_properties: {
40
+ base_image_trigger_type: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'baseImageTriggerType',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ status: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'status',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ client_side_validation: true,
58
+ required: true,
59
+ serialized_name: 'name',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ 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 BaseImageTriggerType
10
+ #
11
+ module BaseImageTriggerType
12
+ All = "All"
13
+ Runtime = "Runtime"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,70 @@
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 base image dependency trigger.
10
+ #
11
+ class BaseImageTriggerUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [BaseImageTriggerType] The type of the auto trigger for base
16
+ # image dependency updates. Possible values include: 'All', 'Runtime'
17
+ attr_accessor :base_image_trigger_type
18
+
19
+ # @return [TriggerStatus] The current status of trigger. Possible values
20
+ # include: 'Disabled', 'Enabled'
21
+ attr_accessor :status
22
+
23
+ # @return [String] The name of the trigger.
24
+ attr_accessor :name
25
+
26
+
27
+ #
28
+ # Mapper for BaseImageTriggerUpdateParameters 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: 'BaseImageTriggerUpdateParameters',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'BaseImageTriggerUpdateParameters',
39
+ model_properties: {
40
+ base_image_trigger_type: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'baseImageTriggerType',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ status: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'status',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ client_side_validation: true,
58
+ required: true,
59
+ serialized_name: 'name',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,193 @@
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 parameters for a docker quick build.
10
+ #
11
+ class DockerBuildRequest < RunRequest
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @type = "DockerBuildRequest"
18
+ end
19
+
20
+ attr_accessor :type
21
+
22
+ # @return [Array<String>] The fully qualified image names including the
23
+ # repository and tag.
24
+ attr_accessor :image_names
25
+
26
+ # @return [Boolean] The value of this property indicates whether the
27
+ # image built should be pushed to the registry or not. Default value:
28
+ # true .
29
+ attr_accessor :is_push_enabled
30
+
31
+ # @return [Boolean] The value of this property indicates whether the
32
+ # image cache is enabled or not. Default value: false .
33
+ attr_accessor :no_cache
34
+
35
+ # @return [String] The Docker file path relative to the source location.
36
+ attr_accessor :docker_file_path
37
+
38
+ # @return [Array<Argument>] The collection of override arguments to be
39
+ # used when executing the run.
40
+ attr_accessor :arguments
41
+
42
+ # @return [Integer] Run timeout in seconds. Default value: 3600 .
43
+ attr_accessor :timeout
44
+
45
+ # @return [PlatformProperties] The platform properties against which the
46
+ # run has to happen.
47
+ attr_accessor :platform
48
+
49
+ # @return [AgentProperties] The machine configuration of the run agent.
50
+ attr_accessor :agent_configuration
51
+
52
+ # @return [String] The URL(absolute or relative) of the source context.
53
+ # It can be an URL to a tar or git repository.
54
+ # If it is relative URL, the relative path should be obtained from
55
+ # calling listBuildSourceUploadUrl API.
56
+ attr_accessor :source_location
57
+
58
+
59
+ #
60
+ # Mapper for DockerBuildRequest class as Ruby Hash.
61
+ # This will be used for serialization/deserialization.
62
+ #
63
+ def self.mapper()
64
+ {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'DockerBuildRequest',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'DockerBuildRequest',
71
+ model_properties: {
72
+ is_archive_enabled: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'isArchiveEnabled',
76
+ default_value: false,
77
+ type: {
78
+ name: 'Boolean'
79
+ }
80
+ },
81
+ type: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'type',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ image_names: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'imageNames',
93
+ type: {
94
+ name: 'Sequence',
95
+ element: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'StringElementType',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ },
105
+ is_push_enabled: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'isPushEnabled',
109
+ default_value: true,
110
+ type: {
111
+ name: 'Boolean'
112
+ }
113
+ },
114
+ no_cache: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'noCache',
118
+ default_value: false,
119
+ type: {
120
+ name: 'Boolean'
121
+ }
122
+ },
123
+ docker_file_path: {
124
+ client_side_validation: true,
125
+ required: true,
126
+ serialized_name: 'dockerFilePath',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ arguments: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'arguments',
135
+ type: {
136
+ name: 'Sequence',
137
+ element: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'ArgumentElementType',
141
+ type: {
142
+ name: 'Composite',
143
+ class_name: 'Argument'
144
+ }
145
+ }
146
+ }
147
+ },
148
+ timeout: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ serialized_name: 'timeout',
152
+ default_value: 3600,
153
+ constraints: {
154
+ InclusiveMaximum: 28800,
155
+ InclusiveMinimum: 300
156
+ },
157
+ type: {
158
+ name: 'Number'
159
+ }
160
+ },
161
+ platform: {
162
+ client_side_validation: true,
163
+ required: true,
164
+ serialized_name: 'platform',
165
+ type: {
166
+ name: 'Composite',
167
+ class_name: 'PlatformProperties'
168
+ }
169
+ },
170
+ agent_configuration: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ serialized_name: 'agentConfiguration',
174
+ type: {
175
+ name: 'Composite',
176
+ class_name: 'AgentProperties'
177
+ }
178
+ },
179
+ source_location: {
180
+ client_side_validation: true,
181
+ required: false,
182
+ serialized_name: 'sourceLocation',
183
+ type: {
184
+ name: 'String'
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ end
191
+ end
192
+ end
193
+ end