azure_sdk 0.61.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_sdk.rb +9 -0
  4. data/lib/azure_sdk/version.rb +7 -0
  5. data/lib/latest/latest_profile_client.rb +1347 -0
  6. data/lib/latest/module_definition.rb +7 -0
  7. data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -0
  8. data/lib/latest/modules/advisor_profile_module.rb +153 -0
  9. data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -0
  10. data/lib/latest/modules/analysisservices_profile_module.rb +159 -0
  11. data/lib/latest/modules/anomalydetector_profile_module.rb +69 -0
  12. data/lib/latest/modules/apimanagement_profile_module.rb +1163 -0
  13. data/lib/latest/modules/appconfiguration_profile_module.rb +183 -0
  14. data/lib/latest/modules/attestation_profile_module.rb +95 -0
  15. data/lib/latest/modules/authorization_profile_module.rb +167 -0
  16. data/lib/latest/modules/automation_profile_module.rb +663 -0
  17. data/lib/latest/modules/autosuggest_profile_module.rb +121 -0
  18. data/lib/latest/modules/azurestack_profile_module.rb +187 -0
  19. data/lib/latest/modules/batch_profile_module.rb +417 -0
  20. data/lib/latest/modules/batchai_profile_module.rb +425 -0
  21. data/lib/latest/modules/billing_profile_module.rb +107 -0
  22. data/lib/latest/modules/botservice_profile_module.rb +293 -0
  23. data/lib/latest/modules/cdn_profile_module.rb +723 -0
  24. data/lib/latest/modules/cognitiveservices_profile_module.rb +289 -0
  25. data/lib/latest/modules/commerce_profile_module.rb +99 -0
  26. data/lib/latest/modules/compute_profile_module.rb +1295 -0
  27. data/lib/latest/modules/computervision_profile_module.rb +233 -0
  28. data/lib/latest/modules/consumption_profile_module.rb +345 -0
  29. data/lib/latest/modules/containerinstance_profile_module.rb +291 -0
  30. data/lib/latest/modules/containerregistry_profile_module.rb +575 -0
  31. data/lib/latest/modules/containerservice_profile_module.rb +459 -0
  32. data/lib/latest/modules/contentmoderator_profile_module.rb +287 -0
  33. data/lib/latest/modules/cosmosdb_profile_module.rb +679 -0
  34. data/lib/latest/modules/costmanagement_profile_module.rb +207 -0
  35. data/lib/latest/modules/customerinsights_profile_module.rb +497 -0
  36. data/lib/latest/modules/customimagesearch_profile_module.rb +143 -0
  37. data/lib/latest/modules/customsearch_profile_module.rb +123 -0
  38. data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -0
  39. data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -0
  40. data/lib/latest/modules/databox_profile_module.rb +309 -0
  41. data/lib/latest/modules/datafactory_profile_module.rb +2809 -0
  42. data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -0
  43. data/lib/latest/modules/datalakestore_profile_module.rb +247 -0
  44. data/lib/latest/modules/datamigration_profile_module.rb +1307 -0
  45. data/lib/latest/modules/datashare_profile_module.rb +399 -0
  46. data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -0
  47. data/lib/latest/modules/devspaces_profile_module.rb +119 -0
  48. data/lib/latest/modules/devtestlabs_profile_module.rb +849 -0
  49. data/lib/latest/modules/dns_profile_module.rb +143 -0
  50. data/lib/latest/modules/edgegateway_profile_module.rb +463 -0
  51. data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
  52. data/lib/latest/modules/eventgrid_profile_module.rb +719 -0
  53. data/lib/latest/modules/eventhub_profile_module.rb +195 -0
  54. data/lib/latest/modules/face_profile_module.rb +297 -0
  55. data/lib/latest/modules/features_profile_module.rb +73 -0
  56. data/lib/latest/modules/formrecognizer_profile_module.rb +169 -0
  57. data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
  58. data/lib/latest/modules/hanaonazure_profile_module.rb +137 -0
  59. data/lib/latest/modules/hdinsight_profile_module.rb +441 -0
  60. data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
  61. data/lib/latest/modules/importexport_profile_module.rb +135 -0
  62. data/lib/latest/modules/iotcentral_profile_module.rb +107 -0
  63. data/lib/latest/modules/iothub_profile_module.rb +377 -0
  64. data/lib/latest/modules/keyvault_profile_module.rb +623 -0
  65. data/lib/latest/modules/kubernetesconfiguration_profile_module.rb +123 -0
  66. data/lib/latest/modules/kusto_profile_module.rb +365 -0
  67. data/lib/latest/modules/labservices_profile_module.rb +357 -0
  68. data/lib/latest/modules/links_profile_module.rb +83 -0
  69. data/lib/latest/modules/localsearch_profile_module.rb +151 -0
  70. data/lib/latest/modules/locks_profile_module.rb +79 -0
  71. data/lib/latest/modules/logic_profile_module.rb +787 -0
  72. data/lib/latest/modules/luisauthoring_profile_module.rb +505 -0
  73. data/lib/latest/modules/luisruntime_profile_module.rb +91 -0
  74. data/lib/latest/modules/machinelearning_profile_module.rb +211 -0
  75. data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -0
  76. data/lib/latest/modules/maintenance_profile_module.rb +121 -0
  77. data/lib/latest/modules/managedapplications_profile_module.rb +123 -0
  78. data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -0
  79. data/lib/latest/modules/mariadb_profile_module.rb +233 -0
  80. data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -0
  81. data/lib/latest/modules/mediaservices_profile_module.rb +871 -0
  82. data/lib/latest/modules/migrate_profile_module.rb +243 -0
  83. data/lib/latest/modules/mixedreality_profile_module.rb +169 -0
  84. data/lib/latest/modules/monitor_profile_module.rb +723 -0
  85. data/lib/latest/modules/mysql_profile_module.rb +233 -0
  86. data/lib/latest/modules/netapp_profile_module.rb +207 -0
  87. data/lib/latest/modules/network_profile_module.rb +2937 -0
  88. data/lib/latest/modules/newssearch_profile_module.rb +143 -0
  89. data/lib/latest/modules/notificationhubs_profile_module.rb +189 -0
  90. data/lib/latest/modules/operationalinsights_profile_module.rb +405 -0
  91. data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -0
  92. data/lib/latest/modules/peering_profile_module.rb +259 -0
  93. data/lib/latest/modules/personalizer_profile_module.rb +83 -0
  94. data/lib/latest/modules/policy_profile_module.rb +105 -0
  95. data/lib/latest/modules/policyinsights_profile_module.rb +223 -0
  96. data/lib/latest/modules/portal_profile_module.rb +95 -0
  97. data/lib/latest/modules/postgresql_profile_module.rb +233 -0
  98. data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -0
  99. data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -0
  100. data/lib/latest/modules/privatedns_profile_module.rb +137 -0
  101. data/lib/latest/modules/qnamaker_profile_module.rb +215 -0
  102. data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -0
  103. data/lib/latest/modules/recoveryservices_profile_module.rb +253 -0
  104. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1343 -0
  105. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -0
  106. data/lib/latest/modules/redis_profile_module.rb +209 -0
  107. data/lib/latest/modules/relay_profile_module.rb +163 -0
  108. data/lib/latest/modules/reservations_profile_module.rb +347 -0
  109. data/lib/latest/modules/resourcegraph_profile_module.rb +129 -0
  110. data/lib/latest/modules/resourcehealth_profile_module.rb +111 -0
  111. data/lib/latest/modules/resources_profile_module.rb +321 -0
  112. data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -0
  113. data/lib/latest/modules/scheduler_profile_module.rb +227 -0
  114. data/lib/latest/modules/search_profile_module.rb +127 -0
  115. data/lib/latest/modules/security_profile_module.rb +841 -0
  116. data/lib/latest/modules/serialconsole_profile_module.rb +73 -0
  117. data/lib/latest/modules/servicebus_profile_module.rb +309 -0
  118. data/lib/latest/modules/servicefabric_profile_module.rb +2711 -0
  119. data/lib/latest/modules/signalr_profile_module.rb +233 -0
  120. data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
  121. data/lib/latest/modules/sql_profile_module.rb +1765 -0
  122. data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -0
  123. data/lib/latest/modules/storage_profile_module.rb +693 -0
  124. data/lib/latest/modules/storagecache_profile_module.rb +217 -0
  125. data/lib/latest/modules/storagesync_profile_module.rb +275 -0
  126. data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -0
  127. data/lib/latest/modules/streamanalytics_profile_module.rb +349 -0
  128. data/lib/latest/modules/subscriptions_profile_module.rb +235 -0
  129. data/lib/latest/modules/support_profile_module.rb +177 -0
  130. data/lib/latest/modules/synapse_profile_module.rb +827 -0
  131. data/lib/latest/modules/textanalytics_profile_module.rb +125 -0
  132. data/lib/latest/modules/timeseriesinsights_profile_module.rb +309 -0
  133. data/lib/latest/modules/trafficmanager_profile_module.rb +173 -0
  134. data/lib/latest/modules/videosearch_profile_module.rb +175 -0
  135. data/lib/latest/modules/visualsearch_profile_module.rb +235 -0
  136. data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -0
  137. data/lib/latest/modules/web_profile_module.rb +1419 -0
  138. data/lib/latest/modules/websearch_profile_module.rb +211 -0
  139. data/lib/v2017_03_09/module_definition.rb +7 -0
  140. data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -0
  141. data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -0
  142. data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -0
  143. data/lib/v2017_03_09/modules/features_profile_module.rb +73 -0
  144. data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -0
  145. data/lib/v2017_03_09/modules/links_profile_module.rb +83 -0
  146. data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -0
  147. data/lib/v2017_03_09/modules/network_profile_module.rb +555 -0
  148. data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -0
  149. data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -0
  150. data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -0
  151. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -0
  152. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -0
  153. data/lib/v2018_03_01/module_definition.rb +7 -0
  154. data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -0
  155. data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -0
  156. data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -0
  157. data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -0
  158. data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -0
  159. data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -0
  160. data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -0
  161. data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -0
  162. data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -0
  163. data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -0
  164. data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -0
  165. data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -0
  166. data/lib/v2019_03_01_hybrid/module_definition.rb +7 -0
  167. data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -0
  168. data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -0
  169. data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -0
  170. data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -0
  171. data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -0
  172. data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -0
  173. data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -0
  174. data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -0
  175. data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -0
  176. data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -0
  177. data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -0
  178. data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -0
  179. data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -0
  180. metadata +2187 -0
@@ -0,0 +1,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
@@ -0,0 +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