azure_mgmt_subscriptions 0.17.2 → 0.17.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cf2563f469339ca3d144ee1eb4172a10876aad37387c3e54e0456f3438869d4
4
- data.tar.gz: bf0f5a1e3efb93b08e033fc92d44d60d483bd22b12e0f4049433c9c137520390
3
+ metadata.gz: 7e6fb58afc823f2acf5cb564ddc8311c1f6fe8ed5b140e0c778f94d11d2e244a
4
+ data.tar.gz: 47d791d3722a559f56b887497d5724610c3a158caca7fd4b5a68042fc56fba42
5
5
  SHA512:
6
- metadata.gz: a37ed1e4ee1e1cacdaf42fbab46d9f0a98af10ac80292914a146e9017a937e4b395f3a8a4058eb5ba274b399551837ecff395f2e48492dd96b4c893ece874a16
7
- data.tar.gz: c676b0439ce42274ccfbf12409f96acba7959049494b945586e4e2a3c01b8227ef98c906f4631e95260341017d9fe26f2b2e4a22f8ee0b341296fc0b967f699b
6
+ metadata.gz: 10f64c9587c62ec6857bb747ff55e9a2c3b7b00bc32fb21a1f8ffb4437e3bdb3b98bd27c9fa2a86bd6f814138f78d03812c045eb3c1dd9dc96925ca10dcf8bcd
7
+ data.tar.gz: bf49af3c61b8996986a59e6bf345e9bdbd89e7ee2bf3fb51dc7c2bacf4564d33784521e47b17086045bb167d420845415915e86be7da2db92bea1fc89616f9f9
@@ -125,7 +125,7 @@ module Azure::Subscriptions::Mgmt::V2015_11_01
125
125
  #
126
126
  def add_telemetry
127
127
  sdk_information = 'azure_mgmt_subscriptions'
128
- sdk_information = "#{sdk_information}/0.17.2"
128
+ sdk_information = "#{sdk_information}/0.17.3"
129
129
  add_user_agent_information(sdk_information)
130
130
  end
131
131
  end
@@ -129,7 +129,7 @@ module Azure::Subscriptions::Mgmt::V2016_06_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_subscriptions'
132
- sdk_information = "#{sdk_information}/0.17.2"
132
+ sdk_information = "#{sdk_information}/0.17.3"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -127,7 +127,7 @@ module Azure::Subscriptions::Mgmt::V2017_11_01_preview
127
127
  #
128
128
  def add_telemetry
129
129
  sdk_information = 'azure_mgmt_subscriptions'
130
- sdk_information = "#{sdk_information}/0.17.2"
130
+ sdk_information = "#{sdk_information}/0.17.3"
131
131
  add_user_agent_information(sdk_information)
132
132
  end
133
133
  end
@@ -130,7 +130,7 @@ module Azure::Subscriptions::Mgmt::V2018_03_01_preview
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_subscriptions'
133
- sdk_information = "#{sdk_information}/0.17.2"
133
+ sdk_information = "#{sdk_information}/0.17.3"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
@@ -8,4 +8,5 @@ require '2017-11-01-preview/generated/azure_mgmt_subscriptions'
8
8
  require '2016-06-01/generated/azure_mgmt_subscriptions'
9
9
  require 'profiles/v2017_03_09/subscriptions_v2017_03_09_profile_client'
10
10
  require 'profiles/latest/subscriptions_latest_profile_client'
11
+ require 'profiles/v2019_03_01_hybrid/subscriptions_v2019_03_01_hybrid_profile_client'
11
12
  require 'profiles/v2018_03_01/subscriptions_v2018_03_01_profile_client'
@@ -0,0 +1,113 @@
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 'azure_mgmt_subscriptions'
6
+
7
+ module Azure::Subscriptions::Profiles::V2019_03_01_Hybrid
8
+ module Mgmt
9
+ Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations
10
+ Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions
11
+ Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants
12
+
13
+ module Models
14
+ TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription
15
+ Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location
16
+ TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult
17
+ SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies
18
+ OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay
19
+ SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult
20
+ Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation
21
+ Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription
22
+ OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult
23
+ LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult
24
+ SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState
25
+ SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit
26
+ end
27
+
28
+ #
29
+ # SubscriptionsManagementClass
30
+ #
31
+ class SubscriptionsManagementClass
32
+ attr_reader :operations, :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes
33
+
34
+ def initialize(options = {})
35
+ if options.is_a?(Hash) && options.length == 0
36
+ @options = setup_default_options
37
+ else
38
+ @options = options
39
+ end
40
+
41
+ reset!(options)
42
+
43
+ @configurable = self
44
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
45
+ @options = options[:options].nil? ? nil:options[:options]
46
+
47
+ @client_0 = Azure::Subscriptions::Mgmt::V2016_06_01::SubscriptionClient.new(configurable.credentials, base_url, options)
48
+ if(@client_0.respond_to?(:subscription_id))
49
+ @client_0.subscription_id = configurable.subscription_id
50
+ end
51
+ add_telemetry(@client_0)
52
+ @operations = @client_0.operations
53
+ @subscriptions = @client_0.subscriptions
54
+ @tenants = @client_0.tenants
55
+
56
+ @model_classes = ModelClasses.new
57
+ end
58
+
59
+ def add_telemetry(client)
60
+ profile_information = 'Profiles/V2019_03_01_Hybrid/Subscriptions/Mgmt'
61
+ client.add_user_agent_information(profile_information)
62
+ end
63
+
64
+ def method_missing(method, *args)
65
+ if @client_0.respond_to?method
66
+ @client_0.send(method, *args)
67
+ else
68
+ super
69
+ end
70
+ end
71
+
72
+ end
73
+
74
+ class ModelClasses
75
+ def tenant_id_description
76
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription
77
+ end
78
+ def location
79
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location
80
+ end
81
+ def tenant_list_result
82
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult
83
+ end
84
+ def subscription_policies
85
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies
86
+ end
87
+ def operation_display
88
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay
89
+ end
90
+ def subscription_list_result
91
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult
92
+ end
93
+ def operation
94
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation
95
+ end
96
+ def subscription
97
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription
98
+ end
99
+ def operation_list_result
100
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult
101
+ end
102
+ def location_list_result
103
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult
104
+ end
105
+ def subscription_state
106
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState
107
+ end
108
+ def spending_limit
109
+ Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit
110
+ end
111
+ end
112
+ end
113
+ end
@@ -0,0 +1,8 @@
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
+ module Azure end
6
+ module Azure::Subscriptions end
7
+ module Azure::Subscriptions::Profiles end
8
+ module Azure::Subscriptions::Profiles::V2019_03_01_Hybrid end
@@ -0,0 +1,40 @@
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 'profiles/v2019_03_01_hybrid/subscriptions_module_definition'
6
+ require 'profiles/v2019_03_01_hybrid/modules/subscriptions_profile_module'
7
+
8
+ module Azure::Subscriptions::Profiles::V2019_03_01_Hybrid
9
+ module Mgmt
10
+ #
11
+ # Client class for the V2019_03_01_Hybrid profile SDK.
12
+ #
13
+ class Client < SubscriptionsManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
data/lib/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Subscriptions::Mgmt
6
- VERSION = '0.17.2'
6
+ VERSION = '0.17.3'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_subscriptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.2
4
+ version: 0.17.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-13 00:00:00.000000000 Z
11
+ date: 2019-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -155,6 +155,9 @@ files:
155
155
  - lib/profiles/v2018_03_01/modules/subscriptions_profile_module.rb
156
156
  - lib/profiles/v2018_03_01/subscriptions_module_definition.rb
157
157
  - lib/profiles/v2018_03_01/subscriptions_v2018_03_01_profile_client.rb
158
+ - lib/profiles/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb
159
+ - lib/profiles/v2019_03_01_hybrid/subscriptions_module_definition.rb
160
+ - lib/profiles/v2019_03_01_hybrid/subscriptions_v2019_03_01_hybrid_profile_client.rb
158
161
  - lib/version.rb
159
162
  homepage: https://aka.ms/azure-sdk-for-ruby
160
163
  licenses: