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,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_resources_management'
6
+
7
+ module Azure::Profiles::Latest
8
+ module ResourcesManagement
9
+ module Mgmt
10
+ ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups
11
+ ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupSubscriptions
12
+ Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations
13
+ Entities = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Entities
14
+
15
+ module Models
16
+ ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup
17
+ ErrorDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails
18
+ OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults
19
+ OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties
20
+ EntityParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo
21
+ OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult
22
+ EntityInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo
23
+ TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult
24
+ EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult
25
+ ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult
26
+ EntityHierarchyItem = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem
27
+ ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails
28
+ PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest
29
+ ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse
30
+ CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo
31
+ CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
32
+ CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails
33
+ ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo
34
+ CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo
35
+ Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation
36
+ CreateManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest
37
+ ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo
38
+ CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest
39
+ ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo
40
+ Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason
41
+ Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status
42
+ Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type
43
+ end
44
+
45
+ class ResourcesManagementManagementClass
46
+ attr_reader :management_groups, :management_group_subscriptions, :operations, :entities, :configurable, :base_url, :options, :model_classes
47
+
48
+ def initialize(configurable, base_url=nil, options=nil)
49
+ @configurable, @base_url, @options = configurable, base_url, options
50
+
51
+ @client_0 = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupsAPI.new(configurable.credentials, base_url, options)
52
+ if(@client_0.respond_to?(:subscription_id))
53
+ @client_0.subscription_id = configurable.subscription_id
54
+ end
55
+ add_telemetry(@client_0)
56
+ @management_groups = @client_0.management_groups
57
+ @management_group_subscriptions = @client_0.management_group_subscriptions
58
+ @operations = @client_0.operations
59
+ @entities = @client_0.entities
60
+
61
+ @model_classes = ModelClasses.new
62
+ end
63
+
64
+ def add_telemetry(client)
65
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ResourcesManagement/Mgmt"
66
+ client.add_user_agent_information(profile_information)
67
+ end
68
+
69
+ def method_missing(method, *args)
70
+ if @client_0.respond_to?method
71
+ @client_0.send(method, *args)
72
+ else
73
+ super
74
+ end
75
+ end
76
+
77
+ class ModelClasses
78
+ def management_group
79
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup
80
+ end
81
+ def error_details
82
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails
83
+ end
84
+ def operation_results
85
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults
86
+ end
87
+ def operation_display_properties
88
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties
89
+ end
90
+ def entity_parent_group_info
91
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo
92
+ end
93
+ def operation_list_result
94
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult
95
+ end
96
+ def entity_info
97
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo
98
+ end
99
+ def tenant_backfill_status_result
100
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult
101
+ end
102
+ def entity_list_result
103
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult
104
+ end
105
+ def management_group_list_result
106
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult
107
+ end
108
+ def entity_hierarchy_item
109
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem
110
+ end
111
+ def management_group_details
112
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails
113
+ end
114
+ def patch_management_group_request
115
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest
116
+ end
117
+ def error_response
118
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse
119
+ end
120
+ def create_parent_group_info
121
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo
122
+ end
123
+ def check_name_availability_result
124
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
125
+ end
126
+ def create_management_group_details
127
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails
128
+ end
129
+ def parent_group_info
130
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo
131
+ end
132
+ def create_management_group_child_info
133
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo
134
+ end
135
+ def operation
136
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation
137
+ end
138
+ def create_management_group_request
139
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest
140
+ end
141
+ def management_group_child_info
142
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo
143
+ end
144
+ def check_name_availability_request
145
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest
146
+ end
147
+ def management_group_info
148
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo
149
+ end
150
+ def reason
151
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason
152
+ end
153
+ def status
154
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status
155
+ end
156
+ def type
157
+ Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type
158
+ end
159
+ end
160
+ end
161
+ end
162
+ end
163
+ end
@@ -0,0 +1,227 @@
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_scheduler'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Scheduler
9
+ module Mgmt
10
+ JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections
11
+ Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs
12
+
13
+ module Models
14
+ JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
15
+ Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
16
+ JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
17
+ JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
18
+ JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
19
+ JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
20
+ JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
21
+ HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
22
+ JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
23
+ StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
24
+ JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
25
+ HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
26
+ RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
27
+ ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
28
+ JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
29
+ JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
30
+ JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
31
+ JobCollectionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
32
+ JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
33
+ JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
34
+ JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
35
+ JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
36
+ JobStateFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
37
+ JobRecurrenceScheduleMonthlyOccurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
38
+ ServiceBusMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
39
+ JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
40
+ ServiceBusAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
41
+ ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
42
+ ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
43
+ ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
44
+ BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
45
+ OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
46
+ SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
47
+ JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
48
+ RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
49
+ JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
50
+ RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
51
+ DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
52
+ JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
53
+ JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
54
+ JobHistoryActionName = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
55
+ JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
56
+ ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
57
+ ServiceBusTransportType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
58
+ end
59
+
60
+ class SchedulerManagementClass
61
+ attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes
62
+
63
+ def initialize(configurable, base_url=nil, options=nil)
64
+ @configurable, @base_url, @options = configurable, base_url, options
65
+
66
+ @client_0 = Azure::Scheduler::Mgmt::V2016_03_01::SchedulerManagementClient.new(configurable.credentials, base_url, options)
67
+ if(@client_0.respond_to?(:subscription_id))
68
+ @client_0.subscription_id = configurable.subscription_id
69
+ end
70
+ add_telemetry(@client_0)
71
+ @job_collections = @client_0.job_collections
72
+ @jobs = @client_0.jobs
73
+
74
+ @model_classes = ModelClasses.new
75
+ end
76
+
77
+ def add_telemetry(client)
78
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Scheduler/Mgmt"
79
+ client.add_user_agent_information(profile_information)
80
+ end
81
+
82
+ def method_missing(method, *args)
83
+ if @client_0.respond_to?method
84
+ @client_0.send(method, *args)
85
+ else
86
+ super
87
+ end
88
+ end
89
+
90
+ class ModelClasses
91
+ def job_recurrence
92
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
93
+ end
94
+ def sku
95
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
96
+ end
97
+ def job_status
98
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
99
+ end
100
+ def job_collection_quota
101
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
102
+ end
103
+ def job_properties
104
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
105
+ end
106
+ def job_collection_definition
107
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
108
+ end
109
+ def job_definition
110
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
111
+ end
112
+ def http_authentication
113
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
114
+ end
115
+ def job_list_result
116
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
117
+ end
118
+ def storage_queue_message
119
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
120
+ end
121
+ def job_history_definition_properties
122
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
123
+ end
124
+ def http_request
125
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
126
+ end
127
+ def retry_policy
128
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
129
+ end
130
+ def service_bus_brokered_message_properties
131
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
132
+ end
133
+ def job_action
134
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
135
+ end
136
+ def job_recurrence_schedule
137
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
138
+ end
139
+ def job_history_definition
140
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
141
+ end
142
+ def job_collection_properties
143
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
144
+ end
145
+ def job_history_list_result
146
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
147
+ end
148
+ def job_error_action
149
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
150
+ end
151
+ def job_history_filter
152
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
153
+ end
154
+ def job_max_recurrence
155
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
156
+ end
157
+ def job_state_filter
158
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
159
+ end
160
+ def job_recurrence_schedule_monthly_occurrence
161
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
162
+ end
163
+ def service_bus_message
164
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
165
+ end
166
+ def job_collection_list_result
167
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
168
+ end
169
+ def service_bus_authentication
170
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
171
+ end
172
+ def service_bus_queue_message
173
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
174
+ end
175
+ def service_bus_topic_message
176
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
177
+ end
178
+ def client_cert_authentication
179
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
180
+ end
181
+ def basic_authentication
182
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
183
+ end
184
+ def oauth_authentication
185
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
186
+ end
187
+ def sku_definition
188
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
189
+ end
190
+ def job_collection_state
191
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
192
+ end
193
+ def recurrence_frequency
194
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
195
+ end
196
+ def job_action_type
197
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
198
+ end
199
+ def retry_type
200
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
201
+ end
202
+ def day_of_week
203
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
204
+ end
205
+ def job_schedule_day
206
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
207
+ end
208
+ def job_state
209
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
210
+ end
211
+ def job_history_action_name
212
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
213
+ end
214
+ def job_execution_status
215
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
216
+ end
217
+ def service_bus_authentication_type
218
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
219
+ end
220
+ def service_bus_transport_type
221
+ Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
222
+ end
223
+ end
224
+ end
225
+ end
226
+ end
227
+ end
@@ -0,0 +1,127 @@
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_search'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Search
9
+ module Mgmt
10
+ Operations = Azure::Search::Mgmt::V2015_08_19::Operations
11
+ AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys
12
+ QueryKeys = Azure::Search::Mgmt::V2015_08_19::QueryKeys
13
+ Services = Azure::Search::Mgmt::V2015_08_19::Services
14
+
15
+ module Models
16
+ Identity = Azure::Search::Mgmt::V2015_08_19::Models::Identity
17
+ CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
18
+ Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource
19
+ QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
20
+ Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku
21
+ CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
22
+ OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay
23
+ Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation
24
+ AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
25
+ OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult
26
+ SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
27
+ SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService
28
+ UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason
29
+ SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName
30
+ HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode
31
+ SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus
32
+ ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState
33
+ AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind
34
+ end
35
+
36
+ class SearchManagementClass
37
+ attr_reader :operations, :admin_keys, :query_keys, :services, :configurable, :base_url, :options, :model_classes
38
+
39
+ def initialize(configurable, base_url=nil, options=nil)
40
+ @configurable, @base_url, @options = configurable, base_url, options
41
+
42
+ @client_0 = Azure::Search::Mgmt::V2015_08_19::SearchManagementClient.new(configurable.credentials, base_url, options)
43
+ if(@client_0.respond_to?(:subscription_id))
44
+ @client_0.subscription_id = configurable.subscription_id
45
+ end
46
+ add_telemetry(@client_0)
47
+ @operations = @client_0.operations
48
+ @admin_keys = @client_0.admin_keys
49
+ @query_keys = @client_0.query_keys
50
+ @services = @client_0.services
51
+
52
+ @model_classes = ModelClasses.new
53
+ end
54
+
55
+ def add_telemetry(client)
56
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Search/Mgmt"
57
+ client.add_user_agent_information(profile_information)
58
+ end
59
+
60
+ def method_missing(method, *args)
61
+ if @client_0.respond_to?method
62
+ @client_0.send(method, *args)
63
+ else
64
+ super
65
+ end
66
+ end
67
+
68
+ class ModelClasses
69
+ def identity
70
+ Azure::Search::Mgmt::V2015_08_19::Models::Identity
71
+ end
72
+ def check_name_availability_output
73
+ Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
74
+ end
75
+ def resource
76
+ Azure::Search::Mgmt::V2015_08_19::Models::Resource
77
+ end
78
+ def query_key
79
+ Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
80
+ end
81
+ def sku
82
+ Azure::Search::Mgmt::V2015_08_19::Models::Sku
83
+ end
84
+ def check_name_availability_input
85
+ Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
86
+ end
87
+ def operation_display
88
+ Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay
89
+ end
90
+ def operation
91
+ Azure::Search::Mgmt::V2015_08_19::Models::Operation
92
+ end
93
+ def admin_key_result
94
+ Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
95
+ end
96
+ def operation_list_result
97
+ Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult
98
+ end
99
+ def search_management_request_options
100
+ Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
101
+ end
102
+ def search_service
103
+ Azure::Search::Mgmt::V2015_08_19::Models::SearchService
104
+ end
105
+ def unavailable_name_reason
106
+ Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason
107
+ end
108
+ def sku_name
109
+ Azure::Search::Mgmt::V2015_08_19::Models::SkuName
110
+ end
111
+ def hosting_mode
112
+ Azure::Search::Mgmt::V2015_08_19::Models::HostingMode
113
+ end
114
+ def search_service_status
115
+ Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus
116
+ end
117
+ def provisioning_state
118
+ Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState
119
+ end
120
+ def admin_key_kind
121
+ Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind
122
+ end
123
+ end
124
+ end
125
+ end
126
+ end
127
+ end