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