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,195 +1,195 @@
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_event_hub'
6
-
7
- module Azure::Profiles::Latest
8
- module EventHub
9
- module Mgmt
10
- Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations
11
- Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters
12
- Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
13
- Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces
14
-
15
- module Models
16
- Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
17
- OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
18
- Identity = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
19
- OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
20
- KeyVaultProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
21
- Operation = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation
22
- AvailableCluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
23
- ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
24
- ClusterListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
25
- ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
26
- Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
27
- Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
28
- NWRuleSetVirtualNetworkRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
29
- EHNamespaceIdListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
30
- EHNamespaceListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
31
- ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
32
- NWRuleSetIpRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
33
- EHNamespaceIdContainer = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
34
- IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
35
- VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
36
- AvailableClustersList = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
37
- Subnet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
38
- TrackedResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
39
- Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
40
- EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
41
- IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
42
- VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
43
- NetworkRuleSet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
44
- SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
45
- SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
46
- IdentityType = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
47
- KeySource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
48
- IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
49
- NetworkRuleIPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
50
- DefaultAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
51
- end
52
-
53
- class EventHubManagementClass
54
- attr_reader :operations, :clusters, :configuration, :namespaces, :configurable, :base_url, :options, :model_classes
55
-
56
- def initialize(configurable, base_url=nil, options=nil)
57
- @configurable, @base_url, @options = configurable, base_url, options
58
-
59
- @client_0 = Azure::EventHub::Mgmt::V2018_01_01_preview::EventHub2018PreviewManagementClient.new(configurable.credentials, base_url, options)
60
- if(@client_0.respond_to?(:subscription_id))
61
- @client_0.subscription_id = configurable.subscription_id
62
- end
63
- add_telemetry(@client_0)
64
- @operations = @client_0.operations
65
- @clusters = @client_0.clusters
66
- @configuration = @client_0.configuration
67
- @namespaces = @client_0.namespaces
68
-
69
- @model_classes = ModelClasses.new
70
- end
71
-
72
- def add_telemetry(client)
73
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/EventHub/Mgmt"
74
- client.add_user_agent_information(profile_information)
75
- end
76
-
77
- def method_missing(method, *args)
78
- if @client_0.respond_to?method
79
- @client_0.send(method, *args)
80
- else
81
- super
82
- end
83
- end
84
-
85
- class ModelClasses
86
- def sku
87
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
88
- end
89
- def operation_display
90
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
91
- end
92
- def identity
93
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
94
- end
95
- def operation_list_result
96
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
97
- end
98
- def key_vault_properties
99
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
100
- end
101
- def operation
102
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation
103
- end
104
- def available_cluster
105
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
106
- end
107
- def cluster_sku
108
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
109
- end
110
- def cluster_list_result
111
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
112
- end
113
- def error_response
114
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
115
- end
116
- def encryption
117
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
118
- end
119
- def resource
120
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
121
- end
122
- def nwrule_set_virtual_network_rules
123
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
124
- end
125
- def ehnamespace_id_list_result
126
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
127
- end
128
- def ehnamespace_list_result
129
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
130
- end
131
- def cluster_quota_configuration_properties
132
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
133
- end
134
- def nwrule_set_ip_rules
135
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
136
- end
137
- def ehnamespace_id_container
138
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
139
- end
140
- def ip_filter_rule_list_result
141
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
142
- end
143
- def virtual_network_rule_list_result
144
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
145
- end
146
- def available_clusters_list
147
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
148
- end
149
- def subnet
150
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
151
- end
152
- def tracked_resource
153
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
154
- end
155
- def cluster
156
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
157
- end
158
- def ehnamespace
159
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
160
- end
161
- def ip_filter_rule
162
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
163
- end
164
- def virtual_network_rule
165
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
166
- end
167
- def network_rule_set
168
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
169
- end
170
- def sku_name
171
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
172
- end
173
- def sku_tier
174
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
175
- end
176
- def identity_type
177
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
178
- end
179
- def key_source
180
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
181
- end
182
- def ipaction
183
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
184
- end
185
- def network_rule_ipaction
186
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
187
- end
188
- def default_action
189
- Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
190
- end
191
- end
192
- end
193
- end
194
- end
195
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_event_hub'
6
+
7
+ module Azure::Profiles::Latest
8
+ module EventHub
9
+ module Mgmt
10
+ Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations
11
+ Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters
12
+ Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
13
+ Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces
14
+
15
+ module Models
16
+ Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
17
+ OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
18
+ Identity = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
19
+ OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
20
+ KeyVaultProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
21
+ Operation = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation
22
+ AvailableCluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
23
+ ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
24
+ ClusterListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
25
+ ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
26
+ Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
27
+ Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
28
+ NWRuleSetVirtualNetworkRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
29
+ EHNamespaceIdListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
30
+ EHNamespaceListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
31
+ ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
32
+ NWRuleSetIpRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
33
+ EHNamespaceIdContainer = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
34
+ IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
35
+ VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
36
+ AvailableClustersList = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
37
+ Subnet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
38
+ TrackedResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
39
+ Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
40
+ EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
41
+ IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
42
+ VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
43
+ NetworkRuleSet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
44
+ SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
45
+ SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
46
+ IdentityType = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
47
+ KeySource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
48
+ IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
49
+ NetworkRuleIPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
50
+ DefaultAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
51
+ end
52
+
53
+ class EventHubManagementClass
54
+ attr_reader :operations, :clusters, :configuration, :namespaces, :configurable, :base_url, :options, :model_classes
55
+
56
+ def initialize(configurable, base_url=nil, options=nil)
57
+ @configurable, @base_url, @options = configurable, base_url, options
58
+
59
+ @client_0 = Azure::EventHub::Mgmt::V2018_01_01_preview::EventHub2018PreviewManagementClient.new(configurable.credentials, base_url, options)
60
+ if(@client_0.respond_to?(:subscription_id))
61
+ @client_0.subscription_id = configurable.subscription_id
62
+ end
63
+ add_telemetry(@client_0)
64
+ @operations = @client_0.operations
65
+ @clusters = @client_0.clusters
66
+ @configuration = @client_0.configuration
67
+ @namespaces = @client_0.namespaces
68
+
69
+ @model_classes = ModelClasses.new
70
+ end
71
+
72
+ def add_telemetry(client)
73
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/EventHub/Mgmt"
74
+ client.add_user_agent_information(profile_information)
75
+ end
76
+
77
+ def method_missing(method, *args)
78
+ if @client_0.respond_to?method
79
+ @client_0.send(method, *args)
80
+ else
81
+ super
82
+ end
83
+ end
84
+
85
+ class ModelClasses
86
+ def sku
87
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
88
+ end
89
+ def operation_display
90
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
91
+ end
92
+ def identity
93
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
94
+ end
95
+ def operation_list_result
96
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
97
+ end
98
+ def key_vault_properties
99
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
100
+ end
101
+ def operation
102
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation
103
+ end
104
+ def available_cluster
105
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
106
+ end
107
+ def cluster_sku
108
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
109
+ end
110
+ def cluster_list_result
111
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
112
+ end
113
+ def error_response
114
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
115
+ end
116
+ def encryption
117
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
118
+ end
119
+ def resource
120
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
121
+ end
122
+ def nwrule_set_virtual_network_rules
123
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
124
+ end
125
+ def ehnamespace_id_list_result
126
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
127
+ end
128
+ def ehnamespace_list_result
129
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
130
+ end
131
+ def cluster_quota_configuration_properties
132
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
133
+ end
134
+ def nwrule_set_ip_rules
135
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
136
+ end
137
+ def ehnamespace_id_container
138
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
139
+ end
140
+ def ip_filter_rule_list_result
141
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
142
+ end
143
+ def virtual_network_rule_list_result
144
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
145
+ end
146
+ def available_clusters_list
147
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
148
+ end
149
+ def subnet
150
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
151
+ end
152
+ def tracked_resource
153
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
154
+ end
155
+ def cluster
156
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
157
+ end
158
+ def ehnamespace
159
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
160
+ end
161
+ def ip_filter_rule
162
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
163
+ end
164
+ def virtual_network_rule
165
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
166
+ end
167
+ def network_rule_set
168
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
169
+ end
170
+ def sku_name
171
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
172
+ end
173
+ def sku_tier
174
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
175
+ end
176
+ def identity_type
177
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
178
+ end
179
+ def key_source
180
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
181
+ end
182
+ def ipaction
183
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
184
+ end
185
+ def network_rule_ipaction
186
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
187
+ end
188
+ def default_action
189
+ Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
190
+ end
191
+ end
192
+ end
193
+ end
194
+ end
195
+ end
@@ -1,297 +1,297 @@
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_face'
6
-
7
- module Azure::Profiles::Latest
8
- module Face
9
- Face = Azure::CognitiveServices::Face::V1_0::Face
10
- PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson
11
- PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations
12
- FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations
13
- LargePersonGroupPerson = Azure::CognitiveServices::Face::V1_0::LargePersonGroupPerson
14
- LargePersonGroupOperations = Azure::CognitiveServices::Face::V1_0::LargePersonGroupOperations
15
- LargeFaceListOperations = Azure::CognitiveServices::Face::V1_0::LargeFaceListOperations
16
- SnapshotOperations = Azure::CognitiveServices::Face::V1_0::SnapshotOperations
17
-
18
- module Models
19
- IdentifyRequest = Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest
20
- Error = Azure::CognitiveServices::Face::V1_0::Models::Error
21
- IdentifyCandidate = Azure::CognitiveServices::Face::V1_0::Models::IdentifyCandidate
22
- FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle
23
- IdentifyResult = Azure::CognitiveServices::Face::V1_0::Models::IdentifyResult
24
- FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks
25
- VerifyFaceToPersonRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest
26
- HeadPose = Azure::CognitiveServices::Face::V1_0::Models::HeadPose
27
- VerifyFaceToFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest
28
- HairColor = Azure::CognitiveServices::Face::V1_0::Models::HairColor
29
- VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult
30
- Makeup = Azure::CognitiveServices::Face::V1_0::Models::Makeup
31
- PersistedFace = Azure::CognitiveServices::Face::V1_0::Models::PersistedFace
32
- Accessory = Azure::CognitiveServices::Face::V1_0::Models::Accessory
33
- Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair
34
- Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion
35
- Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise
36
- Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur
37
- DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace
38
- SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace
39
- ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl
40
- GroupResult = Azure::CognitiveServices::Face::V1_0::Models::GroupResult
41
- OperationStatus = Azure::CognitiveServices::Face::V1_0::Models::OperationStatus
42
- Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate
43
- UpdateSnapshotRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdateSnapshotRequest
44
- Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion
45
- TakeSnapshotRequest = Azure::CognitiveServices::Face::V1_0::Models::TakeSnapshotRequest
46
- FaceAttributes = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes
47
- UpdateFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdateFaceRequest
48
- GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest
49
- TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus
50
- FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair
51
- NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract
52
- FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest
53
- APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError
54
- Snapshot = Azure::CognitiveServices::Face::V1_0::Models::Snapshot
55
- Exposure = Azure::CognitiveServices::Face::V1_0::Models::Exposure
56
- ApplySnapshotRequest = Azure::CognitiveServices::Face::V1_0::Models::ApplySnapshotRequest
57
- MetaDataContract = Azure::CognitiveServices::Face::V1_0::Models::MetaDataContract
58
- FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList
59
- PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup
60
- Person = Azure::CognitiveServices::Face::V1_0::Models::Person
61
- LargeFaceList = Azure::CognitiveServices::Face::V1_0::Models::LargeFaceList
62
- LargePersonGroup = Azure::CognitiveServices::Face::V1_0::Models::LargePersonGroup
63
- RecognitionModel = Azure::CognitiveServices::Face::V1_0::Models::RecognitionModel
64
- Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender
65
- GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType
66
- HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType
67
- AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType
68
- BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
69
- ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
70
- NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel
71
- FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
72
- TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType
73
- SnapshotApplyMode = Azure::CognitiveServices::Face::V1_0::Models::SnapshotApplyMode
74
- SnapshotObjectType = Azure::CognitiveServices::Face::V1_0::Models::SnapshotObjectType
75
- OperationStatusType = Azure::CognitiveServices::Face::V1_0::Models::OperationStatusType
76
- FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
77
- DetectionModel = Azure::CognitiveServices::Face::V1_0::Models::DetectionModel
78
- end
79
-
80
- class FaceDataClass
81
- attr_reader :face, :person_group_person, :person_group_operations, :face_list_operations, :large_person_group_person, :large_person_group_operations, :large_face_list_operations, :snapshot_operations, :configurable, :base_url, :options, :model_classes
82
-
83
- def initialize(configurable, base_url=nil, options=nil)
84
- @configurable, @base_url, @options = configurable, base_url, options
85
-
86
- @client_0 = Azure::CognitiveServices::Face::V1_0::FaceClient.new(configurable.credentials, options)
87
- if(@client_0.respond_to?(:subscription_id))
88
- @client_0.subscription_id = configurable.subscription_id
89
- end
90
- add_telemetry(@client_0)
91
- @face = @client_0.face
92
- @person_group_person = @client_0.person_group_person
93
- @person_group_operations = @client_0.person_group_operations
94
- @face_list_operations = @client_0.face_list_operations
95
- @large_person_group_person = @client_0.large_person_group_person
96
- @large_person_group_operations = @client_0.large_person_group_operations
97
- @large_face_list_operations = @client_0.large_face_list_operations
98
- @snapshot_operations = @client_0.snapshot_operations
99
-
100
- @model_classes = ModelClasses.new
101
- end
102
-
103
- def add_telemetry(client)
104
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Face"
105
- client.add_user_agent_information(profile_information)
106
- end
107
-
108
- def method_missing(method, *args)
109
- if @client_0.respond_to?method
110
- @client_0.send(method, *args)
111
- else
112
- super
113
- end
114
- end
115
-
116
- class ModelClasses
117
- def identify_request
118
- Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest
119
- end
120
- def error
121
- Azure::CognitiveServices::Face::V1_0::Models::Error
122
- end
123
- def identify_candidate
124
- Azure::CognitiveServices::Face::V1_0::Models::IdentifyCandidate
125
- end
126
- def face_rectangle
127
- Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle
128
- end
129
- def identify_result
130
- Azure::CognitiveServices::Face::V1_0::Models::IdentifyResult
131
- end
132
- def face_landmarks
133
- Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks
134
- end
135
- def verify_face_to_person_request
136
- Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest
137
- end
138
- def head_pose
139
- Azure::CognitiveServices::Face::V1_0::Models::HeadPose
140
- end
141
- def verify_face_to_face_request
142
- Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest
143
- end
144
- def hair_color
145
- Azure::CognitiveServices::Face::V1_0::Models::HairColor
146
- end
147
- def verify_result
148
- Azure::CognitiveServices::Face::V1_0::Models::VerifyResult
149
- end
150
- def makeup
151
- Azure::CognitiveServices::Face::V1_0::Models::Makeup
152
- end
153
- def persisted_face
154
- Azure::CognitiveServices::Face::V1_0::Models::PersistedFace
155
- end
156
- def accessory
157
- Azure::CognitiveServices::Face::V1_0::Models::Accessory
158
- end
159
- def hair
160
- Azure::CognitiveServices::Face::V1_0::Models::Hair
161
- end
162
- def occlusion
163
- Azure::CognitiveServices::Face::V1_0::Models::Occlusion
164
- end
165
- def noise
166
- Azure::CognitiveServices::Face::V1_0::Models::Noise
167
- end
168
- def blur
169
- Azure::CognitiveServices::Face::V1_0::Models::Blur
170
- end
171
- def detected_face
172
- Azure::CognitiveServices::Face::V1_0::Models::DetectedFace
173
- end
174
- def similar_face
175
- Azure::CognitiveServices::Face::V1_0::Models::SimilarFace
176
- end
177
- def image_url
178
- Azure::CognitiveServices::Face::V1_0::Models::ImageUrl
179
- end
180
- def group_result
181
- Azure::CognitiveServices::Face::V1_0::Models::GroupResult
182
- end
183
- def operation_status
184
- Azure::CognitiveServices::Face::V1_0::Models::OperationStatus
185
- end
186
- def coordinate
187
- Azure::CognitiveServices::Face::V1_0::Models::Coordinate
188
- end
189
- def update_snapshot_request
190
- Azure::CognitiveServices::Face::V1_0::Models::UpdateSnapshotRequest
191
- end
192
- def emotion
193
- Azure::CognitiveServices::Face::V1_0::Models::Emotion
194
- end
195
- def take_snapshot_request
196
- Azure::CognitiveServices::Face::V1_0::Models::TakeSnapshotRequest
197
- end
198
- def face_attributes
199
- Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes
200
- end
201
- def update_face_request
202
- Azure::CognitiveServices::Face::V1_0::Models::UpdateFaceRequest
203
- end
204
- def group_request
205
- Azure::CognitiveServices::Face::V1_0::Models::GroupRequest
206
- end
207
- def training_status
208
- Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus
209
- end
210
- def facial_hair
211
- Azure::CognitiveServices::Face::V1_0::Models::FacialHair
212
- end
213
- def name_and_user_data_contract
214
- Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract
215
- end
216
- def find_similar_request
217
- Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest
218
- end
219
- def apierror
220
- Azure::CognitiveServices::Face::V1_0::Models::APIError
221
- end
222
- def snapshot
223
- Azure::CognitiveServices::Face::V1_0::Models::Snapshot
224
- end
225
- def exposure
226
- Azure::CognitiveServices::Face::V1_0::Models::Exposure
227
- end
228
- def apply_snapshot_request
229
- Azure::CognitiveServices::Face::V1_0::Models::ApplySnapshotRequest
230
- end
231
- def meta_data_contract
232
- Azure::CognitiveServices::Face::V1_0::Models::MetaDataContract
233
- end
234
- def face_list
235
- Azure::CognitiveServices::Face::V1_0::Models::FaceList
236
- end
237
- def person_group
238
- Azure::CognitiveServices::Face::V1_0::Models::PersonGroup
239
- end
240
- def person
241
- Azure::CognitiveServices::Face::V1_0::Models::Person
242
- end
243
- def large_face_list
244
- Azure::CognitiveServices::Face::V1_0::Models::LargeFaceList
245
- end
246
- def large_person_group
247
- Azure::CognitiveServices::Face::V1_0::Models::LargePersonGroup
248
- end
249
- def recognition_model
250
- Azure::CognitiveServices::Face::V1_0::Models::RecognitionModel
251
- end
252
- def gender
253
- Azure::CognitiveServices::Face::V1_0::Models::Gender
254
- end
255
- def glasses_type
256
- Azure::CognitiveServices::Face::V1_0::Models::GlassesType
257
- end
258
- def hair_color_type
259
- Azure::CognitiveServices::Face::V1_0::Models::HairColorType
260
- end
261
- def accessory_type
262
- Azure::CognitiveServices::Face::V1_0::Models::AccessoryType
263
- end
264
- def blur_level
265
- Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
266
- end
267
- def exposure_level
268
- Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
269
- end
270
- def noise_level
271
- Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel
272
- end
273
- def find_similar_match_mode
274
- Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
275
- end
276
- def training_status_type
277
- Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType
278
- end
279
- def snapshot_apply_mode
280
- Azure::CognitiveServices::Face::V1_0::Models::SnapshotApplyMode
281
- end
282
- def snapshot_object_type
283
- Azure::CognitiveServices::Face::V1_0::Models::SnapshotObjectType
284
- end
285
- def operation_status_type
286
- Azure::CognitiveServices::Face::V1_0::Models::OperationStatusType
287
- end
288
- def face_attribute_type
289
- Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
290
- end
291
- def detection_model
292
- Azure::CognitiveServices::Face::V1_0::Models::DetectionModel
293
- end
294
- end
295
- end
296
- end
297
- 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_face'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Face
9
+ Face = Azure::CognitiveServices::Face::V1_0::Face
10
+ PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson
11
+ PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations
12
+ FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations
13
+ LargePersonGroupPerson = Azure::CognitiveServices::Face::V1_0::LargePersonGroupPerson
14
+ LargePersonGroupOperations = Azure::CognitiveServices::Face::V1_0::LargePersonGroupOperations
15
+ LargeFaceListOperations = Azure::CognitiveServices::Face::V1_0::LargeFaceListOperations
16
+ SnapshotOperations = Azure::CognitiveServices::Face::V1_0::SnapshotOperations
17
+
18
+ module Models
19
+ IdentifyRequest = Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest
20
+ Error = Azure::CognitiveServices::Face::V1_0::Models::Error
21
+ IdentifyCandidate = Azure::CognitiveServices::Face::V1_0::Models::IdentifyCandidate
22
+ FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle
23
+ IdentifyResult = Azure::CognitiveServices::Face::V1_0::Models::IdentifyResult
24
+ FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks
25
+ VerifyFaceToPersonRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest
26
+ HeadPose = Azure::CognitiveServices::Face::V1_0::Models::HeadPose
27
+ VerifyFaceToFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest
28
+ HairColor = Azure::CognitiveServices::Face::V1_0::Models::HairColor
29
+ VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult
30
+ Makeup = Azure::CognitiveServices::Face::V1_0::Models::Makeup
31
+ PersistedFace = Azure::CognitiveServices::Face::V1_0::Models::PersistedFace
32
+ Accessory = Azure::CognitiveServices::Face::V1_0::Models::Accessory
33
+ Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair
34
+ Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion
35
+ Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise
36
+ Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur
37
+ DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace
38
+ SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace
39
+ ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl
40
+ GroupResult = Azure::CognitiveServices::Face::V1_0::Models::GroupResult
41
+ OperationStatus = Azure::CognitiveServices::Face::V1_0::Models::OperationStatus
42
+ Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate
43
+ UpdateSnapshotRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdateSnapshotRequest
44
+ Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion
45
+ TakeSnapshotRequest = Azure::CognitiveServices::Face::V1_0::Models::TakeSnapshotRequest
46
+ FaceAttributes = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes
47
+ UpdateFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdateFaceRequest
48
+ GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest
49
+ TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus
50
+ FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair
51
+ NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract
52
+ FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest
53
+ APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError
54
+ Snapshot = Azure::CognitiveServices::Face::V1_0::Models::Snapshot
55
+ Exposure = Azure::CognitiveServices::Face::V1_0::Models::Exposure
56
+ ApplySnapshotRequest = Azure::CognitiveServices::Face::V1_0::Models::ApplySnapshotRequest
57
+ MetaDataContract = Azure::CognitiveServices::Face::V1_0::Models::MetaDataContract
58
+ FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList
59
+ PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup
60
+ Person = Azure::CognitiveServices::Face::V1_0::Models::Person
61
+ LargeFaceList = Azure::CognitiveServices::Face::V1_0::Models::LargeFaceList
62
+ LargePersonGroup = Azure::CognitiveServices::Face::V1_0::Models::LargePersonGroup
63
+ RecognitionModel = Azure::CognitiveServices::Face::V1_0::Models::RecognitionModel
64
+ Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender
65
+ GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType
66
+ HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType
67
+ AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType
68
+ BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
69
+ ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
70
+ NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel
71
+ FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
72
+ TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType
73
+ SnapshotApplyMode = Azure::CognitiveServices::Face::V1_0::Models::SnapshotApplyMode
74
+ SnapshotObjectType = Azure::CognitiveServices::Face::V1_0::Models::SnapshotObjectType
75
+ OperationStatusType = Azure::CognitiveServices::Face::V1_0::Models::OperationStatusType
76
+ FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
77
+ DetectionModel = Azure::CognitiveServices::Face::V1_0::Models::DetectionModel
78
+ end
79
+
80
+ class FaceDataClass
81
+ attr_reader :face, :person_group_person, :person_group_operations, :face_list_operations, :large_person_group_person, :large_person_group_operations, :large_face_list_operations, :snapshot_operations, :configurable, :base_url, :options, :model_classes
82
+
83
+ def initialize(configurable, base_url=nil, options=nil)
84
+ @configurable, @base_url, @options = configurable, base_url, options
85
+
86
+ @client_0 = Azure::CognitiveServices::Face::V1_0::FaceClient.new(configurable.credentials, options)
87
+ if(@client_0.respond_to?(:subscription_id))
88
+ @client_0.subscription_id = configurable.subscription_id
89
+ end
90
+ add_telemetry(@client_0)
91
+ @face = @client_0.face
92
+ @person_group_person = @client_0.person_group_person
93
+ @person_group_operations = @client_0.person_group_operations
94
+ @face_list_operations = @client_0.face_list_operations
95
+ @large_person_group_person = @client_0.large_person_group_person
96
+ @large_person_group_operations = @client_0.large_person_group_operations
97
+ @large_face_list_operations = @client_0.large_face_list_operations
98
+ @snapshot_operations = @client_0.snapshot_operations
99
+
100
+ @model_classes = ModelClasses.new
101
+ end
102
+
103
+ def add_telemetry(client)
104
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Face"
105
+ client.add_user_agent_information(profile_information)
106
+ end
107
+
108
+ def method_missing(method, *args)
109
+ if @client_0.respond_to?method
110
+ @client_0.send(method, *args)
111
+ else
112
+ super
113
+ end
114
+ end
115
+
116
+ class ModelClasses
117
+ def identify_request
118
+ Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest
119
+ end
120
+ def error
121
+ Azure::CognitiveServices::Face::V1_0::Models::Error
122
+ end
123
+ def identify_candidate
124
+ Azure::CognitiveServices::Face::V1_0::Models::IdentifyCandidate
125
+ end
126
+ def face_rectangle
127
+ Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle
128
+ end
129
+ def identify_result
130
+ Azure::CognitiveServices::Face::V1_0::Models::IdentifyResult
131
+ end
132
+ def face_landmarks
133
+ Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks
134
+ end
135
+ def verify_face_to_person_request
136
+ Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest
137
+ end
138
+ def head_pose
139
+ Azure::CognitiveServices::Face::V1_0::Models::HeadPose
140
+ end
141
+ def verify_face_to_face_request
142
+ Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest
143
+ end
144
+ def hair_color
145
+ Azure::CognitiveServices::Face::V1_0::Models::HairColor
146
+ end
147
+ def verify_result
148
+ Azure::CognitiveServices::Face::V1_0::Models::VerifyResult
149
+ end
150
+ def makeup
151
+ Azure::CognitiveServices::Face::V1_0::Models::Makeup
152
+ end
153
+ def persisted_face
154
+ Azure::CognitiveServices::Face::V1_0::Models::PersistedFace
155
+ end
156
+ def accessory
157
+ Azure::CognitiveServices::Face::V1_0::Models::Accessory
158
+ end
159
+ def hair
160
+ Azure::CognitiveServices::Face::V1_0::Models::Hair
161
+ end
162
+ def occlusion
163
+ Azure::CognitiveServices::Face::V1_0::Models::Occlusion
164
+ end
165
+ def noise
166
+ Azure::CognitiveServices::Face::V1_0::Models::Noise
167
+ end
168
+ def blur
169
+ Azure::CognitiveServices::Face::V1_0::Models::Blur
170
+ end
171
+ def detected_face
172
+ Azure::CognitiveServices::Face::V1_0::Models::DetectedFace
173
+ end
174
+ def similar_face
175
+ Azure::CognitiveServices::Face::V1_0::Models::SimilarFace
176
+ end
177
+ def image_url
178
+ Azure::CognitiveServices::Face::V1_0::Models::ImageUrl
179
+ end
180
+ def group_result
181
+ Azure::CognitiveServices::Face::V1_0::Models::GroupResult
182
+ end
183
+ def operation_status
184
+ Azure::CognitiveServices::Face::V1_0::Models::OperationStatus
185
+ end
186
+ def coordinate
187
+ Azure::CognitiveServices::Face::V1_0::Models::Coordinate
188
+ end
189
+ def update_snapshot_request
190
+ Azure::CognitiveServices::Face::V1_0::Models::UpdateSnapshotRequest
191
+ end
192
+ def emotion
193
+ Azure::CognitiveServices::Face::V1_0::Models::Emotion
194
+ end
195
+ def take_snapshot_request
196
+ Azure::CognitiveServices::Face::V1_0::Models::TakeSnapshotRequest
197
+ end
198
+ def face_attributes
199
+ Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes
200
+ end
201
+ def update_face_request
202
+ Azure::CognitiveServices::Face::V1_0::Models::UpdateFaceRequest
203
+ end
204
+ def group_request
205
+ Azure::CognitiveServices::Face::V1_0::Models::GroupRequest
206
+ end
207
+ def training_status
208
+ Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus
209
+ end
210
+ def facial_hair
211
+ Azure::CognitiveServices::Face::V1_0::Models::FacialHair
212
+ end
213
+ def name_and_user_data_contract
214
+ Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract
215
+ end
216
+ def find_similar_request
217
+ Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest
218
+ end
219
+ def apierror
220
+ Azure::CognitiveServices::Face::V1_0::Models::APIError
221
+ end
222
+ def snapshot
223
+ Azure::CognitiveServices::Face::V1_0::Models::Snapshot
224
+ end
225
+ def exposure
226
+ Azure::CognitiveServices::Face::V1_0::Models::Exposure
227
+ end
228
+ def apply_snapshot_request
229
+ Azure::CognitiveServices::Face::V1_0::Models::ApplySnapshotRequest
230
+ end
231
+ def meta_data_contract
232
+ Azure::CognitiveServices::Face::V1_0::Models::MetaDataContract
233
+ end
234
+ def face_list
235
+ Azure::CognitiveServices::Face::V1_0::Models::FaceList
236
+ end
237
+ def person_group
238
+ Azure::CognitiveServices::Face::V1_0::Models::PersonGroup
239
+ end
240
+ def person
241
+ Azure::CognitiveServices::Face::V1_0::Models::Person
242
+ end
243
+ def large_face_list
244
+ Azure::CognitiveServices::Face::V1_0::Models::LargeFaceList
245
+ end
246
+ def large_person_group
247
+ Azure::CognitiveServices::Face::V1_0::Models::LargePersonGroup
248
+ end
249
+ def recognition_model
250
+ Azure::CognitiveServices::Face::V1_0::Models::RecognitionModel
251
+ end
252
+ def gender
253
+ Azure::CognitiveServices::Face::V1_0::Models::Gender
254
+ end
255
+ def glasses_type
256
+ Azure::CognitiveServices::Face::V1_0::Models::GlassesType
257
+ end
258
+ def hair_color_type
259
+ Azure::CognitiveServices::Face::V1_0::Models::HairColorType
260
+ end
261
+ def accessory_type
262
+ Azure::CognitiveServices::Face::V1_0::Models::AccessoryType
263
+ end
264
+ def blur_level
265
+ Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
266
+ end
267
+ def exposure_level
268
+ Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
269
+ end
270
+ def noise_level
271
+ Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel
272
+ end
273
+ def find_similar_match_mode
274
+ Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
275
+ end
276
+ def training_status_type
277
+ Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType
278
+ end
279
+ def snapshot_apply_mode
280
+ Azure::CognitiveServices::Face::V1_0::Models::SnapshotApplyMode
281
+ end
282
+ def snapshot_object_type
283
+ Azure::CognitiveServices::Face::V1_0::Models::SnapshotObjectType
284
+ end
285
+ def operation_status_type
286
+ Azure::CognitiveServices::Face::V1_0::Models::OperationStatusType
287
+ end
288
+ def face_attribute_type
289
+ Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
290
+ end
291
+ def detection_model
292
+ Azure::CognitiveServices::Face::V1_0::Models::DetectionModel
293
+ end
294
+ end
295
+ end
296
+ end
297
+ end