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

Commit 6808673

Browse files
authored
Release api management (#1277)
* Infrastructure code for the new gem 'azure_mgmt_api_management' * Regenerated SDK and profiles
1 parent 75e3f0e commit 6808673

File tree

592 files changed

+116814
-9
lines changed

Some content is hidden

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

592 files changed

+116814
-9
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2018.03.19 - Azure Ruby SDK Release
2+
* Released a new gem 'azure_mgmt_api_management' - 0.16.0.
3+
* Updated azure_sdk - 0.16.3, rollup profile to use '2018-01-01' version of azure_mgmt_api_management
4+
15
## 2018.03.15 - Azure Ruby SDK Release
26
* Added versions "2017-10-01" & "2018-03-01-preview" to azure_mgmt_dns gem.
37
* Regenerated azure_mgmt_dns SDK and individual profiles and incremented its version to 0.16.1

GEMS_TO_RELEASE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"rollup": ["azure_sdk"],
3-
"management": ["azure_mgmt_dns"]
3+
"management": ["azure_mgmt_api_management"]
44
}

GEM_VERSIONS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"rollup": {
3-
"azure_sdk": "0.16.2"
3+
"azure_sdk": "0.16.3"
44
},
55
"data": {
66
"azure_cognitiveservices_computervision": "0.16.0",
@@ -19,6 +19,7 @@
1919
},
2020
"management" : {
2121
"azure_mgmt_analysis_services": "0.16.0",
22+
"azure_mgmt_api_management": "0.16.0",
2223
"azure_mgmt_authorization": "0.16.0",
2324
"azure_mgmt_automation": "0.16.0",
2425
"azure_mgmt_batch": "0.16.0",

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ group :development, :test do
1313
end
1414

1515
gem 'azure_mgmt_analysis_services', path: 'management/azure_mgmt_analysis_services'
16+
gem 'azure_mgmt_api_management', path: 'management/azure_mgmt_api_management'
1617
gem 'azure_mgmt_authorization', path: 'management/azure_mgmt_authorization'
1718
gem 'azure_mgmt_automation', path: 'management/azure_mgmt_automation'
1819
gem 'azure_mgmt_batch', path: 'management/azure_mgmt_batch'

azure_sdk/azure_sdk.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Gem::Specification.new do |spec|
4141
spec.add_development_dependency 'dotenv', '~> 2'
4242

4343
spec.add_runtime_dependency 'azure_mgmt_analysis_services', "~>#{gem_versions['management']['azure_mgmt_analysis_services']}"
44+
spec.add_runtime_dependency 'azure_mgmt_api_management', "~>#{gem_versions['management']['azure_mgmt_api_management']}"
4445
spec.add_runtime_dependency 'azure_mgmt_authorization', "~>#{gem_versions['management']['azure_mgmt_authorization']}"
4546
spec.add_runtime_dependency 'azure_mgmt_automation', "~>#{gem_versions['management']['azure_mgmt_automation']}"
4647
spec.add_runtime_dependency 'azure_mgmt_batch', "~>#{gem_versions['management']['azure_mgmt_batch']}"

azure_sdk/lib/azure_sdk/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44

55
module Azure
6-
VERSION = '0.16.2'
6+
VERSION = '0.16.3'
77
end

azure_sdk/lib/latest/latest_profile_client.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
require 'latest/module_definition'
66
require 'latest/modules/analysisservices_profile_module'
7+
require 'latest/modules/apimanagement_profile_module'
78
require 'latest/modules/authorization_profile_module'
89
require 'latest/modules/automation_profile_module'
910
require 'latest/modules/batch_profile_module'
@@ -80,7 +81,7 @@ module Azure::Profiles::Latest
8081
class Client
8182
include MsRestAzure::Common::Configurable
8283

83-
attr_reader :analysis_services, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_hub, :key_vault, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :mobile_engagement, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :server_management, :service_bus, :service_fabric, :sql, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :computer_vision, :content_moderator, :custom_search, :entity_search, :face, :image_search, :news_search, :spell_check, :text_analytics, :video_search, :web_search
84+
attr_reader :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_hub, :key_vault, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :mobile_engagement, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :server_management, :service_bus, :service_fabric, :sql, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :computer_vision, :content_moderator, :custom_search, :entity_search, :face, :image_search, :news_search, :spell_check, :text_analytics, :video_search, :web_search
8485

8586
#
8687
# Initializes a new instance of the Client class.
@@ -113,6 +114,7 @@ def initialize(options = {})
113114
sdk_options = options[:options].nil? ? nil:options[:options]
114115

115116
@analysis_services = AnalysisServicesAdapter.new(self, base_url, sdk_options)
117+
@api_management = ApiManagementAdapter.new(self, base_url, sdk_options)
116118
@authorization = AuthorizationAdapter.new(self, base_url, sdk_options)
117119
@automation = AutomationAdapter.new(self, base_url, sdk_options)
118120
@batch = BatchAdapter.new(self, base_url, sdk_options)
@@ -191,6 +193,14 @@ def initialize(context, base_url, options)
191193
end
192194
end
193195

196+
class ApiManagementAdapter
197+
attr_accessor :mgmt
198+
199+
def initialize(context, base_url, options)
200+
@mgmt = Azure::Profiles::Latest::ApiManagement::Mgmt::ApiManagementManagementClass.new(context, base_url, options)
201+
end
202+
end
203+
194204
class AuthorizationAdapter
195205
attr_accessor :mgmt
196206

0 commit comments

Comments
 (0)