azure_mgmt_resources_management 0.15.2 → 0.16.0
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 +4 -4
- data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/management_groups.rb +21 -18
- data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +4 -1
- data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/operations.rb +15 -13
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management.rb +42 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/management_group_subscriptions.rb +209 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/management_groups.rb +698 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +136 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/create_group_request.rb +59 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/error_details.rb +57 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/error_response.rb +47 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group.rb +130 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +91 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_details.rb +81 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_info.rb +98 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +99 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/operation.rb +59 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/operation_display.rb +83 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/operation_list_result.rb +103 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb +59 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/module_definition.rb +9 -0
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/operations.rb +219 -0
- data/lib/azure_mgmt_resources_management.rb +1 -0
- data/lib/profiles/latest/modules/resourcesmanagement_profile_module.rb +82 -69
- data/lib/profiles/latest/resourcesmanagement_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/resourcesmanagement_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +21 -3
data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb
ADDED
@@ -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::ResourcesManagement::Mgmt::V2017_11_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# (Optional) The ID of the parent management group.
|
10
|
+
#
|
11
|
+
class ParentGroupInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The fully qualified ID for the parent management
|
16
|
+
# group. For example,
|
17
|
+
# /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
|
18
|
+
attr_accessor :parent_id
|
19
|
+
|
20
|
+
# @return [String] The friendly name of the parent management group.
|
21
|
+
attr_accessor :display_name
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ParentGroupInfo 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: 'ParentGroupInfo',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ParentGroupInfo',
|
36
|
+
model_properties: {
|
37
|
+
parent_id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'parentId',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
display_name: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'displayName',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,9 @@
|
|
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 end
|
7
|
+
module Azure::ResourcesManagement end
|
8
|
+
module Azure::ResourcesManagement::Mgmt end
|
9
|
+
module Azure::ResourcesManagement::Mgmt::V2017_11_01_preview end
|
@@ -0,0 +1,219 @@
|
|
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::ResourcesManagement::Mgmt::V2017_11_01_preview
|
7
|
+
#
|
8
|
+
# The Azure Management Groups API enables consolidation of multiple
|
9
|
+
# subscriptions/resources into an organizational hierarchy and centrally
|
10
|
+
# manage access control, policies, alerting and reporting for those
|
11
|
+
# resources.
|
12
|
+
#
|
13
|
+
#
|
14
|
+
class Operations
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
#
|
18
|
+
# Creates and initializes a new instance of the Operations class.
|
19
|
+
# @param client service class for accessing basic functionality.
|
20
|
+
#
|
21
|
+
def initialize(client)
|
22
|
+
@client = client
|
23
|
+
end
|
24
|
+
|
25
|
+
# @return [ManagementGroupsAPI] reference to the ManagementGroupsAPI
|
26
|
+
attr_reader :client
|
27
|
+
|
28
|
+
#
|
29
|
+
# Lists all of the available Management REST API operations.
|
30
|
+
#
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [Array<Operation>] operation results.
|
35
|
+
#
|
36
|
+
def list(custom_headers:nil)
|
37
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
38
|
+
first_page.get_all_items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Lists all of the available Management REST API operations.
|
43
|
+
#
|
44
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
45
|
+
# will be added to the HTTP request.
|
46
|
+
#
|
47
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
48
|
+
#
|
49
|
+
def list_with_http_info(custom_headers:nil)
|
50
|
+
list_async(custom_headers:custom_headers).value!
|
51
|
+
end
|
52
|
+
|
53
|
+
#
|
54
|
+
# Lists all of the available Management REST API operations.
|
55
|
+
#
|
56
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
57
|
+
# to the HTTP request.
|
58
|
+
#
|
59
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
60
|
+
#
|
61
|
+
def list_async(custom_headers:nil)
|
62
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
63
|
+
|
64
|
+
|
65
|
+
request_headers = {}
|
66
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
67
|
+
|
68
|
+
# Set Headers
|
69
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
70
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
71
|
+
path_template = 'providers/Microsoft.Management/operations'
|
72
|
+
|
73
|
+
request_url = @base_url || @client.base_url
|
74
|
+
|
75
|
+
options = {
|
76
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
77
|
+
query_params: {'api-version' => @client.api_version},
|
78
|
+
headers: request_headers.merge(custom_headers || {}),
|
79
|
+
base_url: request_url
|
80
|
+
}
|
81
|
+
promise = @client.make_request_async(:get, path_template, options)
|
82
|
+
|
83
|
+
promise = promise.then do |result|
|
84
|
+
http_response = result.response
|
85
|
+
status_code = http_response.status
|
86
|
+
response_content = http_response.body
|
87
|
+
unless status_code == 200
|
88
|
+
error_model = JSON.load(response_content)
|
89
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
90
|
+
end
|
91
|
+
|
92
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
93
|
+
# Deserialize Response
|
94
|
+
if status_code == 200
|
95
|
+
begin
|
96
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
97
|
+
result_mapper = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult.mapper()
|
98
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
99
|
+
rescue Exception => e
|
100
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
result
|
105
|
+
end
|
106
|
+
|
107
|
+
promise.execute
|
108
|
+
end
|
109
|
+
|
110
|
+
#
|
111
|
+
# Lists all of the available Management REST API operations.
|
112
|
+
#
|
113
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
114
|
+
# to List operation.
|
115
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
116
|
+
# will be added to the HTTP request.
|
117
|
+
#
|
118
|
+
# @return [OperationListResult] operation results.
|
119
|
+
#
|
120
|
+
def list_next(next_page_link, custom_headers:nil)
|
121
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
122
|
+
response.body unless response.nil?
|
123
|
+
end
|
124
|
+
|
125
|
+
#
|
126
|
+
# Lists all of the available Management REST API operations.
|
127
|
+
#
|
128
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
129
|
+
# to List operation.
|
130
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
131
|
+
# will be added to the HTTP request.
|
132
|
+
#
|
133
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
134
|
+
#
|
135
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
136
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
137
|
+
end
|
138
|
+
|
139
|
+
#
|
140
|
+
# Lists all of the available Management REST API operations.
|
141
|
+
#
|
142
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
143
|
+
# to List operation.
|
144
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
145
|
+
# to the HTTP request.
|
146
|
+
#
|
147
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
148
|
+
#
|
149
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
150
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
151
|
+
|
152
|
+
|
153
|
+
request_headers = {}
|
154
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
155
|
+
|
156
|
+
# Set Headers
|
157
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
158
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
159
|
+
path_template = '{nextLink}'
|
160
|
+
|
161
|
+
request_url = @base_url || @client.base_url
|
162
|
+
|
163
|
+
options = {
|
164
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
165
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
166
|
+
headers: request_headers.merge(custom_headers || {}),
|
167
|
+
base_url: request_url
|
168
|
+
}
|
169
|
+
promise = @client.make_request_async(:get, path_template, options)
|
170
|
+
|
171
|
+
promise = promise.then do |result|
|
172
|
+
http_response = result.response
|
173
|
+
status_code = http_response.status
|
174
|
+
response_content = http_response.body
|
175
|
+
unless status_code == 200
|
176
|
+
error_model = JSON.load(response_content)
|
177
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
178
|
+
end
|
179
|
+
|
180
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
181
|
+
# Deserialize Response
|
182
|
+
if status_code == 200
|
183
|
+
begin
|
184
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
185
|
+
result_mapper = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult.mapper()
|
186
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
187
|
+
rescue Exception => e
|
188
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
result
|
193
|
+
end
|
194
|
+
|
195
|
+
promise.execute
|
196
|
+
end
|
197
|
+
|
198
|
+
#
|
199
|
+
# Lists all of the available Management REST API operations.
|
200
|
+
#
|
201
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
202
|
+
# will be added to the HTTP request.
|
203
|
+
#
|
204
|
+
# @return [OperationListResult] which provide lazy access to pages of the
|
205
|
+
# response.
|
206
|
+
#
|
207
|
+
def list_as_lazy(custom_headers:nil)
|
208
|
+
response = list_async(custom_headers:custom_headers).value!
|
209
|
+
unless response.nil?
|
210
|
+
page = response.body
|
211
|
+
page.next_method = Proc.new do |next_page_link|
|
212
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
213
|
+
end
|
214
|
+
page
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
end
|
219
|
+
end
|
@@ -3,4 +3,5 @@
|
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
5
|
require '2017-08-31-preview/generated/azure_mgmt_resources_management'
|
6
|
+
require '2017-11-01-preview/generated/azure_mgmt_resources_management'
|
6
7
|
require 'profiles/latest/resourcesmanagement_latest_profile_client'
|
@@ -4,32 +4,32 @@
|
|
4
4
|
|
5
5
|
require 'azure_mgmt_resources_management'
|
6
6
|
|
7
|
-
module Azure::ResourcesManagement::Profiles::Latest
|
8
|
-
|
9
|
-
|
7
|
+
module Azure::ResourcesManagement::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
ManagementGroups = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroups
|
10
|
+
ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroupSubscriptions
|
11
|
+
Operations = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Operations
|
10
12
|
|
11
13
|
module Models
|
12
|
-
|
13
|
-
ErrorDetails = Azure::ResourcesManagement::Mgmt::
|
14
|
-
|
15
|
-
OperationDisplay = Azure::ResourcesManagement::Mgmt::
|
16
|
-
|
17
|
-
OperationListResult = Azure::ResourcesManagement::Mgmt::
|
18
|
-
ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
ManagementGroupWithHierarchy = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupWithHierarchy
|
25
|
-
ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupInfo
|
14
|
+
ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult
|
15
|
+
ErrorDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails
|
16
|
+
ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo
|
17
|
+
OperationDisplay = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay
|
18
|
+
ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails
|
19
|
+
OperationListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult
|
20
|
+
ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo
|
21
|
+
ErrorResponse = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse
|
22
|
+
ManagementGroup = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup
|
23
|
+
ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo
|
24
|
+
CreateGroupRequest = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest
|
25
|
+
Operation = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation
|
26
26
|
end
|
27
27
|
|
28
28
|
#
|
29
|
-
#
|
29
|
+
# ResourcesManagementManagementClass
|
30
30
|
#
|
31
|
-
class
|
32
|
-
attr_reader :management_groups, :operations, :configurable, :base_url, :options, :model_classes
|
31
|
+
class ResourcesManagementManagementClass
|
32
|
+
attr_reader :management_groups, :management_group_subscriptions, :operations, :configurable, :base_url, :options, :model_classes
|
33
33
|
|
34
34
|
def initialize(options = {})
|
35
35
|
if options.is_a?(Hash) && options.length == 0
|
@@ -40,61 +40,74 @@ module Azure::ResourcesManagement::Profiles::Latest::Mgmt
|
|
40
40
|
|
41
41
|
reset!(options)
|
42
42
|
|
43
|
-
@configurable
|
43
|
+
@configurable = self
|
44
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
45
|
+
@options = options[:options].nil? ? nil:options[:options]
|
44
46
|
|
45
|
-
client_0 = Azure::ResourcesManagement::Mgmt::
|
46
|
-
if(client_0.respond_to?(:subscription_id))
|
47
|
-
client_0.subscription_id = configurable.subscription_id
|
48
|
-
end
|
49
|
-
@
|
50
|
-
@
|
47
|
+
@client_0 = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroupsAPI.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
|
+
@management_groups = @client_0.management_groups
|
53
|
+
@management_group_subscriptions = @client_0.management_group_subscriptions
|
54
|
+
@operations = @client_0.operations
|
51
55
|
|
52
56
|
@model_classes = ModelClasses.new
|
53
57
|
end
|
54
58
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
def operation_display
|
66
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::OperationDisplay
|
67
|
-
end
|
68
|
-
def management_group
|
69
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroup
|
70
|
-
end
|
71
|
-
def operation_list_result
|
72
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::OperationListResult
|
73
|
-
end
|
74
|
-
def management_group_child_info
|
75
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupChildInfo
|
76
|
-
end
|
77
|
-
def management_group_list_result
|
78
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupListResult
|
79
|
-
end
|
80
|
-
def management_group_with_children
|
81
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupWithChildren
|
82
|
-
end
|
83
|
-
def operation
|
84
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::Operation
|
85
|
-
end
|
86
|
-
def management_group_recursive_child_info
|
87
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupRecursiveChildInfo
|
88
|
-
end
|
89
|
-
def error_response
|
90
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ErrorResponse
|
91
|
-
end
|
92
|
-
def management_group_with_hierarchy
|
93
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupWithHierarchy
|
94
|
-
end
|
95
|
-
def management_group_info
|
96
|
-
Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupInfo
|
59
|
+
def add_telemetry(client)
|
60
|
+
profile_information = 'Profiles/Latest/ResourcesManagement/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
|
97
69
|
end
|
98
70
|
end
|
71
|
+
|
72
|
+
end
|
73
|
+
|
74
|
+
class ModelClasses
|
75
|
+
def management_group_list_result
|
76
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult
|
77
|
+
end
|
78
|
+
def error_details
|
79
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails
|
80
|
+
end
|
81
|
+
def parent_group_info
|
82
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo
|
83
|
+
end
|
84
|
+
def operation_display
|
85
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay
|
86
|
+
end
|
87
|
+
def management_group_details
|
88
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails
|
89
|
+
end
|
90
|
+
def operation_list_result
|
91
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult
|
92
|
+
end
|
93
|
+
def management_group_child_info
|
94
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo
|
95
|
+
end
|
96
|
+
def error_response
|
97
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse
|
98
|
+
end
|
99
|
+
def management_group
|
100
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup
|
101
|
+
end
|
102
|
+
def management_group_info
|
103
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo
|
104
|
+
end
|
105
|
+
def create_group_request
|
106
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest
|
107
|
+
end
|
108
|
+
def operation
|
109
|
+
Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation
|
110
|
+
end
|
99
111
|
end
|
112
|
+
end
|
100
113
|
end
|