azure_sdk 0.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_sdk.rb +9 -0
- data/lib/azure_sdk/version.rb +7 -0
- data/lib/latest/latest_profile_client.rb +1347 -0
- data/lib/latest/module_definition.rb +7 -0
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -0
- data/lib/latest/modules/advisor_profile_module.rb +153 -0
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -0
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -0
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -0
- data/lib/latest/modules/apimanagement_profile_module.rb +1163 -0
- data/lib/latest/modules/appconfiguration_profile_module.rb +183 -0
- data/lib/latest/modules/attestation_profile_module.rb +95 -0
- data/lib/latest/modules/authorization_profile_module.rb +167 -0
- data/lib/latest/modules/automation_profile_module.rb +663 -0
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -0
- data/lib/latest/modules/azurestack_profile_module.rb +187 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -0
- data/lib/latest/modules/batchai_profile_module.rb +425 -0
- data/lib/latest/modules/billing_profile_module.rb +107 -0
- data/lib/latest/modules/botservice_profile_module.rb +293 -0
- data/lib/latest/modules/cdn_profile_module.rb +723 -0
- data/lib/latest/modules/cognitiveservices_profile_module.rb +289 -0
- data/lib/latest/modules/commerce_profile_module.rb +99 -0
- data/lib/latest/modules/compute_profile_module.rb +1295 -0
- data/lib/latest/modules/computervision_profile_module.rb +233 -0
- data/lib/latest/modules/consumption_profile_module.rb +345 -0
- data/lib/latest/modules/containerinstance_profile_module.rb +291 -0
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -0
- data/lib/latest/modules/containerservice_profile_module.rb +459 -0
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -0
- data/lib/latest/modules/cosmosdb_profile_module.rb +679 -0
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -0
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -0
- data/lib/latest/modules/customsearch_profile_module.rb +123 -0
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -0
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -0
- data/lib/latest/modules/databox_profile_module.rb +309 -0
- data/lib/latest/modules/datafactory_profile_module.rb +2809 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -0
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -0
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -0
- data/lib/latest/modules/datashare_profile_module.rb +399 -0
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -0
- data/lib/latest/modules/devspaces_profile_module.rb +119 -0
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -0
- data/lib/latest/modules/dns_profile_module.rb +143 -0
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -0
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +719 -0
- data/lib/latest/modules/eventhub_profile_module.rb +195 -0
- data/lib/latest/modules/face_profile_module.rb +297 -0
- data/lib/latest/modules/features_profile_module.rb +73 -0
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -0
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -0
- data/lib/latest/modules/hdinsight_profile_module.rb +441 -0
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
- data/lib/latest/modules/importexport_profile_module.rb +135 -0
- data/lib/latest/modules/iotcentral_profile_module.rb +107 -0
- data/lib/latest/modules/iothub_profile_module.rb +377 -0
- data/lib/latest/modules/keyvault_profile_module.rb +623 -0
- data/lib/latest/modules/kubernetesconfiguration_profile_module.rb +123 -0
- data/lib/latest/modules/kusto_profile_module.rb +365 -0
- data/lib/latest/modules/labservices_profile_module.rb +357 -0
- data/lib/latest/modules/links_profile_module.rb +83 -0
- data/lib/latest/modules/localsearch_profile_module.rb +151 -0
- data/lib/latest/modules/locks_profile_module.rb +79 -0
- data/lib/latest/modules/logic_profile_module.rb +787 -0
- data/lib/latest/modules/luisauthoring_profile_module.rb +505 -0
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -0
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -0
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -0
- data/lib/latest/modules/maintenance_profile_module.rb +121 -0
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -0
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -0
- data/lib/latest/modules/mariadb_profile_module.rb +233 -0
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -0
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -0
- data/lib/latest/modules/migrate_profile_module.rb +243 -0
- data/lib/latest/modules/mixedreality_profile_module.rb +169 -0
- data/lib/latest/modules/monitor_profile_module.rb +723 -0
- data/lib/latest/modules/mysql_profile_module.rb +233 -0
- data/lib/latest/modules/netapp_profile_module.rb +207 -0
- data/lib/latest/modules/network_profile_module.rb +2937 -0
- data/lib/latest/modules/newssearch_profile_module.rb +143 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -0
- data/lib/latest/modules/operationalinsights_profile_module.rb +405 -0
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -0
- data/lib/latest/modules/peering_profile_module.rb +259 -0
- data/lib/latest/modules/personalizer_profile_module.rb +83 -0
- data/lib/latest/modules/policy_profile_module.rb +105 -0
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -0
- data/lib/latest/modules/portal_profile_module.rb +95 -0
- data/lib/latest/modules/postgresql_profile_module.rb +233 -0
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -0
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -0
- data/lib/latest/modules/privatedns_profile_module.rb +137 -0
- data/lib/latest/modules/qnamaker_profile_module.rb +215 -0
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -0
- data/lib/latest/modules/recoveryservices_profile_module.rb +253 -0
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1343 -0
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -0
- data/lib/latest/modules/redis_profile_module.rb +209 -0
- data/lib/latest/modules/relay_profile_module.rb +163 -0
- data/lib/latest/modules/reservations_profile_module.rb +347 -0
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -0
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -0
- data/lib/latest/modules/resources_profile_module.rb +321 -0
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -0
- data/lib/latest/modules/scheduler_profile_module.rb +227 -0
- data/lib/latest/modules/search_profile_module.rb +127 -0
- data/lib/latest/modules/security_profile_module.rb +841 -0
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -0
- data/lib/latest/modules/servicebus_profile_module.rb +309 -0
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -0
- data/lib/latest/modules/signalr_profile_module.rb +233 -0
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
- data/lib/latest/modules/sql_profile_module.rb +1765 -0
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -0
- data/lib/latest/modules/storage_profile_module.rb +693 -0
- data/lib/latest/modules/storagecache_profile_module.rb +217 -0
- data/lib/latest/modules/storagesync_profile_module.rb +275 -0
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -0
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -0
- data/lib/latest/modules/subscriptions_profile_module.rb +235 -0
- data/lib/latest/modules/support_profile_module.rb +177 -0
- data/lib/latest/modules/synapse_profile_module.rb +827 -0
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -0
- data/lib/latest/modules/timeseriesinsights_profile_module.rb +309 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -0
- data/lib/latest/modules/videosearch_profile_module.rb +175 -0
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -0
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -0
- data/lib/latest/modules/web_profile_module.rb +1419 -0
- data/lib/latest/modules/websearch_profile_module.rb +211 -0
- data/lib/v2017_03_09/module_definition.rb +7 -0
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -0
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -0
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -0
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -0
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -0
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -0
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -0
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -0
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -0
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -0
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -0
- data/lib/v2018_03_01/module_definition.rb +7 -0
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -0
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -0
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -0
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -0
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -0
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -0
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -0
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -0
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -0
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -0
- data/lib/v2019_03_01_hybrid/module_definition.rb +7 -0
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -0
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -0
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -0
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -0
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -0
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -0
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -0
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -0
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -0
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -0
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -0
- metadata +2187 -0
@@ -0,0 +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
|
@@ -0,0 +1,235 @@
|
|
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_visualsearch'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module VisualSearch
|
9
|
+
Images = Azure::CognitiveServices::VisualSearch::V1_0::Images
|
10
|
+
|
11
|
+
module Models
|
12
|
+
Error = Azure::CognitiveServices::VisualSearch::V1_0::Models::Error
|
13
|
+
CropArea = Azure::CognitiveServices::VisualSearch::V1_0::Models::CropArea
|
14
|
+
ImageInfo = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageInfo
|
15
|
+
ImageTagRegion = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageTagRegion
|
16
|
+
ImagesImageMetadata = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImagesImageMetadata
|
17
|
+
RelatedSearchesModule = Azure::CognitiveServices::VisualSearch::V1_0::Models::RelatedSearchesModule
|
18
|
+
Filters = Azure::CognitiveServices::VisualSearch::V1_0::Models::Filters
|
19
|
+
ImagesModule = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImagesModule
|
20
|
+
KnowledgeRequest = Azure::CognitiveServices::VisualSearch::V1_0::Models::KnowledgeRequest
|
21
|
+
RecipesModule = Azure::CognitiveServices::VisualSearch::V1_0::Models::RecipesModule
|
22
|
+
ResponseBase = Azure::CognitiveServices::VisualSearch::V1_0::Models::ResponseBase
|
23
|
+
Query = Azure::CognitiveServices::VisualSearch::V1_0::Models::Query
|
24
|
+
VisualSearchRequest = Azure::CognitiveServices::VisualSearch::V1_0::Models::VisualSearchRequest
|
25
|
+
PropertiesItem = Azure::CognitiveServices::VisualSearch::V1_0::Models::PropertiesItem
|
26
|
+
Point2D = Azure::CognitiveServices::VisualSearch::V1_0::Models::Point2D
|
27
|
+
NormalizedQuadrilateral = Azure::CognitiveServices::VisualSearch::V1_0::Models::NormalizedQuadrilateral
|
28
|
+
ImageAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageAction
|
29
|
+
ImageTag = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageTag
|
30
|
+
Organization = Azure::CognitiveServices::VisualSearch::V1_0::Models::Organization
|
31
|
+
AggregateRating = Azure::CognitiveServices::VisualSearch::V1_0::Models::AggregateRating
|
32
|
+
Offer = Azure::CognitiveServices::VisualSearch::V1_0::Models::Offer
|
33
|
+
AggregateOffer = Azure::CognitiveServices::VisualSearch::V1_0::Models::AggregateOffer
|
34
|
+
ImageObject = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageObject
|
35
|
+
Identifiable = Azure::CognitiveServices::VisualSearch::V1_0::Models::Identifiable
|
36
|
+
Response = Azure::CognitiveServices::VisualSearch::V1_0::Models::Response
|
37
|
+
ImageKnowledge = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageKnowledge
|
38
|
+
ErrorResponse = Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorResponse
|
39
|
+
Thing = Azure::CognitiveServices::VisualSearch::V1_0::Models::Thing
|
40
|
+
CreativeWork = Azure::CognitiveServices::VisualSearch::V1_0::Models::CreativeWork
|
41
|
+
Action = Azure::CognitiveServices::VisualSearch::V1_0::Models::Action
|
42
|
+
MediaObject = Azure::CognitiveServices::VisualSearch::V1_0::Models::MediaObject
|
43
|
+
Person = Azure::CognitiveServices::VisualSearch::V1_0::Models::Person
|
44
|
+
Intangible = Azure::CognitiveServices::VisualSearch::V1_0::Models::Intangible
|
45
|
+
ImageEntityAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageEntityAction
|
46
|
+
ImageModuleAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageModuleAction
|
47
|
+
Recipe = Azure::CognitiveServices::VisualSearch::V1_0::Models::Recipe
|
48
|
+
ImageRecipesAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRecipesAction
|
49
|
+
ImageRelatedSearchesAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRelatedSearchesAction
|
50
|
+
ImageShoppingSourcesAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageShoppingSourcesAction
|
51
|
+
StructuredValue = Azure::CognitiveServices::VisualSearch::V1_0::Models::StructuredValue
|
52
|
+
Rating = Azure::CognitiveServices::VisualSearch::V1_0::Models::Rating
|
53
|
+
Currency = Azure::CognitiveServices::VisualSearch::V1_0::Models::Currency
|
54
|
+
ItemAvailability = Azure::CognitiveServices::VisualSearch::V1_0::Models::ItemAvailability
|
55
|
+
ErrorCode = Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorCode
|
56
|
+
ErrorSubCode = Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorSubCode
|
57
|
+
SafeSearch = Azure::CognitiveServices::VisualSearch::V1_0::Models::SafeSearch
|
58
|
+
ContentTypes = Azure::CognitiveServices::VisualSearch::V1_0::Models::ContentTypes
|
59
|
+
end
|
60
|
+
|
61
|
+
class VisualSearchDataClass
|
62
|
+
attr_reader :images, :configurable, :base_url, :options, :model_classes
|
63
|
+
|
64
|
+
def initialize(configurable, base_url=nil, options=nil)
|
65
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
66
|
+
|
67
|
+
@client_0 = Azure::CognitiveServices::VisualSearch::V1_0::VisualSearchClient.new(configurable.credentials, options)
|
68
|
+
if(@client_0.respond_to?(:subscription_id))
|
69
|
+
@client_0.subscription_id = configurable.subscription_id
|
70
|
+
end
|
71
|
+
add_telemetry(@client_0)
|
72
|
+
@images = @client_0.images
|
73
|
+
|
74
|
+
@model_classes = ModelClasses.new
|
75
|
+
end
|
76
|
+
|
77
|
+
def add_telemetry(client)
|
78
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/VisualSearch"
|
79
|
+
client.add_user_agent_information(profile_information)
|
80
|
+
end
|
81
|
+
|
82
|
+
def method_missing(method, *args)
|
83
|
+
if @client_0.respond_to?method
|
84
|
+
@client_0.send(method, *args)
|
85
|
+
else
|
86
|
+
super
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class ModelClasses
|
91
|
+
def error
|
92
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Error
|
93
|
+
end
|
94
|
+
def crop_area
|
95
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::CropArea
|
96
|
+
end
|
97
|
+
def image_info
|
98
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageInfo
|
99
|
+
end
|
100
|
+
def image_tag_region
|
101
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageTagRegion
|
102
|
+
end
|
103
|
+
def images_image_metadata
|
104
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImagesImageMetadata
|
105
|
+
end
|
106
|
+
def related_searches_module
|
107
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::RelatedSearchesModule
|
108
|
+
end
|
109
|
+
def filters
|
110
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Filters
|
111
|
+
end
|
112
|
+
def images_module
|
113
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImagesModule
|
114
|
+
end
|
115
|
+
def knowledge_request
|
116
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::KnowledgeRequest
|
117
|
+
end
|
118
|
+
def recipes_module
|
119
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::RecipesModule
|
120
|
+
end
|
121
|
+
def response_base
|
122
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ResponseBase
|
123
|
+
end
|
124
|
+
def query
|
125
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Query
|
126
|
+
end
|
127
|
+
def visual_search_request
|
128
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::VisualSearchRequest
|
129
|
+
end
|
130
|
+
def properties_item
|
131
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::PropertiesItem
|
132
|
+
end
|
133
|
+
def point2_d
|
134
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Point2D
|
135
|
+
end
|
136
|
+
def normalized_quadrilateral
|
137
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::NormalizedQuadrilateral
|
138
|
+
end
|
139
|
+
def image_action
|
140
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageAction
|
141
|
+
end
|
142
|
+
def image_tag
|
143
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageTag
|
144
|
+
end
|
145
|
+
def organization
|
146
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Organization
|
147
|
+
end
|
148
|
+
def aggregate_rating
|
149
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::AggregateRating
|
150
|
+
end
|
151
|
+
def offer
|
152
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Offer
|
153
|
+
end
|
154
|
+
def aggregate_offer
|
155
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::AggregateOffer
|
156
|
+
end
|
157
|
+
def image_object
|
158
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageObject
|
159
|
+
end
|
160
|
+
def identifiable
|
161
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Identifiable
|
162
|
+
end
|
163
|
+
def response
|
164
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Response
|
165
|
+
end
|
166
|
+
def image_knowledge
|
167
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageKnowledge
|
168
|
+
end
|
169
|
+
def error_response
|
170
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorResponse
|
171
|
+
end
|
172
|
+
def thing
|
173
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Thing
|
174
|
+
end
|
175
|
+
def creative_work
|
176
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::CreativeWork
|
177
|
+
end
|
178
|
+
def action
|
179
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Action
|
180
|
+
end
|
181
|
+
def media_object
|
182
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::MediaObject
|
183
|
+
end
|
184
|
+
def person
|
185
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Person
|
186
|
+
end
|
187
|
+
def intangible
|
188
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Intangible
|
189
|
+
end
|
190
|
+
def image_entity_action
|
191
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageEntityAction
|
192
|
+
end
|
193
|
+
def image_module_action
|
194
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageModuleAction
|
195
|
+
end
|
196
|
+
def recipe
|
197
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Recipe
|
198
|
+
end
|
199
|
+
def image_recipes_action
|
200
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRecipesAction
|
201
|
+
end
|
202
|
+
def image_related_searches_action
|
203
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRelatedSearchesAction
|
204
|
+
end
|
205
|
+
def image_shopping_sources_action
|
206
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageShoppingSourcesAction
|
207
|
+
end
|
208
|
+
def structured_value
|
209
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::StructuredValue
|
210
|
+
end
|
211
|
+
def rating
|
212
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Rating
|
213
|
+
end
|
214
|
+
def currency
|
215
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::Currency
|
216
|
+
end
|
217
|
+
def item_availability
|
218
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ItemAvailability
|
219
|
+
end
|
220
|
+
def error_code
|
221
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorCode
|
222
|
+
end
|
223
|
+
def error_sub_code
|
224
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorSubCode
|
225
|
+
end
|
226
|
+
def safe_search
|
227
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::SafeSearch
|
228
|
+
end
|
229
|
+
def content_types
|
230
|
+
Azure::CognitiveServices::VisualSearch::V1_0::Models::ContentTypes
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
@@ -0,0 +1,247 @@
|
|
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_vmware_cloudsimple'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module VMwareCloudSimple
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Operations
|
11
|
+
DedicatedCloudNodes = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::DedicatedCloudNodes
|
12
|
+
DedicatedCloudServices = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::DedicatedCloudServices
|
13
|
+
SkusAvailability = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::SkusAvailability
|
14
|
+
PrivateClouds = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::PrivateClouds
|
15
|
+
ResourcePools = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::ResourcePools
|
16
|
+
VirtualMachineTemplates = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::VirtualMachineTemplates
|
17
|
+
VirtualNetworks = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::VirtualNetworks
|
18
|
+
Usages = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Usages
|
19
|
+
VirtualMachines = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::VirtualMachines
|
20
|
+
|
21
|
+
module Models
|
22
|
+
VirtualDisk = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualDisk
|
23
|
+
AvailableOperationDisplay = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplay
|
24
|
+
VirtualNetwork = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNetwork
|
25
|
+
AvailableOperationDisplayPropertyServiceSpecificationMetricsList = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplayPropertyServiceSpecificationMetricsList
|
26
|
+
VirtualNic = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNic
|
27
|
+
AvailableOperationsListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationsListResponse
|
28
|
+
VirtualMachineTemplate = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineTemplate
|
29
|
+
CSRPError = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::CSRPError
|
30
|
+
PrivateCloud = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloud
|
31
|
+
DedicatedCloudNode = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudNode
|
32
|
+
PrivateCloudList = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloudList
|
33
|
+
DedicatedCloudService = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudService
|
34
|
+
ResourcePoolsListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::ResourcePoolsListResponse
|
35
|
+
OperationError = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationError
|
36
|
+
SkuAvailability = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::SkuAvailability
|
37
|
+
PatchPayload = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PatchPayload
|
38
|
+
SkuAvailabilityListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::SkuAvailabilityListResponse
|
39
|
+
VirtualDiskController = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualDiskController
|
40
|
+
UsageName = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageName
|
41
|
+
AvailableOperation = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperation
|
42
|
+
Usage = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Usage
|
43
|
+
Sku = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Sku
|
44
|
+
UsageListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageListResponse
|
45
|
+
DedicatedCloudServiceListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudServiceListResponse
|
46
|
+
VirtualMachine = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachine
|
47
|
+
ResourcePool = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::ResourcePool
|
48
|
+
VirtualMachineListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineListResponse
|
49
|
+
CSRPErrorBody = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::CSRPErrorBody
|
50
|
+
VirtualMachineStopMode = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineStopMode
|
51
|
+
OperationResource = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationResource
|
52
|
+
VirtualMachineTemplateListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineTemplateListResponse
|
53
|
+
DedicatedCloudNodeListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudNodeListResponse
|
54
|
+
VirtualNetworkListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNetworkListResponse
|
55
|
+
AvailableOperationDisplayPropertyServiceSpecificationMetricsItem = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplayPropertyServiceSpecificationMetricsItem
|
56
|
+
OperationOrigin = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationOrigin
|
57
|
+
AggregationType = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AggregationType
|
58
|
+
NodeStatus = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::NodeStatus
|
59
|
+
OnboardingStatus = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OnboardingStatus
|
60
|
+
DiskIndependenceMode = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DiskIndependenceMode
|
61
|
+
NICType = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::NICType
|
62
|
+
PrivateCloudResourceType = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloudResourceType
|
63
|
+
UsageCount = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageCount
|
64
|
+
GuestOSType = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::GuestOSType
|
65
|
+
VirtualMachineStatus = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineStatus
|
66
|
+
StopMode = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::StopMode
|
67
|
+
end
|
68
|
+
|
69
|
+
class VMwareCloudSimpleManagementClass
|
70
|
+
attr_reader :operations, :dedicated_cloud_nodes, :dedicated_cloud_services, :skus_availability, :private_clouds, :resource_pools, :virtual_machine_templates, :virtual_networks, :usages, :virtual_machines, :configurable, :base_url, :options, :model_classes
|
71
|
+
|
72
|
+
def initialize(configurable, base_url=nil, options=nil)
|
73
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
74
|
+
|
75
|
+
@client_0 = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::VMwareCloudSimpleClient.new(configurable.credentials, base_url, options)
|
76
|
+
if(@client_0.respond_to?(:subscription_id))
|
77
|
+
@client_0.subscription_id = configurable.subscription_id
|
78
|
+
end
|
79
|
+
add_telemetry(@client_0)
|
80
|
+
@operations = @client_0.operations
|
81
|
+
@dedicated_cloud_nodes = @client_0.dedicated_cloud_nodes
|
82
|
+
@dedicated_cloud_services = @client_0.dedicated_cloud_services
|
83
|
+
@skus_availability = @client_0.skus_availability
|
84
|
+
@private_clouds = @client_0.private_clouds
|
85
|
+
@resource_pools = @client_0.resource_pools
|
86
|
+
@virtual_machine_templates = @client_0.virtual_machine_templates
|
87
|
+
@virtual_networks = @client_0.virtual_networks
|
88
|
+
@usages = @client_0.usages
|
89
|
+
@virtual_machines = @client_0.virtual_machines
|
90
|
+
|
91
|
+
@model_classes = ModelClasses.new
|
92
|
+
end
|
93
|
+
|
94
|
+
def add_telemetry(client)
|
95
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/VMwareCloudSimple/Mgmt"
|
96
|
+
client.add_user_agent_information(profile_information)
|
97
|
+
end
|
98
|
+
|
99
|
+
def method_missing(method, *args)
|
100
|
+
if @client_0.respond_to?method
|
101
|
+
@client_0.send(method, *args)
|
102
|
+
else
|
103
|
+
super
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
class ModelClasses
|
108
|
+
def virtual_disk
|
109
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualDisk
|
110
|
+
end
|
111
|
+
def available_operation_display
|
112
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplay
|
113
|
+
end
|
114
|
+
def virtual_network
|
115
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNetwork
|
116
|
+
end
|
117
|
+
def available_operation_display_property_service_specification_metrics_list
|
118
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplayPropertyServiceSpecificationMetricsList
|
119
|
+
end
|
120
|
+
def virtual_nic
|
121
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNic
|
122
|
+
end
|
123
|
+
def available_operations_list_response
|
124
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationsListResponse
|
125
|
+
end
|
126
|
+
def virtual_machine_template
|
127
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineTemplate
|
128
|
+
end
|
129
|
+
def csrperror
|
130
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::CSRPError
|
131
|
+
end
|
132
|
+
def private_cloud
|
133
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloud
|
134
|
+
end
|
135
|
+
def dedicated_cloud_node
|
136
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudNode
|
137
|
+
end
|
138
|
+
def private_cloud_list
|
139
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloudList
|
140
|
+
end
|
141
|
+
def dedicated_cloud_service
|
142
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudService
|
143
|
+
end
|
144
|
+
def resource_pools_list_response
|
145
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::ResourcePoolsListResponse
|
146
|
+
end
|
147
|
+
def operation_error
|
148
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationError
|
149
|
+
end
|
150
|
+
def sku_availability
|
151
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::SkuAvailability
|
152
|
+
end
|
153
|
+
def patch_payload
|
154
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PatchPayload
|
155
|
+
end
|
156
|
+
def sku_availability_list_response
|
157
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::SkuAvailabilityListResponse
|
158
|
+
end
|
159
|
+
def virtual_disk_controller
|
160
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualDiskController
|
161
|
+
end
|
162
|
+
def usage_name
|
163
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageName
|
164
|
+
end
|
165
|
+
def available_operation
|
166
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperation
|
167
|
+
end
|
168
|
+
def usage
|
169
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Usage
|
170
|
+
end
|
171
|
+
def sku
|
172
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Sku
|
173
|
+
end
|
174
|
+
def usage_list_response
|
175
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageListResponse
|
176
|
+
end
|
177
|
+
def dedicated_cloud_service_list_response
|
178
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudServiceListResponse
|
179
|
+
end
|
180
|
+
def virtual_machine
|
181
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachine
|
182
|
+
end
|
183
|
+
def resource_pool
|
184
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::ResourcePool
|
185
|
+
end
|
186
|
+
def virtual_machine_list_response
|
187
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineListResponse
|
188
|
+
end
|
189
|
+
def csrperror_body
|
190
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::CSRPErrorBody
|
191
|
+
end
|
192
|
+
def virtual_machine_stop_mode
|
193
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineStopMode
|
194
|
+
end
|
195
|
+
def operation_resource
|
196
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationResource
|
197
|
+
end
|
198
|
+
def virtual_machine_template_list_response
|
199
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineTemplateListResponse
|
200
|
+
end
|
201
|
+
def dedicated_cloud_node_list_response
|
202
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudNodeListResponse
|
203
|
+
end
|
204
|
+
def virtual_network_list_response
|
205
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNetworkListResponse
|
206
|
+
end
|
207
|
+
def available_operation_display_property_service_specification_metrics_item
|
208
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplayPropertyServiceSpecificationMetricsItem
|
209
|
+
end
|
210
|
+
def operation_origin
|
211
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationOrigin
|
212
|
+
end
|
213
|
+
def aggregation_type
|
214
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AggregationType
|
215
|
+
end
|
216
|
+
def node_status
|
217
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::NodeStatus
|
218
|
+
end
|
219
|
+
def onboarding_status
|
220
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OnboardingStatus
|
221
|
+
end
|
222
|
+
def disk_independence_mode
|
223
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DiskIndependenceMode
|
224
|
+
end
|
225
|
+
def nictype
|
226
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::NICType
|
227
|
+
end
|
228
|
+
def private_cloud_resource_type
|
229
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloudResourceType
|
230
|
+
end
|
231
|
+
def usage_count
|
232
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageCount
|
233
|
+
end
|
234
|
+
def guest_ostype
|
235
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::GuestOSType
|
236
|
+
end
|
237
|
+
def virtual_machine_status
|
238
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineStatus
|
239
|
+
end
|
240
|
+
def stop_mode
|
241
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::StopMode
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|
245
|
+
end
|
246
|
+
end
|
247
|
+
end
|