azure_sdk 0.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_sdk.rb +9 -0
- data/lib/azure_sdk/version.rb +7 -0
- data/lib/latest/latest_profile_client.rb +1347 -0
- data/lib/latest/module_definition.rb +7 -0
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -0
- data/lib/latest/modules/advisor_profile_module.rb +153 -0
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -0
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -0
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -0
- data/lib/latest/modules/apimanagement_profile_module.rb +1163 -0
- data/lib/latest/modules/appconfiguration_profile_module.rb +183 -0
- data/lib/latest/modules/attestation_profile_module.rb +95 -0
- data/lib/latest/modules/authorization_profile_module.rb +167 -0
- data/lib/latest/modules/automation_profile_module.rb +663 -0
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -0
- data/lib/latest/modules/azurestack_profile_module.rb +187 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -0
- data/lib/latest/modules/batchai_profile_module.rb +425 -0
- data/lib/latest/modules/billing_profile_module.rb +107 -0
- data/lib/latest/modules/botservice_profile_module.rb +293 -0
- data/lib/latest/modules/cdn_profile_module.rb +723 -0
- data/lib/latest/modules/cognitiveservices_profile_module.rb +289 -0
- data/lib/latest/modules/commerce_profile_module.rb +99 -0
- data/lib/latest/modules/compute_profile_module.rb +1295 -0
- data/lib/latest/modules/computervision_profile_module.rb +233 -0
- data/lib/latest/modules/consumption_profile_module.rb +345 -0
- data/lib/latest/modules/containerinstance_profile_module.rb +291 -0
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -0
- data/lib/latest/modules/containerservice_profile_module.rb +459 -0
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -0
- data/lib/latest/modules/cosmosdb_profile_module.rb +679 -0
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -0
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -0
- data/lib/latest/modules/customsearch_profile_module.rb +123 -0
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -0
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -0
- data/lib/latest/modules/databox_profile_module.rb +309 -0
- data/lib/latest/modules/datafactory_profile_module.rb +2809 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -0
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -0
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -0
- data/lib/latest/modules/datashare_profile_module.rb +399 -0
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -0
- data/lib/latest/modules/devspaces_profile_module.rb +119 -0
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -0
- data/lib/latest/modules/dns_profile_module.rb +143 -0
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -0
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +719 -0
- data/lib/latest/modules/eventhub_profile_module.rb +195 -0
- data/lib/latest/modules/face_profile_module.rb +297 -0
- data/lib/latest/modules/features_profile_module.rb +73 -0
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -0
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -0
- data/lib/latest/modules/hdinsight_profile_module.rb +441 -0
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
- data/lib/latest/modules/importexport_profile_module.rb +135 -0
- data/lib/latest/modules/iotcentral_profile_module.rb +107 -0
- data/lib/latest/modules/iothub_profile_module.rb +377 -0
- data/lib/latest/modules/keyvault_profile_module.rb +623 -0
- data/lib/latest/modules/kubernetesconfiguration_profile_module.rb +123 -0
- data/lib/latest/modules/kusto_profile_module.rb +365 -0
- data/lib/latest/modules/labservices_profile_module.rb +357 -0
- data/lib/latest/modules/links_profile_module.rb +83 -0
- data/lib/latest/modules/localsearch_profile_module.rb +151 -0
- data/lib/latest/modules/locks_profile_module.rb +79 -0
- data/lib/latest/modules/logic_profile_module.rb +787 -0
- data/lib/latest/modules/luisauthoring_profile_module.rb +505 -0
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -0
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -0
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -0
- data/lib/latest/modules/maintenance_profile_module.rb +121 -0
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -0
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -0
- data/lib/latest/modules/mariadb_profile_module.rb +233 -0
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -0
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -0
- data/lib/latest/modules/migrate_profile_module.rb +243 -0
- data/lib/latest/modules/mixedreality_profile_module.rb +169 -0
- data/lib/latest/modules/monitor_profile_module.rb +723 -0
- data/lib/latest/modules/mysql_profile_module.rb +233 -0
- data/lib/latest/modules/netapp_profile_module.rb +207 -0
- data/lib/latest/modules/network_profile_module.rb +2937 -0
- data/lib/latest/modules/newssearch_profile_module.rb +143 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -0
- data/lib/latest/modules/operationalinsights_profile_module.rb +405 -0
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -0
- data/lib/latest/modules/peering_profile_module.rb +259 -0
- data/lib/latest/modules/personalizer_profile_module.rb +83 -0
- data/lib/latest/modules/policy_profile_module.rb +105 -0
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -0
- data/lib/latest/modules/portal_profile_module.rb +95 -0
- data/lib/latest/modules/postgresql_profile_module.rb +233 -0
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -0
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -0
- data/lib/latest/modules/privatedns_profile_module.rb +137 -0
- data/lib/latest/modules/qnamaker_profile_module.rb +215 -0
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -0
- data/lib/latest/modules/recoveryservices_profile_module.rb +253 -0
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1343 -0
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -0
- data/lib/latest/modules/redis_profile_module.rb +209 -0
- data/lib/latest/modules/relay_profile_module.rb +163 -0
- data/lib/latest/modules/reservations_profile_module.rb +347 -0
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -0
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -0
- data/lib/latest/modules/resources_profile_module.rb +321 -0
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -0
- data/lib/latest/modules/scheduler_profile_module.rb +227 -0
- data/lib/latest/modules/search_profile_module.rb +127 -0
- data/lib/latest/modules/security_profile_module.rb +841 -0
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -0
- data/lib/latest/modules/servicebus_profile_module.rb +309 -0
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -0
- data/lib/latest/modules/signalr_profile_module.rb +233 -0
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
- data/lib/latest/modules/sql_profile_module.rb +1765 -0
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -0
- data/lib/latest/modules/storage_profile_module.rb +693 -0
- data/lib/latest/modules/storagecache_profile_module.rb +217 -0
- data/lib/latest/modules/storagesync_profile_module.rb +275 -0
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -0
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -0
- data/lib/latest/modules/subscriptions_profile_module.rb +235 -0
- data/lib/latest/modules/support_profile_module.rb +177 -0
- data/lib/latest/modules/synapse_profile_module.rb +827 -0
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -0
- data/lib/latest/modules/timeseriesinsights_profile_module.rb +309 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -0
- data/lib/latest/modules/videosearch_profile_module.rb +175 -0
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -0
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -0
- data/lib/latest/modules/web_profile_module.rb +1419 -0
- data/lib/latest/modules/websearch_profile_module.rb +211 -0
- data/lib/v2017_03_09/module_definition.rb +7 -0
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -0
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -0
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -0
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -0
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -0
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -0
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -0
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -0
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -0
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -0
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -0
- data/lib/v2018_03_01/module_definition.rb +7 -0
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -0
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -0
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -0
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -0
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -0
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -0
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -0
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -0
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -0
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -0
- data/lib/v2019_03_01_hybrid/module_definition.rb +7 -0
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -0
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -0
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -0
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -0
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -0
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -0
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -0
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -0
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -0
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -0
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -0
- metadata +2187 -0
@@ -0,0 +1,209 @@
|
|
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_redis'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Redis
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::Redis::Mgmt::V2018_03_01::Operations
|
11
|
+
Redis = Azure::Redis::Mgmt::V2018_03_01::Redis
|
12
|
+
FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules
|
13
|
+
PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules
|
14
|
+
LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer
|
15
|
+
|
16
|
+
module Models
|
17
|
+
RedisRebootParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters
|
18
|
+
Sku = Azure::Redis::Mgmt::V2018_03_01::Models::Sku
|
19
|
+
ExportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters
|
20
|
+
RedisListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult
|
21
|
+
RedisAccessKeys = Azure::Redis::Mgmt::V2018_03_01::Models::RedisAccessKeys
|
22
|
+
RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters
|
23
|
+
Resource = Azure::Redis::Mgmt::V2018_03_01::Models::Resource
|
24
|
+
NotificationListResponse = Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse
|
25
|
+
OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult
|
26
|
+
RedisUpdateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters
|
27
|
+
ImportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters
|
28
|
+
RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters
|
29
|
+
ScheduleEntry = Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry
|
30
|
+
CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters
|
31
|
+
Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation
|
32
|
+
RedisPatchScheduleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult
|
33
|
+
UpgradeNotification = Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification
|
34
|
+
RedisForceRebootResponse = Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse
|
35
|
+
RedisLinkedServer = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer
|
36
|
+
OperationDisplay = Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay
|
37
|
+
RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult
|
38
|
+
RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList
|
39
|
+
RedisCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters
|
40
|
+
RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters
|
41
|
+
ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource
|
42
|
+
TrackedResource = Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource
|
43
|
+
RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule
|
44
|
+
RedisResource = Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource
|
45
|
+
RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule
|
46
|
+
RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties
|
47
|
+
SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName
|
48
|
+
SkuFamily = Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily
|
49
|
+
TlsVersion = Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion
|
50
|
+
ProvisioningState = Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState
|
51
|
+
RedisKeyType = Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType
|
52
|
+
RebootType = Azure::Redis::Mgmt::V2018_03_01::Models::RebootType
|
53
|
+
DayOfWeek = Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek
|
54
|
+
ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole
|
55
|
+
end
|
56
|
+
|
57
|
+
class RedisManagementClass
|
58
|
+
attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes
|
59
|
+
|
60
|
+
def initialize(configurable, base_url=nil, options=nil)
|
61
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
62
|
+
|
63
|
+
@client_0 = Azure::Redis::Mgmt::V2018_03_01::RedisManagementClient.new(configurable.credentials, base_url, options)
|
64
|
+
if(@client_0.respond_to?(:subscription_id))
|
65
|
+
@client_0.subscription_id = configurable.subscription_id
|
66
|
+
end
|
67
|
+
add_telemetry(@client_0)
|
68
|
+
@operations = @client_0.operations
|
69
|
+
@redis = @client_0.redis
|
70
|
+
@firewall_rules = @client_0.firewall_rules
|
71
|
+
@patch_schedules = @client_0.patch_schedules
|
72
|
+
@linked_server = @client_0.linked_server
|
73
|
+
|
74
|
+
@model_classes = ModelClasses.new
|
75
|
+
end
|
76
|
+
|
77
|
+
def add_telemetry(client)
|
78
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Redis/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 redis_reboot_parameters
|
92
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters
|
93
|
+
end
|
94
|
+
def sku
|
95
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::Sku
|
96
|
+
end
|
97
|
+
def export_rdbparameters
|
98
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters
|
99
|
+
end
|
100
|
+
def redis_list_result
|
101
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult
|
102
|
+
end
|
103
|
+
def redis_access_keys
|
104
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisAccessKeys
|
105
|
+
end
|
106
|
+
def redis_regenerate_key_parameters
|
107
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters
|
108
|
+
end
|
109
|
+
def resource
|
110
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::Resource
|
111
|
+
end
|
112
|
+
def notification_list_response
|
113
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse
|
114
|
+
end
|
115
|
+
def operation_list_result
|
116
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult
|
117
|
+
end
|
118
|
+
def redis_update_parameters
|
119
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters
|
120
|
+
end
|
121
|
+
def import_rdbparameters
|
122
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters
|
123
|
+
end
|
124
|
+
def redis_firewall_rule_create_parameters
|
125
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters
|
126
|
+
end
|
127
|
+
def schedule_entry
|
128
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry
|
129
|
+
end
|
130
|
+
def check_name_availability_parameters
|
131
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters
|
132
|
+
end
|
133
|
+
def operation
|
134
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::Operation
|
135
|
+
end
|
136
|
+
def redis_patch_schedule_list_result
|
137
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult
|
138
|
+
end
|
139
|
+
def upgrade_notification
|
140
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification
|
141
|
+
end
|
142
|
+
def redis_force_reboot_response
|
143
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse
|
144
|
+
end
|
145
|
+
def redis_linked_server
|
146
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer
|
147
|
+
end
|
148
|
+
def operation_display
|
149
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay
|
150
|
+
end
|
151
|
+
def redis_firewall_rule_list_result
|
152
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult
|
153
|
+
end
|
154
|
+
def redis_linked_server_with_properties_list
|
155
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList
|
156
|
+
end
|
157
|
+
def redis_create_parameters
|
158
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters
|
159
|
+
end
|
160
|
+
def redis_linked_server_create_parameters
|
161
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters
|
162
|
+
end
|
163
|
+
def proxy_resource
|
164
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource
|
165
|
+
end
|
166
|
+
def tracked_resource
|
167
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource
|
168
|
+
end
|
169
|
+
def redis_firewall_rule
|
170
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule
|
171
|
+
end
|
172
|
+
def redis_resource
|
173
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource
|
174
|
+
end
|
175
|
+
def redis_patch_schedule
|
176
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule
|
177
|
+
end
|
178
|
+
def redis_linked_server_with_properties
|
179
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties
|
180
|
+
end
|
181
|
+
def sku_name
|
182
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::SkuName
|
183
|
+
end
|
184
|
+
def sku_family
|
185
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily
|
186
|
+
end
|
187
|
+
def tls_version
|
188
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion
|
189
|
+
end
|
190
|
+
def provisioning_state
|
191
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState
|
192
|
+
end
|
193
|
+
def redis_key_type
|
194
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType
|
195
|
+
end
|
196
|
+
def reboot_type
|
197
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::RebootType
|
198
|
+
end
|
199
|
+
def day_of_week
|
200
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek
|
201
|
+
end
|
202
|
+
def replication_role
|
203
|
+
Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|
@@ -0,0 +1,163 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'azure_mgmt_relay'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Relay
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::Relay::Mgmt::V2017_04_01::Operations
|
11
|
+
Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces
|
12
|
+
HybridConnections = Azure::Relay::Mgmt::V2017_04_01::HybridConnections
|
13
|
+
WCFRelays = Azure::Relay::Mgmt::V2017_04_01::WCFRelays
|
14
|
+
|
15
|
+
module Models
|
16
|
+
RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult
|
17
|
+
OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay
|
18
|
+
Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource
|
19
|
+
CheckNameAvailability = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability
|
20
|
+
HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult
|
21
|
+
CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
|
22
|
+
WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult
|
23
|
+
ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse
|
24
|
+
OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult
|
25
|
+
AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
|
26
|
+
Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku
|
27
|
+
AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys
|
28
|
+
Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation
|
29
|
+
RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
|
30
|
+
TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource
|
31
|
+
ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch
|
32
|
+
HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection
|
33
|
+
WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay
|
34
|
+
RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace
|
35
|
+
RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters
|
36
|
+
AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule
|
37
|
+
Relaytype = Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype
|
38
|
+
SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier
|
39
|
+
ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum
|
40
|
+
AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights
|
41
|
+
KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType
|
42
|
+
UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason
|
43
|
+
end
|
44
|
+
|
45
|
+
class RelayManagementClass
|
46
|
+
attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :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::Relay::Mgmt::V2017_04_01::RelayManagementClient.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
|
+
@operations = @client_0.operations
|
57
|
+
@namespaces = @client_0.namespaces
|
58
|
+
@hybrid_connections = @client_0.hybrid_connections
|
59
|
+
@wcfrelays = @client_0.wcfrelays
|
60
|
+
|
61
|
+
@model_classes = ModelClasses.new
|
62
|
+
end
|
63
|
+
|
64
|
+
def add_telemetry(client)
|
65
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Relay/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 relay_namespace_list_result
|
79
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult
|
80
|
+
end
|
81
|
+
def operation_display
|
82
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay
|
83
|
+
end
|
84
|
+
def resource
|
85
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::Resource
|
86
|
+
end
|
87
|
+
def check_name_availability
|
88
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability
|
89
|
+
end
|
90
|
+
def hybrid_connection_list_result
|
91
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult
|
92
|
+
end
|
93
|
+
def check_name_availability_result
|
94
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
|
95
|
+
end
|
96
|
+
def wcf_relays_list_result
|
97
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult
|
98
|
+
end
|
99
|
+
def error_response
|
100
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse
|
101
|
+
end
|
102
|
+
def operation_list_result
|
103
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult
|
104
|
+
end
|
105
|
+
def authorization_rule_list_result
|
106
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
|
107
|
+
end
|
108
|
+
def sku
|
109
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::Sku
|
110
|
+
end
|
111
|
+
def access_keys
|
112
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys
|
113
|
+
end
|
114
|
+
def operation
|
115
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::Operation
|
116
|
+
end
|
117
|
+
def regenerate_access_key_parameters
|
118
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
|
119
|
+
end
|
120
|
+
def tracked_resource
|
121
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource
|
122
|
+
end
|
123
|
+
def resource_namespace_patch
|
124
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch
|
125
|
+
end
|
126
|
+
def hybrid_connection
|
127
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection
|
128
|
+
end
|
129
|
+
def wcf_relay
|
130
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay
|
131
|
+
end
|
132
|
+
def relay_namespace
|
133
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace
|
134
|
+
end
|
135
|
+
def relay_update_parameters
|
136
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters
|
137
|
+
end
|
138
|
+
def authorization_rule
|
139
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule
|
140
|
+
end
|
141
|
+
def relaytype
|
142
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype
|
143
|
+
end
|
144
|
+
def sku_tier
|
145
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier
|
146
|
+
end
|
147
|
+
def provisioning_state_enum
|
148
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum
|
149
|
+
end
|
150
|
+
def access_rights
|
151
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights
|
152
|
+
end
|
153
|
+
def key_type
|
154
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::KeyType
|
155
|
+
end
|
156
|
+
def unavailable_reason
|
157
|
+
Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
@@ -0,0 +1,347 @@
|
|
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_reservations'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Reservations
|
9
|
+
module Mgmt
|
10
|
+
Reservation = Azure::Reservations::Mgmt::V2019_04_01_preview::Reservation
|
11
|
+
ReservationOrder = Azure::Reservations::Mgmt::V2019_04_01_preview::ReservationOrder
|
12
|
+
Operation = Azure::Reservations::Mgmt::V2019_04_01_preview::Operation
|
13
|
+
Quota = Azure::Reservations::Mgmt::V2019_07_19_preview::Quota
|
14
|
+
QuotaRequestStatus = Azure::Reservations::Mgmt::V2019_07_19_preview::QuotaRequestStatus
|
15
|
+
AutoQuotaIncrease = Azure::Reservations::Mgmt::V2019_07_19_preview::AutoQuotaIncrease
|
16
|
+
|
17
|
+
module Models
|
18
|
+
CalculatePriceResponsePropertiesPricingCurrencyTotal = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesPricingCurrencyTotal
|
19
|
+
SkuName = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuName
|
20
|
+
CalculatePriceResponseProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponseProperties
|
21
|
+
SkuRestriction = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuRestriction
|
22
|
+
CalculatePriceResponse = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponse
|
23
|
+
Price = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Price
|
24
|
+
PatchPropertiesRenewProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PatchPropertiesRenewProperties
|
25
|
+
PaymentDetail = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PaymentDetail
|
26
|
+
MergeRequest = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::MergeRequest
|
27
|
+
ReservationSplitProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationSplitProperties
|
28
|
+
Patch = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Patch
|
29
|
+
PurchaseRequestPropertiesReservedResourceProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PurchaseRequestPropertiesReservedResourceProperties
|
30
|
+
SplitRequest = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SplitRequest
|
31
|
+
RenewPropertiesResponsePricingCurrencyTotal = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::RenewPropertiesResponsePricingCurrencyTotal
|
32
|
+
ExtendedErrorInfo = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ExtendedErrorInfo
|
33
|
+
RenewPropertiesResponse = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::RenewPropertiesResponse
|
34
|
+
Error = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Error
|
35
|
+
ReservationResponse = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationResponse
|
36
|
+
ReservationOrderList = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationOrderList
|
37
|
+
CalculatePriceResponsePropertiesBillingCurrencyTotal = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesBillingCurrencyTotal
|
38
|
+
ReservationList = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationList
|
39
|
+
Catalog = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Catalog
|
40
|
+
AppliedReservationList = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedReservationList
|
41
|
+
ReservationOrderBillingPlanInformation = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationOrderBillingPlanInformation
|
42
|
+
AppliedReservations = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedReservations
|
43
|
+
PurchaseRequest = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PurchaseRequest
|
44
|
+
OperationDisplay = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::OperationDisplay
|
45
|
+
ReservationProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationProperties
|
46
|
+
OperationResponse = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::OperationResponse
|
47
|
+
SkuProperty = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuProperty
|
48
|
+
OperationList = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::OperationList
|
49
|
+
ReservationMergeProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationMergeProperties
|
50
|
+
ScopeProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ScopeProperties
|
51
|
+
ReservationOrderResponse = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationOrderResponse
|
52
|
+
SubscriptionScopeProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SubscriptionScopeProperties
|
53
|
+
RenewPropertiesResponseBillingCurrencyTotal = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::RenewPropertiesResponseBillingCurrencyTotal
|
54
|
+
Properties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Properties
|
55
|
+
ExtendedStatusInfo = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ExtendedStatusInfo
|
56
|
+
ReservationStatusCode = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationStatusCode
|
57
|
+
ErrorResponseCode = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ErrorResponseCode
|
58
|
+
ReservationBillingPlan = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationBillingPlan
|
59
|
+
ReservationTerm = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationTerm
|
60
|
+
PaymentStatus = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PaymentStatus
|
61
|
+
ReservedResourceType = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservedResourceType
|
62
|
+
InstanceFlexibility = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::InstanceFlexibility
|
63
|
+
AppliedScopeType = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedScopeType
|
64
|
+
QuotaRequestDetails = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetails
|
65
|
+
ResourceName = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ResourceName
|
66
|
+
QuotaRequestDetailsList = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetailsList
|
67
|
+
CurrentQuotaLimitBase = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CurrentQuotaLimitBase
|
68
|
+
AqiSettings = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::AqiSettings
|
69
|
+
QuotaLimits = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaLimits
|
70
|
+
EmailAction = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::EmailAction
|
71
|
+
CreateGenericQuotaRequestParameters = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CreateGenericQuotaRequestParameters
|
72
|
+
EmailActions = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::EmailActions
|
73
|
+
QuotaRequestOneResourceSubmitResponse = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestOneResourceSubmitResponse
|
74
|
+
Actions = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::Actions
|
75
|
+
QuotaRequestSubmitResponse = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestSubmitResponse
|
76
|
+
SupportRequestAction = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SupportRequestAction
|
77
|
+
QuotaProperties = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaProperties
|
78
|
+
AutoQuotaIncreaseDetail = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::AutoQuotaIncreaseDetail
|
79
|
+
QuotaLimitsResponse = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaLimitsResponse
|
80
|
+
PhoneAction = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::PhoneAction
|
81
|
+
QuotaRequestProperties = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestProperties
|
82
|
+
ServiceErrorDetail = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ServiceErrorDetail
|
83
|
+
CurrentQuotaLimit = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CurrentQuotaLimit
|
84
|
+
ServiceError = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ServiceError
|
85
|
+
QuotaRequestSubmitResponse201 = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestSubmitResponse201
|
86
|
+
ExceptionResponse = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ExceptionResponse
|
87
|
+
SubRequest = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SubRequest
|
88
|
+
end
|
89
|
+
|
90
|
+
class ReservationsManagementClass
|
91
|
+
attr_reader :reservation, :reservation_order, :operation, :quota, :quota_request_status, :auto_quota_increase, :configurable, :base_url, :options, :model_classes
|
92
|
+
|
93
|
+
def initialize(configurable, base_url=nil, options=nil)
|
94
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
95
|
+
|
96
|
+
@client_0 = Azure::Reservations::Mgmt::V2019_04_01_preview::ReservationsManagementClient.new(configurable.credentials, base_url, options)
|
97
|
+
if(@client_0.respond_to?(:subscription_id))
|
98
|
+
@client_0.subscription_id = configurable.subscription_id
|
99
|
+
end
|
100
|
+
add_telemetry(@client_0)
|
101
|
+
@reservation = @client_0.reservation
|
102
|
+
@reservation_order = @client_0.reservation_order
|
103
|
+
@operation = @client_0.operation
|
104
|
+
|
105
|
+
@client_1 = Azure::Reservations::Mgmt::V2019_07_19_preview::ReservationsManagementClient.new(configurable.credentials, base_url, options)
|
106
|
+
if(@client_1.respond_to?(:subscription_id))
|
107
|
+
@client_1.subscription_id = configurable.subscription_id
|
108
|
+
end
|
109
|
+
add_telemetry(@client_1)
|
110
|
+
@quota = @client_1.quota
|
111
|
+
@quota_request_status = @client_1.quota_request_status
|
112
|
+
@auto_quota_increase = @client_1.auto_quota_increase
|
113
|
+
|
114
|
+
@model_classes = ModelClasses.new
|
115
|
+
end
|
116
|
+
|
117
|
+
def add_telemetry(client)
|
118
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Reservations/Mgmt"
|
119
|
+
client.add_user_agent_information(profile_information)
|
120
|
+
end
|
121
|
+
|
122
|
+
def method_missing(method, *args)
|
123
|
+
if @client_1.respond_to?method
|
124
|
+
@client_1.send(method, *args)
|
125
|
+
elsif @client_0.respond_to?method
|
126
|
+
@client_0.send(method, *args)
|
127
|
+
else
|
128
|
+
super
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
class ModelClasses
|
133
|
+
def calculate_price_response_properties_pricing_currency_total
|
134
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesPricingCurrencyTotal
|
135
|
+
end
|
136
|
+
def sku_name
|
137
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuName
|
138
|
+
end
|
139
|
+
def calculate_price_response_properties
|
140
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponseProperties
|
141
|
+
end
|
142
|
+
def sku_restriction
|
143
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuRestriction
|
144
|
+
end
|
145
|
+
def calculate_price_response
|
146
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponse
|
147
|
+
end
|
148
|
+
def price
|
149
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Price
|
150
|
+
end
|
151
|
+
def patch_properties_renew_properties
|
152
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PatchPropertiesRenewProperties
|
153
|
+
end
|
154
|
+
def payment_detail
|
155
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PaymentDetail
|
156
|
+
end
|
157
|
+
def merge_request
|
158
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::MergeRequest
|
159
|
+
end
|
160
|
+
def reservation_split_properties
|
161
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationSplitProperties
|
162
|
+
end
|
163
|
+
def patch
|
164
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Patch
|
165
|
+
end
|
166
|
+
def purchase_request_properties_reserved_resource_properties
|
167
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PurchaseRequestPropertiesReservedResourceProperties
|
168
|
+
end
|
169
|
+
def split_request
|
170
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SplitRequest
|
171
|
+
end
|
172
|
+
def renew_properties_response_pricing_currency_total
|
173
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::RenewPropertiesResponsePricingCurrencyTotal
|
174
|
+
end
|
175
|
+
def extended_error_info
|
176
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ExtendedErrorInfo
|
177
|
+
end
|
178
|
+
def renew_properties_response
|
179
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::RenewPropertiesResponse
|
180
|
+
end
|
181
|
+
def error
|
182
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Error
|
183
|
+
end
|
184
|
+
def reservation_response
|
185
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationResponse
|
186
|
+
end
|
187
|
+
def reservation_order_list
|
188
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationOrderList
|
189
|
+
end
|
190
|
+
def calculate_price_response_properties_billing_currency_total
|
191
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesBillingCurrencyTotal
|
192
|
+
end
|
193
|
+
def reservation_list
|
194
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationList
|
195
|
+
end
|
196
|
+
def catalog
|
197
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Catalog
|
198
|
+
end
|
199
|
+
def applied_reservation_list
|
200
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedReservationList
|
201
|
+
end
|
202
|
+
def reservation_order_billing_plan_information
|
203
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationOrderBillingPlanInformation
|
204
|
+
end
|
205
|
+
def applied_reservations
|
206
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedReservations
|
207
|
+
end
|
208
|
+
def purchase_request
|
209
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PurchaseRequest
|
210
|
+
end
|
211
|
+
def operation_display
|
212
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::OperationDisplay
|
213
|
+
end
|
214
|
+
def reservation_properties
|
215
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationProperties
|
216
|
+
end
|
217
|
+
def operation_response
|
218
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::OperationResponse
|
219
|
+
end
|
220
|
+
def sku_property
|
221
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuProperty
|
222
|
+
end
|
223
|
+
def operation_list
|
224
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::OperationList
|
225
|
+
end
|
226
|
+
def reservation_merge_properties
|
227
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationMergeProperties
|
228
|
+
end
|
229
|
+
def scope_properties
|
230
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ScopeProperties
|
231
|
+
end
|
232
|
+
def reservation_order_response
|
233
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationOrderResponse
|
234
|
+
end
|
235
|
+
def subscription_scope_properties
|
236
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SubscriptionScopeProperties
|
237
|
+
end
|
238
|
+
def renew_properties_response_billing_currency_total
|
239
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::RenewPropertiesResponseBillingCurrencyTotal
|
240
|
+
end
|
241
|
+
def properties
|
242
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Properties
|
243
|
+
end
|
244
|
+
def extended_status_info
|
245
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ExtendedStatusInfo
|
246
|
+
end
|
247
|
+
def reservation_status_code
|
248
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationStatusCode
|
249
|
+
end
|
250
|
+
def error_response_code
|
251
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ErrorResponseCode
|
252
|
+
end
|
253
|
+
def reservation_billing_plan
|
254
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationBillingPlan
|
255
|
+
end
|
256
|
+
def reservation_term
|
257
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationTerm
|
258
|
+
end
|
259
|
+
def payment_status
|
260
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PaymentStatus
|
261
|
+
end
|
262
|
+
def reserved_resource_type
|
263
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservedResourceType
|
264
|
+
end
|
265
|
+
def instance_flexibility
|
266
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::InstanceFlexibility
|
267
|
+
end
|
268
|
+
def applied_scope_type
|
269
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedScopeType
|
270
|
+
end
|
271
|
+
def quota_request_details
|
272
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetails
|
273
|
+
end
|
274
|
+
def resource_name
|
275
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ResourceName
|
276
|
+
end
|
277
|
+
def quota_request_details_list
|
278
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetailsList
|
279
|
+
end
|
280
|
+
def current_quota_limit_base
|
281
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CurrentQuotaLimitBase
|
282
|
+
end
|
283
|
+
def aqi_settings
|
284
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::AqiSettings
|
285
|
+
end
|
286
|
+
def quota_limits
|
287
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaLimits
|
288
|
+
end
|
289
|
+
def email_action
|
290
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::EmailAction
|
291
|
+
end
|
292
|
+
def create_generic_quota_request_parameters
|
293
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CreateGenericQuotaRequestParameters
|
294
|
+
end
|
295
|
+
def email_actions
|
296
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::EmailActions
|
297
|
+
end
|
298
|
+
def quota_request_one_resource_submit_response
|
299
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestOneResourceSubmitResponse
|
300
|
+
end
|
301
|
+
def actions
|
302
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::Actions
|
303
|
+
end
|
304
|
+
def quota_request_submit_response
|
305
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestSubmitResponse
|
306
|
+
end
|
307
|
+
def support_request_action
|
308
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SupportRequestAction
|
309
|
+
end
|
310
|
+
def quota_properties
|
311
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaProperties
|
312
|
+
end
|
313
|
+
def auto_quota_increase_detail
|
314
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::AutoQuotaIncreaseDetail
|
315
|
+
end
|
316
|
+
def quota_limits_response
|
317
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaLimitsResponse
|
318
|
+
end
|
319
|
+
def phone_action
|
320
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::PhoneAction
|
321
|
+
end
|
322
|
+
def quota_request_properties
|
323
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestProperties
|
324
|
+
end
|
325
|
+
def service_error_detail
|
326
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ServiceErrorDetail
|
327
|
+
end
|
328
|
+
def current_quota_limit
|
329
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CurrentQuotaLimit
|
330
|
+
end
|
331
|
+
def service_error
|
332
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ServiceError
|
333
|
+
end
|
334
|
+
def quota_request_submit_response201
|
335
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestSubmitResponse201
|
336
|
+
end
|
337
|
+
def exception_response
|
338
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ExceptionResponse
|
339
|
+
end
|
340
|
+
def sub_request
|
341
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SubRequest
|
342
|
+
end
|
343
|
+
end
|
344
|
+
end
|
345
|
+
end
|
346
|
+
end
|
347
|
+
end
|