azure_sdk 0.42.0 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- 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 +1267 -1257
- 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 +107 -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 +163 -163
- data/lib/latest/modules/batch_profile_module.rb +377 -377
- 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 +207 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +0 -0
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +255 -255
- 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 +559 -559
- 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 +2159 -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/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 +671 -671
- data/lib/latest/modules/eventhub_profile_module.rb +171 -171
- 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 +407 -407
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/iotcentral_profile_module.rb +103 -103
- 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 +297 -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 -0
- 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 +859 -859
- 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 +185 -175
- 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 +193 -193
- 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 +219 -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 +1241 -1241
- 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 +237 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- 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 -1757
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +223 -223
- data/lib/latest/modules/storage_profile_module.rb +525 -525
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +249 -249
- 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/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 +23 -8
@@ -1,137 +1,137 @@
|
|
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_privatedns'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module PrivateDns
|
9
|
-
module Mgmt
|
10
|
-
PrivateZones = Azure::PrivateDns::Mgmt::V2018_09_01::PrivateZones
|
11
|
-
VirtualNetworkLinks = Azure::PrivateDns::Mgmt::V2018_09_01::VirtualNetworkLinks
|
12
|
-
RecordSets = Azure::PrivateDns::Mgmt::V2018_09_01::RecordSets
|
13
|
-
|
14
|
-
module Models
|
15
|
-
PtrRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PtrRecord
|
16
|
-
SoaRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SoaRecord
|
17
|
-
PrivateZoneListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZoneListResult
|
18
|
-
SrvRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SrvRecord
|
19
|
-
SubResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SubResource
|
20
|
-
VirtualNetworkLinkListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkListResult
|
21
|
-
AaaaRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::AaaaRecord
|
22
|
-
TxtRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::TxtRecord
|
23
|
-
MxRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::MxRecord
|
24
|
-
ARecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ARecord
|
25
|
-
RecordSetListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSetListResult
|
26
|
-
CnameRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::CnameRecord
|
27
|
-
Resource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::Resource
|
28
|
-
TrackedResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::TrackedResource
|
29
|
-
PrivateZone = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZone
|
30
|
-
VirtualNetworkLink = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLink
|
31
|
-
ProxyResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProxyResource
|
32
|
-
RecordSet = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSet
|
33
|
-
ProvisioningState = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProvisioningState
|
34
|
-
VirtualNetworkLinkState = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkState
|
35
|
-
RecordType = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordType
|
36
|
-
end
|
37
|
-
|
38
|
-
class PrivateDnsManagementClass
|
39
|
-
attr_reader :private_zones, :virtual_network_links, :record_sets, :configurable, :base_url, :options, :model_classes
|
40
|
-
|
41
|
-
def initialize(configurable, base_url=nil, options=nil)
|
42
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
43
|
-
|
44
|
-
@client_0 = Azure::PrivateDns::Mgmt::V2018_09_01::PrivateDnsManagementClient.new(configurable.credentials, base_url, options)
|
45
|
-
if(@client_0.respond_to?(:subscription_id))
|
46
|
-
@client_0.subscription_id = configurable.subscription_id
|
47
|
-
end
|
48
|
-
add_telemetry(@client_0)
|
49
|
-
@private_zones = @client_0.private_zones
|
50
|
-
@virtual_network_links = @client_0.virtual_network_links
|
51
|
-
@record_sets = @client_0.record_sets
|
52
|
-
|
53
|
-
@model_classes = ModelClasses.new
|
54
|
-
end
|
55
|
-
|
56
|
-
def add_telemetry(client)
|
57
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/PrivateDns/Mgmt"
|
58
|
-
client.add_user_agent_information(profile_information)
|
59
|
-
end
|
60
|
-
|
61
|
-
def method_missing(method, *args)
|
62
|
-
if @client_0.respond_to?method
|
63
|
-
@client_0.send(method, *args)
|
64
|
-
else
|
65
|
-
super
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
class ModelClasses
|
70
|
-
def ptr_record
|
71
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::PtrRecord
|
72
|
-
end
|
73
|
-
def soa_record
|
74
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::SoaRecord
|
75
|
-
end
|
76
|
-
def private_zone_list_result
|
77
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZoneListResult
|
78
|
-
end
|
79
|
-
def srv_record
|
80
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::SrvRecord
|
81
|
-
end
|
82
|
-
def sub_resource
|
83
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::SubResource
|
84
|
-
end
|
85
|
-
def virtual_network_link_list_result
|
86
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkListResult
|
87
|
-
end
|
88
|
-
def aaaa_record
|
89
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::AaaaRecord
|
90
|
-
end
|
91
|
-
def txt_record
|
92
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::TxtRecord
|
93
|
-
end
|
94
|
-
def mx_record
|
95
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::MxRecord
|
96
|
-
end
|
97
|
-
def arecord
|
98
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::ARecord
|
99
|
-
end
|
100
|
-
def record_set_list_result
|
101
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSetListResult
|
102
|
-
end
|
103
|
-
def cname_record
|
104
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::CnameRecord
|
105
|
-
end
|
106
|
-
def resource
|
107
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::Resource
|
108
|
-
end
|
109
|
-
def tracked_resource
|
110
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::TrackedResource
|
111
|
-
end
|
112
|
-
def private_zone
|
113
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZone
|
114
|
-
end
|
115
|
-
def virtual_network_link
|
116
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLink
|
117
|
-
end
|
118
|
-
def proxy_resource
|
119
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProxyResource
|
120
|
-
end
|
121
|
-
def record_set
|
122
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSet
|
123
|
-
end
|
124
|
-
def provisioning_state
|
125
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProvisioningState
|
126
|
-
end
|
127
|
-
def virtual_network_link_state
|
128
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkState
|
129
|
-
end
|
130
|
-
def record_type
|
131
|
-
Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordType
|
132
|
-
end
|
133
|
-
end
|
134
|
-
end
|
135
|
-
end
|
136
|
-
end
|
137
|
-
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_privatedns'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module PrivateDns
|
9
|
+
module Mgmt
|
10
|
+
PrivateZones = Azure::PrivateDns::Mgmt::V2018_09_01::PrivateZones
|
11
|
+
VirtualNetworkLinks = Azure::PrivateDns::Mgmt::V2018_09_01::VirtualNetworkLinks
|
12
|
+
RecordSets = Azure::PrivateDns::Mgmt::V2018_09_01::RecordSets
|
13
|
+
|
14
|
+
module Models
|
15
|
+
PtrRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PtrRecord
|
16
|
+
SoaRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SoaRecord
|
17
|
+
PrivateZoneListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZoneListResult
|
18
|
+
SrvRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SrvRecord
|
19
|
+
SubResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SubResource
|
20
|
+
VirtualNetworkLinkListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkListResult
|
21
|
+
AaaaRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::AaaaRecord
|
22
|
+
TxtRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::TxtRecord
|
23
|
+
MxRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::MxRecord
|
24
|
+
ARecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ARecord
|
25
|
+
RecordSetListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSetListResult
|
26
|
+
CnameRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::CnameRecord
|
27
|
+
Resource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::Resource
|
28
|
+
TrackedResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::TrackedResource
|
29
|
+
PrivateZone = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZone
|
30
|
+
VirtualNetworkLink = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLink
|
31
|
+
ProxyResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProxyResource
|
32
|
+
RecordSet = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSet
|
33
|
+
ProvisioningState = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProvisioningState
|
34
|
+
VirtualNetworkLinkState = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkState
|
35
|
+
RecordType = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordType
|
36
|
+
end
|
37
|
+
|
38
|
+
class PrivateDnsManagementClass
|
39
|
+
attr_reader :private_zones, :virtual_network_links, :record_sets, :configurable, :base_url, :options, :model_classes
|
40
|
+
|
41
|
+
def initialize(configurable, base_url=nil, options=nil)
|
42
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
43
|
+
|
44
|
+
@client_0 = Azure::PrivateDns::Mgmt::V2018_09_01::PrivateDnsManagementClient.new(configurable.credentials, base_url, options)
|
45
|
+
if(@client_0.respond_to?(:subscription_id))
|
46
|
+
@client_0.subscription_id = configurable.subscription_id
|
47
|
+
end
|
48
|
+
add_telemetry(@client_0)
|
49
|
+
@private_zones = @client_0.private_zones
|
50
|
+
@virtual_network_links = @client_0.virtual_network_links
|
51
|
+
@record_sets = @client_0.record_sets
|
52
|
+
|
53
|
+
@model_classes = ModelClasses.new
|
54
|
+
end
|
55
|
+
|
56
|
+
def add_telemetry(client)
|
57
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/PrivateDns/Mgmt"
|
58
|
+
client.add_user_agent_information(profile_information)
|
59
|
+
end
|
60
|
+
|
61
|
+
def method_missing(method, *args)
|
62
|
+
if @client_0.respond_to?method
|
63
|
+
@client_0.send(method, *args)
|
64
|
+
else
|
65
|
+
super
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
class ModelClasses
|
70
|
+
def ptr_record
|
71
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::PtrRecord
|
72
|
+
end
|
73
|
+
def soa_record
|
74
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::SoaRecord
|
75
|
+
end
|
76
|
+
def private_zone_list_result
|
77
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZoneListResult
|
78
|
+
end
|
79
|
+
def srv_record
|
80
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::SrvRecord
|
81
|
+
end
|
82
|
+
def sub_resource
|
83
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::SubResource
|
84
|
+
end
|
85
|
+
def virtual_network_link_list_result
|
86
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkListResult
|
87
|
+
end
|
88
|
+
def aaaa_record
|
89
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::AaaaRecord
|
90
|
+
end
|
91
|
+
def txt_record
|
92
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::TxtRecord
|
93
|
+
end
|
94
|
+
def mx_record
|
95
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::MxRecord
|
96
|
+
end
|
97
|
+
def arecord
|
98
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::ARecord
|
99
|
+
end
|
100
|
+
def record_set_list_result
|
101
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSetListResult
|
102
|
+
end
|
103
|
+
def cname_record
|
104
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::CnameRecord
|
105
|
+
end
|
106
|
+
def resource
|
107
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::Resource
|
108
|
+
end
|
109
|
+
def tracked_resource
|
110
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::TrackedResource
|
111
|
+
end
|
112
|
+
def private_zone
|
113
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZone
|
114
|
+
end
|
115
|
+
def virtual_network_link
|
116
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLink
|
117
|
+
end
|
118
|
+
def proxy_resource
|
119
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProxyResource
|
120
|
+
end
|
121
|
+
def record_set
|
122
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSet
|
123
|
+
end
|
124
|
+
def provisioning_state
|
125
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProvisioningState
|
126
|
+
end
|
127
|
+
def virtual_network_link_state
|
128
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkState
|
129
|
+
end
|
130
|
+
def record_type
|
131
|
+
Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordType
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
@@ -1,219 +1,219 @@
|
|
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_qnamaker'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module Qnamaker
|
9
|
-
EndpointSettings = Azure::CognitiveServices::Qnamaker::V4_0::EndpointSettings
|
10
|
-
EndpointKeys = Azure::CognitiveServices::Qnamaker::V4_0::EndpointKeys
|
11
|
-
Alterations = Azure::CognitiveServices::Qnamaker::V4_0::Alterations
|
12
|
-
Knowledgebase = Azure::CognitiveServices::Qnamaker::V4_0::Knowledgebase
|
13
|
-
Operations = Azure::CognitiveServices::Qnamaker::V4_0::Operations
|
14
|
-
|
15
|
-
module Models
|
16
|
-
FileDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO
|
17
|
-
CreateKbInputDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbInputDTO
|
18
|
-
DeleteKbContentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::DeleteKbContentsDTO
|
19
|
-
EndpointSettingsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTO
|
20
|
-
EndpointKeysDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO
|
21
|
-
QnADTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO
|
22
|
-
AlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO
|
23
|
-
UpdateQnaDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO
|
24
|
-
Operation = Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation
|
25
|
-
UpdateQuestionsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQuestionsDTO
|
26
|
-
KnowledgebasesDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO
|
27
|
-
UpdateMetadataDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateMetadataDTO
|
28
|
-
QnADocumentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADocumentsDTO
|
29
|
-
PromptDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTO
|
30
|
-
CreateKbDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbDTO
|
31
|
-
UpdateKbOperationDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTO
|
32
|
-
ReplaceKbDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ReplaceKbDTO
|
33
|
-
UpdateKbContentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbContentsDTO
|
34
|
-
ContextDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ContextDTO
|
35
|
-
ActiveLearningSettingsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ActiveLearningSettingsDTO
|
36
|
-
KnowledgebaseDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseDTO
|
37
|
-
WordAlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO
|
38
|
-
ErrorResponse = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponse
|
39
|
-
UpdateContextDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateContextDTO
|
40
|
-
InnerErrorModel = Azure::CognitiveServices::Qnamaker::V4_0::Models::InnerErrorModel
|
41
|
-
MetadataDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::MetadataDTO
|
42
|
-
Error = Azure::CognitiveServices::Qnamaker::V4_0::Models::Error
|
43
|
-
UpdateKbOperationDTOAdd = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOAdd
|
44
|
-
UpdateKbOperationDTODelete = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTODelete
|
45
|
-
UpdateKbOperationDTOUpdate = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOUpdate
|
46
|
-
UpdateQnaDTOQuestions = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions
|
47
|
-
UpdateQnaDTOMetadata = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata
|
48
|
-
UpdateQnaDTOContext = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOContext
|
49
|
-
PromptDTOQna = Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTOQna
|
50
|
-
QnADTOContext = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTOContext
|
51
|
-
ErrorResponseError = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponseError
|
52
|
-
EndpointSettingsDTOActiveLearning = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTOActiveLearning
|
53
|
-
KnowledgebaseEnvironmentType = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType
|
54
|
-
ErrorCodeType = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorCodeType
|
55
|
-
OperationStateType = Azure::CognitiveServices::Qnamaker::V4_0::Models::OperationStateType
|
56
|
-
EnvironmentType = Azure::CognitiveServices::Qnamaker::V4_0::Models::EnvironmentType
|
57
|
-
end
|
58
|
-
|
59
|
-
class QnamakerDataClass
|
60
|
-
attr_reader :endpoint_settings, :endpoint_keys, :alterations, :knowledgebase, :operations, :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::CognitiveServices::Qnamaker::V4_0::QnamakerClient.new(configurable.credentials, 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
|
-
@endpoint_settings = @client_0.endpoint_settings
|
71
|
-
@endpoint_keys = @client_0.endpoint_keys
|
72
|
-
@alterations = @client_0.alterations
|
73
|
-
@knowledgebase = @client_0.knowledgebase
|
74
|
-
@operations = @client_0.operations
|
75
|
-
|
76
|
-
@model_classes = ModelClasses.new
|
77
|
-
end
|
78
|
-
|
79
|
-
def add_telemetry(client)
|
80
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Qnamaker"
|
81
|
-
client.add_user_agent_information(profile_information)
|
82
|
-
end
|
83
|
-
|
84
|
-
def method_missing(method, *args)
|
85
|
-
if @client_0.respond_to?method
|
86
|
-
@client_0.send(method, *args)
|
87
|
-
else
|
88
|
-
super
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
class ModelClasses
|
93
|
-
def file_dto
|
94
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO
|
95
|
-
end
|
96
|
-
def create_kb_input_dto
|
97
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbInputDTO
|
98
|
-
end
|
99
|
-
def delete_kb_contents_dto
|
100
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::DeleteKbContentsDTO
|
101
|
-
end
|
102
|
-
def endpoint_settings_dto
|
103
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTO
|
104
|
-
end
|
105
|
-
def endpoint_keys_dto
|
106
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO
|
107
|
-
end
|
108
|
-
def qn_adto
|
109
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO
|
110
|
-
end
|
111
|
-
def alterations_dto
|
112
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO
|
113
|
-
end
|
114
|
-
def update_qna_dto
|
115
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO
|
116
|
-
end
|
117
|
-
def operation
|
118
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation
|
119
|
-
end
|
120
|
-
def update_questions_dto
|
121
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQuestionsDTO
|
122
|
-
end
|
123
|
-
def knowledgebases_dto
|
124
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO
|
125
|
-
end
|
126
|
-
def update_metadata_dto
|
127
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateMetadataDTO
|
128
|
-
end
|
129
|
-
def qn_adocuments_dto
|
130
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADocumentsDTO
|
131
|
-
end
|
132
|
-
def prompt_dto
|
133
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTO
|
134
|
-
end
|
135
|
-
def create_kb_dto
|
136
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbDTO
|
137
|
-
end
|
138
|
-
def update_kb_operation_dto
|
139
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTO
|
140
|
-
end
|
141
|
-
def replace_kb_dto
|
142
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::ReplaceKbDTO
|
143
|
-
end
|
144
|
-
def update_kb_contents_dto
|
145
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbContentsDTO
|
146
|
-
end
|
147
|
-
def context_dto
|
148
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::ContextDTO
|
149
|
-
end
|
150
|
-
def active_learning_settings_dto
|
151
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::ActiveLearningSettingsDTO
|
152
|
-
end
|
153
|
-
def knowledgebase_dto
|
154
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseDTO
|
155
|
-
end
|
156
|
-
def word_alterations_dto
|
157
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO
|
158
|
-
end
|
159
|
-
def error_response
|
160
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponse
|
161
|
-
end
|
162
|
-
def update_context_dto
|
163
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateContextDTO
|
164
|
-
end
|
165
|
-
def inner_error_model
|
166
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::InnerErrorModel
|
167
|
-
end
|
168
|
-
def metadata_dto
|
169
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::MetadataDTO
|
170
|
-
end
|
171
|
-
def error
|
172
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::Error
|
173
|
-
end
|
174
|
-
def update_kb_operation_dtoadd
|
175
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOAdd
|
176
|
-
end
|
177
|
-
def update_kb_operation_dtodelete
|
178
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTODelete
|
179
|
-
end
|
180
|
-
def update_kb_operation_dtoupdate
|
181
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOUpdate
|
182
|
-
end
|
183
|
-
def update_qna_dtoquestions
|
184
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions
|
185
|
-
end
|
186
|
-
def update_qna_dtometadata
|
187
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata
|
188
|
-
end
|
189
|
-
def update_qna_dtocontext
|
190
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOContext
|
191
|
-
end
|
192
|
-
def prompt_dtoqna
|
193
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTOQna
|
194
|
-
end
|
195
|
-
def qn_adtocontext
|
196
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTOContext
|
197
|
-
end
|
198
|
-
def error_response_error
|
199
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponseError
|
200
|
-
end
|
201
|
-
def endpoint_settings_dtoactive_learning
|
202
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTOActiveLearning
|
203
|
-
end
|
204
|
-
def knowledgebase_environment_type
|
205
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType
|
206
|
-
end
|
207
|
-
def error_code_type
|
208
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorCodeType
|
209
|
-
end
|
210
|
-
def operation_state_type
|
211
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::OperationStateType
|
212
|
-
end
|
213
|
-
def environment_type
|
214
|
-
Azure::CognitiveServices::Qnamaker::V4_0::Models::EnvironmentType
|
215
|
-
end
|
216
|
-
end
|
217
|
-
end
|
218
|
-
end
|
219
|
-
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_qnamaker'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Qnamaker
|
9
|
+
EndpointSettings = Azure::CognitiveServices::Qnamaker::V4_0::EndpointSettings
|
10
|
+
EndpointKeys = Azure::CognitiveServices::Qnamaker::V4_0::EndpointKeys
|
11
|
+
Alterations = Azure::CognitiveServices::Qnamaker::V4_0::Alterations
|
12
|
+
Knowledgebase = Azure::CognitiveServices::Qnamaker::V4_0::Knowledgebase
|
13
|
+
Operations = Azure::CognitiveServices::Qnamaker::V4_0::Operations
|
14
|
+
|
15
|
+
module Models
|
16
|
+
FileDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO
|
17
|
+
CreateKbInputDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbInputDTO
|
18
|
+
DeleteKbContentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::DeleteKbContentsDTO
|
19
|
+
EndpointSettingsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTO
|
20
|
+
EndpointKeysDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO
|
21
|
+
QnADTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO
|
22
|
+
AlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO
|
23
|
+
UpdateQnaDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO
|
24
|
+
Operation = Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation
|
25
|
+
UpdateQuestionsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQuestionsDTO
|
26
|
+
KnowledgebasesDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO
|
27
|
+
UpdateMetadataDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateMetadataDTO
|
28
|
+
QnADocumentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADocumentsDTO
|
29
|
+
PromptDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTO
|
30
|
+
CreateKbDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbDTO
|
31
|
+
UpdateKbOperationDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTO
|
32
|
+
ReplaceKbDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ReplaceKbDTO
|
33
|
+
UpdateKbContentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbContentsDTO
|
34
|
+
ContextDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ContextDTO
|
35
|
+
ActiveLearningSettingsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::ActiveLearningSettingsDTO
|
36
|
+
KnowledgebaseDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseDTO
|
37
|
+
WordAlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO
|
38
|
+
ErrorResponse = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponse
|
39
|
+
UpdateContextDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateContextDTO
|
40
|
+
InnerErrorModel = Azure::CognitiveServices::Qnamaker::V4_0::Models::InnerErrorModel
|
41
|
+
MetadataDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::MetadataDTO
|
42
|
+
Error = Azure::CognitiveServices::Qnamaker::V4_0::Models::Error
|
43
|
+
UpdateKbOperationDTOAdd = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOAdd
|
44
|
+
UpdateKbOperationDTODelete = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTODelete
|
45
|
+
UpdateKbOperationDTOUpdate = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOUpdate
|
46
|
+
UpdateQnaDTOQuestions = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions
|
47
|
+
UpdateQnaDTOMetadata = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata
|
48
|
+
UpdateQnaDTOContext = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOContext
|
49
|
+
PromptDTOQna = Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTOQna
|
50
|
+
QnADTOContext = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTOContext
|
51
|
+
ErrorResponseError = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponseError
|
52
|
+
EndpointSettingsDTOActiveLearning = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTOActiveLearning
|
53
|
+
KnowledgebaseEnvironmentType = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType
|
54
|
+
ErrorCodeType = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorCodeType
|
55
|
+
OperationStateType = Azure::CognitiveServices::Qnamaker::V4_0::Models::OperationStateType
|
56
|
+
EnvironmentType = Azure::CognitiveServices::Qnamaker::V4_0::Models::EnvironmentType
|
57
|
+
end
|
58
|
+
|
59
|
+
class QnamakerDataClass
|
60
|
+
attr_reader :endpoint_settings, :endpoint_keys, :alterations, :knowledgebase, :operations, :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::CognitiveServices::Qnamaker::V4_0::QnamakerClient.new(configurable.credentials, 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
|
+
@endpoint_settings = @client_0.endpoint_settings
|
71
|
+
@endpoint_keys = @client_0.endpoint_keys
|
72
|
+
@alterations = @client_0.alterations
|
73
|
+
@knowledgebase = @client_0.knowledgebase
|
74
|
+
@operations = @client_0.operations
|
75
|
+
|
76
|
+
@model_classes = ModelClasses.new
|
77
|
+
end
|
78
|
+
|
79
|
+
def add_telemetry(client)
|
80
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Qnamaker"
|
81
|
+
client.add_user_agent_information(profile_information)
|
82
|
+
end
|
83
|
+
|
84
|
+
def method_missing(method, *args)
|
85
|
+
if @client_0.respond_to?method
|
86
|
+
@client_0.send(method, *args)
|
87
|
+
else
|
88
|
+
super
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
class ModelClasses
|
93
|
+
def file_dto
|
94
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO
|
95
|
+
end
|
96
|
+
def create_kb_input_dto
|
97
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbInputDTO
|
98
|
+
end
|
99
|
+
def delete_kb_contents_dto
|
100
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::DeleteKbContentsDTO
|
101
|
+
end
|
102
|
+
def endpoint_settings_dto
|
103
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTO
|
104
|
+
end
|
105
|
+
def endpoint_keys_dto
|
106
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO
|
107
|
+
end
|
108
|
+
def qn_adto
|
109
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO
|
110
|
+
end
|
111
|
+
def alterations_dto
|
112
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO
|
113
|
+
end
|
114
|
+
def update_qna_dto
|
115
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO
|
116
|
+
end
|
117
|
+
def operation
|
118
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation
|
119
|
+
end
|
120
|
+
def update_questions_dto
|
121
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQuestionsDTO
|
122
|
+
end
|
123
|
+
def knowledgebases_dto
|
124
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO
|
125
|
+
end
|
126
|
+
def update_metadata_dto
|
127
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateMetadataDTO
|
128
|
+
end
|
129
|
+
def qn_adocuments_dto
|
130
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADocumentsDTO
|
131
|
+
end
|
132
|
+
def prompt_dto
|
133
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTO
|
134
|
+
end
|
135
|
+
def create_kb_dto
|
136
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbDTO
|
137
|
+
end
|
138
|
+
def update_kb_operation_dto
|
139
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTO
|
140
|
+
end
|
141
|
+
def replace_kb_dto
|
142
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::ReplaceKbDTO
|
143
|
+
end
|
144
|
+
def update_kb_contents_dto
|
145
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbContentsDTO
|
146
|
+
end
|
147
|
+
def context_dto
|
148
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::ContextDTO
|
149
|
+
end
|
150
|
+
def active_learning_settings_dto
|
151
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::ActiveLearningSettingsDTO
|
152
|
+
end
|
153
|
+
def knowledgebase_dto
|
154
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseDTO
|
155
|
+
end
|
156
|
+
def word_alterations_dto
|
157
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO
|
158
|
+
end
|
159
|
+
def error_response
|
160
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponse
|
161
|
+
end
|
162
|
+
def update_context_dto
|
163
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateContextDTO
|
164
|
+
end
|
165
|
+
def inner_error_model
|
166
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::InnerErrorModel
|
167
|
+
end
|
168
|
+
def metadata_dto
|
169
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::MetadataDTO
|
170
|
+
end
|
171
|
+
def error
|
172
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::Error
|
173
|
+
end
|
174
|
+
def update_kb_operation_dtoadd
|
175
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOAdd
|
176
|
+
end
|
177
|
+
def update_kb_operation_dtodelete
|
178
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTODelete
|
179
|
+
end
|
180
|
+
def update_kb_operation_dtoupdate
|
181
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOUpdate
|
182
|
+
end
|
183
|
+
def update_qna_dtoquestions
|
184
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions
|
185
|
+
end
|
186
|
+
def update_qna_dtometadata
|
187
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata
|
188
|
+
end
|
189
|
+
def update_qna_dtocontext
|
190
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOContext
|
191
|
+
end
|
192
|
+
def prompt_dtoqna
|
193
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::PromptDTOQna
|
194
|
+
end
|
195
|
+
def qn_adtocontext
|
196
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTOContext
|
197
|
+
end
|
198
|
+
def error_response_error
|
199
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponseError
|
200
|
+
end
|
201
|
+
def endpoint_settings_dtoactive_learning
|
202
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointSettingsDTOActiveLearning
|
203
|
+
end
|
204
|
+
def knowledgebase_environment_type
|
205
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType
|
206
|
+
end
|
207
|
+
def error_code_type
|
208
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorCodeType
|
209
|
+
end
|
210
|
+
def operation_state_type
|
211
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::OperationStateType
|
212
|
+
end
|
213
|
+
def environment_type
|
214
|
+
Azure::CognitiveServices::Qnamaker::V4_0::Models::EnvironmentType
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|
218
|
+
end
|
219
|
+
end
|