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,211 @@
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_websearch'
6
+
7
+ module Azure::Profiles::Latest
8
+ module WebSearch
9
+ Web = Azure::CognitiveServices::WebSearch::V1_0::Web
10
+
11
+ module Models
12
+ RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem
13
+ RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup
14
+ WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag
15
+ RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse
16
+ WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping
17
+ Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error
18
+ Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query
19
+ TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation
20
+ ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase
21
+ QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext
22
+ ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject
23
+ CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork
24
+ WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage
25
+ NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle
26
+ VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject
27
+ Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable
28
+ Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response
29
+ SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse
30
+ Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing
31
+ Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer
32
+ Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation
33
+ SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer
34
+ WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer
35
+ Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images
36
+ News = Azure::CognitiveServices::WebSearch::V1_0::Models::News
37
+ RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer
38
+ SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions
39
+ TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone
40
+ Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos
41
+ Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places
42
+ ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse
43
+ Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible
44
+ MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject
45
+ Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article
46
+ StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue
47
+ AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType
48
+ ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode
49
+ ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode
50
+ Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness
51
+ SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch
52
+ TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat
53
+ end
54
+
55
+ class WebSearchDataClass
56
+ attr_reader :web, :configurable, :base_url, :options, :model_classes
57
+
58
+ def initialize(configurable, base_url=nil, options=nil)
59
+ @configurable, @base_url, @options = configurable, base_url, options
60
+
61
+ @client_0 = Azure::CognitiveServices::WebSearch::V1_0::WebSearchClient.new(configurable.credentials, options)
62
+ if(@client_0.respond_to?(:subscription_id))
63
+ @client_0.subscription_id = configurable.subscription_id
64
+ end
65
+ add_telemetry(@client_0)
66
+ @web = @client_0.web
67
+
68
+ @model_classes = ModelClasses.new
69
+ end
70
+
71
+ def add_telemetry(client)
72
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/WebSearch"
73
+ client.add_user_agent_information(profile_information)
74
+ end
75
+
76
+ def method_missing(method, *args)
77
+ if @client_0.respond_to?method
78
+ @client_0.send(method, *args)
79
+ else
80
+ super
81
+ end
82
+ end
83
+
84
+ class ModelClasses
85
+ def ranking_ranking_item
86
+ Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem
87
+ end
88
+ def ranking_ranking_group
89
+ Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup
90
+ end
91
+ def web_meta_tag
92
+ Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag
93
+ end
94
+ def ranking_ranking_response
95
+ Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse
96
+ end
97
+ def web_web_grouping
98
+ Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping
99
+ end
100
+ def error
101
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Error
102
+ end
103
+ def query
104
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Query
105
+ end
106
+ def time_zone_time_zone_information
107
+ Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation
108
+ end
109
+ def response_base
110
+ Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase
111
+ end
112
+ def query_context
113
+ Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext
114
+ end
115
+ def image_object
116
+ Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject
117
+ end
118
+ def creative_work
119
+ Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork
120
+ end
121
+ def web_page
122
+ Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage
123
+ end
124
+ def news_article
125
+ Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle
126
+ end
127
+ def video_object
128
+ Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject
129
+ end
130
+ def identifiable
131
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable
132
+ end
133
+ def response
134
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Response
135
+ end
136
+ def search_response
137
+ Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse
138
+ end
139
+ def thing
140
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Thing
141
+ end
142
+ def answer
143
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Answer
144
+ end
145
+ def computation
146
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Computation
147
+ end
148
+ def search_results_answer
149
+ Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer
150
+ end
151
+ def web_web_answer
152
+ Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer
153
+ end
154
+ def images
155
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Images
156
+ end
157
+ def news
158
+ Azure::CognitiveServices::WebSearch::V1_0::Models::News
159
+ end
160
+ def related_searches_related_search_answer
161
+ Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer
162
+ end
163
+ def spell_suggestions
164
+ Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions
165
+ end
166
+ def time_zone
167
+ Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone
168
+ end
169
+ def videos
170
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Videos
171
+ end
172
+ def places
173
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Places
174
+ end
175
+ def error_response
176
+ Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse
177
+ end
178
+ def intangible
179
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible
180
+ end
181
+ def media_object
182
+ Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject
183
+ end
184
+ def article
185
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Article
186
+ end
187
+ def structured_value
188
+ Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue
189
+ end
190
+ def answer_type
191
+ Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType
192
+ end
193
+ def error_code
194
+ Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode
195
+ end
196
+ def error_sub_code
197
+ Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode
198
+ end
199
+ def freshness
200
+ Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness
201
+ end
202
+ def safe_search
203
+ Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch
204
+ end
205
+ def text_format
206
+ Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat
207
+ end
208
+ end
209
+ end
210
+ end
211
+ end
@@ -0,0 +1,7 @@
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
+ module Azure end
6
+ module Azure::Profiles end
7
+ module Azure::Profiles::V2017_03_09 end
@@ -0,0 +1,141 @@
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_authorization'
6
+
7
+ module Azure::Profiles::V2017_03_09
8
+ module Authorization
9
+ module Mgmt
10
+ Permissions = Azure::Authorization::Mgmt::V2015_07_01::Permissions
11
+ ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2015_07_01::ProviderOperationsMetadataOperations
12
+ RoleAssignments = Azure::Authorization::Mgmt::V2015_07_01::RoleAssignments
13
+ RoleDefinitions = Azure::Authorization::Mgmt::V2015_07_01::RoleDefinitions
14
+ ClassicAdministrators = Azure::Authorization::Mgmt::V2015_07_01::ClassicAdministrators
15
+
16
+ module Models
17
+ RoleAssignment = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
18
+ RoleAssignmentListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
19
+ RoleDefinitionFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
20
+ RoleAssignmentProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
21
+ PermissionGetResult = Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
22
+ RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
23
+ ResourceType = Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
24
+ RoleDefinitionProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
25
+ ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
26
+ RoleDefinition = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
27
+ RoleAssignmentFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
28
+ RoleDefinitionListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
29
+ ProviderOperation = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
30
+ ClassicAdministratorProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
31
+ RoleAssignmentPropertiesWithScope = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
32
+ ClassicAdministrator = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
33
+ ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
34
+ ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
35
+ Permission = Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
36
+ end
37
+
38
+ class AuthorizationManagementClass
39
+ attr_reader :permissions, :provider_operations_metadata_operations, :role_assignments, :role_definitions, :classic_administrators, :configurable, :base_url, :options, :model_classes
40
+
41
+ def initialize(configurable, base_url=nil, options=nil)
42
+ @configurable, @base_url, @options = configurable, base_url, options
43
+
44
+ @client_0 = Azure::Authorization::Mgmt::V2015_07_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
45
+ if(@client_0.respond_to?(:subscription_id))
46
+ @client_0.subscription_id = configurable.subscription_id
47
+ end
48
+ add_telemetry(@client_0)
49
+
50
+ @client_1 = Azure::Authorization::Mgmt::V2015_07_01::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
51
+ if(@client_1.respond_to?(:subscription_id))
52
+ @client_1.subscription_id = configurable.subscription_id
53
+ end
54
+ add_telemetry(@client_1)
55
+ @permissions = @client_1.permissions
56
+ @provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations
57
+ @role_assignments = @client_1.role_assignments
58
+ @role_definitions = @client_1.role_definitions
59
+ @classic_administrators = @client_1.classic_administrators
60
+
61
+ @model_classes = ModelClasses.new
62
+ end
63
+
64
+ def add_telemetry(client)
65
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2017_03_09/Authorization/Mgmt"
66
+ client.add_user_agent_information(profile_information)
67
+ end
68
+
69
+ def method_missing(method, *args)
70
+ if @client_1.respond_to?method
71
+ @client_1.send(method, *args)
72
+ elsif @client_0.respond_to?method
73
+ @client_0.send(method, *args)
74
+ else
75
+ super
76
+ end
77
+ end
78
+
79
+ class ModelClasses
80
+ def role_assignment
81
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
82
+ end
83
+ def role_assignment_list_result
84
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
85
+ end
86
+ def role_definition_filter
87
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
88
+ end
89
+ def role_assignment_properties
90
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
91
+ end
92
+ def permission_get_result
93
+ Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
94
+ end
95
+ def role_assignment_create_parameters
96
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
97
+ end
98
+ def resource_type
99
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
100
+ end
101
+ def role_definition_properties
102
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
103
+ end
104
+ def provider_operations_metadata_list_result
105
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
106
+ end
107
+ def role_definition
108
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
109
+ end
110
+ def role_assignment_filter
111
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
112
+ end
113
+ def role_definition_list_result
114
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
115
+ end
116
+ def provider_operation
117
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
118
+ end
119
+ def classic_administrator_properties
120
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
121
+ end
122
+ def role_assignment_properties_with_scope
123
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
124
+ end
125
+ def classic_administrator
126
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
127
+ end
128
+ def provider_operations_metadata
129
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
130
+ end
131
+ def classic_administrator_list_result
132
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
133
+ end
134
+ def permission
135
+ Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
136
+ end
137
+ end
138
+ end
139
+ end
140
+ end
141
+ end
@@ -0,0 +1,469 @@
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_compute'
6
+
7
+ module Azure::Profiles::V2017_03_09
8
+ module Compute
9
+ module Mgmt
10
+ AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets
11
+ VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages
12
+ VirtualMachineExtensions = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensions
13
+ VirtualMachines = Azure::Compute::Mgmt::V2016_03_30::VirtualMachines
14
+ VirtualMachineImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineImages
15
+ UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations
16
+ VirtualMachineSizes = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineSizes
17
+ VirtualMachineScaleSets = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSets
18
+ VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs
19
+
20
+ module Models
21
+ DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile
22
+ InstanceViewStatus = Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewStatus
23
+ VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView
24
+ VaultCertificate = Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate
25
+ VaultSecretGroup = Azure::Compute::Mgmt::V2016_03_30::Models::VaultSecretGroup
26
+ VirtualMachineSize = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSize
27
+ OSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile
28
+ InnerError = Azure::Compute::Mgmt::V2016_03_30::Models::InnerError
29
+ VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView
30
+ NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile
31
+ Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource
32
+ BootDiagnostics = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics
33
+ PurchasePlan = Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan
34
+ SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource
35
+ DataDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage
36
+ ApiErrorBase = Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase
37
+ UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName
38
+ VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView
39
+ ListUsagesResult = Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult
40
+ DiskInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView
41
+ ApiError = Azure::Compute::Mgmt::V2016_03_30::Models::ApiError
42
+ BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnosticsInstanceView
43
+ HardwareProfile = Azure::Compute::Mgmt::V2016_03_30::Models::HardwareProfile
44
+ VirtualMachineIdentity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineIdentity
45
+ KeyVaultSecretReference = Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultSecretReference
46
+ VirtualMachineInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineInstanceView
47
+ DiskEncryptionSettings = Azure::Compute::Mgmt::V2016_03_30::Models::DiskEncryptionSettings
48
+ VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMListResult
49
+ OSDisk = Azure::Compute::Mgmt::V2016_03_30::Models::OSDisk
50
+ VirtualMachineListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult
51
+ StorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile
52
+ Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku
53
+ WinRMListener = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener
54
+ UpgradePolicy = Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy
55
+ WindowsConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration
56
+ VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIdentity
57
+ SshConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::SshConfiguration
58
+ VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSProfile
59
+ AvailabilitySetListResult = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult
60
+ VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSDisk
61
+ OperationStatusResponse = Azure::Compute::Mgmt::V2016_03_30::Models::OperationStatusResponse
62
+ VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile
63
+ VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionsListResult
64
+ ApiEntityReference = Azure::Compute::Mgmt::V2016_03_30::Models::ApiEntityReference
65
+ ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2016_03_30::Models::ComputeLongRunningOperationProperties
66
+ VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceView
67
+ VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureParameters
68
+ VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListSkusResult
69
+ ImageReference = Azure::Compute::Mgmt::V2016_03_30::Models::ImageReference
70
+ VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkProfile
71
+ VirtualHardDisk = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualHardDisk
72
+ VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSku
73
+ AdditionalUnattendContent = Azure::Compute::Mgmt::V2016_03_30::Models::AdditionalUnattendContent
74
+ VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetExtensionProfile
75
+ SshPublicKey = Azure::Compute::Mgmt::V2016_03_30::Models::SshPublicKey
76
+ VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMProfile
77
+ VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSizeListResult
78
+ VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuCapacity
79
+ OSDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::OSDiskImage
80
+ VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs
81
+ Plan = Azure::Compute::Mgmt::V2016_03_30::Models::Plan
82
+ VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs
83
+ DataDisk = Azure::Compute::Mgmt::V2016_03_30::Models::DataDisk
84
+ VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineStatusCodeCount
85
+ LinuxConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::LinuxConfiguration
86
+ VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary
87
+ Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage
88
+ VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary
89
+ WinRMConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration
90
+ VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceView
91
+ KeyVaultKeyReference = Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultKeyReference
92
+ VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListResult
93
+ UpdateResource = Azure::Compute::Mgmt::V2016_03_30::Models::UpdateResource
94
+ VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListWithLinkResult
95
+ AvailabilitySet = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySet
96
+ VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionImage
97
+ VirtualMachineImageResource = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineImageResource
98
+ VirtualMachineExtension = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtension
99
+ VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionUpdate
100
+ VirtualMachineImage = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineImage
101
+ VirtualMachineCaptureResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureResult
102
+ NetworkInterfaceReference = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkInterfaceReference
103
+ VirtualMachine = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachine
104
+ VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIPConfiguration
105
+ VirtualMachineScaleSetNetworkConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkConfiguration
106
+ VirtualMachineScaleSetExtension = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetExtension
107
+ VirtualMachineScaleSet = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSet
108
+ VirtualMachineScaleSetVM = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVM
109
+ StatusLevelTypes = Azure::Compute::Mgmt::V2016_03_30::Models::StatusLevelTypes
110
+ OperatingSystemTypes = Azure::Compute::Mgmt::V2016_03_30::Models::OperatingSystemTypes
111
+ VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSizeTypes
112
+ CachingTypes = Azure::Compute::Mgmt::V2016_03_30::Models::CachingTypes
113
+ DiskCreateOptionTypes = Azure::Compute::Mgmt::V2016_03_30::Models::DiskCreateOptionTypes
114
+ PassNames = Azure::Compute::Mgmt::V2016_03_30::Models::PassNames
115
+ ComponentNames = Azure::Compute::Mgmt::V2016_03_30::Models::ComponentNames
116
+ SettingNames = Azure::Compute::Mgmt::V2016_03_30::Models::SettingNames
117
+ ProtocolTypes = Azure::Compute::Mgmt::V2016_03_30::Models::ProtocolTypes
118
+ ResourceIdentityType = Azure::Compute::Mgmt::V2016_03_30::Models::ResourceIdentityType
119
+ UpgradeMode = Azure::Compute::Mgmt::V2016_03_30::Models::UpgradeMode
120
+ VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuScaleType
121
+ InstanceViewTypes = Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewTypes
122
+ end
123
+
124
+ class ComputeManagementClass
125
+ attr_reader :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :configurable, :base_url, :options, :model_classes
126
+
127
+ def initialize(configurable, base_url=nil, options=nil)
128
+ @configurable, @base_url, @options = configurable, base_url, options
129
+
130
+ @client_0 = Azure::Compute::Mgmt::V2016_03_30::ComputeManagementClient.new(configurable.credentials, base_url, options)
131
+ if(@client_0.respond_to?(:subscription_id))
132
+ @client_0.subscription_id = configurable.subscription_id
133
+ end
134
+ add_telemetry(@client_0)
135
+ @availability_sets = @client_0.availability_sets
136
+ @virtual_machine_extension_images = @client_0.virtual_machine_extension_images
137
+ @virtual_machine_extensions = @client_0.virtual_machine_extensions
138
+ @virtual_machines = @client_0.virtual_machines
139
+ @virtual_machine_images = @client_0.virtual_machine_images
140
+ @usage_operations = @client_0.usage_operations
141
+ @virtual_machine_sizes = @client_0.virtual_machine_sizes
142
+ @virtual_machine_scale_sets = @client_0.virtual_machine_scale_sets
143
+ @virtual_machine_scale_set_vms = @client_0.virtual_machine_scale_set_vms
144
+
145
+ @model_classes = ModelClasses.new
146
+ end
147
+
148
+ def add_telemetry(client)
149
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2017_03_09/Compute/Mgmt"
150
+ client.add_user_agent_information(profile_information)
151
+ end
152
+
153
+ def method_missing(method, *args)
154
+ if @client_0.respond_to?method
155
+ @client_0.send(method, *args)
156
+ else
157
+ super
158
+ end
159
+ end
160
+
161
+ class ModelClasses
162
+ def diagnostics_profile
163
+ Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile
164
+ end
165
+ def instance_view_status
166
+ Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewStatus
167
+ end
168
+ def virtual_machine_extension_handler_instance_view
169
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView
170
+ end
171
+ def vault_certificate
172
+ Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate
173
+ end
174
+ def vault_secret_group
175
+ Azure::Compute::Mgmt::V2016_03_30::Models::VaultSecretGroup
176
+ end
177
+ def virtual_machine_size
178
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSize
179
+ end
180
+ def osprofile
181
+ Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile
182
+ end
183
+ def inner_error
184
+ Azure::Compute::Mgmt::V2016_03_30::Models::InnerError
185
+ end
186
+ def virtual_machine_extension_instance_view
187
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView
188
+ end
189
+ def network_profile
190
+ Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile
191
+ end
192
+ def resource
193
+ Azure::Compute::Mgmt::V2016_03_30::Models::Resource
194
+ end
195
+ def boot_diagnostics
196
+ Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics
197
+ end
198
+ def purchase_plan
199
+ Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan
200
+ end
201
+ def sub_resource
202
+ Azure::Compute::Mgmt::V2016_03_30::Models::SubResource
203
+ end
204
+ def data_disk_image
205
+ Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage
206
+ end
207
+ def api_error_base
208
+ Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase
209
+ end
210
+ def usage_name
211
+ Azure::Compute::Mgmt::V2016_03_30::Models::UsageName
212
+ end
213
+ def virtual_machine_agent_instance_view
214
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView
215
+ end
216
+ def list_usages_result
217
+ Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult
218
+ end
219
+ def disk_instance_view
220
+ Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView
221
+ end
222
+ def api_error
223
+ Azure::Compute::Mgmt::V2016_03_30::Models::ApiError
224
+ end
225
+ def boot_diagnostics_instance_view
226
+ Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnosticsInstanceView
227
+ end
228
+ def hardware_profile
229
+ Azure::Compute::Mgmt::V2016_03_30::Models::HardwareProfile
230
+ end
231
+ def virtual_machine_identity
232
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineIdentity
233
+ end
234
+ def key_vault_secret_reference
235
+ Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultSecretReference
236
+ end
237
+ def virtual_machine_instance_view
238
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineInstanceView
239
+ end
240
+ def disk_encryption_settings
241
+ Azure::Compute::Mgmt::V2016_03_30::Models::DiskEncryptionSettings
242
+ end
243
+ def virtual_machine_scale_set_vmlist_result
244
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMListResult
245
+ end
246
+ def osdisk
247
+ Azure::Compute::Mgmt::V2016_03_30::Models::OSDisk
248
+ end
249
+ def virtual_machine_list_result
250
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult
251
+ end
252
+ def storage_profile
253
+ Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile
254
+ end
255
+ def sku
256
+ Azure::Compute::Mgmt::V2016_03_30::Models::Sku
257
+ end
258
+ def win_rmlistener
259
+ Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener
260
+ end
261
+ def upgrade_policy
262
+ Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy
263
+ end
264
+ def windows_configuration
265
+ Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration
266
+ end
267
+ def virtual_machine_scale_set_identity
268
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIdentity
269
+ end
270
+ def ssh_configuration
271
+ Azure::Compute::Mgmt::V2016_03_30::Models::SshConfiguration
272
+ end
273
+ def virtual_machine_scale_set_osprofile
274
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSProfile
275
+ end
276
+ def availability_set_list_result
277
+ Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult
278
+ end
279
+ def virtual_machine_scale_set_osdisk
280
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSDisk
281
+ end
282
+ def operation_status_response
283
+ Azure::Compute::Mgmt::V2016_03_30::Models::OperationStatusResponse
284
+ end
285
+ def virtual_machine_scale_set_storage_profile
286
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile
287
+ end
288
+ def virtual_machine_extensions_list_result
289
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionsListResult
290
+ end
291
+ def api_entity_reference
292
+ Azure::Compute::Mgmt::V2016_03_30::Models::ApiEntityReference
293
+ end
294
+ def compute_long_running_operation_properties
295
+ Azure::Compute::Mgmt::V2016_03_30::Models::ComputeLongRunningOperationProperties
296
+ end
297
+ def virtual_machine_scale_set_vminstance_view
298
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceView
299
+ end
300
+ def virtual_machine_capture_parameters
301
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureParameters
302
+ end
303
+ def virtual_machine_scale_set_list_skus_result
304
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListSkusResult
305
+ end
306
+ def image_reference
307
+ Azure::Compute::Mgmt::V2016_03_30::Models::ImageReference
308
+ end
309
+ def virtual_machine_scale_set_network_profile
310
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkProfile
311
+ end
312
+ def virtual_hard_disk
313
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualHardDisk
314
+ end
315
+ def virtual_machine_scale_set_sku
316
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSku
317
+ end
318
+ def additional_unattend_content
319
+ Azure::Compute::Mgmt::V2016_03_30::Models::AdditionalUnattendContent
320
+ end
321
+ def virtual_machine_scale_set_extension_profile
322
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetExtensionProfile
323
+ end
324
+ def ssh_public_key
325
+ Azure::Compute::Mgmt::V2016_03_30::Models::SshPublicKey
326
+ end
327
+ def virtual_machine_scale_set_vmprofile
328
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMProfile
329
+ end
330
+ def virtual_machine_size_list_result
331
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSizeListResult
332
+ end
333
+ def virtual_machine_scale_set_sku_capacity
334
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuCapacity
335
+ end
336
+ def osdisk_image
337
+ Azure::Compute::Mgmt::V2016_03_30::Models::OSDiskImage
338
+ end
339
+ def virtual_machine_scale_set_vminstance_ids
340
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs
341
+ end
342
+ def plan
343
+ Azure::Compute::Mgmt::V2016_03_30::Models::Plan
344
+ end
345
+ def virtual_machine_scale_set_vminstance_required_ids
346
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs
347
+ end
348
+ def data_disk
349
+ Azure::Compute::Mgmt::V2016_03_30::Models::DataDisk
350
+ end
351
+ def virtual_machine_status_code_count
352
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineStatusCodeCount
353
+ end
354
+ def linux_configuration
355
+ Azure::Compute::Mgmt::V2016_03_30::Models::LinuxConfiguration
356
+ end
357
+ def virtual_machine_scale_set_instance_view_statuses_summary
358
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary
359
+ end
360
+ def usage
361
+ Azure::Compute::Mgmt::V2016_03_30::Models::Usage
362
+ end
363
+ def virtual_machine_scale_set_vmextensions_summary
364
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary
365
+ end
366
+ def win_rmconfiguration
367
+ Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration
368
+ end
369
+ def virtual_machine_scale_set_instance_view
370
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceView
371
+ end
372
+ def key_vault_key_reference
373
+ Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultKeyReference
374
+ end
375
+ def virtual_machine_scale_set_list_result
376
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListResult
377
+ end
378
+ def update_resource
379
+ Azure::Compute::Mgmt::V2016_03_30::Models::UpdateResource
380
+ end
381
+ def virtual_machine_scale_set_list_with_link_result
382
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListWithLinkResult
383
+ end
384
+ def availability_set
385
+ Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySet
386
+ end
387
+ def virtual_machine_extension_image
388
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionImage
389
+ end
390
+ def virtual_machine_image_resource
391
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineImageResource
392
+ end
393
+ def virtual_machine_extension
394
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtension
395
+ end
396
+ def virtual_machine_extension_update
397
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionUpdate
398
+ end
399
+ def virtual_machine_image
400
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineImage
401
+ end
402
+ def virtual_machine_capture_result
403
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureResult
404
+ end
405
+ def network_interface_reference
406
+ Azure::Compute::Mgmt::V2016_03_30::Models::NetworkInterfaceReference
407
+ end
408
+ def virtual_machine
409
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachine
410
+ end
411
+ def virtual_machine_scale_set_ipconfiguration
412
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIPConfiguration
413
+ end
414
+ def virtual_machine_scale_set_network_configuration
415
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkConfiguration
416
+ end
417
+ def virtual_machine_scale_set_extension
418
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetExtension
419
+ end
420
+ def virtual_machine_scale_set
421
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSet
422
+ end
423
+ def virtual_machine_scale_set_vm
424
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVM
425
+ end
426
+ def status_level_types
427
+ Azure::Compute::Mgmt::V2016_03_30::Models::StatusLevelTypes
428
+ end
429
+ def operating_system_types
430
+ Azure::Compute::Mgmt::V2016_03_30::Models::OperatingSystemTypes
431
+ end
432
+ def virtual_machine_size_types
433
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSizeTypes
434
+ end
435
+ def caching_types
436
+ Azure::Compute::Mgmt::V2016_03_30::Models::CachingTypes
437
+ end
438
+ def disk_create_option_types
439
+ Azure::Compute::Mgmt::V2016_03_30::Models::DiskCreateOptionTypes
440
+ end
441
+ def pass_names
442
+ Azure::Compute::Mgmt::V2016_03_30::Models::PassNames
443
+ end
444
+ def component_names
445
+ Azure::Compute::Mgmt::V2016_03_30::Models::ComponentNames
446
+ end
447
+ def setting_names
448
+ Azure::Compute::Mgmt::V2016_03_30::Models::SettingNames
449
+ end
450
+ def protocol_types
451
+ Azure::Compute::Mgmt::V2016_03_30::Models::ProtocolTypes
452
+ end
453
+ def resource_identity_type
454
+ Azure::Compute::Mgmt::V2016_03_30::Models::ResourceIdentityType
455
+ end
456
+ def upgrade_mode
457
+ Azure::Compute::Mgmt::V2016_03_30::Models::UpgradeMode
458
+ end
459
+ def virtual_machine_scale_set_sku_scale_type
460
+ Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuScaleType
461
+ end
462
+ def instance_view_types
463
+ Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewTypes
464
+ end
465
+ end
466
+ end
467
+ end
468
+ end
469
+ end