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
File without changes
|
@@ -1,173 +1,173 @@
|
|
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_traffic_manager'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module TrafficManager
|
9
|
-
module Mgmt
|
10
|
-
Endpoints = Azure::TrafficManager::Mgmt::V2018_04_01::Endpoints
|
11
|
-
Profiles = Azure::TrafficManager::Mgmt::V2018_04_01::Profiles
|
12
|
-
GeographicHierarchies = Azure::TrafficManager::Mgmt::V2018_04_01::GeographicHierarchies
|
13
|
-
HeatMap = Azure::TrafficManager::Mgmt::V2018_04_01::HeatMap
|
14
|
-
TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerUserMetricsKeys
|
15
|
-
|
16
|
-
module Models
|
17
|
-
MonitorConfigCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem
|
18
|
-
MonitorConfigExpectedStatusCodeRangesItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem
|
19
|
-
EndpointPropertiesSubnetsItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem
|
20
|
-
MonitorConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfig
|
21
|
-
HeatMapEndpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapEndpoint
|
22
|
-
EndpointPropertiesCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesCustomHeadersItem
|
23
|
-
QueryExperience = Azure::TrafficManager::Mgmt::V2018_04_01::Models::QueryExperience
|
24
|
-
DeleteOperationResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DeleteOperationResult
|
25
|
-
TrafficFlow = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow
|
26
|
-
Region = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Region
|
27
|
-
DnsConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig
|
28
|
-
CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
|
29
|
-
ProfileListResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult
|
30
|
-
Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource
|
31
|
-
TrafficManagerNameAvailability = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability
|
32
|
-
HeatMapModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel
|
33
|
-
UserMetricsModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel
|
34
|
-
Endpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint
|
35
|
-
TrackedResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource
|
36
|
-
Profile = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile
|
37
|
-
ProxyResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource
|
38
|
-
TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy
|
39
|
-
EndpointStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus
|
40
|
-
EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus
|
41
|
-
ProfileMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus
|
42
|
-
MonitorProtocol = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol
|
43
|
-
ProfileStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus
|
44
|
-
TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod
|
45
|
-
TrafficViewEnrollmentStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus
|
46
|
-
end
|
47
|
-
|
48
|
-
class TrafficManagerManagementClass
|
49
|
-
attr_reader :endpoints, :profiles, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes
|
50
|
-
|
51
|
-
def initialize(configurable, base_url=nil, options=nil)
|
52
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
53
|
-
|
54
|
-
@client_0 = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerManagementClient.new(configurable.credentials, base_url, options)
|
55
|
-
if(@client_0.respond_to?(:subscription_id))
|
56
|
-
@client_0.subscription_id = configurable.subscription_id
|
57
|
-
end
|
58
|
-
add_telemetry(@client_0)
|
59
|
-
@endpoints = @client_0.endpoints
|
60
|
-
@profiles = @client_0.profiles
|
61
|
-
@geographic_hierarchies = @client_0.geographic_hierarchies
|
62
|
-
@heat_map = @client_0.heat_map
|
63
|
-
@traffic_manager_user_metrics_keys = @client_0.traffic_manager_user_metrics_keys
|
64
|
-
|
65
|
-
@model_classes = ModelClasses.new
|
66
|
-
end
|
67
|
-
|
68
|
-
def add_telemetry(client)
|
69
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/TrafficManager/Mgmt"
|
70
|
-
client.add_user_agent_information(profile_information)
|
71
|
-
end
|
72
|
-
|
73
|
-
def method_missing(method, *args)
|
74
|
-
if @client_0.respond_to?method
|
75
|
-
@client_0.send(method, *args)
|
76
|
-
else
|
77
|
-
super
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
class ModelClasses
|
82
|
-
def monitor_config_custom_headers_item
|
83
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem
|
84
|
-
end
|
85
|
-
def monitor_config_expected_status_code_ranges_item
|
86
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem
|
87
|
-
end
|
88
|
-
def endpoint_properties_subnets_item
|
89
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem
|
90
|
-
end
|
91
|
-
def monitor_config
|
92
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfig
|
93
|
-
end
|
94
|
-
def heat_map_endpoint
|
95
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapEndpoint
|
96
|
-
end
|
97
|
-
def endpoint_properties_custom_headers_item
|
98
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesCustomHeadersItem
|
99
|
-
end
|
100
|
-
def query_experience
|
101
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::QueryExperience
|
102
|
-
end
|
103
|
-
def delete_operation_result
|
104
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::DeleteOperationResult
|
105
|
-
end
|
106
|
-
def traffic_flow
|
107
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow
|
108
|
-
end
|
109
|
-
def region
|
110
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Region
|
111
|
-
end
|
112
|
-
def dns_config
|
113
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig
|
114
|
-
end
|
115
|
-
def check_traffic_manager_relative_dns_name_availability_parameters
|
116
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
|
117
|
-
end
|
118
|
-
def profile_list_result
|
119
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult
|
120
|
-
end
|
121
|
-
def resource
|
122
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource
|
123
|
-
end
|
124
|
-
def traffic_manager_name_availability
|
125
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability
|
126
|
-
end
|
127
|
-
def heat_map_model
|
128
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel
|
129
|
-
end
|
130
|
-
def user_metrics_model
|
131
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel
|
132
|
-
end
|
133
|
-
def endpoint
|
134
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint
|
135
|
-
end
|
136
|
-
def tracked_resource
|
137
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource
|
138
|
-
end
|
139
|
-
def profile
|
140
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile
|
141
|
-
end
|
142
|
-
def proxy_resource
|
143
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource
|
144
|
-
end
|
145
|
-
def traffic_manager_geographic_hierarchy
|
146
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy
|
147
|
-
end
|
148
|
-
def endpoint_status
|
149
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus
|
150
|
-
end
|
151
|
-
def endpoint_monitor_status
|
152
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus
|
153
|
-
end
|
154
|
-
def profile_monitor_status
|
155
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus
|
156
|
-
end
|
157
|
-
def monitor_protocol
|
158
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol
|
159
|
-
end
|
160
|
-
def profile_status
|
161
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus
|
162
|
-
end
|
163
|
-
def traffic_routing_method
|
164
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod
|
165
|
-
end
|
166
|
-
def traffic_view_enrollment_status
|
167
|
-
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus
|
168
|
-
end
|
169
|
-
end
|
170
|
-
end
|
171
|
-
end
|
172
|
-
end
|
173
|
-
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_traffic_manager'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module TrafficManager
|
9
|
+
module Mgmt
|
10
|
+
Endpoints = Azure::TrafficManager::Mgmt::V2018_04_01::Endpoints
|
11
|
+
Profiles = Azure::TrafficManager::Mgmt::V2018_04_01::Profiles
|
12
|
+
GeographicHierarchies = Azure::TrafficManager::Mgmt::V2018_04_01::GeographicHierarchies
|
13
|
+
HeatMap = Azure::TrafficManager::Mgmt::V2018_04_01::HeatMap
|
14
|
+
TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerUserMetricsKeys
|
15
|
+
|
16
|
+
module Models
|
17
|
+
MonitorConfigCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem
|
18
|
+
MonitorConfigExpectedStatusCodeRangesItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem
|
19
|
+
EndpointPropertiesSubnetsItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem
|
20
|
+
MonitorConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfig
|
21
|
+
HeatMapEndpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapEndpoint
|
22
|
+
EndpointPropertiesCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesCustomHeadersItem
|
23
|
+
QueryExperience = Azure::TrafficManager::Mgmt::V2018_04_01::Models::QueryExperience
|
24
|
+
DeleteOperationResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DeleteOperationResult
|
25
|
+
TrafficFlow = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow
|
26
|
+
Region = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Region
|
27
|
+
DnsConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig
|
28
|
+
CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
|
29
|
+
ProfileListResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult
|
30
|
+
Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource
|
31
|
+
TrafficManagerNameAvailability = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability
|
32
|
+
HeatMapModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel
|
33
|
+
UserMetricsModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel
|
34
|
+
Endpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint
|
35
|
+
TrackedResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource
|
36
|
+
Profile = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile
|
37
|
+
ProxyResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource
|
38
|
+
TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy
|
39
|
+
EndpointStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus
|
40
|
+
EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus
|
41
|
+
ProfileMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus
|
42
|
+
MonitorProtocol = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol
|
43
|
+
ProfileStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus
|
44
|
+
TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod
|
45
|
+
TrafficViewEnrollmentStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus
|
46
|
+
end
|
47
|
+
|
48
|
+
class TrafficManagerManagementClass
|
49
|
+
attr_reader :endpoints, :profiles, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes
|
50
|
+
|
51
|
+
def initialize(configurable, base_url=nil, options=nil)
|
52
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
53
|
+
|
54
|
+
@client_0 = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerManagementClient.new(configurable.credentials, base_url, options)
|
55
|
+
if(@client_0.respond_to?(:subscription_id))
|
56
|
+
@client_0.subscription_id = configurable.subscription_id
|
57
|
+
end
|
58
|
+
add_telemetry(@client_0)
|
59
|
+
@endpoints = @client_0.endpoints
|
60
|
+
@profiles = @client_0.profiles
|
61
|
+
@geographic_hierarchies = @client_0.geographic_hierarchies
|
62
|
+
@heat_map = @client_0.heat_map
|
63
|
+
@traffic_manager_user_metrics_keys = @client_0.traffic_manager_user_metrics_keys
|
64
|
+
|
65
|
+
@model_classes = ModelClasses.new
|
66
|
+
end
|
67
|
+
|
68
|
+
def add_telemetry(client)
|
69
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/TrafficManager/Mgmt"
|
70
|
+
client.add_user_agent_information(profile_information)
|
71
|
+
end
|
72
|
+
|
73
|
+
def method_missing(method, *args)
|
74
|
+
if @client_0.respond_to?method
|
75
|
+
@client_0.send(method, *args)
|
76
|
+
else
|
77
|
+
super
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
class ModelClasses
|
82
|
+
def monitor_config_custom_headers_item
|
83
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem
|
84
|
+
end
|
85
|
+
def monitor_config_expected_status_code_ranges_item
|
86
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem
|
87
|
+
end
|
88
|
+
def endpoint_properties_subnets_item
|
89
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem
|
90
|
+
end
|
91
|
+
def monitor_config
|
92
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfig
|
93
|
+
end
|
94
|
+
def heat_map_endpoint
|
95
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapEndpoint
|
96
|
+
end
|
97
|
+
def endpoint_properties_custom_headers_item
|
98
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesCustomHeadersItem
|
99
|
+
end
|
100
|
+
def query_experience
|
101
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::QueryExperience
|
102
|
+
end
|
103
|
+
def delete_operation_result
|
104
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::DeleteOperationResult
|
105
|
+
end
|
106
|
+
def traffic_flow
|
107
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow
|
108
|
+
end
|
109
|
+
def region
|
110
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Region
|
111
|
+
end
|
112
|
+
def dns_config
|
113
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig
|
114
|
+
end
|
115
|
+
def check_traffic_manager_relative_dns_name_availability_parameters
|
116
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
|
117
|
+
end
|
118
|
+
def profile_list_result
|
119
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult
|
120
|
+
end
|
121
|
+
def resource
|
122
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource
|
123
|
+
end
|
124
|
+
def traffic_manager_name_availability
|
125
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability
|
126
|
+
end
|
127
|
+
def heat_map_model
|
128
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel
|
129
|
+
end
|
130
|
+
def user_metrics_model
|
131
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel
|
132
|
+
end
|
133
|
+
def endpoint
|
134
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint
|
135
|
+
end
|
136
|
+
def tracked_resource
|
137
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource
|
138
|
+
end
|
139
|
+
def profile
|
140
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile
|
141
|
+
end
|
142
|
+
def proxy_resource
|
143
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource
|
144
|
+
end
|
145
|
+
def traffic_manager_geographic_hierarchy
|
146
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy
|
147
|
+
end
|
148
|
+
def endpoint_status
|
149
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus
|
150
|
+
end
|
151
|
+
def endpoint_monitor_status
|
152
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus
|
153
|
+
end
|
154
|
+
def profile_monitor_status
|
155
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus
|
156
|
+
end
|
157
|
+
def monitor_protocol
|
158
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol
|
159
|
+
end
|
160
|
+
def profile_status
|
161
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus
|
162
|
+
end
|
163
|
+
def traffic_routing_method
|
164
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod
|
165
|
+
end
|
166
|
+
def traffic_view_enrollment_status
|
167
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
@@ -1,175 +1,175 @@
|
|
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_videosearch'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module VideoSearch
|
9
|
-
VideosOperations = Azure::CognitiveServices::VideoSearch::V1_0::VideosOperations
|
10
|
-
|
11
|
-
module Models
|
12
|
-
TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory
|
13
|
-
TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory
|
14
|
-
Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error
|
15
|
-
PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions
|
16
|
-
QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext
|
17
|
-
Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query
|
18
|
-
VideosModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule
|
19
|
-
TrendingVideosTile = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile
|
20
|
-
ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase
|
21
|
-
ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject
|
22
|
-
VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject
|
23
|
-
Videos = Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos
|
24
|
-
Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response
|
25
|
-
Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer
|
26
|
-
SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer
|
27
|
-
Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing
|
28
|
-
CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork
|
29
|
-
MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject
|
30
|
-
Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable
|
31
|
-
ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse
|
32
|
-
TrendingVideos = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos
|
33
|
-
VideoDetails = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails
|
34
|
-
VideoQueryScenario = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario
|
35
|
-
ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode
|
36
|
-
ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode
|
37
|
-
Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness
|
38
|
-
VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength
|
39
|
-
VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing
|
40
|
-
VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution
|
41
|
-
SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch
|
42
|
-
TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat
|
43
|
-
VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule
|
44
|
-
end
|
45
|
-
|
46
|
-
class VideoSearchDataClass
|
47
|
-
attr_reader :videos_operations, :configurable, :base_url, :options, :model_classes
|
48
|
-
|
49
|
-
def initialize(configurable, base_url=nil, options=nil)
|
50
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
51
|
-
|
52
|
-
@client_0 = Azure::CognitiveServices::VideoSearch::V1_0::VideoSearchClient.new(configurable.credentials, options)
|
53
|
-
if(@client_0.respond_to?(:subscription_id))
|
54
|
-
@client_0.subscription_id = configurable.subscription_id
|
55
|
-
end
|
56
|
-
add_telemetry(@client_0)
|
57
|
-
@videos_operations = @client_0.videos_operations
|
58
|
-
|
59
|
-
@model_classes = ModelClasses.new
|
60
|
-
end
|
61
|
-
|
62
|
-
def add_telemetry(client)
|
63
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/VideoSearch"
|
64
|
-
client.add_user_agent_information(profile_information)
|
65
|
-
end
|
66
|
-
|
67
|
-
def method_missing(method, *args)
|
68
|
-
if @client_0.respond_to?method
|
69
|
-
@client_0.send(method, *args)
|
70
|
-
else
|
71
|
-
super
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
class ModelClasses
|
76
|
-
def trending_videos_category
|
77
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory
|
78
|
-
end
|
79
|
-
def trending_videos_subcategory
|
80
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory
|
81
|
-
end
|
82
|
-
def error
|
83
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::Error
|
84
|
-
end
|
85
|
-
def pivot_suggestions
|
86
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions
|
87
|
-
end
|
88
|
-
def query_context
|
89
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext
|
90
|
-
end
|
91
|
-
def query
|
92
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::Query
|
93
|
-
end
|
94
|
-
def videos_module
|
95
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule
|
96
|
-
end
|
97
|
-
def trending_videos_tile
|
98
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile
|
99
|
-
end
|
100
|
-
def response_base
|
101
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase
|
102
|
-
end
|
103
|
-
def image_object
|
104
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject
|
105
|
-
end
|
106
|
-
def video_object
|
107
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject
|
108
|
-
end
|
109
|
-
def videos
|
110
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos
|
111
|
-
end
|
112
|
-
def response
|
113
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::Response
|
114
|
-
end
|
115
|
-
def answer
|
116
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer
|
117
|
-
end
|
118
|
-
def search_results_answer
|
119
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer
|
120
|
-
end
|
121
|
-
def thing
|
122
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing
|
123
|
-
end
|
124
|
-
def creative_work
|
125
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork
|
126
|
-
end
|
127
|
-
def media_object
|
128
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject
|
129
|
-
end
|
130
|
-
def identifiable
|
131
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable
|
132
|
-
end
|
133
|
-
def error_response
|
134
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse
|
135
|
-
end
|
136
|
-
def trending_videos
|
137
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos
|
138
|
-
end
|
139
|
-
def video_details
|
140
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails
|
141
|
-
end
|
142
|
-
def video_query_scenario
|
143
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario
|
144
|
-
end
|
145
|
-
def error_code
|
146
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode
|
147
|
-
end
|
148
|
-
def error_sub_code
|
149
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode
|
150
|
-
end
|
151
|
-
def freshness
|
152
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness
|
153
|
-
end
|
154
|
-
def video_length
|
155
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength
|
156
|
-
end
|
157
|
-
def video_pricing
|
158
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing
|
159
|
-
end
|
160
|
-
def video_resolution
|
161
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution
|
162
|
-
end
|
163
|
-
def safe_search
|
164
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch
|
165
|
-
end
|
166
|
-
def text_format
|
167
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat
|
168
|
-
end
|
169
|
-
def video_insight_module
|
170
|
-
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule
|
171
|
-
end
|
172
|
-
end
|
173
|
-
end
|
174
|
-
end
|
175
|
-
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_videosearch'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module VideoSearch
|
9
|
+
VideosOperations = Azure::CognitiveServices::VideoSearch::V1_0::VideosOperations
|
10
|
+
|
11
|
+
module Models
|
12
|
+
TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory
|
13
|
+
TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory
|
14
|
+
Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error
|
15
|
+
PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions
|
16
|
+
QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext
|
17
|
+
Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query
|
18
|
+
VideosModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule
|
19
|
+
TrendingVideosTile = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile
|
20
|
+
ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase
|
21
|
+
ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject
|
22
|
+
VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject
|
23
|
+
Videos = Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos
|
24
|
+
Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response
|
25
|
+
Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer
|
26
|
+
SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer
|
27
|
+
Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing
|
28
|
+
CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork
|
29
|
+
MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject
|
30
|
+
Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable
|
31
|
+
ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse
|
32
|
+
TrendingVideos = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos
|
33
|
+
VideoDetails = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails
|
34
|
+
VideoQueryScenario = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario
|
35
|
+
ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode
|
36
|
+
ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode
|
37
|
+
Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness
|
38
|
+
VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength
|
39
|
+
VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing
|
40
|
+
VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution
|
41
|
+
SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch
|
42
|
+
TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat
|
43
|
+
VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule
|
44
|
+
end
|
45
|
+
|
46
|
+
class VideoSearchDataClass
|
47
|
+
attr_reader :videos_operations, :configurable, :base_url, :options, :model_classes
|
48
|
+
|
49
|
+
def initialize(configurable, base_url=nil, options=nil)
|
50
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
51
|
+
|
52
|
+
@client_0 = Azure::CognitiveServices::VideoSearch::V1_0::VideoSearchClient.new(configurable.credentials, options)
|
53
|
+
if(@client_0.respond_to?(:subscription_id))
|
54
|
+
@client_0.subscription_id = configurable.subscription_id
|
55
|
+
end
|
56
|
+
add_telemetry(@client_0)
|
57
|
+
@videos_operations = @client_0.videos_operations
|
58
|
+
|
59
|
+
@model_classes = ModelClasses.new
|
60
|
+
end
|
61
|
+
|
62
|
+
def add_telemetry(client)
|
63
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/VideoSearch"
|
64
|
+
client.add_user_agent_information(profile_information)
|
65
|
+
end
|
66
|
+
|
67
|
+
def method_missing(method, *args)
|
68
|
+
if @client_0.respond_to?method
|
69
|
+
@client_0.send(method, *args)
|
70
|
+
else
|
71
|
+
super
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
class ModelClasses
|
76
|
+
def trending_videos_category
|
77
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory
|
78
|
+
end
|
79
|
+
def trending_videos_subcategory
|
80
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory
|
81
|
+
end
|
82
|
+
def error
|
83
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::Error
|
84
|
+
end
|
85
|
+
def pivot_suggestions
|
86
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions
|
87
|
+
end
|
88
|
+
def query_context
|
89
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext
|
90
|
+
end
|
91
|
+
def query
|
92
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::Query
|
93
|
+
end
|
94
|
+
def videos_module
|
95
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule
|
96
|
+
end
|
97
|
+
def trending_videos_tile
|
98
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile
|
99
|
+
end
|
100
|
+
def response_base
|
101
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase
|
102
|
+
end
|
103
|
+
def image_object
|
104
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject
|
105
|
+
end
|
106
|
+
def video_object
|
107
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject
|
108
|
+
end
|
109
|
+
def videos
|
110
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos
|
111
|
+
end
|
112
|
+
def response
|
113
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::Response
|
114
|
+
end
|
115
|
+
def answer
|
116
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer
|
117
|
+
end
|
118
|
+
def search_results_answer
|
119
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer
|
120
|
+
end
|
121
|
+
def thing
|
122
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing
|
123
|
+
end
|
124
|
+
def creative_work
|
125
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork
|
126
|
+
end
|
127
|
+
def media_object
|
128
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject
|
129
|
+
end
|
130
|
+
def identifiable
|
131
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable
|
132
|
+
end
|
133
|
+
def error_response
|
134
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse
|
135
|
+
end
|
136
|
+
def trending_videos
|
137
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos
|
138
|
+
end
|
139
|
+
def video_details
|
140
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails
|
141
|
+
end
|
142
|
+
def video_query_scenario
|
143
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario
|
144
|
+
end
|
145
|
+
def error_code
|
146
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode
|
147
|
+
end
|
148
|
+
def error_sub_code
|
149
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode
|
150
|
+
end
|
151
|
+
def freshness
|
152
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness
|
153
|
+
end
|
154
|
+
def video_length
|
155
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength
|
156
|
+
end
|
157
|
+
def video_pricing
|
158
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing
|
159
|
+
end
|
160
|
+
def video_resolution
|
161
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution
|
162
|
+
end
|
163
|
+
def safe_search
|
164
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch
|
165
|
+
end
|
166
|
+
def text_format
|
167
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat
|
168
|
+
end
|
169
|
+
def video_insight_module
|
170
|
+
Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|