azure_sdk 0.61.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_sdk.rb +9 -0
  4. data/lib/azure_sdk/version.rb +7 -0
  5. data/lib/latest/latest_profile_client.rb +1347 -0
  6. data/lib/latest/module_definition.rb +7 -0
  7. data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -0
  8. data/lib/latest/modules/advisor_profile_module.rb +153 -0
  9. data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -0
  10. data/lib/latest/modules/analysisservices_profile_module.rb +159 -0
  11. data/lib/latest/modules/anomalydetector_profile_module.rb +69 -0
  12. data/lib/latest/modules/apimanagement_profile_module.rb +1163 -0
  13. data/lib/latest/modules/appconfiguration_profile_module.rb +183 -0
  14. data/lib/latest/modules/attestation_profile_module.rb +95 -0
  15. data/lib/latest/modules/authorization_profile_module.rb +167 -0
  16. data/lib/latest/modules/automation_profile_module.rb +663 -0
  17. data/lib/latest/modules/autosuggest_profile_module.rb +121 -0
  18. data/lib/latest/modules/azurestack_profile_module.rb +187 -0
  19. data/lib/latest/modules/batch_profile_module.rb +417 -0
  20. data/lib/latest/modules/batchai_profile_module.rb +425 -0
  21. data/lib/latest/modules/billing_profile_module.rb +107 -0
  22. data/lib/latest/modules/botservice_profile_module.rb +293 -0
  23. data/lib/latest/modules/cdn_profile_module.rb +723 -0
  24. data/lib/latest/modules/cognitiveservices_profile_module.rb +289 -0
  25. data/lib/latest/modules/commerce_profile_module.rb +99 -0
  26. data/lib/latest/modules/compute_profile_module.rb +1295 -0
  27. data/lib/latest/modules/computervision_profile_module.rb +233 -0
  28. data/lib/latest/modules/consumption_profile_module.rb +345 -0
  29. data/lib/latest/modules/containerinstance_profile_module.rb +291 -0
  30. data/lib/latest/modules/containerregistry_profile_module.rb +575 -0
  31. data/lib/latest/modules/containerservice_profile_module.rb +459 -0
  32. data/lib/latest/modules/contentmoderator_profile_module.rb +287 -0
  33. data/lib/latest/modules/cosmosdb_profile_module.rb +679 -0
  34. data/lib/latest/modules/costmanagement_profile_module.rb +207 -0
  35. data/lib/latest/modules/customerinsights_profile_module.rb +497 -0
  36. data/lib/latest/modules/customimagesearch_profile_module.rb +143 -0
  37. data/lib/latest/modules/customsearch_profile_module.rb +123 -0
  38. data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -0
  39. data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -0
  40. data/lib/latest/modules/databox_profile_module.rb +309 -0
  41. data/lib/latest/modules/datafactory_profile_module.rb +2809 -0
  42. data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -0
  43. data/lib/latest/modules/datalakestore_profile_module.rb +247 -0
  44. data/lib/latest/modules/datamigration_profile_module.rb +1307 -0
  45. data/lib/latest/modules/datashare_profile_module.rb +399 -0
  46. data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -0
  47. data/lib/latest/modules/devspaces_profile_module.rb +119 -0
  48. data/lib/latest/modules/devtestlabs_profile_module.rb +849 -0
  49. data/lib/latest/modules/dns_profile_module.rb +143 -0
  50. data/lib/latest/modules/edgegateway_profile_module.rb +463 -0
  51. data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
  52. data/lib/latest/modules/eventgrid_profile_module.rb +719 -0
  53. data/lib/latest/modules/eventhub_profile_module.rb +195 -0
  54. data/lib/latest/modules/face_profile_module.rb +297 -0
  55. data/lib/latest/modules/features_profile_module.rb +73 -0
  56. data/lib/latest/modules/formrecognizer_profile_module.rb +169 -0
  57. data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
  58. data/lib/latest/modules/hanaonazure_profile_module.rb +137 -0
  59. data/lib/latest/modules/hdinsight_profile_module.rb +441 -0
  60. data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
  61. data/lib/latest/modules/importexport_profile_module.rb +135 -0
  62. data/lib/latest/modules/iotcentral_profile_module.rb +107 -0
  63. data/lib/latest/modules/iothub_profile_module.rb +377 -0
  64. data/lib/latest/modules/keyvault_profile_module.rb +623 -0
  65. data/lib/latest/modules/kubernetesconfiguration_profile_module.rb +123 -0
  66. data/lib/latest/modules/kusto_profile_module.rb +365 -0
  67. data/lib/latest/modules/labservices_profile_module.rb +357 -0
  68. data/lib/latest/modules/links_profile_module.rb +83 -0
  69. data/lib/latest/modules/localsearch_profile_module.rb +151 -0
  70. data/lib/latest/modules/locks_profile_module.rb +79 -0
  71. data/lib/latest/modules/logic_profile_module.rb +787 -0
  72. data/lib/latest/modules/luisauthoring_profile_module.rb +505 -0
  73. data/lib/latest/modules/luisruntime_profile_module.rb +91 -0
  74. data/lib/latest/modules/machinelearning_profile_module.rb +211 -0
  75. data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -0
  76. data/lib/latest/modules/maintenance_profile_module.rb +121 -0
  77. data/lib/latest/modules/managedapplications_profile_module.rb +123 -0
  78. data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -0
  79. data/lib/latest/modules/mariadb_profile_module.rb +233 -0
  80. data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -0
  81. data/lib/latest/modules/mediaservices_profile_module.rb +871 -0
  82. data/lib/latest/modules/migrate_profile_module.rb +243 -0
  83. data/lib/latest/modules/mixedreality_profile_module.rb +169 -0
  84. data/lib/latest/modules/monitor_profile_module.rb +723 -0
  85. data/lib/latest/modules/mysql_profile_module.rb +233 -0
  86. data/lib/latest/modules/netapp_profile_module.rb +207 -0
  87. data/lib/latest/modules/network_profile_module.rb +2937 -0
  88. data/lib/latest/modules/newssearch_profile_module.rb +143 -0
  89. data/lib/latest/modules/notificationhubs_profile_module.rb +189 -0
  90. data/lib/latest/modules/operationalinsights_profile_module.rb +405 -0
  91. data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -0
  92. data/lib/latest/modules/peering_profile_module.rb +259 -0
  93. data/lib/latest/modules/personalizer_profile_module.rb +83 -0
  94. data/lib/latest/modules/policy_profile_module.rb +105 -0
  95. data/lib/latest/modules/policyinsights_profile_module.rb +223 -0
  96. data/lib/latest/modules/portal_profile_module.rb +95 -0
  97. data/lib/latest/modules/postgresql_profile_module.rb +233 -0
  98. data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -0
  99. data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -0
  100. data/lib/latest/modules/privatedns_profile_module.rb +137 -0
  101. data/lib/latest/modules/qnamaker_profile_module.rb +215 -0
  102. data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -0
  103. data/lib/latest/modules/recoveryservices_profile_module.rb +253 -0
  104. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1343 -0
  105. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -0
  106. data/lib/latest/modules/redis_profile_module.rb +209 -0
  107. data/lib/latest/modules/relay_profile_module.rb +163 -0
  108. data/lib/latest/modules/reservations_profile_module.rb +347 -0
  109. data/lib/latest/modules/resourcegraph_profile_module.rb +129 -0
  110. data/lib/latest/modules/resourcehealth_profile_module.rb +111 -0
  111. data/lib/latest/modules/resources_profile_module.rb +321 -0
  112. data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -0
  113. data/lib/latest/modules/scheduler_profile_module.rb +227 -0
  114. data/lib/latest/modules/search_profile_module.rb +127 -0
  115. data/lib/latest/modules/security_profile_module.rb +841 -0
  116. data/lib/latest/modules/serialconsole_profile_module.rb +73 -0
  117. data/lib/latest/modules/servicebus_profile_module.rb +309 -0
  118. data/lib/latest/modules/servicefabric_profile_module.rb +2711 -0
  119. data/lib/latest/modules/signalr_profile_module.rb +233 -0
  120. data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
  121. data/lib/latest/modules/sql_profile_module.rb +1765 -0
  122. data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -0
  123. data/lib/latest/modules/storage_profile_module.rb +693 -0
  124. data/lib/latest/modules/storagecache_profile_module.rb +217 -0
  125. data/lib/latest/modules/storagesync_profile_module.rb +275 -0
  126. data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -0
  127. data/lib/latest/modules/streamanalytics_profile_module.rb +349 -0
  128. data/lib/latest/modules/subscriptions_profile_module.rb +235 -0
  129. data/lib/latest/modules/support_profile_module.rb +177 -0
  130. data/lib/latest/modules/synapse_profile_module.rb +827 -0
  131. data/lib/latest/modules/textanalytics_profile_module.rb +125 -0
  132. data/lib/latest/modules/timeseriesinsights_profile_module.rb +309 -0
  133. data/lib/latest/modules/trafficmanager_profile_module.rb +173 -0
  134. data/lib/latest/modules/videosearch_profile_module.rb +175 -0
  135. data/lib/latest/modules/visualsearch_profile_module.rb +235 -0
  136. data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -0
  137. data/lib/latest/modules/web_profile_module.rb +1419 -0
  138. data/lib/latest/modules/websearch_profile_module.rb +211 -0
  139. data/lib/v2017_03_09/module_definition.rb +7 -0
  140. data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -0
  141. data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -0
  142. data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -0
  143. data/lib/v2017_03_09/modules/features_profile_module.rb +73 -0
  144. data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -0
  145. data/lib/v2017_03_09/modules/links_profile_module.rb +83 -0
  146. data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -0
  147. data/lib/v2017_03_09/modules/network_profile_module.rb +555 -0
  148. data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -0
  149. data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -0
  150. data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -0
  151. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -0
  152. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -0
  153. data/lib/v2018_03_01/module_definition.rb +7 -0
  154. data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -0
  155. data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -0
  156. data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -0
  157. data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -0
  158. data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -0
  159. data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -0
  160. data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -0
  161. data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -0
  162. data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -0
  163. data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -0
  164. data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -0
  165. data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -0
  166. data/lib/v2019_03_01_hybrid/module_definition.rb +7 -0
  167. data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -0
  168. data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -0
  169. data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -0
  170. data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -0
  171. data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -0
  172. data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -0
  173. data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -0
  174. data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -0
  175. data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -0
  176. data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -0
  177. data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -0
  178. data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -0
  179. data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -0
  180. metadata +2187 -0
@@ -0,0 +1,143 @@
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_customimagesearch'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Customimagesearch
9
+ CustomInstance = Azure::CognitiveServices::Customimagesearch::V1_0::CustomInstance
10
+
11
+ module Models
12
+ Query = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Query
13
+ Error = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Error
14
+ ResponseBase = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ResponseBase
15
+ ImageObject = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageObject
16
+ Images = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Images
17
+ Response = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Response
18
+ Answer = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Answer
19
+ SearchResultsAnswer = Azure::CognitiveServices::Customimagesearch::V1_0::Models::SearchResultsAnswer
20
+ MediaObject = Azure::CognitiveServices::Customimagesearch::V1_0::Models::MediaObject
21
+ Thing = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Thing
22
+ CreativeWork = Azure::CognitiveServices::Customimagesearch::V1_0::Models::CreativeWork
23
+ Identifiable = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Identifiable
24
+ ErrorResponse = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorResponse
25
+ WebPage = Azure::CognitiveServices::Customimagesearch::V1_0::Models::WebPage
26
+ ErrorCode = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorCode
27
+ ErrorSubCode = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorSubCode
28
+ ImageAspect = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageAspect
29
+ ImageColor = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageColor
30
+ Freshness = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Freshness
31
+ ImageContent = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageContent
32
+ ImageType = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageType
33
+ ImageLicense = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageLicense
34
+ SafeSearch = Azure::CognitiveServices::Customimagesearch::V1_0::Models::SafeSearch
35
+ ImageSize = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageSize
36
+ end
37
+
38
+ class CustomimagesearchDataClass
39
+ attr_reader :custom_instance, :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::CognitiveServices::Customimagesearch::V1_0::CustomimagesearchClient.new(configurable.credentials, 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
+ @custom_instance = @client_0.custom_instance
50
+
51
+ @model_classes = ModelClasses.new
52
+ end
53
+
54
+ def add_telemetry(client)
55
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Customimagesearch"
56
+ client.add_user_agent_information(profile_information)
57
+ end
58
+
59
+ def method_missing(method, *args)
60
+ if @client_0.respond_to?method
61
+ @client_0.send(method, *args)
62
+ else
63
+ super
64
+ end
65
+ end
66
+
67
+ class ModelClasses
68
+ def query
69
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::Query
70
+ end
71
+ def error
72
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::Error
73
+ end
74
+ def response_base
75
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ResponseBase
76
+ end
77
+ def image_object
78
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageObject
79
+ end
80
+ def images
81
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::Images
82
+ end
83
+ def response
84
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::Response
85
+ end
86
+ def answer
87
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::Answer
88
+ end
89
+ def search_results_answer
90
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::SearchResultsAnswer
91
+ end
92
+ def media_object
93
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::MediaObject
94
+ end
95
+ def thing
96
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::Thing
97
+ end
98
+ def creative_work
99
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::CreativeWork
100
+ end
101
+ def identifiable
102
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::Identifiable
103
+ end
104
+ def error_response
105
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorResponse
106
+ end
107
+ def web_page
108
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::WebPage
109
+ end
110
+ def error_code
111
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorCode
112
+ end
113
+ def error_sub_code
114
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorSubCode
115
+ end
116
+ def image_aspect
117
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageAspect
118
+ end
119
+ def image_color
120
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageColor
121
+ end
122
+ def freshness
123
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::Freshness
124
+ end
125
+ def image_content
126
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageContent
127
+ end
128
+ def image_type
129
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageType
130
+ end
131
+ def image_license
132
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageLicense
133
+ end
134
+ def safe_search
135
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::SafeSearch
136
+ end
137
+ def image_size
138
+ Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageSize
139
+ end
140
+ end
141
+ end
142
+ end
143
+ end
@@ -0,0 +1,123 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_cognitiveservices_customsearch'
6
+
7
+ module Azure::Profiles::Latest
8
+ module CustomSearch
9
+ CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance
10
+
11
+ module Models
12
+ ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase
13
+ QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext
14
+ Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query
15
+ Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error
16
+ WebMetaTag = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag
17
+ WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage
18
+ WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer
19
+ SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse
20
+ SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer
21
+ Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
22
+ Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
23
+ ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse
24
+ Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer
25
+ Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
26
+ CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
27
+ ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode
28
+ ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
29
+ SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch
30
+ TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat
31
+ end
32
+
33
+ class CustomSearchDataClass
34
+ attr_reader :custom_instance, :configurable, :base_url, :options, :model_classes
35
+
36
+ def initialize(configurable, base_url=nil, options=nil)
37
+ @configurable, @base_url, @options = configurable, base_url, options
38
+
39
+ @client_0 = Azure::CognitiveServices::CustomSearch::V1_0::CustomSearchClient.new(configurable.credentials, options)
40
+ if(@client_0.respond_to?(:subscription_id))
41
+ @client_0.subscription_id = configurable.subscription_id
42
+ end
43
+ add_telemetry(@client_0)
44
+ @custom_instance = @client_0.custom_instance
45
+
46
+ @model_classes = ModelClasses.new
47
+ end
48
+
49
+ def add_telemetry(client)
50
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/CustomSearch"
51
+ client.add_user_agent_information(profile_information)
52
+ end
53
+
54
+ def method_missing(method, *args)
55
+ if @client_0.respond_to?method
56
+ @client_0.send(method, *args)
57
+ else
58
+ super
59
+ end
60
+ end
61
+
62
+ class ModelClasses
63
+ def response_base
64
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase
65
+ end
66
+ def query_context
67
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext
68
+ end
69
+ def query
70
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::Query
71
+ end
72
+ def error
73
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::Error
74
+ end
75
+ def web_meta_tag
76
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag
77
+ end
78
+ def web_page
79
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage
80
+ end
81
+ def web_web_answer
82
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer
83
+ end
84
+ def search_response
85
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse
86
+ end
87
+ def search_results_answer
88
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer
89
+ end
90
+ def identifiable
91
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
92
+ end
93
+ def response
94
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
95
+ end
96
+ def error_response
97
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse
98
+ end
99
+ def answer
100
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer
101
+ end
102
+ def thing
103
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
104
+ end
105
+ def creative_work
106
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
107
+ end
108
+ def error_code
109
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode
110
+ end
111
+ def error_sub_code
112
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
113
+ end
114
+ def safe_search
115
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch
116
+ end
117
+ def text_format
118
+ Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,69 @@
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_customvisionprediction'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Customvisionprediction
9
+
10
+ module Models
11
+ Prediction = Azure::CognitiveServices::Customvisionprediction::V3_0::Models::Prediction
12
+ ImagePrediction = Azure::CognitiveServices::Customvisionprediction::V3_0::Models::ImagePrediction
13
+ BoundingBox = Azure::CognitiveServices::Customvisionprediction::V3_0::Models::BoundingBox
14
+ CustomVisionError = Azure::CognitiveServices::Customvisionprediction::V3_0::Models::CustomVisionError
15
+ ImageUrl = Azure::CognitiveServices::Customvisionprediction::V3_0::Models::ImageUrl
16
+ CustomVisionErrorCodes = Azure::CognitiveServices::Customvisionprediction::V3_0::Models::CustomVisionErrorCodes
17
+ end
18
+
19
+ class CustomvisionpredictionDataClass
20
+ attr_reader :configurable, :base_url, :options, :model_classes
21
+
22
+ def initialize(configurable, base_url=nil, options=nil)
23
+ @configurable, @base_url, @options = configurable, base_url, options
24
+
25
+ @client_0 = Azure::CognitiveServices::Customvisionprediction::V3_0::CustomvisionpredictionClient.new(configurable.credentials, options)
26
+ if(@client_0.respond_to?(:subscription_id))
27
+ @client_0.subscription_id = configurable.subscription_id
28
+ end
29
+ add_telemetry(@client_0)
30
+
31
+ @model_classes = ModelClasses.new
32
+ end
33
+
34
+ def add_telemetry(client)
35
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Customvisionprediction"
36
+ client.add_user_agent_information(profile_information)
37
+ end
38
+
39
+ def method_missing(method, *args)
40
+ if @client_0.respond_to?method
41
+ @client_0.send(method, *args)
42
+ else
43
+ super
44
+ end
45
+ end
46
+
47
+ class ModelClasses
48
+ def prediction
49
+ Azure::CognitiveServices::Customvisionprediction::V3_0::Models::Prediction
50
+ end
51
+ def image_prediction
52
+ Azure::CognitiveServices::Customvisionprediction::V3_0::Models::ImagePrediction
53
+ end
54
+ def bounding_box
55
+ Azure::CognitiveServices::Customvisionprediction::V3_0::Models::BoundingBox
56
+ end
57
+ def custom_vision_error
58
+ Azure::CognitiveServices::Customvisionprediction::V3_0::Models::CustomVisionError
59
+ end
60
+ def image_url
61
+ Azure::CognitiveServices::Customvisionprediction::V3_0::Models::ImageUrl
62
+ end
63
+ def custom_vision_error_codes
64
+ Azure::CognitiveServices::Customvisionprediction::V3_0::Models::CustomVisionErrorCodes
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,241 @@
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_customvisiontraining'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Customvisiontraining
9
+
10
+ module Models
11
+ ImageIdCreateBatch = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageIdCreateBatch
12
+ BoundingBox = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::BoundingBox
13
+ ImageTagCreateEntry = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageTagCreateEntry
14
+ RegionProposal = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::RegionProposal
15
+ ImageTagCreateSummary = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageTagCreateSummary
16
+ ImageRegionProposal = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionProposal
17
+ ImageRegionCreateBatch = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateBatch
18
+ ImageUrl = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageUrl
19
+ ImageRegionCreateSummary = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateSummary
20
+ Prediction = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Prediction
21
+ ImageRegion = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegion
22
+ ImagePrediction = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImagePrediction
23
+ ImageCreateResult = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageCreateResult
24
+ PredictionQueryTag = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::PredictionQueryTag
25
+ Region = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Region
26
+ PredictionQueryToken = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::PredictionQueryToken
27
+ ImageFileCreateBatch = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageFileCreateBatch
28
+ StoredImagePrediction = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::StoredImagePrediction
29
+ ImageUrlCreateBatch = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageUrlCreateBatch
30
+ PredictionQueryResult = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::PredictionQueryResult
31
+ Domain = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Domain
32
+ TagPerformance = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::TagPerformance
33
+ ImageRegionCreateEntry = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateEntry
34
+ IterationPerformance = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::IterationPerformance
35
+ ImageTag = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageTag
36
+ ImagePerformance = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImagePerformance
37
+ ImageCreateSummary = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageCreateSummary
38
+ ProjectSettings = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ProjectSettings
39
+ ImageUrlCreateEntry = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageUrlCreateEntry
40
+ Project = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Project
41
+ ImageTagCreateBatch = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageTagCreateBatch
42
+ Iteration = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Iteration
43
+ Image = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Image
44
+ Export = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Export
45
+ ImageIdCreateEntry = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageIdCreateEntry
46
+ Tag = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Tag
47
+ ImageFileCreateEntry = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageFileCreateEntry
48
+ CustomVisionError = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::CustomVisionError
49
+ ImageRegionCreateResult = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateResult
50
+ DomainType = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::DomainType
51
+ ImageCreateStatus = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageCreateStatus
52
+ OrderBy = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::OrderBy
53
+ Classifier = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Classifier
54
+ TrainingType = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::TrainingType
55
+ ExportPlatform = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ExportPlatform
56
+ ExportStatus = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ExportStatus
57
+ ExportFlavor = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ExportFlavor
58
+ TagType = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::TagType
59
+ CustomVisionErrorCodes = Azure::CognitiveServices::Customvisiontraining::V3_0::Models::CustomVisionErrorCodes
60
+ end
61
+
62
+ class CustomvisiontrainingDataClass
63
+ attr_reader :configurable, :base_url, :options, :model_classes
64
+
65
+ def initialize(configurable, base_url=nil, options=nil)
66
+ @configurable, @base_url, @options = configurable, base_url, options
67
+
68
+ @client_0 = Azure::CognitiveServices::Customvisiontraining::V3_0::CustomvisiontrainingClient.new(configurable.credentials, options)
69
+ if(@client_0.respond_to?(:subscription_id))
70
+ @client_0.subscription_id = configurable.subscription_id
71
+ end
72
+ add_telemetry(@client_0)
73
+
74
+ @model_classes = ModelClasses.new
75
+ end
76
+
77
+ def add_telemetry(client)
78
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Customvisiontraining"
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 image_id_create_batch
92
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageIdCreateBatch
93
+ end
94
+ def bounding_box
95
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::BoundingBox
96
+ end
97
+ def image_tag_create_entry
98
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageTagCreateEntry
99
+ end
100
+ def region_proposal
101
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::RegionProposal
102
+ end
103
+ def image_tag_create_summary
104
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageTagCreateSummary
105
+ end
106
+ def image_region_proposal
107
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionProposal
108
+ end
109
+ def image_region_create_batch
110
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateBatch
111
+ end
112
+ def image_url
113
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageUrl
114
+ end
115
+ def image_region_create_summary
116
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateSummary
117
+ end
118
+ def prediction
119
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Prediction
120
+ end
121
+ def image_region
122
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegion
123
+ end
124
+ def image_prediction
125
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImagePrediction
126
+ end
127
+ def image_create_result
128
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageCreateResult
129
+ end
130
+ def prediction_query_tag
131
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::PredictionQueryTag
132
+ end
133
+ def region
134
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Region
135
+ end
136
+ def prediction_query_token
137
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::PredictionQueryToken
138
+ end
139
+ def image_file_create_batch
140
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageFileCreateBatch
141
+ end
142
+ def stored_image_prediction
143
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::StoredImagePrediction
144
+ end
145
+ def image_url_create_batch
146
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageUrlCreateBatch
147
+ end
148
+ def prediction_query_result
149
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::PredictionQueryResult
150
+ end
151
+ def domain
152
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Domain
153
+ end
154
+ def tag_performance
155
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::TagPerformance
156
+ end
157
+ def image_region_create_entry
158
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateEntry
159
+ end
160
+ def iteration_performance
161
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::IterationPerformance
162
+ end
163
+ def image_tag
164
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageTag
165
+ end
166
+ def image_performance
167
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImagePerformance
168
+ end
169
+ def image_create_summary
170
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageCreateSummary
171
+ end
172
+ def project_settings
173
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ProjectSettings
174
+ end
175
+ def image_url_create_entry
176
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageUrlCreateEntry
177
+ end
178
+ def project
179
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Project
180
+ end
181
+ def image_tag_create_batch
182
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageTagCreateBatch
183
+ end
184
+ def iteration
185
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Iteration
186
+ end
187
+ def image
188
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Image
189
+ end
190
+ def export
191
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Export
192
+ end
193
+ def image_id_create_entry
194
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageIdCreateEntry
195
+ end
196
+ def tag
197
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Tag
198
+ end
199
+ def image_file_create_entry
200
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageFileCreateEntry
201
+ end
202
+ def custom_vision_error
203
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::CustomVisionError
204
+ end
205
+ def image_region_create_result
206
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateResult
207
+ end
208
+ def domain_type
209
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::DomainType
210
+ end
211
+ def image_create_status
212
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageCreateStatus
213
+ end
214
+ def order_by
215
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::OrderBy
216
+ end
217
+ def classifier
218
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::Classifier
219
+ end
220
+ def training_type
221
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::TrainingType
222
+ end
223
+ def export_platform
224
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ExportPlatform
225
+ end
226
+ def export_status
227
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ExportStatus
228
+ end
229
+ def export_flavor
230
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ExportFlavor
231
+ end
232
+ def tag_type
233
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::TagType
234
+ end
235
+ def custom_vision_error_codes
236
+ Azure::CognitiveServices::Customvisiontraining::V3_0::Models::CustomVisionErrorCodes
237
+ end
238
+ end
239
+ end
240
+ end
241
+ end