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,123 +1,123 @@
|
|
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_cognitiveservices_qnamakerruntime'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module QnamakerRuntime
|
9
|
-
Runtime = Azure::CognitiveServices::QnamakerRuntime::V4_0::Runtime
|
10
|
-
|
11
|
-
module Models
|
12
|
-
Error = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::Error
|
13
|
-
MetadataDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::MetadataDTO
|
14
|
-
ErrorResponse = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponse
|
15
|
-
InnerErrorModel = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::InnerErrorModel
|
16
|
-
FeedbackRecordDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordDTO
|
17
|
-
QnASearchResult = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResult
|
18
|
-
ContextDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ContextDTO
|
19
|
-
QnADTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTO
|
20
|
-
QueryDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTO
|
21
|
-
QnASearchResultList = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultList
|
22
|
-
QueryContextDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryContextDTO
|
23
|
-
PromptDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTO
|
24
|
-
FeedbackRecordsDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordsDTO
|
25
|
-
QnADTOContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTOContext
|
26
|
-
PromptDTOQna = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTOQna
|
27
|
-
ErrorResponseError = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponseError
|
28
|
-
QueryDTOContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTOContext
|
29
|
-
QnASearchResultContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultContext
|
30
|
-
ErrorCodeType = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorCodeType
|
31
|
-
end
|
32
|
-
|
33
|
-
class QnamakerRuntimeDataClass
|
34
|
-
attr_reader :runtime, :configurable, :base_url, :options, :model_classes
|
35
|
-
|
36
|
-
def initialize(configurable, base_url=nil, options=nil)
|
37
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
38
|
-
|
39
|
-
@client_0 = Azure::CognitiveServices::QnamakerRuntime::V4_0::QnamakerRuntimeClient.new(configurable.credentials, options)
|
40
|
-
if(@client_0.respond_to?(:subscription_id))
|
41
|
-
@client_0.subscription_id = configurable.subscription_id
|
42
|
-
end
|
43
|
-
add_telemetry(@client_0)
|
44
|
-
@runtime = @client_0.runtime
|
45
|
-
|
46
|
-
@model_classes = ModelClasses.new
|
47
|
-
end
|
48
|
-
|
49
|
-
def add_telemetry(client)
|
50
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/QnamakerRuntime"
|
51
|
-
client.add_user_agent_information(profile_information)
|
52
|
-
end
|
53
|
-
|
54
|
-
def method_missing(method, *args)
|
55
|
-
if @client_0.respond_to?method
|
56
|
-
@client_0.send(method, *args)
|
57
|
-
else
|
58
|
-
super
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
class ModelClasses
|
63
|
-
def error
|
64
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::Error
|
65
|
-
end
|
66
|
-
def metadata_dto
|
67
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::MetadataDTO
|
68
|
-
end
|
69
|
-
def error_response
|
70
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponse
|
71
|
-
end
|
72
|
-
def inner_error_model
|
73
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::InnerErrorModel
|
74
|
-
end
|
75
|
-
def feedback_record_dto
|
76
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordDTO
|
77
|
-
end
|
78
|
-
def qn_asearch_result
|
79
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResult
|
80
|
-
end
|
81
|
-
def context_dto
|
82
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ContextDTO
|
83
|
-
end
|
84
|
-
def qn_adto
|
85
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTO
|
86
|
-
end
|
87
|
-
def query_dto
|
88
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTO
|
89
|
-
end
|
90
|
-
def qn_asearch_result_list
|
91
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultList
|
92
|
-
end
|
93
|
-
def query_context_dto
|
94
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryContextDTO
|
95
|
-
end
|
96
|
-
def prompt_dto
|
97
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTO
|
98
|
-
end
|
99
|
-
def feedback_records_dto
|
100
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordsDTO
|
101
|
-
end
|
102
|
-
def qn_adtocontext
|
103
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTOContext
|
104
|
-
end
|
105
|
-
def prompt_dtoqna
|
106
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTOQna
|
107
|
-
end
|
108
|
-
def error_response_error
|
109
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponseError
|
110
|
-
end
|
111
|
-
def query_dtocontext
|
112
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTOContext
|
113
|
-
end
|
114
|
-
def qn_asearch_result_context
|
115
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultContext
|
116
|
-
end
|
117
|
-
def error_code_type
|
118
|
-
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorCodeType
|
119
|
-
end
|
120
|
-
end
|
121
|
-
end
|
122
|
-
end
|
123
|
-
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_cognitiveservices_qnamakerruntime'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module QnamakerRuntime
|
9
|
+
Runtime = Azure::CognitiveServices::QnamakerRuntime::V4_0::Runtime
|
10
|
+
|
11
|
+
module Models
|
12
|
+
Error = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::Error
|
13
|
+
MetadataDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::MetadataDTO
|
14
|
+
ErrorResponse = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponse
|
15
|
+
InnerErrorModel = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::InnerErrorModel
|
16
|
+
FeedbackRecordDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordDTO
|
17
|
+
QnASearchResult = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResult
|
18
|
+
ContextDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ContextDTO
|
19
|
+
QnADTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTO
|
20
|
+
QueryDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTO
|
21
|
+
QnASearchResultList = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultList
|
22
|
+
QueryContextDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryContextDTO
|
23
|
+
PromptDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTO
|
24
|
+
FeedbackRecordsDTO = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordsDTO
|
25
|
+
QnADTOContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTOContext
|
26
|
+
PromptDTOQna = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTOQna
|
27
|
+
ErrorResponseError = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponseError
|
28
|
+
QueryDTOContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTOContext
|
29
|
+
QnASearchResultContext = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultContext
|
30
|
+
ErrorCodeType = Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorCodeType
|
31
|
+
end
|
32
|
+
|
33
|
+
class QnamakerRuntimeDataClass
|
34
|
+
attr_reader :runtime, :configurable, :base_url, :options, :model_classes
|
35
|
+
|
36
|
+
def initialize(configurable, base_url=nil, options=nil)
|
37
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
38
|
+
|
39
|
+
@client_0 = Azure::CognitiveServices::QnamakerRuntime::V4_0::QnamakerRuntimeClient.new(configurable.credentials, options)
|
40
|
+
if(@client_0.respond_to?(:subscription_id))
|
41
|
+
@client_0.subscription_id = configurable.subscription_id
|
42
|
+
end
|
43
|
+
add_telemetry(@client_0)
|
44
|
+
@runtime = @client_0.runtime
|
45
|
+
|
46
|
+
@model_classes = ModelClasses.new
|
47
|
+
end
|
48
|
+
|
49
|
+
def add_telemetry(client)
|
50
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/QnamakerRuntime"
|
51
|
+
client.add_user_agent_information(profile_information)
|
52
|
+
end
|
53
|
+
|
54
|
+
def method_missing(method, *args)
|
55
|
+
if @client_0.respond_to?method
|
56
|
+
@client_0.send(method, *args)
|
57
|
+
else
|
58
|
+
super
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
class ModelClasses
|
63
|
+
def error
|
64
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::Error
|
65
|
+
end
|
66
|
+
def metadata_dto
|
67
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::MetadataDTO
|
68
|
+
end
|
69
|
+
def error_response
|
70
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponse
|
71
|
+
end
|
72
|
+
def inner_error_model
|
73
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::InnerErrorModel
|
74
|
+
end
|
75
|
+
def feedback_record_dto
|
76
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordDTO
|
77
|
+
end
|
78
|
+
def qn_asearch_result
|
79
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResult
|
80
|
+
end
|
81
|
+
def context_dto
|
82
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ContextDTO
|
83
|
+
end
|
84
|
+
def qn_adto
|
85
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTO
|
86
|
+
end
|
87
|
+
def query_dto
|
88
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTO
|
89
|
+
end
|
90
|
+
def qn_asearch_result_list
|
91
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultList
|
92
|
+
end
|
93
|
+
def query_context_dto
|
94
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryContextDTO
|
95
|
+
end
|
96
|
+
def prompt_dto
|
97
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTO
|
98
|
+
end
|
99
|
+
def feedback_records_dto
|
100
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::FeedbackRecordsDTO
|
101
|
+
end
|
102
|
+
def qn_adtocontext
|
103
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnADTOContext
|
104
|
+
end
|
105
|
+
def prompt_dtoqna
|
106
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::PromptDTOQna
|
107
|
+
end
|
108
|
+
def error_response_error
|
109
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponseError
|
110
|
+
end
|
111
|
+
def query_dtocontext
|
112
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QueryDTOContext
|
113
|
+
end
|
114
|
+
def qn_asearch_result_context
|
115
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::QnASearchResultContext
|
116
|
+
end
|
117
|
+
def error_code_type
|
118
|
+
Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorCodeType
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
@@ -1,211 +1,211 @@
|
|
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_recovery_services'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module RecoveryServices
|
9
|
-
module Mgmt
|
10
|
-
VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates
|
11
|
-
RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities
|
12
|
-
ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages
|
13
|
-
RecoveryServices = Azure::RecoveryServices::Mgmt::V2016_06_01::RecoveryServices
|
14
|
-
Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults
|
15
|
-
Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations
|
16
|
-
VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations
|
17
|
-
Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages
|
18
|
-
|
19
|
-
module Models
|
20
|
-
ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties
|
21
|
-
RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData
|
22
|
-
ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
|
23
|
-
ClientDiscoveryDisplay = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
|
24
|
-
ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
|
25
|
-
ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
|
26
|
-
ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
|
27
|
-
JobsSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
|
28
|
-
CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
|
29
|
-
ReplicationUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
|
30
|
-
VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
|
31
|
-
CheckNameAvailabilityParameters = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters
|
32
|
-
ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
|
33
|
-
VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
|
34
|
-
Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
|
35
|
-
VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
|
36
|
-
Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
|
37
|
-
ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
|
38
|
-
NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
|
39
|
-
VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
|
40
|
-
CheckNameAvailabilityResult = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult
|
41
|
-
UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
|
42
|
-
MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
|
43
|
-
VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
|
44
|
-
ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails
|
45
|
-
ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails
|
46
|
-
CheckNameAvailabilityResultResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResultResource
|
47
|
-
TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource
|
48
|
-
PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource
|
49
|
-
Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault
|
50
|
-
PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault
|
51
|
-
VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource
|
52
|
-
AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType
|
53
|
-
SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName
|
54
|
-
VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState
|
55
|
-
TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType
|
56
|
-
UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit
|
57
|
-
end
|
58
|
-
|
59
|
-
class RecoveryServicesManagementClass
|
60
|
-
attr_reader :vault_certificates, :registered_identities, :replication_usages, :recovery_services, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes
|
61
|
-
|
62
|
-
def initialize(configurable, base_url=nil, options=nil)
|
63
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
64
|
-
|
65
|
-
@client_0 = Azure::RecoveryServices::Mgmt::V2016_06_01::RecoveryServicesClient.new(configurable.credentials, base_url, options)
|
66
|
-
if(@client_0.respond_to?(:subscription_id))
|
67
|
-
@client_0.subscription_id = configurable.subscription_id
|
68
|
-
end
|
69
|
-
add_telemetry(@client_0)
|
70
|
-
@vault_certificates = @client_0.vault_certificates
|
71
|
-
@registered_identities = @client_0.registered_identities
|
72
|
-
@replication_usages = @client_0.replication_usages
|
73
|
-
@recovery_services = @client_0.recovery_services
|
74
|
-
@vaults = @client_0.vaults
|
75
|
-
@operations = @client_0.operations
|
76
|
-
@vault_extended_info_operations = @client_0.vault_extended_info_operations
|
77
|
-
@usages = @client_0.usages
|
78
|
-
|
79
|
-
@model_classes = ModelClasses.new
|
80
|
-
end
|
81
|
-
|
82
|
-
def add_telemetry(client)
|
83
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/RecoveryServices/Mgmt"
|
84
|
-
client.add_user_agent_information(profile_information)
|
85
|
-
end
|
86
|
-
|
87
|
-
def method_missing(method, *args)
|
88
|
-
if @client_0.respond_to?method
|
89
|
-
@client_0.send(method, *args)
|
90
|
-
else
|
91
|
-
super
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
class ModelClasses
|
96
|
-
def client_discovery_for_properties
|
97
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties
|
98
|
-
end
|
99
|
-
def raw_certificate_data
|
100
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData
|
101
|
-
end
|
102
|
-
def client_discovery_value_for_single_api
|
103
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
|
104
|
-
end
|
105
|
-
def client_discovery_display
|
106
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
|
107
|
-
end
|
108
|
-
def client_discovery_for_log_specification
|
109
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
|
110
|
-
end
|
111
|
-
def resource_certificate_details
|
112
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
|
113
|
-
end
|
114
|
-
def client_discovery_for_service_specification
|
115
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
|
116
|
-
end
|
117
|
-
def jobs_summary
|
118
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
|
119
|
-
end
|
120
|
-
def certificate_request
|
121
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
|
122
|
-
end
|
123
|
-
def replication_usage
|
124
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
|
125
|
-
end
|
126
|
-
def vault_usage
|
127
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
|
128
|
-
end
|
129
|
-
def check_name_availability_parameters
|
130
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters
|
131
|
-
end
|
132
|
-
def client_discovery_response
|
133
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
|
134
|
-
end
|
135
|
-
def vault_usage_list
|
136
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
|
137
|
-
end
|
138
|
-
def resource
|
139
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
|
140
|
-
end
|
141
|
-
def vault_certificate_response
|
142
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
|
143
|
-
end
|
144
|
-
def sku
|
145
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
|
146
|
-
end
|
147
|
-
def replication_usage_list
|
148
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
|
149
|
-
end
|
150
|
-
def name_info
|
151
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
|
152
|
-
end
|
153
|
-
def vault_list
|
154
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
|
155
|
-
end
|
156
|
-
def check_name_availability_result
|
157
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult
|
158
|
-
end
|
159
|
-
def upgrade_details
|
160
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
|
161
|
-
end
|
162
|
-
def monitoring_summary
|
163
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
|
164
|
-
end
|
165
|
-
def vault_properties
|
166
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
|
167
|
-
end
|
168
|
-
def resource_certificate_and_aad_details
|
169
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails
|
170
|
-
end
|
171
|
-
def resource_certificate_and_acs_details
|
172
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails
|
173
|
-
end
|
174
|
-
def check_name_availability_result_resource
|
175
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResultResource
|
176
|
-
end
|
177
|
-
def tracked_resource
|
178
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource
|
179
|
-
end
|
180
|
-
def patch_tracked_resource
|
181
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource
|
182
|
-
end
|
183
|
-
def vault
|
184
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault
|
185
|
-
end
|
186
|
-
def patch_vault
|
187
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault
|
188
|
-
end
|
189
|
-
def vault_extended_info_resource
|
190
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource
|
191
|
-
end
|
192
|
-
def auth_type
|
193
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType
|
194
|
-
end
|
195
|
-
def sku_name
|
196
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName
|
197
|
-
end
|
198
|
-
def vault_upgrade_state
|
199
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState
|
200
|
-
end
|
201
|
-
def trigger_type
|
202
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType
|
203
|
-
end
|
204
|
-
def usages_unit
|
205
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit
|
206
|
-
end
|
207
|
-
end
|
208
|
-
end
|
209
|
-
end
|
210
|
-
end
|
211
|
-
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_recovery_services'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module RecoveryServices
|
9
|
+
module Mgmt
|
10
|
+
VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates
|
11
|
+
RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities
|
12
|
+
ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages
|
13
|
+
RecoveryServices = Azure::RecoveryServices::Mgmt::V2016_06_01::RecoveryServices
|
14
|
+
Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults
|
15
|
+
Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations
|
16
|
+
VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations
|
17
|
+
Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages
|
18
|
+
|
19
|
+
module Models
|
20
|
+
ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties
|
21
|
+
RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData
|
22
|
+
ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
|
23
|
+
ClientDiscoveryDisplay = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
|
24
|
+
ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
|
25
|
+
ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
|
26
|
+
ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
|
27
|
+
JobsSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
|
28
|
+
CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
|
29
|
+
ReplicationUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
|
30
|
+
VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
|
31
|
+
CheckNameAvailabilityParameters = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters
|
32
|
+
ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
|
33
|
+
VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
|
34
|
+
Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
|
35
|
+
VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
|
36
|
+
Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
|
37
|
+
ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
|
38
|
+
NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
|
39
|
+
VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
|
40
|
+
CheckNameAvailabilityResult = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult
|
41
|
+
UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
|
42
|
+
MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
|
43
|
+
VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
|
44
|
+
ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails
|
45
|
+
ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails
|
46
|
+
CheckNameAvailabilityResultResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResultResource
|
47
|
+
TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource
|
48
|
+
PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource
|
49
|
+
Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault
|
50
|
+
PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault
|
51
|
+
VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource
|
52
|
+
AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType
|
53
|
+
SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName
|
54
|
+
VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState
|
55
|
+
TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType
|
56
|
+
UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit
|
57
|
+
end
|
58
|
+
|
59
|
+
class RecoveryServicesManagementClass
|
60
|
+
attr_reader :vault_certificates, :registered_identities, :replication_usages, :recovery_services, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes
|
61
|
+
|
62
|
+
def initialize(configurable, base_url=nil, options=nil)
|
63
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
64
|
+
|
65
|
+
@client_0 = Azure::RecoveryServices::Mgmt::V2016_06_01::RecoveryServicesClient.new(configurable.credentials, base_url, options)
|
66
|
+
if(@client_0.respond_to?(:subscription_id))
|
67
|
+
@client_0.subscription_id = configurable.subscription_id
|
68
|
+
end
|
69
|
+
add_telemetry(@client_0)
|
70
|
+
@vault_certificates = @client_0.vault_certificates
|
71
|
+
@registered_identities = @client_0.registered_identities
|
72
|
+
@replication_usages = @client_0.replication_usages
|
73
|
+
@recovery_services = @client_0.recovery_services
|
74
|
+
@vaults = @client_0.vaults
|
75
|
+
@operations = @client_0.operations
|
76
|
+
@vault_extended_info_operations = @client_0.vault_extended_info_operations
|
77
|
+
@usages = @client_0.usages
|
78
|
+
|
79
|
+
@model_classes = ModelClasses.new
|
80
|
+
end
|
81
|
+
|
82
|
+
def add_telemetry(client)
|
83
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/RecoveryServices/Mgmt"
|
84
|
+
client.add_user_agent_information(profile_information)
|
85
|
+
end
|
86
|
+
|
87
|
+
def method_missing(method, *args)
|
88
|
+
if @client_0.respond_to?method
|
89
|
+
@client_0.send(method, *args)
|
90
|
+
else
|
91
|
+
super
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
class ModelClasses
|
96
|
+
def client_discovery_for_properties
|
97
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties
|
98
|
+
end
|
99
|
+
def raw_certificate_data
|
100
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData
|
101
|
+
end
|
102
|
+
def client_discovery_value_for_single_api
|
103
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
|
104
|
+
end
|
105
|
+
def client_discovery_display
|
106
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
|
107
|
+
end
|
108
|
+
def client_discovery_for_log_specification
|
109
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
|
110
|
+
end
|
111
|
+
def resource_certificate_details
|
112
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
|
113
|
+
end
|
114
|
+
def client_discovery_for_service_specification
|
115
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
|
116
|
+
end
|
117
|
+
def jobs_summary
|
118
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
|
119
|
+
end
|
120
|
+
def certificate_request
|
121
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
|
122
|
+
end
|
123
|
+
def replication_usage
|
124
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
|
125
|
+
end
|
126
|
+
def vault_usage
|
127
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
|
128
|
+
end
|
129
|
+
def check_name_availability_parameters
|
130
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters
|
131
|
+
end
|
132
|
+
def client_discovery_response
|
133
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
|
134
|
+
end
|
135
|
+
def vault_usage_list
|
136
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
|
137
|
+
end
|
138
|
+
def resource
|
139
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
|
140
|
+
end
|
141
|
+
def vault_certificate_response
|
142
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
|
143
|
+
end
|
144
|
+
def sku
|
145
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
|
146
|
+
end
|
147
|
+
def replication_usage_list
|
148
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
|
149
|
+
end
|
150
|
+
def name_info
|
151
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
|
152
|
+
end
|
153
|
+
def vault_list
|
154
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
|
155
|
+
end
|
156
|
+
def check_name_availability_result
|
157
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult
|
158
|
+
end
|
159
|
+
def upgrade_details
|
160
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
|
161
|
+
end
|
162
|
+
def monitoring_summary
|
163
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
|
164
|
+
end
|
165
|
+
def vault_properties
|
166
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
|
167
|
+
end
|
168
|
+
def resource_certificate_and_aad_details
|
169
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails
|
170
|
+
end
|
171
|
+
def resource_certificate_and_acs_details
|
172
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails
|
173
|
+
end
|
174
|
+
def check_name_availability_result_resource
|
175
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResultResource
|
176
|
+
end
|
177
|
+
def tracked_resource
|
178
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource
|
179
|
+
end
|
180
|
+
def patch_tracked_resource
|
181
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource
|
182
|
+
end
|
183
|
+
def vault
|
184
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault
|
185
|
+
end
|
186
|
+
def patch_vault
|
187
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault
|
188
|
+
end
|
189
|
+
def vault_extended_info_resource
|
190
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource
|
191
|
+
end
|
192
|
+
def auth_type
|
193
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType
|
194
|
+
end
|
195
|
+
def sku_name
|
196
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName
|
197
|
+
end
|
198
|
+
def vault_upgrade_state
|
199
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState
|
200
|
+
end
|
201
|
+
def trigger_type
|
202
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType
|
203
|
+
end
|
204
|
+
def usages_unit
|
205
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|