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,123 @@
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_operations_management'
6
+
7
+ module Azure::Profiles::Latest
8
+ module OperationsManagement
9
+ module Mgmt
10
+ Solutions = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Solutions
11
+ ManagementAssociations = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::ManagementAssociations
12
+ ManagementConfigurations = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::ManagementConfigurations
13
+ Operations = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Operations
14
+
15
+ module Models
16
+ Solution = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::Solution
17
+ SolutionPropertiesList = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPropertiesList
18
+ Operation = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::Operation
19
+ ManagementAssociation = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociation
20
+ SolutionProperties = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionProperties
21
+ ManagementAssociationPropertiesList = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociationPropertiesList
22
+ ArmTemplateParameter = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ArmTemplateParameter
23
+ ManagementConfiguration = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfiguration
24
+ SolutionPlan = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPlan
25
+ ManagementConfigurationPropertiesList = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfigurationPropertiesList
26
+ OperationListResult = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::OperationListResult
27
+ SolutionPatch = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPatch
28
+ ManagementConfigurationProperties = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfigurationProperties
29
+ CodeMessageErrorError = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::CodeMessageErrorError
30
+ ManagementAssociationProperties = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociationProperties
31
+ CodeMessageError = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::CodeMessageError
32
+ OperationDisplay = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::OperationDisplay
33
+ end
34
+
35
+ class OperationsManagementManagementClass
36
+ attr_reader :solutions, :management_associations, :management_configurations, :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::OperationsManagement::Mgmt::V2015_11_01_preview::OperationsManagementClient.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
+ @solutions = @client_0.solutions
47
+ @management_associations = @client_0.management_associations
48
+ @management_configurations = @client_0.management_configurations
49
+ @operations = @client_0.operations
50
+
51
+ @model_classes = ModelClasses.new
52
+ end
53
+
54
+ def add_telemetry(client)
55
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/OperationsManagement/Mgmt"
56
+ client.add_user_agent_information(profile_information)
57
+ end
58
+
59
+ def method_missing(method, *args)
60
+ if @client_0.respond_to?method
61
+ @client_0.send(method, *args)
62
+ else
63
+ super
64
+ end
65
+ end
66
+
67
+ class ModelClasses
68
+ def solution
69
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::Solution
70
+ end
71
+ def solution_properties_list
72
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPropertiesList
73
+ end
74
+ def operation
75
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::Operation
76
+ end
77
+ def management_association
78
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociation
79
+ end
80
+ def solution_properties
81
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionProperties
82
+ end
83
+ def management_association_properties_list
84
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociationPropertiesList
85
+ end
86
+ def arm_template_parameter
87
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ArmTemplateParameter
88
+ end
89
+ def management_configuration
90
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfiguration
91
+ end
92
+ def solution_plan
93
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPlan
94
+ end
95
+ def management_configuration_properties_list
96
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfigurationPropertiesList
97
+ end
98
+ def operation_list_result
99
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::OperationListResult
100
+ end
101
+ def solution_patch
102
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPatch
103
+ end
104
+ def management_configuration_properties
105
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfigurationProperties
106
+ end
107
+ def code_message_error_error
108
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::CodeMessageErrorError
109
+ end
110
+ def management_association_properties
111
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociationProperties
112
+ end
113
+ def code_message_error
114
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::CodeMessageError
115
+ end
116
+ def operation_display
117
+ Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::OperationDisplay
118
+ end
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,259 @@
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_peering'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Peering
9
+ module Mgmt
10
+ LegacyPeerings = Azure::Peering::Mgmt::V2019_08_01_preview::LegacyPeerings
11
+ Operations = Azure::Peering::Mgmt::V2019_08_01_preview::Operations
12
+ PeerAsns = Azure::Peering::Mgmt::V2019_08_01_preview::PeerAsns
13
+ PeeringLocations = Azure::Peering::Mgmt::V2019_08_01_preview::PeeringLocations
14
+ Peerings = Azure::Peering::Mgmt::V2019_08_01_preview::Peerings
15
+ PeeringServiceLocations = Azure::Peering::Mgmt::V2019_08_01_preview::PeeringServiceLocations
16
+ PeeringServicePrefixes = Azure::Peering::Mgmt::V2019_08_01_preview::PeeringServicePrefixes
17
+ Prefixes = Azure::Peering::Mgmt::V2019_08_01_preview::Prefixes
18
+ PeeringServiceProviders = Azure::Peering::Mgmt::V2019_08_01_preview::PeeringServiceProviders
19
+ PeeringServices = Azure::Peering::Mgmt::V2019_08_01_preview::PeeringServices
20
+
21
+ module Models
22
+ PeeringBandwidthOffer = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringBandwidthOffer
23
+ CheckServiceProviderAvailabilityInput = Azure::Peering::Mgmt::V2019_08_01_preview::Models::CheckServiceProviderAvailabilityInput
24
+ PeeringLocationPropertiesDirect = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocationPropertiesDirect
25
+ BgpSession = Azure::Peering::Mgmt::V2019_08_01_preview::Models::BgpSession
26
+ ExchangePeeringFacility = Azure::Peering::Mgmt::V2019_08_01_preview::Models::ExchangePeeringFacility
27
+ SubResource = Azure::Peering::Mgmt::V2019_08_01_preview::Models::SubResource
28
+ PeeringLocationPropertiesExchange = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocationPropertiesExchange
29
+ ExchangeConnection = Azure::Peering::Mgmt::V2019_08_01_preview::Models::ExchangeConnection
30
+ DirectConnection = Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectConnection
31
+ PeeringPropertiesDirect = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringPropertiesDirect
32
+ PeeringListResult = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringListResult
33
+ PeeringPropertiesExchange = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringPropertiesExchange
34
+ Operation = Azure::Peering::Mgmt::V2019_08_01_preview::Models::Operation
35
+ ContactInfo = Azure::Peering::Mgmt::V2019_08_01_preview::Models::ContactInfo
36
+ PeeringLocationListResult = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocationListResult
37
+ PeerAsnListResult = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeerAsnListResult
38
+ ResourceTags = Azure::Peering::Mgmt::V2019_08_01_preview::Models::ResourceTags
39
+ PeeringSku = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringSku
40
+ Resource = Azure::Peering::Mgmt::V2019_08_01_preview::Models::Resource
41
+ OperationDisplayInfo = Azure::Peering::Mgmt::V2019_08_01_preview::Models::OperationDisplayInfo
42
+ PeeringServiceLocationListResult = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceLocationListResult
43
+ PeeringServiceProviderListResult = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceProviderListResult
44
+ DirectPeeringFacility = Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectPeeringFacility
45
+ ErrorResponse = Azure::Peering::Mgmt::V2019_08_01_preview::Models::ErrorResponse
46
+ OperationListResult = Azure::Peering::Mgmt::V2019_08_01_preview::Models::OperationListResult
47
+ PeeringServicePrefixListResult = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServicePrefixListResult
48
+ PeeringServiceListResult = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceListResult
49
+ Peering = Azure::Peering::Mgmt::V2019_08_01_preview::Models::Peering
50
+ PeerAsn = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeerAsn
51
+ PeeringLocation = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocation
52
+ PeeringServiceLocation = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceLocation
53
+ PeeringServicePrefix = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServicePrefix
54
+ PeeringServiceProvider = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceProvider
55
+ PeeringService = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringService
56
+ Name = Azure::Peering::Mgmt::V2019_08_01_preview::Models::Name
57
+ Tier = Azure::Peering::Mgmt::V2019_08_01_preview::Models::Tier
58
+ Family = Azure::Peering::Mgmt::V2019_08_01_preview::Models::Family
59
+ Size = Azure::Peering::Mgmt::V2019_08_01_preview::Models::Size
60
+ Kind = Azure::Peering::Mgmt::V2019_08_01_preview::Models::Kind
61
+ SessionAddressProvider = Azure::Peering::Mgmt::V2019_08_01_preview::Models::SessionAddressProvider
62
+ ConnectionState = Azure::Peering::Mgmt::V2019_08_01_preview::Models::ConnectionState
63
+ SessionStateV4 = Azure::Peering::Mgmt::V2019_08_01_preview::Models::SessionStateV4
64
+ SessionStateV6 = Azure::Peering::Mgmt::V2019_08_01_preview::Models::SessionStateV6
65
+ DirectPeeringType = Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectPeeringType
66
+ ProvisioningState = Azure::Peering::Mgmt::V2019_08_01_preview::Models::ProvisioningState
67
+ ValidationState = Azure::Peering::Mgmt::V2019_08_01_preview::Models::ValidationState
68
+ PrefixValidationState = Azure::Peering::Mgmt::V2019_08_01_preview::Models::PrefixValidationState
69
+ LearnedType = Azure::Peering::Mgmt::V2019_08_01_preview::Models::LearnedType
70
+ end
71
+
72
+ class PeeringManagementClass
73
+ attr_reader :legacy_peerings, :operations, :peer_asns, :peering_locations, :peerings, :peering_service_locations, :peering_service_prefixes, :prefixes, :peering_service_providers, :peering_services, :configurable, :base_url, :options, :model_classes
74
+
75
+ def initialize(configurable, base_url=nil, options=nil)
76
+ @configurable, @base_url, @options = configurable, base_url, options
77
+
78
+ @client_0 = Azure::Peering::Mgmt::V2019_08_01_preview::PeeringClient.new(configurable.credentials, base_url, options)
79
+ if(@client_0.respond_to?(:subscription_id))
80
+ @client_0.subscription_id = configurable.subscription_id
81
+ end
82
+ add_telemetry(@client_0)
83
+ @legacy_peerings = @client_0.legacy_peerings
84
+ @operations = @client_0.operations
85
+ @peer_asns = @client_0.peer_asns
86
+ @peering_locations = @client_0.peering_locations
87
+ @peerings = @client_0.peerings
88
+ @peering_service_locations = @client_0.peering_service_locations
89
+ @peering_service_prefixes = @client_0.peering_service_prefixes
90
+ @prefixes = @client_0.prefixes
91
+ @peering_service_providers = @client_0.peering_service_providers
92
+ @peering_services = @client_0.peering_services
93
+
94
+ @model_classes = ModelClasses.new
95
+ end
96
+
97
+ def add_telemetry(client)
98
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Peering/Mgmt"
99
+ client.add_user_agent_information(profile_information)
100
+ end
101
+
102
+ def method_missing(method, *args)
103
+ if @client_0.respond_to?method
104
+ @client_0.send(method, *args)
105
+ else
106
+ super
107
+ end
108
+ end
109
+
110
+ class ModelClasses
111
+ def peering_bandwidth_offer
112
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringBandwidthOffer
113
+ end
114
+ def check_service_provider_availability_input
115
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::CheckServiceProviderAvailabilityInput
116
+ end
117
+ def peering_location_properties_direct
118
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocationPropertiesDirect
119
+ end
120
+ def bgp_session
121
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::BgpSession
122
+ end
123
+ def exchange_peering_facility
124
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::ExchangePeeringFacility
125
+ end
126
+ def sub_resource
127
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::SubResource
128
+ end
129
+ def peering_location_properties_exchange
130
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocationPropertiesExchange
131
+ end
132
+ def exchange_connection
133
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::ExchangeConnection
134
+ end
135
+ def direct_connection
136
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectConnection
137
+ end
138
+ def peering_properties_direct
139
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringPropertiesDirect
140
+ end
141
+ def peering_list_result
142
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringListResult
143
+ end
144
+ def peering_properties_exchange
145
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringPropertiesExchange
146
+ end
147
+ def operation
148
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::Operation
149
+ end
150
+ def contact_info
151
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::ContactInfo
152
+ end
153
+ def peering_location_list_result
154
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocationListResult
155
+ end
156
+ def peer_asn_list_result
157
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeerAsnListResult
158
+ end
159
+ def resource_tags
160
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::ResourceTags
161
+ end
162
+ def peering_sku
163
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringSku
164
+ end
165
+ def resource
166
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::Resource
167
+ end
168
+ def operation_display_info
169
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::OperationDisplayInfo
170
+ end
171
+ def peering_service_location_list_result
172
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceLocationListResult
173
+ end
174
+ def peering_service_provider_list_result
175
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceProviderListResult
176
+ end
177
+ def direct_peering_facility
178
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectPeeringFacility
179
+ end
180
+ def error_response
181
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::ErrorResponse
182
+ end
183
+ def operation_list_result
184
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::OperationListResult
185
+ end
186
+ def peering_service_prefix_list_result
187
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServicePrefixListResult
188
+ end
189
+ def peering_service_list_result
190
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceListResult
191
+ end
192
+ def peering
193
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::Peering
194
+ end
195
+ def peer_asn
196
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeerAsn
197
+ end
198
+ def peering_location
199
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocation
200
+ end
201
+ def peering_service_location
202
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceLocation
203
+ end
204
+ def peering_service_prefix
205
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServicePrefix
206
+ end
207
+ def peering_service_provider
208
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceProvider
209
+ end
210
+ def peering_service
211
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringService
212
+ end
213
+ def name
214
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::Name
215
+ end
216
+ def tier
217
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::Tier
218
+ end
219
+ def family
220
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::Family
221
+ end
222
+ def size
223
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::Size
224
+ end
225
+ def kind
226
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::Kind
227
+ end
228
+ def session_address_provider
229
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::SessionAddressProvider
230
+ end
231
+ def connection_state
232
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::ConnectionState
233
+ end
234
+ def session_state_v4
235
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::SessionStateV4
236
+ end
237
+ def session_state_v6
238
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::SessionStateV6
239
+ end
240
+ def direct_peering_type
241
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectPeeringType
242
+ end
243
+ def provisioning_state
244
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::ProvisioningState
245
+ end
246
+ def validation_state
247
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::ValidationState
248
+ end
249
+ def prefix_validation_state
250
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::PrefixValidationState
251
+ end
252
+ def learned_type
253
+ Azure::Peering::Mgmt::V2019_08_01_preview::Models::LearnedType
254
+ end
255
+ end
256
+ end
257
+ end
258
+ end
259
+ end
@@ -0,0 +1,83 @@
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_cognitiveservices_personalizer'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Personalizer
9
+ Events = Azure::CognitiveServices::Personalizer::V1_0::Events
10
+
11
+ module Models
12
+ RankableAction = Azure::CognitiveServices::Personalizer::V1_0::Models::RankableAction
13
+ InternalError = Azure::CognitiveServices::Personalizer::V1_0::Models::InternalError
14
+ RankRequest = Azure::CognitiveServices::Personalizer::V1_0::Models::RankRequest
15
+ ErrorResponse = Azure::CognitiveServices::Personalizer::V1_0::Models::ErrorResponse
16
+ RankedAction = Azure::CognitiveServices::Personalizer::V1_0::Models::RankedAction
17
+ PersonalizerError = Azure::CognitiveServices::Personalizer::V1_0::Models::PersonalizerError
18
+ RankResponse = Azure::CognitiveServices::Personalizer::V1_0::Models::RankResponse
19
+ RewardRequest = Azure::CognitiveServices::Personalizer::V1_0::Models::RewardRequest
20
+ ErrorCode = Azure::CognitiveServices::Personalizer::V1_0::Models::ErrorCode
21
+ end
22
+
23
+ class PersonalizerDataClass
24
+ attr_reader :events, :configurable, :base_url, :options, :model_classes
25
+
26
+ def initialize(configurable, base_url=nil, options=nil)
27
+ @configurable, @base_url, @options = configurable, base_url, options
28
+
29
+ @client_0 = Azure::CognitiveServices::Personalizer::V1_0::PersonalizerClient.new(configurable.credentials, options)
30
+ if(@client_0.respond_to?(:subscription_id))
31
+ @client_0.subscription_id = configurable.subscription_id
32
+ end
33
+ add_telemetry(@client_0)
34
+ @events = @client_0.events
35
+
36
+ @model_classes = ModelClasses.new
37
+ end
38
+
39
+ def add_telemetry(client)
40
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Personalizer"
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 rankable_action
54
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RankableAction
55
+ end
56
+ def internal_error
57
+ Azure::CognitiveServices::Personalizer::V1_0::Models::InternalError
58
+ end
59
+ def rank_request
60
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RankRequest
61
+ end
62
+ def error_response
63
+ Azure::CognitiveServices::Personalizer::V1_0::Models::ErrorResponse
64
+ end
65
+ def ranked_action
66
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RankedAction
67
+ end
68
+ def personalizer_error
69
+ Azure::CognitiveServices::Personalizer::V1_0::Models::PersonalizerError
70
+ end
71
+ def rank_response
72
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RankResponse
73
+ end
74
+ def reward_request
75
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RewardRequest
76
+ end
77
+ def error_code
78
+ Azure::CognitiveServices::Personalizer::V1_0::Models::ErrorCode
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end