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,71 @@
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_policy'
6
+
7
+ module Azure::Profiles::V2017_03_09
8
+ module Policy
9
+ module Mgmt
10
+ PolicyAssignments = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyAssignments
11
+ PolicyDefinitions = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyDefinitions
12
+
13
+ module Models
14
+ PolicyAssignment = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment
15
+ PolicyDefinition = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition
16
+ PolicyAssignmentListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult
17
+ PolicyDefinitionListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult
18
+ PolicyType = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType
19
+ end
20
+
21
+ class PolicyManagementClass
22
+ attr_reader :policy_assignments, :policy_definitions, :configurable, :base_url, :options, :model_classes
23
+
24
+ def initialize(configurable, base_url=nil, options=nil)
25
+ @configurable, @base_url, @options = configurable, base_url, options
26
+
27
+ @client_0 = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyClient.new(configurable.credentials, base_url, options)
28
+ if(@client_0.respond_to?(:subscription_id))
29
+ @client_0.subscription_id = configurable.subscription_id
30
+ end
31
+ add_telemetry(@client_0)
32
+ @policy_assignments = @client_0.policy_assignments
33
+ @policy_definitions = @client_0.policy_definitions
34
+
35
+ @model_classes = ModelClasses.new
36
+ end
37
+
38
+ def add_telemetry(client)
39
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2017_03_09/Policy/Mgmt"
40
+ client.add_user_agent_information(profile_information)
41
+ end
42
+
43
+ def method_missing(method, *args)
44
+ if @client_0.respond_to?method
45
+ @client_0.send(method, *args)
46
+ else
47
+ super
48
+ end
49
+ end
50
+
51
+ class ModelClasses
52
+ def policy_assignment
53
+ Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment
54
+ end
55
+ def policy_definition
56
+ Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition
57
+ end
58
+ def policy_assignment_list_result
59
+ Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult
60
+ end
61
+ def policy_definition_list_result
62
+ Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult
63
+ end
64
+ def policy_type
65
+ Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType
66
+ end
67
+ end
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,255 @@
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_resources'
6
+
7
+ module Azure::Profiles::V2017_03_09
8
+ module Resources
9
+ module Mgmt
10
+ Deployments = Azure::Resources::Mgmt::V2016_02_01::Deployments
11
+ Providers = Azure::Resources::Mgmt::V2016_02_01::Providers
12
+ ResourceGroups = Azure::Resources::Mgmt::V2016_02_01::ResourceGroups
13
+ Resources = Azure::Resources::Mgmt::V2016_02_01::Resources
14
+ Tags = Azure::Resources::Mgmt::V2016_02_01::Tags
15
+ DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations
16
+
17
+ module Models
18
+ ProviderListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderListResult
19
+ Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan
20
+ GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter
21
+ Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku
22
+ TemplateLink = Azure::Resources::Mgmt::V2016_02_01::Models::TemplateLink
23
+ Identity = Azure::Resources::Mgmt::V2016_02_01::Models::Identity
24
+ DebugSetting = Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting
25
+ DeploymentProperties = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties
26
+ TemplateHashResult = Azure::Resources::Mgmt::V2016_02_01::Models::TemplateHashResult
27
+ DeploymentExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult
28
+ ResourceListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceListResult
29
+ ErrorResponse = Azure::Resources::Mgmt::V2016_02_01::Models::ErrorResponse
30
+ ResourceGroupProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupProperties
31
+ ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails
32
+ ResourceGroup = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup
33
+ AliasType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasType
34
+ ResourceGroupListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult
35
+ Provider = Azure::Resources::Mgmt::V2016_02_01::Models::Provider
36
+ ResourcesMoveInfo = Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo
37
+ Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency
38
+ ExportTemplateRequest = Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest
39
+ DeploymentValidateResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult
40
+ TagCount = Azure::Resources::Mgmt::V2016_02_01::Models::TagCount
41
+ DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult
42
+ TagValue = Azure::Resources::Mgmt::V2016_02_01::Models::TagValue
43
+ ResourceGroupFilter = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter
44
+ TagDetails = Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails
45
+ Deployment = Azure::Resources::Mgmt::V2016_02_01::Models::Deployment
46
+ TagsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult
47
+ TargetResource = Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource
48
+ ProviderResourceType = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType
49
+ HttpMessage = Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage
50
+ DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended
51
+ DeploymentOperationProperties = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationProperties
52
+ DeploymentExtendedFilter = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter
53
+ DeploymentOperation = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperation
54
+ ErrorAdditionalInfo = Azure::Resources::Mgmt::V2016_02_01::Models::ErrorAdditionalInfo
55
+ DeploymentOperationsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult
56
+ BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency
57
+ ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties
58
+ ParametersLink = Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink
59
+ Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource
60
+ DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended
61
+ SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource
62
+ AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType
63
+ ResourceGroupExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult
64
+ GenericResource = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource
65
+ DeploymentMode = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode
66
+ ResourceIdentityType = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType
67
+ end
68
+
69
+ class ResourcesManagementClass
70
+ attr_reader :deployments, :providers, :resource_groups, :resources, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes
71
+
72
+ def initialize(configurable, base_url=nil, options=nil)
73
+ @configurable, @base_url, @options = configurable, base_url, options
74
+
75
+ @client_0 = Azure::Resources::Mgmt::V2016_02_01::ResourceManagementClient.new(configurable.credentials, base_url, options)
76
+ if(@client_0.respond_to?(:subscription_id))
77
+ @client_0.subscription_id = configurable.subscription_id
78
+ end
79
+ add_telemetry(@client_0)
80
+ @deployments = @client_0.deployments
81
+ @providers = @client_0.providers
82
+ @resource_groups = @client_0.resource_groups
83
+ @resources = @client_0.resources
84
+ @tags = @client_0.tags
85
+ @deployment_operations = @client_0.deployment_operations
86
+
87
+ @model_classes = ModelClasses.new
88
+ end
89
+
90
+ def add_telemetry(client)
91
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2017_03_09/Resources/Mgmt"
92
+ client.add_user_agent_information(profile_information)
93
+ end
94
+
95
+ def method_missing(method, *args)
96
+ if @client_0.respond_to?method
97
+ @client_0.send(method, *args)
98
+ else
99
+ super
100
+ end
101
+ end
102
+
103
+ class ModelClasses
104
+ def provider_list_result
105
+ Azure::Resources::Mgmt::V2016_02_01::Models::ProviderListResult
106
+ end
107
+ def plan
108
+ Azure::Resources::Mgmt::V2016_02_01::Models::Plan
109
+ end
110
+ def generic_resource_filter
111
+ Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter
112
+ end
113
+ def sku
114
+ Azure::Resources::Mgmt::V2016_02_01::Models::Sku
115
+ end
116
+ def template_link
117
+ Azure::Resources::Mgmt::V2016_02_01::Models::TemplateLink
118
+ end
119
+ def identity
120
+ Azure::Resources::Mgmt::V2016_02_01::Models::Identity
121
+ end
122
+ def debug_setting
123
+ Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting
124
+ end
125
+ def deployment_properties
126
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties
127
+ end
128
+ def template_hash_result
129
+ Azure::Resources::Mgmt::V2016_02_01::Models::TemplateHashResult
130
+ end
131
+ def deployment_export_result
132
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult
133
+ end
134
+ def resource_list_result
135
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceListResult
136
+ end
137
+ def error_response
138
+ Azure::Resources::Mgmt::V2016_02_01::Models::ErrorResponse
139
+ end
140
+ def resource_group_properties
141
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupProperties
142
+ end
143
+ def resource_management_error_with_details
144
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails
145
+ end
146
+ def resource_group
147
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup
148
+ end
149
+ def alias_type
150
+ Azure::Resources::Mgmt::V2016_02_01::Models::AliasType
151
+ end
152
+ def resource_group_list_result
153
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult
154
+ end
155
+ def provider
156
+ Azure::Resources::Mgmt::V2016_02_01::Models::Provider
157
+ end
158
+ def resources_move_info
159
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo
160
+ end
161
+ def dependency
162
+ Azure::Resources::Mgmt::V2016_02_01::Models::Dependency
163
+ end
164
+ def export_template_request
165
+ Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest
166
+ end
167
+ def deployment_validate_result
168
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult
169
+ end
170
+ def tag_count
171
+ Azure::Resources::Mgmt::V2016_02_01::Models::TagCount
172
+ end
173
+ def deployment_list_result
174
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult
175
+ end
176
+ def tag_value
177
+ Azure::Resources::Mgmt::V2016_02_01::Models::TagValue
178
+ end
179
+ def resource_group_filter
180
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter
181
+ end
182
+ def tag_details
183
+ Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails
184
+ end
185
+ def deployment
186
+ Azure::Resources::Mgmt::V2016_02_01::Models::Deployment
187
+ end
188
+ def tags_list_result
189
+ Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult
190
+ end
191
+ def target_resource
192
+ Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource
193
+ end
194
+ def provider_resource_type
195
+ Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType
196
+ end
197
+ def http_message
198
+ Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage
199
+ end
200
+ def deployment_properties_extended
201
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended
202
+ end
203
+ def deployment_operation_properties
204
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationProperties
205
+ end
206
+ def deployment_extended_filter
207
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter
208
+ end
209
+ def deployment_operation
210
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperation
211
+ end
212
+ def error_additional_info
213
+ Azure::Resources::Mgmt::V2016_02_01::Models::ErrorAdditionalInfo
214
+ end
215
+ def deployment_operations_list_result
216
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult
217
+ end
218
+ def basic_dependency
219
+ Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency
220
+ end
221
+ def resource_provider_operation_display_properties
222
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties
223
+ end
224
+ def parameters_link
225
+ Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink
226
+ end
227
+ def resource
228
+ Azure::Resources::Mgmt::V2016_02_01::Models::Resource
229
+ end
230
+ def deployment_extended
231
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended
232
+ end
233
+ def sub_resource
234
+ Azure::Resources::Mgmt::V2016_02_01::Models::SubResource
235
+ end
236
+ def alias_path_type
237
+ Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType
238
+ end
239
+ def resource_group_export_result
240
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult
241
+ end
242
+ def generic_resource
243
+ Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource
244
+ end
245
+ def deployment_mode
246
+ Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode
247
+ end
248
+ def resource_identity_type
249
+ Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType
250
+ end
251
+ end
252
+ end
253
+ end
254
+ end
255
+ end
@@ -0,0 +1,163 @@
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_storage'
6
+
7
+ module Azure::Profiles::V2017_03_09
8
+ module Storage
9
+ module Mgmt
10
+ StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts
11
+ UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations
12
+
13
+ module Models
14
+ StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters
15
+ StorageAccountKey = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey
16
+ Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku
17
+ StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult
18
+ EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService
19
+ StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult
20
+ Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption
21
+ StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters
22
+ Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints
23
+ StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters
24
+ CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain
25
+ UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName
26
+ StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters
27
+ Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage
28
+ EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices
29
+ UsageListResult = Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult
30
+ CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult
31
+ Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource
32
+ StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount
33
+ Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason
34
+ SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName
35
+ SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier
36
+ AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier
37
+ Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind
38
+ ProvisioningState = Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState
39
+ AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus
40
+ KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission
41
+ UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit
42
+ end
43
+
44
+ class StorageManagementClass
45
+ attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes
46
+
47
+ def initialize(configurable, base_url=nil, options=nil)
48
+ @configurable, @base_url, @options = configurable, base_url, options
49
+
50
+ @client_0 = Azure::Storage::Mgmt::V2016_01_01::StorageManagementClient.new(configurable.credentials, base_url, options)
51
+ if(@client_0.respond_to?(:subscription_id))
52
+ @client_0.subscription_id = configurable.subscription_id
53
+ end
54
+ add_telemetry(@client_0)
55
+ @storage_accounts = @client_0.storage_accounts
56
+ @usage_operations = @client_0.usage_operations
57
+
58
+ @model_classes = ModelClasses.new
59
+ end
60
+
61
+ def add_telemetry(client)
62
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2017_03_09/Storage/Mgmt"
63
+ client.add_user_agent_information(profile_information)
64
+ end
65
+
66
+ def method_missing(method, *args)
67
+ if @client_0.respond_to?method
68
+ @client_0.send(method, *args)
69
+ else
70
+ super
71
+ end
72
+ end
73
+
74
+ class ModelClasses
75
+ def storage_account_check_name_availability_parameters
76
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters
77
+ end
78
+ def storage_account_key
79
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey
80
+ end
81
+ def sku
82
+ Azure::Storage::Mgmt::V2016_01_01::Models::Sku
83
+ end
84
+ def storage_account_list_result
85
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult
86
+ end
87
+ def encryption_service
88
+ Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService
89
+ end
90
+ def storage_account_list_keys_result
91
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult
92
+ end
93
+ def encryption
94
+ Azure::Storage::Mgmt::V2016_01_01::Models::Encryption
95
+ end
96
+ def storage_account_regenerate_key_parameters
97
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters
98
+ end
99
+ def endpoints
100
+ Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints
101
+ end
102
+ def storage_account_update_parameters
103
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters
104
+ end
105
+ def custom_domain
106
+ Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain
107
+ end
108
+ def usage_name
109
+ Azure::Storage::Mgmt::V2016_01_01::Models::UsageName
110
+ end
111
+ def storage_account_create_parameters
112
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters
113
+ end
114
+ def usage
115
+ Azure::Storage::Mgmt::V2016_01_01::Models::Usage
116
+ end
117
+ def encryption_services
118
+ Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices
119
+ end
120
+ def usage_list_result
121
+ Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult
122
+ end
123
+ def check_name_availability_result
124
+ Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult
125
+ end
126
+ def resource
127
+ Azure::Storage::Mgmt::V2016_01_01::Models::Resource
128
+ end
129
+ def storage_account
130
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount
131
+ end
132
+ def reason
133
+ Azure::Storage::Mgmt::V2016_01_01::Models::Reason
134
+ end
135
+ def sku_name
136
+ Azure::Storage::Mgmt::V2016_01_01::Models::SkuName
137
+ end
138
+ def sku_tier
139
+ Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier
140
+ end
141
+ def access_tier
142
+ Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier
143
+ end
144
+ def kind
145
+ Azure::Storage::Mgmt::V2016_01_01::Models::Kind
146
+ end
147
+ def provisioning_state
148
+ Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState
149
+ end
150
+ def account_status
151
+ Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus
152
+ end
153
+ def key_permission
154
+ Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission
155
+ end
156
+ def usage_unit
157
+ Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit
158
+ end
159
+ end
160
+ end
161
+ end
162
+ end
163
+ end