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,233 @@
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_computervision'
6
+
7
+ module Azure::Profiles::Latest
8
+ module ComputerVision
9
+
10
+ module Models
11
+ DetectResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectResult
12
+ FaceRectangle = Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceRectangle
13
+ ModelDescription = Azure::CognitiveServices::ComputerVision::V2_1::Models::ModelDescription
14
+ LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarksModel
15
+ ListModelsResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::ListModelsResult
16
+ Category = Azure::CognitiveServices::ComputerVision::V2_1::Models::Category
17
+ DomainModelResults = Azure::CognitiveServices::ComputerVision::V2_1::Models::DomainModelResults
18
+ ColorInfo = Azure::CognitiveServices::ComputerVision::V2_1::Models::ColorInfo
19
+ OcrWord = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrWord
20
+ ImageTag = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageTag
21
+ OcrLine = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLine
22
+ ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescriptionDetails
23
+ OcrRegion = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrRegion
24
+ BoundingRect = Azure::CognitiveServices::ComputerVision::V2_1::Models::BoundingRect
25
+ OcrResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrResult
26
+ DetectedObject = Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedObject
27
+ TagResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::TagResult
28
+ ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageMetadata
29
+ AreaOfInterestResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::AreaOfInterestResult
30
+ ImageDescription = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescription
31
+ ImageUrl = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageUrl
32
+ CategoryDetail = Azure::CognitiveServices::ComputerVision::V2_1::Models::CategoryDetail
33
+ ComputerVisionError = Azure::CognitiveServices::ComputerVision::V2_1::Models::ComputerVisionError
34
+ ImageType = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageType
35
+ LandmarkResults = Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarkResults
36
+ FaceDescription = Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceDescription
37
+ CelebrityResults = Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebrityResults
38
+ DetectedBrand = Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedBrand
39
+ Word = Azure::CognitiveServices::ComputerVision::V2_1::Models::Word
40
+ CelebritiesModel = Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebritiesModel
41
+ Line = Azure::CognitiveServices::ComputerVision::V2_1::Models::Line
42
+ ImageCaption = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageCaption
43
+ TextRecognitionResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResult
44
+ ImageAnalysis = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageAnalysis
45
+ TextOperationResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationResult
46
+ ObjectHierarchy = Azure::CognitiveServices::ComputerVision::V2_1::Models::ObjectHierarchy
47
+ ReadOperationResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::ReadOperationResult
48
+ AdultInfo = Azure::CognitiveServices::ComputerVision::V2_1::Models::AdultInfo
49
+ Gender = Azure::CognitiveServices::ComputerVision::V2_1::Models::Gender
50
+ TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationStatusCodes
51
+ TextRecognitionResultDimensionUnit = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultDimensionUnit
52
+ TextRecognitionResultConfidenceClass = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultConfidenceClass
53
+ DescriptionExclude = Azure::CognitiveServices::ComputerVision::V2_1::Models::DescriptionExclude
54
+ OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLanguages
55
+ VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_1::Models::VisualFeatureTypes
56
+ TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionMode
57
+ Details = Azure::CognitiveServices::ComputerVision::V2_1::Models::Details
58
+ end
59
+
60
+ class ComputerVisionDataClass
61
+ attr_reader :configurable, :base_url, :options, :model_classes
62
+
63
+ def initialize(configurable, base_url=nil, options=nil)
64
+ @configurable, @base_url, @options = configurable, base_url, options
65
+
66
+ @client_0 = Azure::CognitiveServices::ComputerVision::V2_1::ComputerVisionClient.new(configurable.credentials, options)
67
+ if(@client_0.respond_to?(:subscription_id))
68
+ @client_0.subscription_id = configurable.subscription_id
69
+ end
70
+ add_telemetry(@client_0)
71
+
72
+ @model_classes = ModelClasses.new
73
+ end
74
+
75
+ def add_telemetry(client)
76
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ComputerVision"
77
+ client.add_user_agent_information(profile_information)
78
+ end
79
+
80
+ def method_missing(method, *args)
81
+ if @client_0.respond_to?method
82
+ @client_0.send(method, *args)
83
+ else
84
+ super
85
+ end
86
+ end
87
+
88
+ class ModelClasses
89
+ def detect_result
90
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectResult
91
+ end
92
+ def face_rectangle
93
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceRectangle
94
+ end
95
+ def model_description
96
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ModelDescription
97
+ end
98
+ def landmarks_model
99
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarksModel
100
+ end
101
+ def list_models_result
102
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ListModelsResult
103
+ end
104
+ def category
105
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Category
106
+ end
107
+ def domain_model_results
108
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DomainModelResults
109
+ end
110
+ def color_info
111
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ColorInfo
112
+ end
113
+ def ocr_word
114
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrWord
115
+ end
116
+ def image_tag
117
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageTag
118
+ end
119
+ def ocr_line
120
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLine
121
+ end
122
+ def image_description_details
123
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescriptionDetails
124
+ end
125
+ def ocr_region
126
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrRegion
127
+ end
128
+ def bounding_rect
129
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::BoundingRect
130
+ end
131
+ def ocr_result
132
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrResult
133
+ end
134
+ def detected_object
135
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedObject
136
+ end
137
+ def tag_result
138
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TagResult
139
+ end
140
+ def image_metadata
141
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageMetadata
142
+ end
143
+ def area_of_interest_result
144
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::AreaOfInterestResult
145
+ end
146
+ def image_description
147
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescription
148
+ end
149
+ def image_url
150
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageUrl
151
+ end
152
+ def category_detail
153
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::CategoryDetail
154
+ end
155
+ def computer_vision_error
156
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ComputerVisionError
157
+ end
158
+ def image_type
159
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageType
160
+ end
161
+ def landmark_results
162
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarkResults
163
+ end
164
+ def face_description
165
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceDescription
166
+ end
167
+ def celebrity_results
168
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebrityResults
169
+ end
170
+ def detected_brand
171
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedBrand
172
+ end
173
+ def word
174
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Word
175
+ end
176
+ def celebrities_model
177
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebritiesModel
178
+ end
179
+ def line
180
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Line
181
+ end
182
+ def image_caption
183
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageCaption
184
+ end
185
+ def text_recognition_result
186
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResult
187
+ end
188
+ def image_analysis
189
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageAnalysis
190
+ end
191
+ def text_operation_result
192
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationResult
193
+ end
194
+ def object_hierarchy
195
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ObjectHierarchy
196
+ end
197
+ def read_operation_result
198
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ReadOperationResult
199
+ end
200
+ def adult_info
201
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::AdultInfo
202
+ end
203
+ def gender
204
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Gender
205
+ end
206
+ def text_operation_status_codes
207
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationStatusCodes
208
+ end
209
+ def text_recognition_result_dimension_unit
210
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultDimensionUnit
211
+ end
212
+ def text_recognition_result_confidence_class
213
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultConfidenceClass
214
+ end
215
+ def description_exclude
216
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DescriptionExclude
217
+ end
218
+ def ocr_languages
219
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLanguages
220
+ end
221
+ def visual_feature_types
222
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::VisualFeatureTypes
223
+ end
224
+ def text_recognition_mode
225
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionMode
226
+ end
227
+ def details
228
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Details
229
+ end
230
+ end
231
+ end
232
+ end
233
+ end
@@ -0,0 +1,345 @@
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_consumption'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Consumption
9
+ module Mgmt
10
+ UsageDetails = Azure::Consumption::Mgmt::V2019_10_01::UsageDetails
11
+ Marketplaces = Azure::Consumption::Mgmt::V2019_10_01::Marketplaces
12
+ Budgets = Azure::Consumption::Mgmt::V2019_10_01::Budgets
13
+ Tags = Azure::Consumption::Mgmt::V2019_10_01::Tags
14
+ Charges = Azure::Consumption::Mgmt::V2019_10_01::Charges
15
+ Balances = Azure::Consumption::Mgmt::V2019_10_01::Balances
16
+ ReservationsSummaries = Azure::Consumption::Mgmt::V2019_10_01::ReservationsSummaries
17
+ ReservationsDetails = Azure::Consumption::Mgmt::V2019_10_01::ReservationsDetails
18
+ ReservationRecommendations = Azure::Consumption::Mgmt::V2019_10_01::ReservationRecommendations
19
+ ReservationTransactions = Azure::Consumption::Mgmt::V2019_10_01::ReservationTransactions
20
+ PriceSheet = Azure::Consumption::Mgmt::V2019_10_01::PriceSheet
21
+ Forecasts = Azure::Consumption::Mgmt::V2019_10_01::Forecasts
22
+ Operations = Azure::Consumption::Mgmt::V2019_10_01::Operations
23
+ AggregatedCost = Azure::Consumption::Mgmt::V2019_10_01::AggregatedCost
24
+ EventsOperations = Azure::Consumption::Mgmt::V2019_10_01::EventsOperations
25
+ LotsOperations = Azure::Consumption::Mgmt::V2019_10_01::LotsOperations
26
+ Credits = Azure::Consumption::Mgmt::V2019_10_01::Credits
27
+
28
+ module Models
29
+ CurrentSpend = Azure::Consumption::Mgmt::V2019_10_01::Models::CurrentSpend
30
+ Notification = Azure::Consumption::Mgmt::V2019_10_01::Models::Notification
31
+ Events = Azure::Consumption::Mgmt::V2019_10_01::Models::Events
32
+ UsageDetailsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::UsageDetailsListResult
33
+ Amount = Azure::Consumption::Mgmt::V2019_10_01::Models::Amount
34
+ OperationListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::OperationListResult
35
+ ResourceAttributes = Azure::Consumption::Mgmt::V2019_10_01::Models::ResourceAttributes
36
+ Operation = Azure::Consumption::Mgmt::V2019_10_01::Models::Operation
37
+ BalancePropertiesNewPurchasesDetailsItem = Azure::Consumption::Mgmt::V2019_10_01::Models::BalancePropertiesNewPurchasesDetailsItem
38
+ ReservationTransactionsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationTransactionsListResult
39
+ Resource = Azure::Consumption::Mgmt::V2019_10_01::Models::Resource
40
+ Tag = Azure::Consumption::Mgmt::V2019_10_01::Models::Tag
41
+ ReservationSummariesListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationSummariesListResult
42
+ OperationDisplay = Azure::Consumption::Mgmt::V2019_10_01::Models::OperationDisplay
43
+ ReservationDetailsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationDetailsListResult
44
+ BudgetTimePeriod = Azure::Consumption::Mgmt::V2019_10_01::Models::BudgetTimePeriod
45
+ ReservationRecommendationsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationRecommendationsListResult
46
+ Filters = Azure::Consumption::Mgmt::V2019_10_01::Models::Filters
47
+ MeterDetailsResponse = Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetailsResponse
48
+ MeterDetails = Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetails
49
+ MarketplacesListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::MarketplacesListResult
50
+ ErrorResponse = Azure::Consumption::Mgmt::V2019_10_01::Models::ErrorResponse
51
+ CreditBalanceSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::CreditBalanceSummary
52
+ ErrorDetails = Azure::Consumption::Mgmt::V2019_10_01::Models::ErrorDetails
53
+ ReservationRecommendation = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationRecommendation
54
+ BudgetsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::BudgetsListResult
55
+ ProxyResource = Azure::Consumption::Mgmt::V2019_10_01::Models::ProxyResource
56
+ PriceSheetProperties = Azure::Consumption::Mgmt::V2019_10_01::Models::PriceSheetProperties
57
+ Lots = Azure::Consumption::Mgmt::V2019_10_01::Models::Lots
58
+ ChargesListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ChargesListResult
59
+ BalancePropertiesAdjustmentDetailsItem = Azure::Consumption::Mgmt::V2019_10_01::Models::BalancePropertiesAdjustmentDetailsItem
60
+ ForecastPropertiesConfidenceLevelsItem = Azure::Consumption::Mgmt::V2019_10_01::Models::ForecastPropertiesConfidenceLevelsItem
61
+ SkuProperty = Azure::Consumption::Mgmt::V2019_10_01::Models::SkuProperty
62
+ ForecastsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ForecastsListResult
63
+ UsageDetail = Azure::Consumption::Mgmt::V2019_10_01::Models::UsageDetail
64
+ LegacyUsageDetail = Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyUsageDetail
65
+ ModernUsageDetail = Azure::Consumption::Mgmt::V2019_10_01::Models::ModernUsageDetail
66
+ Marketplace = Azure::Consumption::Mgmt::V2019_10_01::Models::Marketplace
67
+ Balance = Azure::Consumption::Mgmt::V2019_10_01::Models::Balance
68
+ ReservationSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationSummary
69
+ ReservationDetail = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationDetail
70
+ LegacyReservationRecommendation = Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyReservationRecommendation
71
+ ModernReservationRecommendation = Azure::Consumption::Mgmt::V2019_10_01::Models::ModernReservationRecommendation
72
+ ReservationTransaction = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationTransaction
73
+ TagsResult = Azure::Consumption::Mgmt::V2019_10_01::Models::TagsResult
74
+ Budget = Azure::Consumption::Mgmt::V2019_10_01::Models::Budget
75
+ PriceSheetResult = Azure::Consumption::Mgmt::V2019_10_01::Models::PriceSheetResult
76
+ Forecast = Azure::Consumption::Mgmt::V2019_10_01::Models::Forecast
77
+ ManagementGroupAggregatedCostResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ManagementGroupAggregatedCostResult
78
+ ChargeSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::ChargeSummary
79
+ LegacyChargeSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyChargeSummary
80
+ ModernChargeSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::ModernChargeSummary
81
+ EventSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::EventSummary
82
+ LotSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::LotSummary
83
+ CreditSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::CreditSummary
84
+ BillingFrequency = Azure::Consumption::Mgmt::V2019_10_01::Models::BillingFrequency
85
+ CategoryType = Azure::Consumption::Mgmt::V2019_10_01::Models::CategoryType
86
+ TimeGrainType = Azure::Consumption::Mgmt::V2019_10_01::Models::TimeGrainType
87
+ OperatorType = Azure::Consumption::Mgmt::V2019_10_01::Models::OperatorType
88
+ Grain = Azure::Consumption::Mgmt::V2019_10_01::Models::Grain
89
+ ChargeType = Azure::Consumption::Mgmt::V2019_10_01::Models::ChargeType
90
+ Bound = Azure::Consumption::Mgmt::V2019_10_01::Models::Bound
91
+ EventType = Azure::Consumption::Mgmt::V2019_10_01::Models::EventType
92
+ LotSource = Azure::Consumption::Mgmt::V2019_10_01::Models::LotSource
93
+ Datagrain = Azure::Consumption::Mgmt::V2019_10_01::Models::Datagrain
94
+ Metrictype = Azure::Consumption::Mgmt::V2019_10_01::Models::Metrictype
95
+ end
96
+
97
+ class ConsumptionManagementClass
98
+ attr_reader :usage_details, :marketplaces, :budgets, :tags, :charges, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :reservation_transactions, :price_sheet, :forecasts, :operations, :aggregated_cost, :events_operations, :lots_operations, :credits, :configurable, :base_url, :options, :model_classes
99
+
100
+ def initialize(configurable, base_url=nil, options=nil)
101
+ @configurable, @base_url, @options = configurable, base_url, options
102
+
103
+ @client_0 = Azure::Consumption::Mgmt::V2019_10_01::ConsumptionManagementClient.new(configurable.credentials, base_url, options)
104
+ if(@client_0.respond_to?(:subscription_id))
105
+ @client_0.subscription_id = configurable.subscription_id
106
+ end
107
+ add_telemetry(@client_0)
108
+ @usage_details = @client_0.usage_details
109
+ @marketplaces = @client_0.marketplaces
110
+ @budgets = @client_0.budgets
111
+ @tags = @client_0.tags
112
+ @charges = @client_0.charges
113
+ @balances = @client_0.balances
114
+ @reservations_summaries = @client_0.reservations_summaries
115
+ @reservations_details = @client_0.reservations_details
116
+ @reservation_recommendations = @client_0.reservation_recommendations
117
+ @reservation_transactions = @client_0.reservation_transactions
118
+ @price_sheet = @client_0.price_sheet
119
+ @forecasts = @client_0.forecasts
120
+ @operations = @client_0.operations
121
+ @aggregated_cost = @client_0.aggregated_cost
122
+ @events_operations = @client_0.events_operations
123
+ @lots_operations = @client_0.lots_operations
124
+ @credits = @client_0.credits
125
+
126
+ @model_classes = ModelClasses.new
127
+ end
128
+
129
+ def add_telemetry(client)
130
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Consumption/Mgmt"
131
+ client.add_user_agent_information(profile_information)
132
+ end
133
+
134
+ def method_missing(method, *args)
135
+ if @client_0.respond_to?method
136
+ @client_0.send(method, *args)
137
+ else
138
+ super
139
+ end
140
+ end
141
+
142
+ class ModelClasses
143
+ def current_spend
144
+ Azure::Consumption::Mgmt::V2019_10_01::Models::CurrentSpend
145
+ end
146
+ def notification
147
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Notification
148
+ end
149
+ def events
150
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Events
151
+ end
152
+ def usage_details_list_result
153
+ Azure::Consumption::Mgmt::V2019_10_01::Models::UsageDetailsListResult
154
+ end
155
+ def amount
156
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Amount
157
+ end
158
+ def operation_list_result
159
+ Azure::Consumption::Mgmt::V2019_10_01::Models::OperationListResult
160
+ end
161
+ def resource_attributes
162
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ResourceAttributes
163
+ end
164
+ def operation
165
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Operation
166
+ end
167
+ def balance_properties_new_purchases_details_item
168
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BalancePropertiesNewPurchasesDetailsItem
169
+ end
170
+ def reservation_transactions_list_result
171
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationTransactionsListResult
172
+ end
173
+ def resource
174
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Resource
175
+ end
176
+ def tag
177
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Tag
178
+ end
179
+ def reservation_summaries_list_result
180
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationSummariesListResult
181
+ end
182
+ def operation_display
183
+ Azure::Consumption::Mgmt::V2019_10_01::Models::OperationDisplay
184
+ end
185
+ def reservation_details_list_result
186
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationDetailsListResult
187
+ end
188
+ def budget_time_period
189
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BudgetTimePeriod
190
+ end
191
+ def reservation_recommendations_list_result
192
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationRecommendationsListResult
193
+ end
194
+ def filters
195
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Filters
196
+ end
197
+ def meter_details_response
198
+ Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetailsResponse
199
+ end
200
+ def meter_details
201
+ Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetails
202
+ end
203
+ def marketplaces_list_result
204
+ Azure::Consumption::Mgmt::V2019_10_01::Models::MarketplacesListResult
205
+ end
206
+ def error_response
207
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ErrorResponse
208
+ end
209
+ def credit_balance_summary
210
+ Azure::Consumption::Mgmt::V2019_10_01::Models::CreditBalanceSummary
211
+ end
212
+ def error_details
213
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ErrorDetails
214
+ end
215
+ def reservation_recommendation
216
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationRecommendation
217
+ end
218
+ def budgets_list_result
219
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BudgetsListResult
220
+ end
221
+ def proxy_resource
222
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ProxyResource
223
+ end
224
+ def price_sheet_properties
225
+ Azure::Consumption::Mgmt::V2019_10_01::Models::PriceSheetProperties
226
+ end
227
+ def lots
228
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Lots
229
+ end
230
+ def charges_list_result
231
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ChargesListResult
232
+ end
233
+ def balance_properties_adjustment_details_item
234
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BalancePropertiesAdjustmentDetailsItem
235
+ end
236
+ def forecast_properties_confidence_levels_item
237
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ForecastPropertiesConfidenceLevelsItem
238
+ end
239
+ def sku_property
240
+ Azure::Consumption::Mgmt::V2019_10_01::Models::SkuProperty
241
+ end
242
+ def forecasts_list_result
243
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ForecastsListResult
244
+ end
245
+ def usage_detail
246
+ Azure::Consumption::Mgmt::V2019_10_01::Models::UsageDetail
247
+ end
248
+ def legacy_usage_detail
249
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyUsageDetail
250
+ end
251
+ def modern_usage_detail
252
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ModernUsageDetail
253
+ end
254
+ def marketplace
255
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Marketplace
256
+ end
257
+ def balance
258
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Balance
259
+ end
260
+ def reservation_summary
261
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationSummary
262
+ end
263
+ def reservation_detail
264
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationDetail
265
+ end
266
+ def legacy_reservation_recommendation
267
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyReservationRecommendation
268
+ end
269
+ def modern_reservation_recommendation
270
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ModernReservationRecommendation
271
+ end
272
+ def reservation_transaction
273
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationTransaction
274
+ end
275
+ def tags_result
276
+ Azure::Consumption::Mgmt::V2019_10_01::Models::TagsResult
277
+ end
278
+ def budget
279
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Budget
280
+ end
281
+ def price_sheet_result
282
+ Azure::Consumption::Mgmt::V2019_10_01::Models::PriceSheetResult
283
+ end
284
+ def forecast
285
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Forecast
286
+ end
287
+ def management_group_aggregated_cost_result
288
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ManagementGroupAggregatedCostResult
289
+ end
290
+ def charge_summary
291
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ChargeSummary
292
+ end
293
+ def legacy_charge_summary
294
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyChargeSummary
295
+ end
296
+ def modern_charge_summary
297
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ModernChargeSummary
298
+ end
299
+ def event_summary
300
+ Azure::Consumption::Mgmt::V2019_10_01::Models::EventSummary
301
+ end
302
+ def lot_summary
303
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LotSummary
304
+ end
305
+ def credit_summary
306
+ Azure::Consumption::Mgmt::V2019_10_01::Models::CreditSummary
307
+ end
308
+ def billing_frequency
309
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BillingFrequency
310
+ end
311
+ def category_type
312
+ Azure::Consumption::Mgmt::V2019_10_01::Models::CategoryType
313
+ end
314
+ def time_grain_type
315
+ Azure::Consumption::Mgmt::V2019_10_01::Models::TimeGrainType
316
+ end
317
+ def operator_type
318
+ Azure::Consumption::Mgmt::V2019_10_01::Models::OperatorType
319
+ end
320
+ def grain
321
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Grain
322
+ end
323
+ def charge_type
324
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ChargeType
325
+ end
326
+ def bound
327
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Bound
328
+ end
329
+ def event_type
330
+ Azure::Consumption::Mgmt::V2019_10_01::Models::EventType
331
+ end
332
+ def lot_source
333
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LotSource
334
+ end
335
+ def datagrain
336
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Datagrain
337
+ end
338
+ def metrictype
339
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Metrictype
340
+ end
341
+ end
342
+ end
343
+ end
344
+ end
345
+ end