azure_sdk 0.51.1 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/lib/azure_sdk.rb +9 -9
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +0 -0
- data/lib/latest/module_definition.rb +6 -6
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
- data/lib/latest/modules/advisor_profile_module.rb +119 -119
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
- data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
- data/lib/latest/modules/appconfiguration_profile_module.rb +175 -107
- data/lib/latest/modules/attestation_profile_module.rb +95 -95
- data/lib/latest/modules/authorization_profile_module.rb +167 -167
- data/lib/latest/modules/automation_profile_module.rb +663 -663
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
- data/lib/latest/modules/azurestack_profile_module.rb +0 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -417
- data/lib/latest/modules/batchai_profile_module.rb +425 -425
- data/lib/latest/modules/billing_profile_module.rb +107 -107
- data/lib/latest/modules/botservice_profile_module.rb +293 -293
- data/lib/latest/modules/cdn_profile_module.rb +325 -325
- data/lib/latest/modules/cognitiveservices_profile_module.rb +201 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +1235 -1235
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +345 -345
- data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
- data/lib/latest/modules/cosmosdb_profile_module.rb +679 -679
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
- data/lib/latest/modules/customsearch_profile_module.rb +123 -123
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
- data/lib/latest/modules/databox_profile_module.rb +309 -309
- data/lib/latest/modules/datafactory_profile_module.rb +2701 -2159
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
- data/lib/latest/modules/datashare_profile_module.rb +383 -383
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -261
- data/lib/latest/modules/devspaces_profile_module.rb +119 -119
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
- data/lib/latest/modules/dns_profile_module.rb +143 -143
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
- data/lib/latest/modules/eventgrid_profile_module.rb +679 -679
- data/lib/latest/modules/eventhub_profile_module.rb +195 -195
- data/lib/latest/modules/face_profile_module.rb +297 -297
- data/lib/latest/modules/features_profile_module.rb +73 -73
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
- data/lib/latest/modules/hdinsight_profile_module.rb +415 -415
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/importexport_profile_module.rb +135 -135
- data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
- data/lib/latest/modules/iothub_profile_module.rb +377 -377
- data/lib/latest/modules/keyvault_profile_module.rb +623 -623
- data/lib/latest/modules/kusto_profile_module.rb +349 -297
- data/lib/latest/modules/labservices_profile_module.rb +357 -357
- data/lib/latest/modules/links_profile_module.rb +83 -83
- data/lib/latest/modules/localsearch_profile_module.rb +151 -151
- data/lib/latest/modules/locks_profile_module.rb +79 -79
- data/lib/latest/modules/logic_profile_module.rb +787 -787
- data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
- data/lib/latest/modules/maintenance_profile_module.rb +121 -121
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
- data/lib/latest/modules/mariadb_profile_module.rb +233 -233
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -871
- data/lib/latest/modules/migrate_profile_module.rb +243 -243
- data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
- data/lib/latest/modules/monitor_profile_module.rb +723 -723
- data/lib/latest/modules/mysql_profile_module.rb +233 -233
- data/lib/latest/modules/netapp_profile_module.rb +209 -209
- data/lib/latest/modules/network_profile_module.rb +2489 -2489
- data/lib/latest/modules/newssearch_profile_module.rb +143 -143
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
- data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
- data/lib/latest/modules/peering_profile_module.rb +259 -259
- data/lib/latest/modules/personalizer_profile_module.rb +83 -83
- data/lib/latest/modules/policy_profile_module.rb +105 -105
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -223
- data/lib/latest/modules/portal_profile_module.rb +95 -95
- data/lib/latest/modules/postgresql_profile_module.rb +233 -233
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
- data/lib/latest/modules/privatedns_profile_module.rb +137 -137
- data/lib/latest/modules/qnamaker_profile_module.rb +215 -219
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
- data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1301 -1301
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
- data/lib/latest/modules/redis_profile_module.rb +209 -209
- data/lib/latest/modules/relay_profile_module.rb +163 -163
- data/lib/latest/modules/reservations_profile_module.rb +359 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -111
- data/lib/latest/modules/resources_profile_module.rb +321 -321
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
- data/lib/latest/modules/scheduler_profile_module.rb +227 -227
- data/lib/latest/modules/search_profile_module.rb +127 -127
- data/lib/latest/modules/security_profile_module.rb +733 -733
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
- data/lib/latest/modules/servicebus_profile_module.rb +309 -309
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
- data/lib/latest/modules/signalr_profile_module.rb +161 -161
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
- data/lib/latest/modules/sql_profile_module.rb +1765 -1765
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -235
- data/lib/latest/modules/storage_profile_module.rb +569 -549
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +275 -275
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
- data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
- data/lib/latest/modules/timeseriesinsights_profile_module.rb +0 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
- data/lib/latest/modules/videosearch_profile_module.rb +175 -175
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
- data/lib/latest/modules/web_profile_module.rb +1419 -1419
- data/lib/latest/modules/websearch_profile_module.rb +211 -211
- data/lib/v2017_03_09/module_definition.rb +6 -6
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
- data/lib/v2018_03_01/module_definition.rb +6 -6
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
- data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
- metadata +27 -26
@@ -1,107 +1,107 @@
|
|
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_billing'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module Billing
|
9
|
-
module Mgmt
|
10
|
-
EnrollmentAccounts = Azure::Billing::Mgmt::V2018_03_01_preview::EnrollmentAccounts
|
11
|
-
BillingPeriods = Azure::Billing::Mgmt::V2018_03_01_preview::BillingPeriods
|
12
|
-
Invoices = Azure::Billing::Mgmt::V2018_03_01_preview::Invoices
|
13
|
-
Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations
|
14
|
-
|
15
|
-
module Models
|
16
|
-
ErrorResponse = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
17
|
-
ErrorDetails = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails
|
18
|
-
OperationListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
19
|
-
Resource = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource
|
20
|
-
DownloadUrl = Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl
|
21
|
-
InvoicesListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::InvoicesListResult
|
22
|
-
BillingPeriodsListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriodsListResult
|
23
|
-
OperationDisplay = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
24
|
-
EnrollmentAccountListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult
|
25
|
-
Operation = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation
|
26
|
-
EnrollmentAccount = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount
|
27
|
-
BillingPeriod = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod
|
28
|
-
Invoice = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice
|
29
|
-
end
|
30
|
-
|
31
|
-
class BillingManagementClass
|
32
|
-
attr_reader :enrollment_accounts, :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes
|
33
|
-
|
34
|
-
def initialize(configurable, base_url=nil, options=nil)
|
35
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
36
|
-
|
37
|
-
@client_0 = Azure::Billing::Mgmt::V2018_03_01_preview::BillingManagementClient.new(configurable.credentials, base_url, options)
|
38
|
-
if(@client_0.respond_to?(:subscription_id))
|
39
|
-
@client_0.subscription_id = configurable.subscription_id
|
40
|
-
end
|
41
|
-
add_telemetry(@client_0)
|
42
|
-
@enrollment_accounts = @client_0.enrollment_accounts
|
43
|
-
@billing_periods = @client_0.billing_periods
|
44
|
-
@invoices = @client_0.invoices
|
45
|
-
@operations = @client_0.operations
|
46
|
-
|
47
|
-
@model_classes = ModelClasses.new
|
48
|
-
end
|
49
|
-
|
50
|
-
def add_telemetry(client)
|
51
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Billing/Mgmt"
|
52
|
-
client.add_user_agent_information(profile_information)
|
53
|
-
end
|
54
|
-
|
55
|
-
def method_missing(method, *args)
|
56
|
-
if @client_0.respond_to?method
|
57
|
-
@client_0.send(method, *args)
|
58
|
-
else
|
59
|
-
super
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
class ModelClasses
|
64
|
-
def error_response
|
65
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
66
|
-
end
|
67
|
-
def error_details
|
68
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails
|
69
|
-
end
|
70
|
-
def operation_list_result
|
71
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
72
|
-
end
|
73
|
-
def resource
|
74
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource
|
75
|
-
end
|
76
|
-
def download_url
|
77
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl
|
78
|
-
end
|
79
|
-
def invoices_list_result
|
80
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::InvoicesListResult
|
81
|
-
end
|
82
|
-
def billing_periods_list_result
|
83
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriodsListResult
|
84
|
-
end
|
85
|
-
def operation_display
|
86
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
87
|
-
end
|
88
|
-
def enrollment_account_list_result
|
89
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult
|
90
|
-
end
|
91
|
-
def operation
|
92
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation
|
93
|
-
end
|
94
|
-
def enrollment_account
|
95
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount
|
96
|
-
end
|
97
|
-
def billing_period
|
98
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod
|
99
|
-
end
|
100
|
-
def invoice
|
101
|
-
Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|
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_billing'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Billing
|
9
|
+
module Mgmt
|
10
|
+
EnrollmentAccounts = Azure::Billing::Mgmt::V2018_03_01_preview::EnrollmentAccounts
|
11
|
+
BillingPeriods = Azure::Billing::Mgmt::V2018_03_01_preview::BillingPeriods
|
12
|
+
Invoices = Azure::Billing::Mgmt::V2018_03_01_preview::Invoices
|
13
|
+
Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations
|
14
|
+
|
15
|
+
module Models
|
16
|
+
ErrorResponse = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
17
|
+
ErrorDetails = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails
|
18
|
+
OperationListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
19
|
+
Resource = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource
|
20
|
+
DownloadUrl = Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl
|
21
|
+
InvoicesListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::InvoicesListResult
|
22
|
+
BillingPeriodsListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriodsListResult
|
23
|
+
OperationDisplay = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
24
|
+
EnrollmentAccountListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult
|
25
|
+
Operation = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation
|
26
|
+
EnrollmentAccount = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount
|
27
|
+
BillingPeriod = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod
|
28
|
+
Invoice = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice
|
29
|
+
end
|
30
|
+
|
31
|
+
class BillingManagementClass
|
32
|
+
attr_reader :enrollment_accounts, :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes
|
33
|
+
|
34
|
+
def initialize(configurable, base_url=nil, options=nil)
|
35
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
36
|
+
|
37
|
+
@client_0 = Azure::Billing::Mgmt::V2018_03_01_preview::BillingManagementClient.new(configurable.credentials, base_url, options)
|
38
|
+
if(@client_0.respond_to?(:subscription_id))
|
39
|
+
@client_0.subscription_id = configurable.subscription_id
|
40
|
+
end
|
41
|
+
add_telemetry(@client_0)
|
42
|
+
@enrollment_accounts = @client_0.enrollment_accounts
|
43
|
+
@billing_periods = @client_0.billing_periods
|
44
|
+
@invoices = @client_0.invoices
|
45
|
+
@operations = @client_0.operations
|
46
|
+
|
47
|
+
@model_classes = ModelClasses.new
|
48
|
+
end
|
49
|
+
|
50
|
+
def add_telemetry(client)
|
51
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Billing/Mgmt"
|
52
|
+
client.add_user_agent_information(profile_information)
|
53
|
+
end
|
54
|
+
|
55
|
+
def method_missing(method, *args)
|
56
|
+
if @client_0.respond_to?method
|
57
|
+
@client_0.send(method, *args)
|
58
|
+
else
|
59
|
+
super
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class ModelClasses
|
64
|
+
def error_response
|
65
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
66
|
+
end
|
67
|
+
def error_details
|
68
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails
|
69
|
+
end
|
70
|
+
def operation_list_result
|
71
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
72
|
+
end
|
73
|
+
def resource
|
74
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource
|
75
|
+
end
|
76
|
+
def download_url
|
77
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl
|
78
|
+
end
|
79
|
+
def invoices_list_result
|
80
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::InvoicesListResult
|
81
|
+
end
|
82
|
+
def billing_periods_list_result
|
83
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriodsListResult
|
84
|
+
end
|
85
|
+
def operation_display
|
86
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
87
|
+
end
|
88
|
+
def enrollment_account_list_result
|
89
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult
|
90
|
+
end
|
91
|
+
def operation
|
92
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation
|
93
|
+
end
|
94
|
+
def enrollment_account
|
95
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount
|
96
|
+
end
|
97
|
+
def billing_period
|
98
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod
|
99
|
+
end
|
100
|
+
def invoice
|
101
|
+
Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
@@ -1,293 +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
|
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
|