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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59c670092b507c682d729962edaee952d672f815
4
- data.tar.gz: 053b8996d7d99e4c125a7a52db06cc0e813986d3
3
+ metadata.gz: 201d1383ba9b1e72f456805537660d27685b28e5
4
+ data.tar.gz: f5b91b6327cd388c87531a5d8a933c29ea30f48c
5
5
  SHA512:
6
- metadata.gz: 3a60c923ba0dd6ecafc526a8ae43302516462340f019b1e7a63f5991ceefb429ed66bde58e2298367e246d75a9376d50c590ffa79e2a4c4fdfbd5e2882d89931
7
- data.tar.gz: 962aba6f0c936629be27d358cd00862f08fc1a71060878232f060fe7181be6e41115f137f141fe16fdcc91bae02b4f45ec6b88f0d0fe9dd9ffd39a8d90110538
6
+ metadata.gz: 45a1366f784384a2d3e16702e81d00653b52d3dc04326b838c8f673d5239f00a137327507e5e4506aa751052dc7701244c2669e77f8f8578eabb54e62e436d30
7
+ data.tar.gz: 7446bf2331cf66e96c18ecf5ffcd350cdd0721f1768a0e21f524cc4edeb6efdca46f22e9f83bd301066d3aa8dd754dfcb3122d1332609046176018abfa132011
@@ -124,7 +124,7 @@ module Azure::ContainerRegistry::Mgmt::V2016_06_27_preview
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_container_registry'
127
- sdk_information = "#{sdk_information}/0.17.1"
127
+ sdk_information = "#{sdk_information}/0.17.2"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -128,7 +128,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_container_registry'
131
- sdk_information = "#{sdk_information}/0.17.1"
131
+ sdk_information = "#{sdk_information}/0.17.2"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -171,6 +171,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
171
171
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
172
172
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
173
173
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
174
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
174
175
  fail ArgumentError, 'registry_name is nil' if registry_name.nil?
175
176
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
176
177
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
@@ -316,6 +317,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
316
317
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
317
318
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
318
319
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
320
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
319
321
  fail ArgumentError, 'registry_name is nil' if registry_name.nil?
320
322
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
321
323
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
@@ -410,6 +412,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
410
412
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
411
413
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
412
414
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
415
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
413
416
  fail ArgumentError, 'registry_name is nil' if registry_name.nil?
414
417
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
415
418
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
@@ -513,6 +516,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
513
516
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
514
517
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
515
518
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
519
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
516
520
 
517
521
 
518
522
  request_headers = {}
@@ -691,6 +695,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
691
695
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
692
696
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
693
697
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
698
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
694
699
  fail ArgumentError, 'registry_name is nil' if registry_name.nil?
695
700
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
696
701
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
@@ -801,6 +806,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
801
806
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
802
807
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
803
808
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
809
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
804
810
  fail ArgumentError, 'registry_name is nil' if registry_name.nil?
805
811
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
806
812
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
@@ -913,6 +919,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
913
919
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
914
920
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
915
921
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
922
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
916
923
  fail ArgumentError, 'registry_name is nil' if registry_name.nil?
917
924
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
918
925
  fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
@@ -136,7 +136,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
136
136
  #
137
137
  def add_telemetry
138
138
  sdk_information = 'azure_mgmt_container_registry'
139
- sdk_information = "#{sdk_information}/0.17.1"
139
+ sdk_information = "#{sdk_information}/0.17.2"
140
140
  add_user_agent_information(sdk_information)
141
141
  end
142
142
  end
@@ -20,7 +20,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
20
20
  attr_accessor :size
21
21
 
22
22
  # @return [String] The digest of the content, as defined by the Registry
23
- # V2 HTTP API Specificiation.
23
+ # V2 HTTP API Specification.
24
24
  attr_accessor :digest
25
25
 
26
26
  # @return [Integer] The number of bytes of the content. Same as Size
@@ -27,18 +27,21 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
27
27
  autoload :ContainerRegistryManagementClient, '2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb'
28
28
 
29
29
  module Models
30
- autoload :TrustPolicy, '2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy.rb'
30
+ autoload :RegistryUsageListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb'
31
+ autoload :QuarantinePolicy, '2017-10-01/generated/azure_mgmt_container_registry/models/quarantine_policy.rb'
31
32
  autoload :ImportSource, '2017-10-01/generated/azure_mgmt_container_registry/models/import_source.rb'
32
- autoload :RegistryPolicies, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_policies.rb'
33
+ autoload :TrustPolicy, '2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy.rb'
33
34
  autoload :RegistryNameCheckRequest, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb'
34
- autoload :ImportImageParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb'
35
+ autoload :RegistryPolicies, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_policies.rb'
36
+ autoload :OperationDisplayDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb'
35
37
  autoload :RegistryNameStatus, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb'
36
38
  autoload :OperationMetricSpecificationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_metric_specification_definition.rb'
37
39
  autoload :OperationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb'
38
- autoload :ReplicationUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb'
39
40
  autoload :Sku, '2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb'
40
- autoload :ReplicationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb'
41
+ autoload :ReplicationUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb'
41
42
  autoload :StorageAccountProperties, '2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb'
43
+ autoload :ReplicationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb'
44
+ autoload :NetworkRuleSet, '2017-10-01/generated/azure_mgmt_container_registry/models/network_rule_set.rb'
42
45
  autoload :Resource, '2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb'
43
46
  autoload :RegistryUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb'
44
47
  autoload :WebhookCreateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb'
@@ -46,24 +49,24 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
46
49
  autoload :WebhookUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb'
47
50
  autoload :RegenerateCredentialParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb'
48
51
  autoload :WebhookListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb'
49
- autoload :RegistryUsageListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb'
52
+ autoload :ImportSourceCredentials, '2017-10-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb'
50
53
  autoload :EventInfo, '2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb'
51
- autoload :OperationDisplayDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb'
54
+ autoload :OperationServiceSpecificationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_service_specification_definition.rb'
52
55
  autoload :CallbackConfig, '2017-10-01/generated/azure_mgmt_container_registry/models/callback_config.rb'
53
- autoload :OperationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb'
56
+ autoload :Status, '2017-10-01/generated/azure_mgmt_container_registry/models/status.rb'
54
57
  autoload :Target, '2017-10-01/generated/azure_mgmt_container_registry/models/target.rb'
55
58
  autoload :EventListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb'
56
59
  autoload :RegistryListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb'
57
60
  autoload :Request, '2017-10-01/generated/azure_mgmt_container_registry/models/request.rb'
58
61
  autoload :RegistryUsage, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb'
59
62
  autoload :Actor, '2017-10-01/generated/azure_mgmt_container_registry/models/actor.rb'
60
- autoload :OperationServiceSpecificationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_service_specification_definition.rb'
63
+ autoload :OperationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb'
61
64
  autoload :Source, '2017-10-01/generated/azure_mgmt_container_registry/models/source.rb'
62
65
  autoload :RegistryListCredentialsResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb'
63
66
  autoload :EventContent, '2017-10-01/generated/azure_mgmt_container_registry/models/event_content.rb'
64
- autoload :Status, '2017-10-01/generated/azure_mgmt_container_registry/models/status.rb'
67
+ autoload :VirtualNetworkRule, '2017-10-01/generated/azure_mgmt_container_registry/models/virtual_network_rule.rb'
65
68
  autoload :EventRequestMessage, '2017-10-01/generated/azure_mgmt_container_registry/models/event_request_message.rb'
66
- autoload :QuarantinePolicy, '2017-10-01/generated/azure_mgmt_container_registry/models/quarantine_policy.rb'
69
+ autoload :ImportImageParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb'
67
70
  autoload :EventResponseMessage, '2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb'
68
71
  autoload :Registry, '2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb'
69
72
  autoload :Replication, '2017-10-01/generated/azure_mgmt_container_registry/models/replication.rb'
@@ -73,6 +76,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
73
76
  autoload :SkuName, '2017-10-01/generated/azure_mgmt_container_registry/models/sku_name.rb'
74
77
  autoload :SkuTier, '2017-10-01/generated/azure_mgmt_container_registry/models/sku_tier.rb'
75
78
  autoload :ProvisioningState, '2017-10-01/generated/azure_mgmt_container_registry/models/provisioning_state.rb'
79
+ autoload :DefaultAction, '2017-10-01/generated/azure_mgmt_container_registry/models/default_action.rb'
76
80
  autoload :PasswordName, '2017-10-01/generated/azure_mgmt_container_registry/models/password_name.rb'
77
81
  autoload :RegistryUsageUnit, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_unit.rb'
78
82
  autoload :PolicyStatus, '2017-10-01/generated/azure_mgmt_container_registry/models/policy_status.rb'
@@ -136,7 +136,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
136
136
  #
137
137
  def add_telemetry
138
138
  sdk_information = 'azure_mgmt_container_registry'
139
- sdk_information = "#{sdk_information}/0.17.1"
139
+ sdk_information = "#{sdk_information}/0.17.2"
140
140
  add_user_agent_information(sdk_information)
141
141
  end
142
142
  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::V2017_10_01
7
+ module Models
8
+ #
9
+ # Defines values for DefaultAction
10
+ #
11
+ module DefaultAction
12
+ Allow = "Allow"
13
+ Deny = "Deny"
14
+ end
15
+ end
16
+ end
@@ -13,10 +13,18 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- # @return [String] The resource identifier of the target Azure Container
16
+ # @return [String] The resource identifier of the source Azure Container
17
17
  # Registry.
18
18
  attr_accessor :resource_id
19
19
 
20
+ # @return [String] The address of the source registry (e.g.
21
+ # 'mcr.microsoft.com').
22
+ attr_accessor :registry_uri
23
+
24
+ # @return [ImportSourceCredentials] Credentials used when importing from
25
+ # a registry uri.
26
+ attr_accessor :credentials
27
+
20
28
  # @return [String] Repository name of the source image.
21
29
  # Specify an image by repository ('hello-world'). This will use the
22
30
  # 'latest' tag.
@@ -41,12 +49,29 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
41
49
  model_properties: {
42
50
  resource_id: {
43
51
  client_side_validation: true,
44
- required: true,
52
+ required: false,
45
53
  serialized_name: 'resourceId',
46
54
  type: {
47
55
  name: 'String'
48
56
  }
49
57
  },
58
+ registry_uri: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'registryUri',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ credentials: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'credentials',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'ImportSourceCredentials'
73
+ }
74
+ },
50
75
  source_image: {
51
76
  client_side_validation: true,
52
77
  required: true,
@@ -0,0 +1,59 @@
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::V2017_10_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ImportSourceCredentials
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The username to authenticate with the source registry.
17
+ attr_accessor :username
18
+
19
+ # @return [String] The password used to authenticate with the source
20
+ # registry.
21
+ attr_accessor :password
22
+
23
+
24
+ #
25
+ # Mapper for ImportSourceCredentials class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'ImportSourceCredentials',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'ImportSourceCredentials',
36
+ model_properties: {
37
+ username: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'username',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ password: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'password',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,69 @@
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::V2017_10_01
7
+ module Models
8
+ #
9
+ # The network rule set for a container registry.
10
+ #
11
+ class NetworkRuleSet
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DefaultAction] The default action of allow or deny when no
16
+ # other rules match. Possible values include: 'Allow', 'Deny'. Default
17
+ # value: 'Allow' .
18
+ attr_accessor :default_action
19
+
20
+ # @return [Array<VirtualNetworkRule>] The virtual network rules.
21
+ attr_accessor :virtual_network_rules
22
+
23
+
24
+ #
25
+ # Mapper for NetworkRuleSet class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'NetworkRuleSet',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'NetworkRuleSet',
36
+ model_properties: {
37
+ default_action: {
38
+ client_side_validation: true,
39
+ required: true,
40
+ serialized_name: 'defaultAction',
41
+ default_value: 'Allow',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ virtual_network_rules: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'virtualNetworkRules',
50
+ type: {
51
+ name: 'Sequence',
52
+ element: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'VirtualNetworkRuleElementType',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'VirtualNetworkRule'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -40,6 +40,9 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
40
40
  # account for the container registry. Only applicable to Classic SKU.
41
41
  attr_accessor :storage_account
42
42
 
43
+ # @return [NetworkRuleSet] The network rule set for a container registry.
44
+ attr_accessor :network_rule_set
45
+
43
46
 
44
47
  #
45
48
  # Mapper for Registry class as Ruby Hash.
@@ -168,6 +171,15 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
168
171
  name: 'Composite',
169
172
  class_name: 'StorageAccountProperties'
170
173
  }
174
+ },
175
+ network_rule_set: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'properties.networkRuleSet',
179
+ type: {
180
+ name: 'Composite',
181
+ class_name: 'NetworkRuleSet'
182
+ }
171
183
  }
172
184
  }
173
185
  }
@@ -28,6 +28,9 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
28
28
  # the container registry.
29
29
  attr_accessor :storage_account
30
30
 
31
+ # @return [NetworkRuleSet] The network rule set for a container registry.
32
+ attr_accessor :network_rule_set
33
+
31
34
 
32
35
  #
33
36
  # Mapper for RegistryUpdateParameters class as Ruby Hash.
@@ -83,6 +86,15 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
83
86
  name: 'Composite',
84
87
  class_name: 'StorageAccountProperties'
85
88
  }
89
+ },
90
+ network_rule_set: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'properties.networkRuleSet',
94
+ type: {
95
+ name: 'Composite',
96
+ class_name: 'NetworkRuleSet'
97
+ }
86
98
  }
87
99
  }
88
100
  }
@@ -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::V2017_10_01
7
+ module Models
8
+ #
9
+ # The virtual network rule for a container registry.
10
+ #
11
+ class VirtualNetworkRule
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource ID of a subnet, for example:
16
+ # /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
17
+ attr_accessor :id
18
+
19
+
20
+ #
21
+ # Mapper for VirtualNetworkRule 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: 'VirtualNetworkRule',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'VirtualNetworkRule',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end