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,129 @@
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_resourcegraph'
6
+
7
+ module Azure::Profiles::Latest
8
+ module ResourceGraph
9
+ module Mgmt
10
+ Operations = Azure::ResourceGraph::Mgmt::V2019_04_01::Operations
11
+
12
+ module Models
13
+ Table = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Table
14
+ QueryRequestOptions = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryRequestOptions
15
+ FacetRequest = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetRequest
16
+ ErrorDetails = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ErrorDetails
17
+ Facet = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Facet
18
+ OperationListResult = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationListResult
19
+ Column = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Column
20
+ Error = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Error
21
+ QueryRequest = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryRequest
22
+ ErrorResponse = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ErrorResponse
23
+ FacetRequestOptions = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetRequestOptions
24
+ OperationDisplay = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationDisplay
25
+ QueryResponse = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryResponse
26
+ Operation = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Operation
27
+ FacetResult = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetResult
28
+ FacetError = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetError
29
+ ResultFormat = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ResultFormat
30
+ FacetSortOrder = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetSortOrder
31
+ ResultTruncated = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ResultTruncated
32
+ ColumnDataType = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ColumnDataType
33
+ end
34
+
35
+ class ResourceGraphManagementClass
36
+ attr_reader :operations, :configurable, :base_url, :options, :model_classes
37
+
38
+ def initialize(configurable, base_url=nil, options=nil)
39
+ @configurable, @base_url, @options = configurable, base_url, options
40
+
41
+ @client_0 = Azure::ResourceGraph::Mgmt::V2019_04_01::ResourceGraphClient.new(configurable.credentials, base_url, options)
42
+ if(@client_0.respond_to?(:subscription_id))
43
+ @client_0.subscription_id = configurable.subscription_id
44
+ end
45
+ add_telemetry(@client_0)
46
+ @operations = @client_0.operations
47
+
48
+ @model_classes = ModelClasses.new
49
+ end
50
+
51
+ def add_telemetry(client)
52
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ResourceGraph/Mgmt"
53
+ client.add_user_agent_information(profile_information)
54
+ end
55
+
56
+ def method_missing(method, *args)
57
+ if @client_0.respond_to?method
58
+ @client_0.send(method, *args)
59
+ else
60
+ super
61
+ end
62
+ end
63
+
64
+ class ModelClasses
65
+ def table
66
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Table
67
+ end
68
+ def query_request_options
69
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryRequestOptions
70
+ end
71
+ def facet_request
72
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetRequest
73
+ end
74
+ def error_details
75
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ErrorDetails
76
+ end
77
+ def facet
78
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Facet
79
+ end
80
+ def operation_list_result
81
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationListResult
82
+ end
83
+ def column
84
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Column
85
+ end
86
+ def error
87
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Error
88
+ end
89
+ def query_request
90
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryRequest
91
+ end
92
+ def error_response
93
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ErrorResponse
94
+ end
95
+ def facet_request_options
96
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetRequestOptions
97
+ end
98
+ def operation_display
99
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationDisplay
100
+ end
101
+ def query_response
102
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryResponse
103
+ end
104
+ def operation
105
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Operation
106
+ end
107
+ def facet_result
108
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetResult
109
+ end
110
+ def facet_error
111
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetError
112
+ end
113
+ def result_format
114
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ResultFormat
115
+ end
116
+ def facet_sort_order
117
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetSortOrder
118
+ end
119
+ def result_truncated
120
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ResultTruncated
121
+ end
122
+ def column_data_type
123
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ColumnDataType
124
+ end
125
+ end
126
+ end
127
+ end
128
+ end
129
+ end
@@ -0,0 +1,111 @@
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_resource_health'
6
+
7
+ module Azure::Profiles::Latest
8
+ module ResourceHealth
9
+ module Mgmt
10
+ AvailabilityStatuses = Azure::ResourceHealth::Mgmt::V2017_07_01::AvailabilityStatuses
11
+ ChildAvailabilityStatuses = Azure::ResourceHealth::Mgmt::V2017_07_01::ChildAvailabilityStatuses
12
+ ChildResources = Azure::ResourceHealth::Mgmt::V2017_07_01::ChildResources
13
+ Operations = Azure::ResourceHealth::Mgmt::V2017_07_01::Operations
14
+
15
+ module Models
16
+ AvailabilityStatus = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatus
17
+ AvailabilityStatusPropertiesRecentlyResolvedState = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatusPropertiesRecentlyResolvedState
18
+ AvailabilityStatusListResult = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatusListResult
19
+ ServiceImpactingEventStatus = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ServiceImpactingEventStatus
20
+ OperationDisplay = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::OperationDisplay
21
+ ServiceImpactingEvent = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ServiceImpactingEvent
22
+ Operation = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::Operation
23
+ RecommendedAction = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::RecommendedAction
24
+ OperationListResult = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::OperationListResult
25
+ AvailabilityStatusProperties = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatusProperties
26
+ ErrorResponse = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ErrorResponse
27
+ ServiceImpactingEventIncidentProperties = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ServiceImpactingEventIncidentProperties
28
+ AvailabilityStateValues = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStateValues
29
+ ReasonChronicityTypes = Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ReasonChronicityTypes
30
+ end
31
+
32
+ class ResourceHealthManagementClass
33
+ attr_reader :availability_statuses, :child_availability_statuses, :child_resources, :operations, :configurable, :base_url, :options, :model_classes
34
+
35
+ def initialize(configurable, base_url=nil, options=nil)
36
+ @configurable, @base_url, @options = configurable, base_url, options
37
+
38
+ @client_0 = Azure::ResourceHealth::Mgmt::V2017_07_01::ResourceHealthClient.new(configurable.credentials, base_url, options)
39
+ if(@client_0.respond_to?(:subscription_id))
40
+ @client_0.subscription_id = configurable.subscription_id
41
+ end
42
+ add_telemetry(@client_0)
43
+ @availability_statuses = @client_0.availability_statuses
44
+ @child_availability_statuses = @client_0.child_availability_statuses
45
+ @child_resources = @client_0.child_resources
46
+ @operations = @client_0.operations
47
+
48
+ @model_classes = ModelClasses.new
49
+ end
50
+
51
+ def add_telemetry(client)
52
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ResourceHealth/Mgmt"
53
+ client.add_user_agent_information(profile_information)
54
+ end
55
+
56
+ def method_missing(method, *args)
57
+ if @client_0.respond_to?method
58
+ @client_0.send(method, *args)
59
+ else
60
+ super
61
+ end
62
+ end
63
+
64
+ class ModelClasses
65
+ def availability_status
66
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatus
67
+ end
68
+ def availability_status_properties_recently_resolved_state
69
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatusPropertiesRecentlyResolvedState
70
+ end
71
+ def availability_status_list_result
72
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatusListResult
73
+ end
74
+ def service_impacting_event_status
75
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ServiceImpactingEventStatus
76
+ end
77
+ def operation_display
78
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::OperationDisplay
79
+ end
80
+ def service_impacting_event
81
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ServiceImpactingEvent
82
+ end
83
+ def operation
84
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::Operation
85
+ end
86
+ def recommended_action
87
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::RecommendedAction
88
+ end
89
+ def operation_list_result
90
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::OperationListResult
91
+ end
92
+ def availability_status_properties
93
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatusProperties
94
+ end
95
+ def error_response
96
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ErrorResponse
97
+ end
98
+ def service_impacting_event_incident_properties
99
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ServiceImpactingEventIncidentProperties
100
+ end
101
+ def availability_state_values
102
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStateValues
103
+ end
104
+ def reason_chronicity_types
105
+ Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ReasonChronicityTypes
106
+ end
107
+ end
108
+ end
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,321 @@
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::Latest
8
+ module Resources
9
+ module Mgmt
10
+ Operations = Azure::Resources::Mgmt::V2019_07_01::Operations
11
+ Deployments = Azure::Resources::Mgmt::V2019_07_01::Deployments
12
+ Providers = Azure::Resources::Mgmt::V2019_07_01::Providers
13
+ Resources = Azure::Resources::Mgmt::V2019_07_01::Resources
14
+ ResourceGroups = Azure::Resources::Mgmt::V2019_07_01::ResourceGroups
15
+ Tags = Azure::Resources::Mgmt::V2019_07_01::Tags
16
+ DeploymentOperations = Azure::Resources::Mgmt::V2019_07_01::DeploymentOperations
17
+
18
+ module Models
19
+ Sku = Azure::Resources::Mgmt::V2019_07_01::Models::Sku
20
+ IdentityUserAssignedIdentitiesValue = Azure::Resources::Mgmt::V2019_07_01::Models::IdentityUserAssignedIdentitiesValue
21
+ GenericResourceFilter = Azure::Resources::Mgmt::V2019_07_01::Models::GenericResourceFilter
22
+ Identity = Azure::Resources::Mgmt::V2019_07_01::Models::Identity
23
+ TemplateLink = Azure::Resources::Mgmt::V2019_07_01::Models::TemplateLink
24
+ ParametersLink = Azure::Resources::Mgmt::V2019_07_01::Models::ParametersLink
25
+ WhatIfOperationResult = Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfOperationResult
26
+ OnErrorDeployment = Azure::Resources::Mgmt::V2019_07_01::Models::OnErrorDeployment
27
+ ResourceListResult = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceListResult
28
+ Deployment = Azure::Resources::Mgmt::V2019_07_01::Models::Deployment
29
+ ResourceGroupProperties = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupProperties
30
+ DeploymentWhatIfSettings = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentWhatIfSettings
31
+ ResourceGroup = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroup
32
+ DeploymentWhatIf = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentWhatIf
33
+ ResourceGroupPatchable = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupPatchable
34
+ ErrorResponse = Azure::Resources::Mgmt::V2019_07_01::Models::ErrorResponse
35
+ ResourceGroupListResult = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupListResult
36
+ AliasPathType = Azure::Resources::Mgmt::V2019_07_01::Models::AliasPathType
37
+ ResourcesMoveInfo = Azure::Resources::Mgmt::V2019_07_01::Models::ResourcesMoveInfo
38
+ ProviderResourceType = Azure::Resources::Mgmt::V2019_07_01::Models::ProviderResourceType
39
+ ExportTemplateRequest = Azure::Resources::Mgmt::V2019_07_01::Models::ExportTemplateRequest
40
+ BasicDependency = Azure::Resources::Mgmt::V2019_07_01::Models::BasicDependency
41
+ TagCount = Azure::Resources::Mgmt::V2019_07_01::Models::TagCount
42
+ OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2019_07_01::Models::OnErrorDeploymentExtended
43
+ TagValue = Azure::Resources::Mgmt::V2019_07_01::Models::TagValue
44
+ DeploymentValidateResult = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentValidateResult
45
+ TagDetails = Azure::Resources::Mgmt::V2019_07_01::Models::TagDetails
46
+ DeploymentListResult = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentListResult
47
+ TagsListResult = Azure::Resources::Mgmt::V2019_07_01::Models::TagsListResult
48
+ Plan = Azure::Resources::Mgmt::V2019_07_01::Models::Plan
49
+ TargetResource = Azure::Resources::Mgmt::V2019_07_01::Models::TargetResource
50
+ ResourceGroupFilter = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupFilter
51
+ HttpMessage = Azure::Resources::Mgmt::V2019_07_01::Models::HttpMessage
52
+ DeploymentProperties = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentProperties
53
+ DeploymentOperationProperties = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationProperties
54
+ WhatIfChange = Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfChange
55
+ ErrorAdditionalInfo = Azure::Resources::Mgmt::V2019_07_01::Models::ErrorAdditionalInfo
56
+ DeploymentOperation = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperation
57
+ AliasType = Azure::Resources::Mgmt::V2019_07_01::Models::AliasType
58
+ DeploymentOperationsListResult = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult
59
+ Dependency = Azure::Resources::Mgmt::V2019_07_01::Models::Dependency
60
+ ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceProviderOperationDisplayProperties
61
+ DeploymentExtended = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentExtended
62
+ Resource = Azure::Resources::Mgmt::V2019_07_01::Models::Resource
63
+ DeploymentExtendedFilter = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentExtendedFilter
64
+ SubResource = Azure::Resources::Mgmt::V2019_07_01::Models::SubResource
65
+ DeploymentExportResult = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentExportResult
66
+ ResourceGroupExportResult = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupExportResult
67
+ Provider = Azure::Resources::Mgmt::V2019_07_01::Models::Provider
68
+ OperationDisplay = Azure::Resources::Mgmt::V2019_07_01::Models::OperationDisplay
69
+ ProviderListResult = Azure::Resources::Mgmt::V2019_07_01::Models::ProviderListResult
70
+ Operation = Azure::Resources::Mgmt::V2019_07_01::Models::Operation
71
+ OperationListResult = Azure::Resources::Mgmt::V2019_07_01::Models::OperationListResult
72
+ DebugSetting = Azure::Resources::Mgmt::V2019_07_01::Models::DebugSetting
73
+ TemplateHashResult = Azure::Resources::Mgmt::V2019_07_01::Models::TemplateHashResult
74
+ DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentPropertiesExtended
75
+ WhatIfPropertyChange = Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfPropertyChange
76
+ DeploymentWhatIfProperties = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentWhatIfProperties
77
+ GenericResource = Azure::Resources::Mgmt::V2019_07_01::Models::GenericResource
78
+ DeploymentMode = Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentMode
79
+ OnErrorDeploymentType = Azure::Resources::Mgmt::V2019_07_01::Models::OnErrorDeploymentType
80
+ WhatIfResultFormat = Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfResultFormat
81
+ ResourceIdentityType = Azure::Resources::Mgmt::V2019_07_01::Models::ResourceIdentityType
82
+ PropertyChangeType = Azure::Resources::Mgmt::V2019_07_01::Models::PropertyChangeType
83
+ ChangeType = Azure::Resources::Mgmt::V2019_07_01::Models::ChangeType
84
+ end
85
+
86
+ class ResourcesManagementClass
87
+ attr_reader :operations, :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes
88
+
89
+ def initialize(configurable, base_url=nil, options=nil)
90
+ @configurable, @base_url, @options = configurable, base_url, options
91
+
92
+ @client_0 = Azure::Resources::Mgmt::V2019_07_01::ResourceManagementClient.new(configurable.credentials, base_url, options)
93
+ if(@client_0.respond_to?(:subscription_id))
94
+ @client_0.subscription_id = configurable.subscription_id
95
+ end
96
+ add_telemetry(@client_0)
97
+ @operations = @client_0.operations
98
+ @deployments = @client_0.deployments
99
+ @providers = @client_0.providers
100
+ @resources = @client_0.resources
101
+ @resource_groups = @client_0.resource_groups
102
+ @tags = @client_0.tags
103
+ @deployment_operations = @client_0.deployment_operations
104
+
105
+ @model_classes = ModelClasses.new
106
+ end
107
+
108
+ def add_telemetry(client)
109
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Resources/Mgmt"
110
+ client.add_user_agent_information(profile_information)
111
+ end
112
+
113
+ def method_missing(method, *args)
114
+ if @client_0.respond_to?method
115
+ @client_0.send(method, *args)
116
+ else
117
+ super
118
+ end
119
+ end
120
+
121
+ class ModelClasses
122
+ def sku
123
+ Azure::Resources::Mgmt::V2019_07_01::Models::Sku
124
+ end
125
+ def identity_user_assigned_identities_value
126
+ Azure::Resources::Mgmt::V2019_07_01::Models::IdentityUserAssignedIdentitiesValue
127
+ end
128
+ def generic_resource_filter
129
+ Azure::Resources::Mgmt::V2019_07_01::Models::GenericResourceFilter
130
+ end
131
+ def identity
132
+ Azure::Resources::Mgmt::V2019_07_01::Models::Identity
133
+ end
134
+ def template_link
135
+ Azure::Resources::Mgmt::V2019_07_01::Models::TemplateLink
136
+ end
137
+ def parameters_link
138
+ Azure::Resources::Mgmt::V2019_07_01::Models::ParametersLink
139
+ end
140
+ def what_if_operation_result
141
+ Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfOperationResult
142
+ end
143
+ def on_error_deployment
144
+ Azure::Resources::Mgmt::V2019_07_01::Models::OnErrorDeployment
145
+ end
146
+ def resource_list_result
147
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceListResult
148
+ end
149
+ def deployment
150
+ Azure::Resources::Mgmt::V2019_07_01::Models::Deployment
151
+ end
152
+ def resource_group_properties
153
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupProperties
154
+ end
155
+ def deployment_what_if_settings
156
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentWhatIfSettings
157
+ end
158
+ def resource_group
159
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroup
160
+ end
161
+ def deployment_what_if
162
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentWhatIf
163
+ end
164
+ def resource_group_patchable
165
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupPatchable
166
+ end
167
+ def error_response
168
+ Azure::Resources::Mgmt::V2019_07_01::Models::ErrorResponse
169
+ end
170
+ def resource_group_list_result
171
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupListResult
172
+ end
173
+ def alias_path_type
174
+ Azure::Resources::Mgmt::V2019_07_01::Models::AliasPathType
175
+ end
176
+ def resources_move_info
177
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourcesMoveInfo
178
+ end
179
+ def provider_resource_type
180
+ Azure::Resources::Mgmt::V2019_07_01::Models::ProviderResourceType
181
+ end
182
+ def export_template_request
183
+ Azure::Resources::Mgmt::V2019_07_01::Models::ExportTemplateRequest
184
+ end
185
+ def basic_dependency
186
+ Azure::Resources::Mgmt::V2019_07_01::Models::BasicDependency
187
+ end
188
+ def tag_count
189
+ Azure::Resources::Mgmt::V2019_07_01::Models::TagCount
190
+ end
191
+ def on_error_deployment_extended
192
+ Azure::Resources::Mgmt::V2019_07_01::Models::OnErrorDeploymentExtended
193
+ end
194
+ def tag_value
195
+ Azure::Resources::Mgmt::V2019_07_01::Models::TagValue
196
+ end
197
+ def deployment_validate_result
198
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentValidateResult
199
+ end
200
+ def tag_details
201
+ Azure::Resources::Mgmt::V2019_07_01::Models::TagDetails
202
+ end
203
+ def deployment_list_result
204
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentListResult
205
+ end
206
+ def tags_list_result
207
+ Azure::Resources::Mgmt::V2019_07_01::Models::TagsListResult
208
+ end
209
+ def plan
210
+ Azure::Resources::Mgmt::V2019_07_01::Models::Plan
211
+ end
212
+ def target_resource
213
+ Azure::Resources::Mgmt::V2019_07_01::Models::TargetResource
214
+ end
215
+ def resource_group_filter
216
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupFilter
217
+ end
218
+ def http_message
219
+ Azure::Resources::Mgmt::V2019_07_01::Models::HttpMessage
220
+ end
221
+ def deployment_properties
222
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentProperties
223
+ end
224
+ def deployment_operation_properties
225
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationProperties
226
+ end
227
+ def what_if_change
228
+ Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfChange
229
+ end
230
+ def error_additional_info
231
+ Azure::Resources::Mgmt::V2019_07_01::Models::ErrorAdditionalInfo
232
+ end
233
+ def deployment_operation
234
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperation
235
+ end
236
+ def alias_type
237
+ Azure::Resources::Mgmt::V2019_07_01::Models::AliasType
238
+ end
239
+ def deployment_operations_list_result
240
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentOperationsListResult
241
+ end
242
+ def dependency
243
+ Azure::Resources::Mgmt::V2019_07_01::Models::Dependency
244
+ end
245
+ def resource_provider_operation_display_properties
246
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceProviderOperationDisplayProperties
247
+ end
248
+ def deployment_extended
249
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentExtended
250
+ end
251
+ def resource
252
+ Azure::Resources::Mgmt::V2019_07_01::Models::Resource
253
+ end
254
+ def deployment_extended_filter
255
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentExtendedFilter
256
+ end
257
+ def sub_resource
258
+ Azure::Resources::Mgmt::V2019_07_01::Models::SubResource
259
+ end
260
+ def deployment_export_result
261
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentExportResult
262
+ end
263
+ def resource_group_export_result
264
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceGroupExportResult
265
+ end
266
+ def provider
267
+ Azure::Resources::Mgmt::V2019_07_01::Models::Provider
268
+ end
269
+ def operation_display
270
+ Azure::Resources::Mgmt::V2019_07_01::Models::OperationDisplay
271
+ end
272
+ def provider_list_result
273
+ Azure::Resources::Mgmt::V2019_07_01::Models::ProviderListResult
274
+ end
275
+ def operation
276
+ Azure::Resources::Mgmt::V2019_07_01::Models::Operation
277
+ end
278
+ def operation_list_result
279
+ Azure::Resources::Mgmt::V2019_07_01::Models::OperationListResult
280
+ end
281
+ def debug_setting
282
+ Azure::Resources::Mgmt::V2019_07_01::Models::DebugSetting
283
+ end
284
+ def template_hash_result
285
+ Azure::Resources::Mgmt::V2019_07_01::Models::TemplateHashResult
286
+ end
287
+ def deployment_properties_extended
288
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentPropertiesExtended
289
+ end
290
+ def what_if_property_change
291
+ Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfPropertyChange
292
+ end
293
+ def deployment_what_if_properties
294
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentWhatIfProperties
295
+ end
296
+ def generic_resource
297
+ Azure::Resources::Mgmt::V2019_07_01::Models::GenericResource
298
+ end
299
+ def deployment_mode
300
+ Azure::Resources::Mgmt::V2019_07_01::Models::DeploymentMode
301
+ end
302
+ def on_error_deployment_type
303
+ Azure::Resources::Mgmt::V2019_07_01::Models::OnErrorDeploymentType
304
+ end
305
+ def what_if_result_format
306
+ Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfResultFormat
307
+ end
308
+ def resource_identity_type
309
+ Azure::Resources::Mgmt::V2019_07_01::Models::ResourceIdentityType
310
+ end
311
+ def property_change_type
312
+ Azure::Resources::Mgmt::V2019_07_01::Models::PropertyChangeType
313
+ end
314
+ def change_type
315
+ Azure::Resources::Mgmt::V2019_07_01::Models::ChangeType
316
+ end
317
+ end
318
+ end
319
+ end
320
+ end
321
+ end