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,217 @@
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_storagecache'
6
+
7
+ module Azure::Profiles::Latest
8
+ module StorageCache
9
+ module Mgmt
10
+ Operations = Azure::StorageCache::Mgmt::V2020_03_01::Operations
11
+ Skus = Azure::StorageCache::Mgmt::V2020_03_01::Skus
12
+ UsageModels = Azure::StorageCache::Mgmt::V2020_03_01::UsageModels
13
+ Caches = Azure::StorageCache::Mgmt::V2020_03_01::Caches
14
+ StorageTargets = Azure::StorageCache::Mgmt::V2020_03_01::StorageTargets
15
+
16
+ module Models
17
+ Nfs3Target = Azure::StorageCache::Mgmt::V2020_03_01::Models::Nfs3Target
18
+ ApiOperationDisplay = Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperationDisplay
19
+ ClfsTarget = Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTarget
20
+ ApiOperationListResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperationListResult
21
+ UnknownTarget = Azure::StorageCache::Mgmt::V2020_03_01::Models::UnknownTarget
22
+ StorageTargetProperties = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetProperties
23
+ CacheHealth = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheHealth
24
+ CacheIdentity = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentity
25
+ CacheNetworkSettings = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheNetworkSettings
26
+ CacheUpgradeStatus = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheUpgradeStatus
27
+ KeyVaultKeyReference = Azure::StorageCache::Mgmt::V2020_03_01::Models::KeyVaultKeyReference
28
+ UsageModelsResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelsResult
29
+ CacheSecuritySettings = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheSecuritySettings
30
+ StorageTargetResource = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetResource
31
+ Cache = Azure::StorageCache::Mgmt::V2020_03_01::Models::Cache
32
+ UsageModel = Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModel
33
+ NamespaceJunction = Azure::StorageCache::Mgmt::V2020_03_01::Models::NamespaceJunction
34
+ UsageModelDisplay = Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelDisplay
35
+ CloudErrorBody = Azure::StorageCache::Mgmt::V2020_03_01::Models::CloudErrorBody
36
+ StorageTargetsResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetsResult
37
+ CacheEncryptionSettings = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheEncryptionSettings
38
+ ResourceSkuCapabilities = Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkuCapabilities
39
+ CachesListResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::CachesListResult
40
+ ResourceSkuLocationInfo = Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkuLocationInfo
41
+ KeyVaultKeyReferenceSourceVault = Azure::StorageCache::Mgmt::V2020_03_01::Models::KeyVaultKeyReferenceSourceVault
42
+ Restriction = Azure::StorageCache::Mgmt::V2020_03_01::Models::Restriction
43
+ ApiOperation = Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperation
44
+ ResourceSku = Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSku
45
+ CacheSku = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheSku
46
+ ResourceSkusResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkusResult
47
+ StorageTarget = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTarget
48
+ Nfs3TargetProperties = Azure::StorageCache::Mgmt::V2020_03_01::Models::Nfs3TargetProperties
49
+ ClfsTargetProperties = Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTargetProperties
50
+ UnknownTargetProperties = Azure::StorageCache::Mgmt::V2020_03_01::Models::UnknownTargetProperties
51
+ CacheIdentityType = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentityType
52
+ HealthStateType = Azure::StorageCache::Mgmt::V2020_03_01::Models::HealthStateType
53
+ ProvisioningStateType = Azure::StorageCache::Mgmt::V2020_03_01::Models::ProvisioningStateType
54
+ FirmwareStatusType = Azure::StorageCache::Mgmt::V2020_03_01::Models::FirmwareStatusType
55
+ StorageTargetType = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetType
56
+ ReasonCode = Azure::StorageCache::Mgmt::V2020_03_01::Models::ReasonCode
57
+ end
58
+
59
+ class StorageCacheManagementClass
60
+ attr_reader :operations, :skus, :usage_models, :caches, :storage_targets, :configurable, :base_url, :options, :model_classes
61
+
62
+ def initialize(configurable, base_url=nil, options=nil)
63
+ @configurable, @base_url, @options = configurable, base_url, options
64
+
65
+ @client_0 = Azure::StorageCache::Mgmt::V2020_03_01::StorageCacheManagementClient.new(configurable.credentials, base_url, options)
66
+ if(@client_0.respond_to?(:subscription_id))
67
+ @client_0.subscription_id = configurable.subscription_id
68
+ end
69
+ add_telemetry(@client_0)
70
+ @operations = @client_0.operations
71
+ @skus = @client_0.skus
72
+ @usage_models = @client_0.usage_models
73
+ @caches = @client_0.caches
74
+ @storage_targets = @client_0.storage_targets
75
+
76
+ @model_classes = ModelClasses.new
77
+ end
78
+
79
+ def add_telemetry(client)
80
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/StorageCache/Mgmt"
81
+ client.add_user_agent_information(profile_information)
82
+ end
83
+
84
+ def method_missing(method, *args)
85
+ if @client_0.respond_to?method
86
+ @client_0.send(method, *args)
87
+ else
88
+ super
89
+ end
90
+ end
91
+
92
+ class ModelClasses
93
+ def nfs3_target
94
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::Nfs3Target
95
+ end
96
+ def api_operation_display
97
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperationDisplay
98
+ end
99
+ def clfs_target
100
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTarget
101
+ end
102
+ def api_operation_list_result
103
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperationListResult
104
+ end
105
+ def unknown_target
106
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::UnknownTarget
107
+ end
108
+ def storage_target_properties
109
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetProperties
110
+ end
111
+ def cache_health
112
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheHealth
113
+ end
114
+ def cache_identity
115
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentity
116
+ end
117
+ def cache_network_settings
118
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheNetworkSettings
119
+ end
120
+ def cache_upgrade_status
121
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheUpgradeStatus
122
+ end
123
+ def key_vault_key_reference
124
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::KeyVaultKeyReference
125
+ end
126
+ def usage_models_result
127
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelsResult
128
+ end
129
+ def cache_security_settings
130
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheSecuritySettings
131
+ end
132
+ def storage_target_resource
133
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetResource
134
+ end
135
+ def cache
136
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::Cache
137
+ end
138
+ def usage_model
139
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModel
140
+ end
141
+ def namespace_junction
142
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::NamespaceJunction
143
+ end
144
+ def usage_model_display
145
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelDisplay
146
+ end
147
+ def cloud_error_body
148
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CloudErrorBody
149
+ end
150
+ def storage_targets_result
151
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetsResult
152
+ end
153
+ def cache_encryption_settings
154
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheEncryptionSettings
155
+ end
156
+ def resource_sku_capabilities
157
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkuCapabilities
158
+ end
159
+ def caches_list_result
160
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CachesListResult
161
+ end
162
+ def resource_sku_location_info
163
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkuLocationInfo
164
+ end
165
+ def key_vault_key_reference_source_vault
166
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::KeyVaultKeyReferenceSourceVault
167
+ end
168
+ def restriction
169
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::Restriction
170
+ end
171
+ def api_operation
172
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperation
173
+ end
174
+ def resource_sku
175
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSku
176
+ end
177
+ def cache_sku
178
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheSku
179
+ end
180
+ def resource_skus_result
181
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkusResult
182
+ end
183
+ def storage_target
184
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTarget
185
+ end
186
+ def nfs3_target_properties
187
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::Nfs3TargetProperties
188
+ end
189
+ def clfs_target_properties
190
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTargetProperties
191
+ end
192
+ def unknown_target_properties
193
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::UnknownTargetProperties
194
+ end
195
+ def cache_identity_type
196
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentityType
197
+ end
198
+ def health_state_type
199
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::HealthStateType
200
+ end
201
+ def provisioning_state_type
202
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ProvisioningStateType
203
+ end
204
+ def firmware_status_type
205
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::FirmwareStatusType
206
+ end
207
+ def storage_target_type
208
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetType
209
+ end
210
+ def reason_code
211
+ Azure::StorageCache::Mgmt::V2020_03_01::Models::ReasonCode
212
+ end
213
+ end
214
+ end
215
+ end
216
+ end
217
+ end
@@ -0,0 +1,275 @@
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_storagesync'
6
+
7
+ module Azure::Profiles::Latest
8
+ module StorageSync
9
+ module Mgmt
10
+ Operations = Azure::StorageSync::Mgmt::V2019_06_01::Operations
11
+ StorageSyncServices = Azure::StorageSync::Mgmt::V2019_06_01::StorageSyncServices
12
+ SyncGroups = Azure::StorageSync::Mgmt::V2019_06_01::SyncGroups
13
+ CloudEndpoints = Azure::StorageSync::Mgmt::V2019_06_01::CloudEndpoints
14
+ ServerEndpoints = Azure::StorageSync::Mgmt::V2019_06_01::ServerEndpoints
15
+ RegisteredServers = Azure::StorageSync::Mgmt::V2019_06_01::RegisteredServers
16
+ Workflows = Azure::StorageSync::Mgmt::V2019_06_01::Workflows
17
+ OperationStatusOperations = Azure::StorageSync::Mgmt::V2019_06_01::OperationStatusOperations
18
+
19
+ module Models
20
+ ResourcesMoveInfo = Azure::StorageSync::Mgmt::V2019_06_01::Models::ResourcesMoveInfo
21
+ StorageSyncErrorDetails = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncErrorDetails
22
+ Resource = Azure::StorageSync::Mgmt::V2019_06_01::Models::Resource
23
+ StorageSyncError = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncError
24
+ StorageSyncApiError = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncApiError
25
+ ServerEndpointRecallError = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallError
26
+ OperationStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationStatus
27
+ ServerEndpointRecallStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallStatus
28
+ TriggerChangeDetectionParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerChangeDetectionParameters
29
+ SyncGroupArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupArray
30
+ StorageSyncServiceCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceCreateParameters
31
+ SubscriptionState = Azure::StorageSync::Mgmt::V2019_06_01::Models::SubscriptionState
32
+ RegisteredServerArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerArray
33
+ StorageSyncServiceArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceArray
34
+ TriggerRolloverRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerRolloverRequest
35
+ ServerEndpointUpdateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointUpdateParameters
36
+ OperationDisplayInfo = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayInfo
37
+ ServerEndpointSyncSessionStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncSessionStatus
38
+ OperationEntity = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntity
39
+ ServerEndpointSyncStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncStatus
40
+ OperationEntityListResult = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntityListResult
41
+ StorageSyncServiceUpdateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceUpdateParameters
42
+ OperationDisplayResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayResource
43
+ WorkflowArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::WorkflowArray
44
+ CheckNameAvailabilityParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityParameters
45
+ CloudEndpointArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointArray
46
+ CheckNameAvailabilityResult = Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
47
+ ServerEndpointSyncActivityStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncActivityStatus
48
+ RestoreFileSpec = Azure::StorageSync::Mgmt::V2019_06_01::Models::RestoreFileSpec
49
+ RecallActionParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::RecallActionParameters
50
+ PostRestoreRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::PostRestoreRequest
51
+ ServerEndpointFilesNotSyncingError = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointFilesNotSyncingError
52
+ PreRestoreRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::PreRestoreRequest
53
+ ServerEndpointArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointArray
54
+ BackupRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::BackupRequest
55
+ ServerEndpointCloudTieringStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCloudTieringStatus
56
+ PostBackupResponse = Azure::StorageSync::Mgmt::V2019_06_01::Models::PostBackupResponse
57
+ StorageSyncService = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncService
58
+ ProxyResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::ProxyResource
59
+ SyncGroup = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroup
60
+ CloudEndpoint = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpoint
61
+ SyncGroupCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupCreateParameters
62
+ CloudEndpointCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointCreateParameters
63
+ ServerEndpointCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCreateParameters
64
+ RegisteredServerCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerCreateParameters
65
+ ServerEndpoint = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpoint
66
+ RegisteredServer = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServer
67
+ Workflow = Azure::StorageSync::Mgmt::V2019_06_01::Models::Workflow
68
+ TrackedResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::TrackedResource
69
+ AzureEntityResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::AzureEntityResource
70
+ Reason = Azure::StorageSync::Mgmt::V2019_06_01::Models::Reason
71
+ ChangeDetectionMode = Azure::StorageSync::Mgmt::V2019_06_01::Models::ChangeDetectionMode
72
+ NameAvailabilityReason = Azure::StorageSync::Mgmt::V2019_06_01::Models::NameAvailabilityReason
73
+ end
74
+
75
+ class StorageSyncManagementClass
76
+ attr_reader :operations, :storage_sync_services, :sync_groups, :cloud_endpoints, :server_endpoints, :registered_servers, :workflows, :operation_status_operations, :configurable, :base_url, :options, :model_classes
77
+
78
+ def initialize(configurable, base_url=nil, options=nil)
79
+ @configurable, @base_url, @options = configurable, base_url, options
80
+
81
+ @client_0 = Azure::StorageSync::Mgmt::V2019_06_01::StorageSyncManagementClient.new(configurable.credentials, base_url, options)
82
+ if(@client_0.respond_to?(:subscription_id))
83
+ @client_0.subscription_id = configurable.subscription_id
84
+ end
85
+ add_telemetry(@client_0)
86
+ @operations = @client_0.operations
87
+ @storage_sync_services = @client_0.storage_sync_services
88
+ @sync_groups = @client_0.sync_groups
89
+ @cloud_endpoints = @client_0.cloud_endpoints
90
+ @server_endpoints = @client_0.server_endpoints
91
+ @registered_servers = @client_0.registered_servers
92
+ @workflows = @client_0.workflows
93
+ @operation_status_operations = @client_0.operation_status_operations
94
+
95
+ @model_classes = ModelClasses.new
96
+ end
97
+
98
+ def add_telemetry(client)
99
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/StorageSync/Mgmt"
100
+ client.add_user_agent_information(profile_information)
101
+ end
102
+
103
+ def method_missing(method, *args)
104
+ if @client_0.respond_to?method
105
+ @client_0.send(method, *args)
106
+ else
107
+ super
108
+ end
109
+ end
110
+
111
+ class ModelClasses
112
+ def resources_move_info
113
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ResourcesMoveInfo
114
+ end
115
+ def storage_sync_error_details
116
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncErrorDetails
117
+ end
118
+ def resource
119
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::Resource
120
+ end
121
+ def storage_sync_error
122
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncError
123
+ end
124
+ def storage_sync_api_error
125
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncApiError
126
+ end
127
+ def server_endpoint_recall_error
128
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallError
129
+ end
130
+ def operation_status
131
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationStatus
132
+ end
133
+ def server_endpoint_recall_status
134
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallStatus
135
+ end
136
+ def trigger_change_detection_parameters
137
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerChangeDetectionParameters
138
+ end
139
+ def sync_group_array
140
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupArray
141
+ end
142
+ def storage_sync_service_create_parameters
143
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceCreateParameters
144
+ end
145
+ def subscription_state
146
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::SubscriptionState
147
+ end
148
+ def registered_server_array
149
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerArray
150
+ end
151
+ def storage_sync_service_array
152
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceArray
153
+ end
154
+ def trigger_rollover_request
155
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerRolloverRequest
156
+ end
157
+ def server_endpoint_update_parameters
158
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointUpdateParameters
159
+ end
160
+ def operation_display_info
161
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayInfo
162
+ end
163
+ def server_endpoint_sync_session_status
164
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncSessionStatus
165
+ end
166
+ def operation_entity
167
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntity
168
+ end
169
+ def server_endpoint_sync_status
170
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncStatus
171
+ end
172
+ def operation_entity_list_result
173
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntityListResult
174
+ end
175
+ def storage_sync_service_update_parameters
176
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceUpdateParameters
177
+ end
178
+ def operation_display_resource
179
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayResource
180
+ end
181
+ def workflow_array
182
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::WorkflowArray
183
+ end
184
+ def check_name_availability_parameters
185
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityParameters
186
+ end
187
+ def cloud_endpoint_array
188
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointArray
189
+ end
190
+ def check_name_availability_result
191
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
192
+ end
193
+ def server_endpoint_sync_activity_status
194
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncActivityStatus
195
+ end
196
+ def restore_file_spec
197
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RestoreFileSpec
198
+ end
199
+ def recall_action_parameters
200
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RecallActionParameters
201
+ end
202
+ def post_restore_request
203
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::PostRestoreRequest
204
+ end
205
+ def server_endpoint_files_not_syncing_error
206
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointFilesNotSyncingError
207
+ end
208
+ def pre_restore_request
209
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::PreRestoreRequest
210
+ end
211
+ def server_endpoint_array
212
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointArray
213
+ end
214
+ def backup_request
215
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::BackupRequest
216
+ end
217
+ def server_endpoint_cloud_tiering_status
218
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCloudTieringStatus
219
+ end
220
+ def post_backup_response
221
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::PostBackupResponse
222
+ end
223
+ def storage_sync_service
224
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncService
225
+ end
226
+ def proxy_resource
227
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ProxyResource
228
+ end
229
+ def sync_group
230
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroup
231
+ end
232
+ def cloud_endpoint
233
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpoint
234
+ end
235
+ def sync_group_create_parameters
236
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupCreateParameters
237
+ end
238
+ def cloud_endpoint_create_parameters
239
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointCreateParameters
240
+ end
241
+ def server_endpoint_create_parameters
242
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCreateParameters
243
+ end
244
+ def registered_server_create_parameters
245
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerCreateParameters
246
+ end
247
+ def server_endpoint
248
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpoint
249
+ end
250
+ def registered_server
251
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServer
252
+ end
253
+ def workflow
254
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::Workflow
255
+ end
256
+ def tracked_resource
257
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::TrackedResource
258
+ end
259
+ def azure_entity_resource
260
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::AzureEntityResource
261
+ end
262
+ def reason
263
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::Reason
264
+ end
265
+ def change_detection_mode
266
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ChangeDetectionMode
267
+ end
268
+ def name_availability_reason
269
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::NameAvailabilityReason
270
+ end
271
+ end
272
+ end
273
+ end
274
+ end
275
+ end