azure_sdk 0.51.1 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +20 -20
  3. data/lib/azure_sdk.rb +9 -9
  4. data/lib/azure_sdk/version.rb +1 -1
  5. data/lib/latest/latest_profile_client.rb +0 -0
  6. data/lib/latest/module_definition.rb +6 -6
  7. data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
  8. data/lib/latest/modules/advisor_profile_module.rb +119 -119
  9. data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
  10. data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
  11. data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
  12. data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
  13. data/lib/latest/modules/appconfiguration_profile_module.rb +175 -107
  14. data/lib/latest/modules/attestation_profile_module.rb +95 -95
  15. data/lib/latest/modules/authorization_profile_module.rb +167 -167
  16. data/lib/latest/modules/automation_profile_module.rb +663 -663
  17. data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
  18. data/lib/latest/modules/azurestack_profile_module.rb +0 -0
  19. data/lib/latest/modules/batch_profile_module.rb +417 -417
  20. data/lib/latest/modules/batchai_profile_module.rb +425 -425
  21. data/lib/latest/modules/billing_profile_module.rb +107 -107
  22. data/lib/latest/modules/botservice_profile_module.rb +293 -293
  23. data/lib/latest/modules/cdn_profile_module.rb +325 -325
  24. data/lib/latest/modules/cognitiveservices_profile_module.rb +201 -207
  25. data/lib/latest/modules/commerce_profile_module.rb +99 -99
  26. data/lib/latest/modules/compute_profile_module.rb +1235 -1235
  27. data/lib/latest/modules/computervision_profile_module.rb +233 -233
  28. data/lib/latest/modules/consumption_profile_module.rb +345 -345
  29. data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
  30. data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
  31. data/lib/latest/modules/containerservice_profile_module.rb +385 -385
  32. data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
  33. data/lib/latest/modules/cosmosdb_profile_module.rb +679 -679
  34. data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
  35. data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
  36. data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
  37. data/lib/latest/modules/customsearch_profile_module.rb +123 -123
  38. data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
  39. data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
  40. data/lib/latest/modules/databox_profile_module.rb +309 -309
  41. data/lib/latest/modules/datafactory_profile_module.rb +2701 -2159
  42. data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
  43. data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
  44. data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
  45. data/lib/latest/modules/datashare_profile_module.rb +383 -383
  46. data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -261
  47. data/lib/latest/modules/devspaces_profile_module.rb +119 -119
  48. data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
  49. data/lib/latest/modules/dns_profile_module.rb +143 -143
  50. data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
  51. data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
  52. data/lib/latest/modules/eventgrid_profile_module.rb +679 -679
  53. data/lib/latest/modules/eventhub_profile_module.rb +195 -195
  54. data/lib/latest/modules/face_profile_module.rb +297 -297
  55. data/lib/latest/modules/features_profile_module.rb +73 -73
  56. data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
  57. data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
  58. data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
  59. data/lib/latest/modules/hdinsight_profile_module.rb +415 -415
  60. data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
  61. data/lib/latest/modules/importexport_profile_module.rb +135 -135
  62. data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
  63. data/lib/latest/modules/iothub_profile_module.rb +377 -377
  64. data/lib/latest/modules/keyvault_profile_module.rb +623 -623
  65. data/lib/latest/modules/kusto_profile_module.rb +349 -297
  66. data/lib/latest/modules/labservices_profile_module.rb +357 -357
  67. data/lib/latest/modules/links_profile_module.rb +83 -83
  68. data/lib/latest/modules/localsearch_profile_module.rb +151 -151
  69. data/lib/latest/modules/locks_profile_module.rb +79 -79
  70. data/lib/latest/modules/logic_profile_module.rb +787 -787
  71. data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
  72. data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
  73. data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
  74. data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
  75. data/lib/latest/modules/maintenance_profile_module.rb +121 -121
  76. data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
  77. data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
  78. data/lib/latest/modules/mariadb_profile_module.rb +233 -233
  79. data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
  80. data/lib/latest/modules/mediaservices_profile_module.rb +871 -871
  81. data/lib/latest/modules/migrate_profile_module.rb +243 -243
  82. data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
  83. data/lib/latest/modules/monitor_profile_module.rb +723 -723
  84. data/lib/latest/modules/mysql_profile_module.rb +233 -233
  85. data/lib/latest/modules/netapp_profile_module.rb +209 -209
  86. data/lib/latest/modules/network_profile_module.rb +2489 -2489
  87. data/lib/latest/modules/newssearch_profile_module.rb +143 -143
  88. data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
  89. data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
  90. data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
  91. data/lib/latest/modules/peering_profile_module.rb +259 -259
  92. data/lib/latest/modules/personalizer_profile_module.rb +83 -83
  93. data/lib/latest/modules/policy_profile_module.rb +105 -105
  94. data/lib/latest/modules/policyinsights_profile_module.rb +223 -223
  95. data/lib/latest/modules/portal_profile_module.rb +95 -95
  96. data/lib/latest/modules/postgresql_profile_module.rb +233 -233
  97. data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
  98. data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
  99. data/lib/latest/modules/privatedns_profile_module.rb +137 -137
  100. data/lib/latest/modules/qnamaker_profile_module.rb +215 -219
  101. data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
  102. data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
  103. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1301 -1301
  104. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
  105. data/lib/latest/modules/redis_profile_module.rb +209 -209
  106. data/lib/latest/modules/relay_profile_module.rb +163 -163
  107. data/lib/latest/modules/reservations_profile_module.rb +359 -237
  108. data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
  109. data/lib/latest/modules/resourcehealth_profile_module.rb +111 -111
  110. data/lib/latest/modules/resources_profile_module.rb +321 -321
  111. data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
  112. data/lib/latest/modules/scheduler_profile_module.rb +227 -227
  113. data/lib/latest/modules/search_profile_module.rb +127 -127
  114. data/lib/latest/modules/security_profile_module.rb +733 -733
  115. data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
  116. data/lib/latest/modules/servicebus_profile_module.rb +309 -309
  117. data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
  118. data/lib/latest/modules/signalr_profile_module.rb +161 -161
  119. data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
  120. data/lib/latest/modules/sql_profile_module.rb +1765 -1765
  121. data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -235
  122. data/lib/latest/modules/storage_profile_module.rb +569 -549
  123. data/lib/latest/modules/storagecache_profile_module.rb +173 -173
  124. data/lib/latest/modules/storagesync_profile_module.rb +275 -275
  125. data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
  126. data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
  127. data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
  128. data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
  129. data/lib/latest/modules/timeseriesinsights_profile_module.rb +0 -0
  130. data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
  131. data/lib/latest/modules/videosearch_profile_module.rb +175 -175
  132. data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
  133. data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
  134. data/lib/latest/modules/web_profile_module.rb +1419 -1419
  135. data/lib/latest/modules/websearch_profile_module.rb +211 -211
  136. data/lib/v2017_03_09/module_definition.rb +6 -6
  137. data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
  138. data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
  139. data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
  140. data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
  141. data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
  142. data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
  143. data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
  144. data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
  145. data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
  146. data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
  147. data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
  148. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
  149. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
  150. data/lib/v2018_03_01/module_definition.rb +6 -6
  151. data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
  152. data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
  153. data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
  154. data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
  155. data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
  156. data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
  157. data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
  158. data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
  159. data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
  160. data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
  161. data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
  162. data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
  163. data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
  164. data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
  165. data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
  166. data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
  167. data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
  168. data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
  169. data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
  170. data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
  171. data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
  172. data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
  173. data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
  174. data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
  175. data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
  176. data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
  177. metadata +27 -26
@@ -1,287 +1,287 @@
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_contentmoderator'
6
-
7
- module Azure::Profiles::Latest
8
- module ContentModerator
9
- ImageModeration = Azure::CognitiveServices::ContentModerator::V1_0::ImageModeration
10
- TextModeration = Azure::CognitiveServices::ContentModerator::V1_0::TextModeration
11
- ListManagementImageLists = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementImageLists
12
- ListManagementTermLists = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementTermLists
13
- ListManagementImage = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementImage
14
- ListManagementTerm = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementTerm
15
- Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews
16
-
17
- module Models
18
- ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem
19
- Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image
20
- Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag
21
- ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds
22
- Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames
23
- TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList
24
- ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2
25
- TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData
26
- Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification
27
- TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging
28
- Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email
29
- Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms
30
- IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA
31
- Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review
32
- Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address
33
- JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails
34
- DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms
35
- Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job
36
- Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face
37
- JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult
38
- Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate
39
- JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId
40
- Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate
41
- Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error
42
- MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse
43
- APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError
44
- ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList
45
- TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem
46
- RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
47
- TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem
48
- Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame
49
- CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem
50
- ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3
51
- CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem
52
- SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN
53
- CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem
54
- PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII
55
- CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem
56
- FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces
57
- CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem
58
- Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match
59
- Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body
60
- TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList
61
- ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl
62
- ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1
63
- VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem
64
- Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone
65
- VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem
66
- OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR
67
- VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem
68
- KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair
69
- CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem
70
- Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen
71
- CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem
72
- Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status
73
- Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content
74
- DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage
75
- end
76
-
77
- class ContentModeratorDataClass
78
- attr_reader :image_moderation, :text_moderation, :list_management_image_lists, :list_management_term_lists, :list_management_image, :list_management_term, :reviews, :configurable, :base_url, :options, :model_classes
79
-
80
- def initialize(configurable, base_url=nil, options=nil)
81
- @configurable, @base_url, @options = configurable, base_url, options
82
-
83
- @client_0 = Azure::CognitiveServices::ContentModerator::V1_0::ContentModeratorClient.new(configurable.credentials, options)
84
- if(@client_0.respond_to?(:subscription_id))
85
- @client_0.subscription_id = configurable.subscription_id
86
- end
87
- add_telemetry(@client_0)
88
- @image_moderation = @client_0.image_moderation
89
- @text_moderation = @client_0.text_moderation
90
- @list_management_image_lists = @client_0.list_management_image_lists
91
- @list_management_term_lists = @client_0.list_management_term_lists
92
- @list_management_image = @client_0.list_management_image
93
- @list_management_term = @client_0.list_management_term
94
- @reviews = @client_0.reviews
95
-
96
- @model_classes = ModelClasses.new
97
- end
98
-
99
- def add_telemetry(client)
100
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ContentModerator"
101
- client.add_user_agent_information(profile_information)
102
- end
103
-
104
- def method_missing(method, *args)
105
- if @client_0.respond_to?method
106
- @client_0.send(method, *args)
107
- else
108
- super
109
- end
110
- end
111
-
112
- class ModelClasses
113
- def image_additional_info_item
114
- Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem
115
- end
116
- def image
117
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Image
118
- end
119
- def tag
120
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag
121
- end
122
- def image_ids
123
- Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds
124
- end
125
- def frames
126
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames
127
- end
128
- def terms_in_list
129
- Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList
130
- end
131
- def classification_category2
132
- Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2
133
- end
134
- def terms_data
135
- Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData
136
- end
137
- def classification
138
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification
139
- end
140
- def terms_paging
141
- Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging
142
- end
143
- def email
144
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Email
145
- end
146
- def terms
147
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms
148
- end
149
- def ipa
150
- Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA
151
- end
152
- def review
153
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Review
154
- end
155
- def address
156
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Address
157
- end
158
- def job_execution_report_details
159
- Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails
160
- end
161
- def detected_terms
162
- Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms
163
- end
164
- def job
165
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Job
166
- end
167
- def face
168
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Face
169
- end
170
- def job_list_result
171
- Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult
172
- end
173
- def candidate
174
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate
175
- end
176
- def job_id
177
- Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId
178
- end
179
- def evaluate
180
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate
181
- end
182
- def error
183
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Error
184
- end
185
- def match_response
186
- Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse
187
- end
188
- def apierror
189
- Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError
190
- end
191
- def image_list
192
- Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList
193
- end
194
- def transcript_moderation_body_item_terms_item
195
- Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem
196
- end
197
- def refresh_index
198
- Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
199
- end
200
- def transcript_moderation_body_item
201
- Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem
202
- end
203
- def frame
204
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame
205
- end
206
- def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item
207
- Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem
208
- end
209
- def classification_category3
210
- Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3
211
- end
212
- def create_video_reviews_body_item_video_frames_item_metadata_item
213
- Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem
214
- end
215
- def ssn
216
- Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN
217
- end
218
- def create_video_reviews_body_item_video_frames_item
219
- Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem
220
- end
221
- def pii
222
- Azure::CognitiveServices::ContentModerator::V1_0::Models::PII
223
- end
224
- def create_video_reviews_body_item_metadata_item
225
- Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem
226
- end
227
- def found_faces
228
- Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces
229
- end
230
- def create_video_reviews_body_item
231
- Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem
232
- end
233
- def match
234
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Match
235
- end
236
- def body
237
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Body
238
- end
239
- def term_list
240
- Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList
241
- end
242
- def image_url
243
- Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl
244
- end
245
- def classification_category1
246
- Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1
247
- end
248
- def video_frame_body_item_reviewer_result_tags_item
249
- Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem
250
- end
251
- def phone
252
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone
253
- end
254
- def video_frame_body_item_metadata_item
255
- Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem
256
- end
257
- def ocr
258
- Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR
259
- end
260
- def video_frame_body_item
261
- Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem
262
- end
263
- def key_value_pair
264
- Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair
265
- end
266
- def create_review_body_item_metadata_item
267
- Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem
268
- end
269
- def screen
270
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen
271
- end
272
- def create_review_body_item
273
- Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem
274
- end
275
- def status
276
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Status
277
- end
278
- def content
279
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Content
280
- end
281
- def detected_language
282
- Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage
283
- end
284
- end
285
- end
286
- end
287
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_cognitiveservices_contentmoderator'
6
+
7
+ module Azure::Profiles::Latest
8
+ module ContentModerator
9
+ ImageModeration = Azure::CognitiveServices::ContentModerator::V1_0::ImageModeration
10
+ TextModeration = Azure::CognitiveServices::ContentModerator::V1_0::TextModeration
11
+ ListManagementImageLists = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementImageLists
12
+ ListManagementTermLists = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementTermLists
13
+ ListManagementImage = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementImage
14
+ ListManagementTerm = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementTerm
15
+ Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews
16
+
17
+ module Models
18
+ ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem
19
+ Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image
20
+ Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag
21
+ ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds
22
+ Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames
23
+ TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList
24
+ ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2
25
+ TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData
26
+ Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification
27
+ TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging
28
+ Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email
29
+ Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms
30
+ IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA
31
+ Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review
32
+ Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address
33
+ JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails
34
+ DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms
35
+ Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job
36
+ Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face
37
+ JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult
38
+ Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate
39
+ JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId
40
+ Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate
41
+ Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error
42
+ MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse
43
+ APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError
44
+ ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList
45
+ TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem
46
+ RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
47
+ TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem
48
+ Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame
49
+ CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem
50
+ ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3
51
+ CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem
52
+ SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN
53
+ CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem
54
+ PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII
55
+ CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem
56
+ FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces
57
+ CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem
58
+ Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match
59
+ Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body
60
+ TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList
61
+ ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl
62
+ ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1
63
+ VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem
64
+ Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone
65
+ VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem
66
+ OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR
67
+ VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem
68
+ KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair
69
+ CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem
70
+ Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen
71
+ CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem
72
+ Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status
73
+ Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content
74
+ DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage
75
+ end
76
+
77
+ class ContentModeratorDataClass
78
+ attr_reader :image_moderation, :text_moderation, :list_management_image_lists, :list_management_term_lists, :list_management_image, :list_management_term, :reviews, :configurable, :base_url, :options, :model_classes
79
+
80
+ def initialize(configurable, base_url=nil, options=nil)
81
+ @configurable, @base_url, @options = configurable, base_url, options
82
+
83
+ @client_0 = Azure::CognitiveServices::ContentModerator::V1_0::ContentModeratorClient.new(configurable.credentials, options)
84
+ if(@client_0.respond_to?(:subscription_id))
85
+ @client_0.subscription_id = configurable.subscription_id
86
+ end
87
+ add_telemetry(@client_0)
88
+ @image_moderation = @client_0.image_moderation
89
+ @text_moderation = @client_0.text_moderation
90
+ @list_management_image_lists = @client_0.list_management_image_lists
91
+ @list_management_term_lists = @client_0.list_management_term_lists
92
+ @list_management_image = @client_0.list_management_image
93
+ @list_management_term = @client_0.list_management_term
94
+ @reviews = @client_0.reviews
95
+
96
+ @model_classes = ModelClasses.new
97
+ end
98
+
99
+ def add_telemetry(client)
100
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ContentModerator"
101
+ client.add_user_agent_information(profile_information)
102
+ end
103
+
104
+ def method_missing(method, *args)
105
+ if @client_0.respond_to?method
106
+ @client_0.send(method, *args)
107
+ else
108
+ super
109
+ end
110
+ end
111
+
112
+ class ModelClasses
113
+ def image_additional_info_item
114
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem
115
+ end
116
+ def image
117
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Image
118
+ end
119
+ def tag
120
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag
121
+ end
122
+ def image_ids
123
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds
124
+ end
125
+ def frames
126
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames
127
+ end
128
+ def terms_in_list
129
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList
130
+ end
131
+ def classification_category2
132
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2
133
+ end
134
+ def terms_data
135
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData
136
+ end
137
+ def classification
138
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification
139
+ end
140
+ def terms_paging
141
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging
142
+ end
143
+ def email
144
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Email
145
+ end
146
+ def terms
147
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms
148
+ end
149
+ def ipa
150
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA
151
+ end
152
+ def review
153
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Review
154
+ end
155
+ def address
156
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Address
157
+ end
158
+ def job_execution_report_details
159
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails
160
+ end
161
+ def detected_terms
162
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms
163
+ end
164
+ def job
165
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Job
166
+ end
167
+ def face
168
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Face
169
+ end
170
+ def job_list_result
171
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult
172
+ end
173
+ def candidate
174
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate
175
+ end
176
+ def job_id
177
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId
178
+ end
179
+ def evaluate
180
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate
181
+ end
182
+ def error
183
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Error
184
+ end
185
+ def match_response
186
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse
187
+ end
188
+ def apierror
189
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError
190
+ end
191
+ def image_list
192
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList
193
+ end
194
+ def transcript_moderation_body_item_terms_item
195
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem
196
+ end
197
+ def refresh_index
198
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
199
+ end
200
+ def transcript_moderation_body_item
201
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem
202
+ end
203
+ def frame
204
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame
205
+ end
206
+ def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item
207
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem
208
+ end
209
+ def classification_category3
210
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3
211
+ end
212
+ def create_video_reviews_body_item_video_frames_item_metadata_item
213
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem
214
+ end
215
+ def ssn
216
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN
217
+ end
218
+ def create_video_reviews_body_item_video_frames_item
219
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem
220
+ end
221
+ def pii
222
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::PII
223
+ end
224
+ def create_video_reviews_body_item_metadata_item
225
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem
226
+ end
227
+ def found_faces
228
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces
229
+ end
230
+ def create_video_reviews_body_item
231
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem
232
+ end
233
+ def match
234
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Match
235
+ end
236
+ def body
237
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Body
238
+ end
239
+ def term_list
240
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList
241
+ end
242
+ def image_url
243
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl
244
+ end
245
+ def classification_category1
246
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1
247
+ end
248
+ def video_frame_body_item_reviewer_result_tags_item
249
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem
250
+ end
251
+ def phone
252
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone
253
+ end
254
+ def video_frame_body_item_metadata_item
255
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem
256
+ end
257
+ def ocr
258
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR
259
+ end
260
+ def video_frame_body_item
261
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem
262
+ end
263
+ def key_value_pair
264
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair
265
+ end
266
+ def create_review_body_item_metadata_item
267
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem
268
+ end
269
+ def screen
270
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen
271
+ end
272
+ def create_review_body_item
273
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem
274
+ end
275
+ def status
276
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Status
277
+ end
278
+ def content
279
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::Content
280
+ end
281
+ def detected_language
282
+ Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage
283
+ end
284
+ end
285
+ end
286
+ end
287
+ end