azure_sdk 0.29.0 → 0.30.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/azure_sdk/version.rb +1 -1
- data/lib/azure_sdk.rb +2 -2
- data/lib/latest/latest_profile_client.rb +111 -1
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -0
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -0
- data/lib/latest/modules/azurestack_profile_module.rb +163 -0
- data/lib/latest/modules/batchai_profile_module.rb +425 -0
- data/lib/latest/modules/botservice_profile_module.rb +293 -0
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -0
- data/lib/latest/modules/databox_profile_module.rb +309 -0
- data/lib/latest/modules/datafactory_profile_module.rb +2159 -0
- data/lib/latest/modules/migrate_profile_module.rb +243 -0
- data/lib/latest/modules/network_profile_module.rb +1267 -1223
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -0
- data/lib/latest/modules/policy_profile_module.rb +28 -32
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -0
- metadata +173 -8
@@ -0,0 +1,293 @@
|
|
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_bot_service'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module BotService
|
9
|
+
module Mgmt
|
10
|
+
Bots = Azure::BotService::Mgmt::V2018_07_12_preview::Bots
|
11
|
+
Channels = Azure::BotService::Mgmt::V2018_07_12_preview::Channels
|
12
|
+
Operations = Azure::BotService::Mgmt::V2018_07_12_preview::Operations
|
13
|
+
BotConnection = Azure::BotService::Mgmt::V2018_07_12_preview::BotConnection
|
14
|
+
EnterpriseChannels = Azure::BotService::Mgmt::V2018_07_12_preview::EnterpriseChannels
|
15
|
+
|
16
|
+
module Models
|
17
|
+
SmsChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::SmsChannelProperties
|
18
|
+
TelegramChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::TelegramChannelProperties
|
19
|
+
EnterpriseChannelNode = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelNode
|
20
|
+
BotProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::BotProperties
|
21
|
+
Sku = Azure::BotService::Mgmt::V2018_07_12_preview::Models::Sku
|
22
|
+
BotResponseList = Azure::BotService::Mgmt::V2018_07_12_preview::Models::BotResponseList
|
23
|
+
OperationDisplayInfo = Azure::BotService::Mgmt::V2018_07_12_preview::Models::OperationDisplayInfo
|
24
|
+
Resource = Azure::BotService::Mgmt::V2018_07_12_preview::Models::Resource
|
25
|
+
FacebookChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::FacebookChannelProperties
|
26
|
+
EnterpriseChannelCheckNameAvailabilityResponse = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelCheckNameAvailabilityResponse
|
27
|
+
ErrorBody = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ErrorBody
|
28
|
+
EnterpriseChannelCheckNameAvailabilityRequest = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelCheckNameAvailabilityRequest
|
29
|
+
Channel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::Channel
|
30
|
+
CheckNameAvailabilityResponseBody = Azure::BotService::Mgmt::V2018_07_12_preview::Models::CheckNameAvailabilityResponseBody
|
31
|
+
Error = Azure::BotService::Mgmt::V2018_07_12_preview::Models::Error
|
32
|
+
CheckNameAvailabilityRequestBody = Azure::BotService::Mgmt::V2018_07_12_preview::Models::CheckNameAvailabilityRequestBody
|
33
|
+
SlackChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannelProperties
|
34
|
+
OperationEntityListResult = Azure::BotService::Mgmt::V2018_07_12_preview::Models::OperationEntityListResult
|
35
|
+
EnterpriseChannelResponseList = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelResponseList
|
36
|
+
WebChatChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::WebChatChannelProperties
|
37
|
+
ChannelResponseList = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ChannelResponseList
|
38
|
+
DirectLineSite = Azure::BotService::Mgmt::V2018_07_12_preview::Models::DirectLineSite
|
39
|
+
ConnectionItemName = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionItemName
|
40
|
+
FacebookPage = Azure::BotService::Mgmt::V2018_07_12_preview::Models::FacebookPage
|
41
|
+
ConnectionSettingParameter = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSettingParameter
|
42
|
+
MsTeamsChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::MsTeamsChannelProperties
|
43
|
+
ConnectionSettingProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSettingProperties
|
44
|
+
KikChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::KikChannelProperties
|
45
|
+
EnterpriseChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelProperties
|
46
|
+
OperationEntity = Azure::BotService::Mgmt::V2018_07_12_preview::Models::OperationEntity
|
47
|
+
ConnectionSettingResponseList = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSettingResponseList
|
48
|
+
EmailChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EmailChannelProperties
|
49
|
+
ServiceProviderParameter = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ServiceProviderParameter
|
50
|
+
WebChatSite = Azure::BotService::Mgmt::V2018_07_12_preview::Models::WebChatSite
|
51
|
+
ServiceProviderProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ServiceProviderProperties
|
52
|
+
SkypeChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::SkypeChannelProperties
|
53
|
+
ServiceProvider = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ServiceProvider
|
54
|
+
DirectLineChannelProperties = Azure::BotService::Mgmt::V2018_07_12_preview::Models::DirectLineChannelProperties
|
55
|
+
ServiceProviderResponseList = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ServiceProviderResponseList
|
56
|
+
Bot = Azure::BotService::Mgmt::V2018_07_12_preview::Models::Bot
|
57
|
+
BotChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::BotChannel
|
58
|
+
FacebookChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::FacebookChannel
|
59
|
+
EmailChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EmailChannel
|
60
|
+
MsTeamsChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::MsTeamsChannel
|
61
|
+
SkypeChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::SkypeChannel
|
62
|
+
KikChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::KikChannel
|
63
|
+
WebChatChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::WebChatChannel
|
64
|
+
DirectLineChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::DirectLineChannel
|
65
|
+
TelegramChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::TelegramChannel
|
66
|
+
SmsChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::SmsChannel
|
67
|
+
SlackChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannel
|
68
|
+
ConnectionSetting = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSetting
|
69
|
+
EnterpriseChannel = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannel
|
70
|
+
SkuName = Azure::BotService::Mgmt::V2018_07_12_preview::Models::SkuName
|
71
|
+
SkuTier = Azure::BotService::Mgmt::V2018_07_12_preview::Models::SkuTier
|
72
|
+
Kind = Azure::BotService::Mgmt::V2018_07_12_preview::Models::Kind
|
73
|
+
EnterpriseChannelState = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelState
|
74
|
+
EnterpriseChannelNodeState = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelNodeState
|
75
|
+
ChannelName = Azure::BotService::Mgmt::V2018_07_12_preview::Models::ChannelName
|
76
|
+
end
|
77
|
+
|
78
|
+
class BotServiceManagementClass
|
79
|
+
attr_reader :bots, :channels, :operations, :bot_connection, :enterprise_channels, :configurable, :base_url, :options, :model_classes
|
80
|
+
|
81
|
+
def initialize(configurable, base_url=nil, options=nil)
|
82
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
83
|
+
|
84
|
+
@client_0 = Azure::BotService::Mgmt::V2018_07_12_preview::AzureBotService.new(configurable.credentials, base_url, options)
|
85
|
+
if(@client_0.respond_to?(:subscription_id))
|
86
|
+
@client_0.subscription_id = configurable.subscription_id
|
87
|
+
end
|
88
|
+
add_telemetry(@client_0)
|
89
|
+
@bots = @client_0.bots
|
90
|
+
@channels = @client_0.channels
|
91
|
+
@operations = @client_0.operations
|
92
|
+
@bot_connection = @client_0.bot_connection
|
93
|
+
@enterprise_channels = @client_0.enterprise_channels
|
94
|
+
|
95
|
+
@model_classes = ModelClasses.new
|
96
|
+
end
|
97
|
+
|
98
|
+
def add_telemetry(client)
|
99
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/BotService/Mgmt"
|
100
|
+
client.add_user_agent_information(profile_information)
|
101
|
+
end
|
102
|
+
|
103
|
+
def method_missing(method, *args)
|
104
|
+
if @client_0.respond_to?method
|
105
|
+
@client_0.send(method, *args)
|
106
|
+
else
|
107
|
+
super
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
class ModelClasses
|
112
|
+
def sms_channel_properties
|
113
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::SmsChannelProperties
|
114
|
+
end
|
115
|
+
def telegram_channel_properties
|
116
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::TelegramChannelProperties
|
117
|
+
end
|
118
|
+
def enterprise_channel_node
|
119
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelNode
|
120
|
+
end
|
121
|
+
def bot_properties
|
122
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::BotProperties
|
123
|
+
end
|
124
|
+
def sku
|
125
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::Sku
|
126
|
+
end
|
127
|
+
def bot_response_list
|
128
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::BotResponseList
|
129
|
+
end
|
130
|
+
def operation_display_info
|
131
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::OperationDisplayInfo
|
132
|
+
end
|
133
|
+
def resource
|
134
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::Resource
|
135
|
+
end
|
136
|
+
def facebook_channel_properties
|
137
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::FacebookChannelProperties
|
138
|
+
end
|
139
|
+
def enterprise_channel_check_name_availability_response
|
140
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelCheckNameAvailabilityResponse
|
141
|
+
end
|
142
|
+
def error_body
|
143
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ErrorBody
|
144
|
+
end
|
145
|
+
def enterprise_channel_check_name_availability_request
|
146
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelCheckNameAvailabilityRequest
|
147
|
+
end
|
148
|
+
def channel
|
149
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::Channel
|
150
|
+
end
|
151
|
+
def check_name_availability_response_body
|
152
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::CheckNameAvailabilityResponseBody
|
153
|
+
end
|
154
|
+
def error
|
155
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::Error
|
156
|
+
end
|
157
|
+
def check_name_availability_request_body
|
158
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::CheckNameAvailabilityRequestBody
|
159
|
+
end
|
160
|
+
def slack_channel_properties
|
161
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannelProperties
|
162
|
+
end
|
163
|
+
def operation_entity_list_result
|
164
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::OperationEntityListResult
|
165
|
+
end
|
166
|
+
def enterprise_channel_response_list
|
167
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelResponseList
|
168
|
+
end
|
169
|
+
def web_chat_channel_properties
|
170
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::WebChatChannelProperties
|
171
|
+
end
|
172
|
+
def channel_response_list
|
173
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ChannelResponseList
|
174
|
+
end
|
175
|
+
def direct_line_site
|
176
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::DirectLineSite
|
177
|
+
end
|
178
|
+
def connection_item_name
|
179
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionItemName
|
180
|
+
end
|
181
|
+
def facebook_page
|
182
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::FacebookPage
|
183
|
+
end
|
184
|
+
def connection_setting_parameter
|
185
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSettingParameter
|
186
|
+
end
|
187
|
+
def ms_teams_channel_properties
|
188
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::MsTeamsChannelProperties
|
189
|
+
end
|
190
|
+
def connection_setting_properties
|
191
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSettingProperties
|
192
|
+
end
|
193
|
+
def kik_channel_properties
|
194
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::KikChannelProperties
|
195
|
+
end
|
196
|
+
def enterprise_channel_properties
|
197
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelProperties
|
198
|
+
end
|
199
|
+
def operation_entity
|
200
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::OperationEntity
|
201
|
+
end
|
202
|
+
def connection_setting_response_list
|
203
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSettingResponseList
|
204
|
+
end
|
205
|
+
def email_channel_properties
|
206
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EmailChannelProperties
|
207
|
+
end
|
208
|
+
def service_provider_parameter
|
209
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ServiceProviderParameter
|
210
|
+
end
|
211
|
+
def web_chat_site
|
212
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::WebChatSite
|
213
|
+
end
|
214
|
+
def service_provider_properties
|
215
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ServiceProviderProperties
|
216
|
+
end
|
217
|
+
def skype_channel_properties
|
218
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::SkypeChannelProperties
|
219
|
+
end
|
220
|
+
def service_provider
|
221
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ServiceProvider
|
222
|
+
end
|
223
|
+
def direct_line_channel_properties
|
224
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::DirectLineChannelProperties
|
225
|
+
end
|
226
|
+
def service_provider_response_list
|
227
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ServiceProviderResponseList
|
228
|
+
end
|
229
|
+
def bot
|
230
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::Bot
|
231
|
+
end
|
232
|
+
def bot_channel
|
233
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::BotChannel
|
234
|
+
end
|
235
|
+
def facebook_channel
|
236
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::FacebookChannel
|
237
|
+
end
|
238
|
+
def email_channel
|
239
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EmailChannel
|
240
|
+
end
|
241
|
+
def ms_teams_channel
|
242
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::MsTeamsChannel
|
243
|
+
end
|
244
|
+
def skype_channel
|
245
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::SkypeChannel
|
246
|
+
end
|
247
|
+
def kik_channel
|
248
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::KikChannel
|
249
|
+
end
|
250
|
+
def web_chat_channel
|
251
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::WebChatChannel
|
252
|
+
end
|
253
|
+
def direct_line_channel
|
254
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::DirectLineChannel
|
255
|
+
end
|
256
|
+
def telegram_channel
|
257
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::TelegramChannel
|
258
|
+
end
|
259
|
+
def sms_channel
|
260
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::SmsChannel
|
261
|
+
end
|
262
|
+
def slack_channel
|
263
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannel
|
264
|
+
end
|
265
|
+
def connection_setting
|
266
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSetting
|
267
|
+
end
|
268
|
+
def enterprise_channel
|
269
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannel
|
270
|
+
end
|
271
|
+
def sku_name
|
272
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::SkuName
|
273
|
+
end
|
274
|
+
def sku_tier
|
275
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::SkuTier
|
276
|
+
end
|
277
|
+
def kind
|
278
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::Kind
|
279
|
+
end
|
280
|
+
def enterprise_channel_state
|
281
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelState
|
282
|
+
end
|
283
|
+
def enterprise_channel_node_state
|
284
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelNodeState
|
285
|
+
end
|
286
|
+
def channel_name
|
287
|
+
Azure::BotService::Mgmt::V2018_07_12_preview::Models::ChannelName
|
288
|
+
end
|
289
|
+
end
|
290
|
+
end
|
291
|
+
end
|
292
|
+
end
|
293
|
+
end
|
@@ -0,0 +1,207 @@
|
|
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_cost_management'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module CostManagement
|
9
|
+
module Mgmt
|
10
|
+
Views = Azure::CostManagement::Mgmt::V2019_04_01_preview::Views
|
11
|
+
Budgets = Azure::CostManagement::Mgmt::V2019_04_01_preview::Budgets
|
12
|
+
Budget = Azure::CostManagement::Mgmt::V2019_04_01_preview::Budget
|
13
|
+
Operations = Azure::CostManagement::Mgmt::V2019_04_01_preview::Operations
|
14
|
+
|
15
|
+
module Models
|
16
|
+
OperationDisplay = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::OperationDisplay
|
17
|
+
ErrorBase = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ErrorBase
|
18
|
+
Operation = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::Operation
|
19
|
+
ErrorResponse = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ErrorResponse
|
20
|
+
OperationListResult = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::OperationListResult
|
21
|
+
ProxyResource = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ProxyResource
|
22
|
+
Scope = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::Scope
|
23
|
+
ReportConfigDatasetConfiguration = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigDatasetConfiguration
|
24
|
+
KpiProperties = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::KpiProperties
|
25
|
+
ReportConfigGrouping = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigGrouping
|
26
|
+
PivotProperties = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::PivotProperties
|
27
|
+
ReportConfigComparisonExpression = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigComparisonExpression
|
28
|
+
ReportConfigFilter = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigFilter
|
29
|
+
ReportConfigDataset = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigDataset
|
30
|
+
Resource = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::Resource
|
31
|
+
ViewListResult = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ViewListResult
|
32
|
+
ReportConfigAggregation = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigAggregation
|
33
|
+
BudgetTimePeriod = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::BudgetTimePeriod
|
34
|
+
ErrorDetails = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ErrorDetails
|
35
|
+
CurrentSpend = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::CurrentSpend
|
36
|
+
ReportConfigSorting = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigSorting
|
37
|
+
Notification = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::Notification
|
38
|
+
ReportConfigTimePeriod = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigTimePeriod
|
39
|
+
BudgetsListResult = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::BudgetsListResult
|
40
|
+
View = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::View
|
41
|
+
BudgetModel = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::BudgetModel
|
42
|
+
TimeframeType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::TimeframeType
|
43
|
+
GranularityType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::GranularityType
|
44
|
+
ReportConfigColumnType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigColumnType
|
45
|
+
OperatorType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::OperatorType
|
46
|
+
ChartType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ChartType
|
47
|
+
AccumulatedType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::AccumulatedType
|
48
|
+
MetricType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::MetricType
|
49
|
+
KpiTypeType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::KpiTypeType
|
50
|
+
PivotTypeType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::PivotTypeType
|
51
|
+
CategoryType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::CategoryType
|
52
|
+
TimeGrainType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::TimeGrainType
|
53
|
+
NotificationOperatorType = Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::NotificationOperatorType
|
54
|
+
end
|
55
|
+
|
56
|
+
class CostManagementManagementClass
|
57
|
+
attr_reader :views, :budgets, :budget, :operations, :configurable, :base_url, :options, :model_classes
|
58
|
+
|
59
|
+
def initialize(configurable, base_url=nil, options=nil)
|
60
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
61
|
+
|
62
|
+
@client_0 = Azure::CostManagement::Mgmt::V2019_04_01_preview::CostManagementClient.new(configurable.credentials, base_url, options)
|
63
|
+
if(@client_0.respond_to?(:subscription_id))
|
64
|
+
@client_0.subscription_id = configurable.subscription_id
|
65
|
+
end
|
66
|
+
add_telemetry(@client_0)
|
67
|
+
@views = @client_0.views
|
68
|
+
@budgets = @client_0.budgets
|
69
|
+
@budget = @client_0.budget
|
70
|
+
@operations = @client_0.operations
|
71
|
+
|
72
|
+
@model_classes = ModelClasses.new
|
73
|
+
end
|
74
|
+
|
75
|
+
def add_telemetry(client)
|
76
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/CostManagement/Mgmt"
|
77
|
+
client.add_user_agent_information(profile_information)
|
78
|
+
end
|
79
|
+
|
80
|
+
def method_missing(method, *args)
|
81
|
+
if @client_0.respond_to?method
|
82
|
+
@client_0.send(method, *args)
|
83
|
+
else
|
84
|
+
super
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
class ModelClasses
|
89
|
+
def operation_display
|
90
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::OperationDisplay
|
91
|
+
end
|
92
|
+
def error_base
|
93
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ErrorBase
|
94
|
+
end
|
95
|
+
def operation
|
96
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::Operation
|
97
|
+
end
|
98
|
+
def error_response
|
99
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ErrorResponse
|
100
|
+
end
|
101
|
+
def operation_list_result
|
102
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::OperationListResult
|
103
|
+
end
|
104
|
+
def proxy_resource
|
105
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ProxyResource
|
106
|
+
end
|
107
|
+
def scope
|
108
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::Scope
|
109
|
+
end
|
110
|
+
def report_config_dataset_configuration
|
111
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigDatasetConfiguration
|
112
|
+
end
|
113
|
+
def kpi_properties
|
114
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::KpiProperties
|
115
|
+
end
|
116
|
+
def report_config_grouping
|
117
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigGrouping
|
118
|
+
end
|
119
|
+
def pivot_properties
|
120
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::PivotProperties
|
121
|
+
end
|
122
|
+
def report_config_comparison_expression
|
123
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigComparisonExpression
|
124
|
+
end
|
125
|
+
def report_config_filter
|
126
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigFilter
|
127
|
+
end
|
128
|
+
def report_config_dataset
|
129
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigDataset
|
130
|
+
end
|
131
|
+
def resource
|
132
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::Resource
|
133
|
+
end
|
134
|
+
def view_list_result
|
135
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ViewListResult
|
136
|
+
end
|
137
|
+
def report_config_aggregation
|
138
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigAggregation
|
139
|
+
end
|
140
|
+
def budget_time_period
|
141
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::BudgetTimePeriod
|
142
|
+
end
|
143
|
+
def error_details
|
144
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ErrorDetails
|
145
|
+
end
|
146
|
+
def current_spend
|
147
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::CurrentSpend
|
148
|
+
end
|
149
|
+
def report_config_sorting
|
150
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigSorting
|
151
|
+
end
|
152
|
+
def notification
|
153
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::Notification
|
154
|
+
end
|
155
|
+
def report_config_time_period
|
156
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigTimePeriod
|
157
|
+
end
|
158
|
+
def budgets_list_result
|
159
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::BudgetsListResult
|
160
|
+
end
|
161
|
+
def view
|
162
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::View
|
163
|
+
end
|
164
|
+
def budget_model
|
165
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::BudgetModel
|
166
|
+
end
|
167
|
+
def timeframe_type
|
168
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::TimeframeType
|
169
|
+
end
|
170
|
+
def granularity_type
|
171
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::GranularityType
|
172
|
+
end
|
173
|
+
def report_config_column_type
|
174
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigColumnType
|
175
|
+
end
|
176
|
+
def operator_type
|
177
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::OperatorType
|
178
|
+
end
|
179
|
+
def chart_type
|
180
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ChartType
|
181
|
+
end
|
182
|
+
def accumulated_type
|
183
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::AccumulatedType
|
184
|
+
end
|
185
|
+
def metric_type
|
186
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::MetricType
|
187
|
+
end
|
188
|
+
def kpi_type_type
|
189
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::KpiTypeType
|
190
|
+
end
|
191
|
+
def pivot_type_type
|
192
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::PivotTypeType
|
193
|
+
end
|
194
|
+
def category_type
|
195
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::CategoryType
|
196
|
+
end
|
197
|
+
def time_grain_type
|
198
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::TimeGrainType
|
199
|
+
end
|
200
|
+
def notification_operator_type
|
201
|
+
Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::NotificationOperatorType
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|