Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit cbb37ba

Browse files
authored
Container registry release (#1007)
* Level I Changes for adding a new gem azure_mgmt_containerregistry * Generated code for Azure Container Registry SDK * Added a line in changelog
1 parent 85109fd commit cbb37ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+6839
-0
lines changed

ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2017.09.28 - Azure Container Registry version 0.13.0
2+
* Released [azure_mgmt_container_registry](https://rubygems.org/gems/azure_mgmt_container_registry) version 0.13.0. Refer [PR# 1007](https://github.com/Azure/azure-sdk-for-ruby/pull/1007) and latest [specification](https://github.com/Azure/azure-rest-api-specs/blob/65a45deed027ed8e428b18e7a6da8ea83bc68f21/specification/containerregistry/resource-manager/readme.md) for further details.
3+
14
## 2017.09.27 - Azure ARM version 0.13.0
25

36
* Regened all azure_mgmt_* sdks using [Autorest.2.0.4144](https://www.npmjs.com/package/autorest)(core) and [Autorest.Ruby.2.0.15](https://www.npmjs.com/package/@microsoft.azure/autorest.ruby) for release of ARM version 0.13.0

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ gem 'azure_mgmt_cdn', path: 'management/azure_mgmt_cdn'
1919
gem 'azure_mgmt_cognitive_services', path: 'management/azure_mgmt_cognitive_services'
2020
gem 'azure_mgmt_commerce', path: 'management/azure_mgmt_commerce'
2121
gem 'azure_mgmt_compute', path: 'management/azure_mgmt_compute'
22+
gem 'azure_mgmt_container_registry', path: 'management/azure_mgmt_container_registry'
2223
gem 'azure_mgmt_datalake_analytics', path: 'management/azure_mgmt_datalake_analytics'
2324
gem 'azure_mgmt_datalake_store', path: 'management/azure_mgmt_datalake_store'
2425
gem 'azure_mgmt_devtestlabs', path: 'management/azure_mgmt_devtestlabs'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Additional info on Azure deployment models [https://azure.microsoft.com/en-us/do
1414
* [Cognitive Services](https://rubygems.org/gems/azure_mgmt_cognitive_services) Azure Cognitive Services Account management
1515
* [Commerce](https://rubygems.org/gems/azure_mgmt_commerce) Azure Commerce Usage aggregates & Rate card management
1616
* [Compute](https://rubygems.org/gems/azure_mgmt_compute) Virtual Machines, Images, Extensions, Availability Sets, etc...
17+
* [Container Registry](https://rubygems.org/gems/azure_mgmt_container_registry) Registries, Credentials, Replications, etc...
1718
* [Datalake Analytics](https://rubygems.org/gems/azure_mgmt_datalake_analytics) Azure Datalake Analytics Account, Catalog and Job management
1819
* [Datalake Store](https://rubygems.org/gems/azure_mgmt_datalake_store) Azure Datalake Store Account and FileSystem management
1920
* [DevTest Labs](https://rubygems.org/gems/azure_mgmt_devtestlabs) Azure DevTest Labs LabOperations, ArtifactSourceOperations, ArtifactOperations, CostOperations etc...

Rakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ REGEN_METADATA = {
169169
ns: 'Azure::ARM::Compute',
170170
version: version
171171
},
172+
azure_mgmt_container_registry: {
173+
spec_uri: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/current/specification/containerregistry/resource-manager/readme.md',
174+
ns: 'Azure::ARM::ContainerRegistry',
175+
version: version
176+
},
172177
azure_mgmt_datalake_analytics: {
173178
spec_uri: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/current/specification/datalake-analytics/resource-manager/readme.md',
174179
ns: 'Azure::ARM::DataLakeAnalytics',

azure_sdk/azure_sdk.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Gem::Specification.new do |spec|
3737
spec.add_runtime_dependency 'azure_mgmt_cognitive_services', "~>#{version}"
3838
spec.add_runtime_dependency 'azure_mgmt_commerce', "~>#{version}"
3939
spec.add_runtime_dependency 'azure_mgmt_compute', "~>#{version}"
40+
spec.add_runtime_dependency 'azure_mgmt_container_registry', "~>#{version}"
4041
spec.add_runtime_dependency 'azure_mgmt_datalake_analytics', "~>#{version}"
4142
spec.add_runtime_dependency 'azure_mgmt_datalake_store', "~>#{version}"
4243
spec.add_runtime_dependency 'azure_mgmt_devtestlabs', "~>#{version}"

azure_sdk/lib/azure_sdk/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
require 'azure_mgmt_cognitive_services'
99
require 'azure_mgmt_commerce'
1010
require 'azure_mgmt_compute'
11+
require 'azure_mgmt_container_registry'
1112
require 'azure_mgmt_datalake_analytics'
1213
require 'azure_mgmt_datalake_store'
1314
require 'azure_mgmt_devtestlabs'
@@ -53,6 +54,7 @@ class Client
5354
:cognitive_services => 'Azure::ARM::CognitiveServices::CognitiveServicesManagementClient',
5455
:commerce => 'Azure::ARM::Commerce::UsageManagementClient',
5556
:compute => 'Azure::ARM::Compute::ComputeManagementClient',
57+
:container_registry => 'Azure::ARM::ContainerRegistry::ContainerRegistry::ContainerRegistryManagementClient',
5658
:datalake_analytics => 'Azure::ARM::DataLakeAnalytics::DataLakeAnalyticsAccountManagementClient',
5759
:datalake_store => 'Azure::ARM::DataLakeStore::DataLakeStoreAccountManagementClient',
5860
:devtestlabs => 'Azure::ARM::DevTestLabs::DevTestLabsClient',
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--require spec_helper
2+
--color
3+
--format documentation
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Microsoft Corporation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# encoding: utf-8
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
5+
require "bundler/gem_tasks"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# encoding: utf-8
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
5+
lib = File.expand_path('../lib', __FILE__)
6+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7+
8+
require 'generated/azure_mgmt_container_registry/module_definition'
9+
require 'generated/azure_mgmt_container_registry/version'
10+
11+
Gem::Specification.new do |spec|
12+
spec.name = 'azure_mgmt_container_registry'
13+
spec.version = Azure::ARM::ContainerRegistry::VERSION
14+
spec.authors = 'Microsoft Corporation'
15+
spec.email = 'azrubyteam@microsoft.com'
16+
spec.description = 'Microsoft Azure Container Registry Management Client Library for Ruby'
17+
spec.summary = 'Official Ruby client library to consume Microsoft Azure Container Registry Management services.'
18+
spec.homepage = 'https://aka.ms/azure-sdk-for-ruby'
19+
spec.license = 'MIT'
20+
21+
spec.files = Dir["LICENSE.txt", "lib/**/*"]
22+
spec.bindir = 'bin'
23+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24+
spec.require_paths = ['lib']
25+
26+
spec.required_ruby_version = '>= 2.0.0'
27+
28+
spec.add_development_dependency 'bundler', '~> 1.9'
29+
spec.add_development_dependency 'rake', '~> 10'
30+
spec.add_development_dependency 'rspec', '~> 3'
31+
spec.add_development_dependency 'dotenv', '~> 2'
32+
33+
spec.add_runtime_dependency 'ms_rest_azure', '~> 0.9.0'
34+
end

0 commit comments

Comments
 (0)