azure_sdk 0.51.1 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/lib/azure_sdk.rb +9 -9
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +0 -0
- data/lib/latest/module_definition.rb +6 -6
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
- data/lib/latest/modules/advisor_profile_module.rb +119 -119
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
- data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
- data/lib/latest/modules/appconfiguration_profile_module.rb +175 -107
- data/lib/latest/modules/attestation_profile_module.rb +95 -95
- data/lib/latest/modules/authorization_profile_module.rb +167 -167
- data/lib/latest/modules/automation_profile_module.rb +663 -663
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
- data/lib/latest/modules/azurestack_profile_module.rb +0 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -417
- data/lib/latest/modules/batchai_profile_module.rb +425 -425
- data/lib/latest/modules/billing_profile_module.rb +107 -107
- data/lib/latest/modules/botservice_profile_module.rb +293 -293
- data/lib/latest/modules/cdn_profile_module.rb +325 -325
- data/lib/latest/modules/cognitiveservices_profile_module.rb +201 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +1235 -1235
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +345 -345
- data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
- data/lib/latest/modules/cosmosdb_profile_module.rb +679 -679
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
- data/lib/latest/modules/customsearch_profile_module.rb +123 -123
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
- data/lib/latest/modules/databox_profile_module.rb +309 -309
- data/lib/latest/modules/datafactory_profile_module.rb +2701 -2159
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
- data/lib/latest/modules/datashare_profile_module.rb +383 -383
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -261
- data/lib/latest/modules/devspaces_profile_module.rb +119 -119
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
- data/lib/latest/modules/dns_profile_module.rb +143 -143
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
- data/lib/latest/modules/eventgrid_profile_module.rb +679 -679
- data/lib/latest/modules/eventhub_profile_module.rb +195 -195
- data/lib/latest/modules/face_profile_module.rb +297 -297
- data/lib/latest/modules/features_profile_module.rb +73 -73
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
- data/lib/latest/modules/hdinsight_profile_module.rb +415 -415
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/importexport_profile_module.rb +135 -135
- data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
- data/lib/latest/modules/iothub_profile_module.rb +377 -377
- data/lib/latest/modules/keyvault_profile_module.rb +623 -623
- data/lib/latest/modules/kusto_profile_module.rb +349 -297
- data/lib/latest/modules/labservices_profile_module.rb +357 -357
- data/lib/latest/modules/links_profile_module.rb +83 -83
- data/lib/latest/modules/localsearch_profile_module.rb +151 -151
- data/lib/latest/modules/locks_profile_module.rb +79 -79
- data/lib/latest/modules/logic_profile_module.rb +787 -787
- data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
- data/lib/latest/modules/maintenance_profile_module.rb +121 -121
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
- data/lib/latest/modules/mariadb_profile_module.rb +233 -233
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -871
- data/lib/latest/modules/migrate_profile_module.rb +243 -243
- data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
- data/lib/latest/modules/monitor_profile_module.rb +723 -723
- data/lib/latest/modules/mysql_profile_module.rb +233 -233
- data/lib/latest/modules/netapp_profile_module.rb +209 -209
- data/lib/latest/modules/network_profile_module.rb +2489 -2489
- data/lib/latest/modules/newssearch_profile_module.rb +143 -143
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
- data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
- data/lib/latest/modules/peering_profile_module.rb +259 -259
- data/lib/latest/modules/personalizer_profile_module.rb +83 -83
- data/lib/latest/modules/policy_profile_module.rb +105 -105
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -223
- data/lib/latest/modules/portal_profile_module.rb +95 -95
- data/lib/latest/modules/postgresql_profile_module.rb +233 -233
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
- data/lib/latest/modules/privatedns_profile_module.rb +137 -137
- data/lib/latest/modules/qnamaker_profile_module.rb +215 -219
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
- data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1301 -1301
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
- data/lib/latest/modules/redis_profile_module.rb +209 -209
- data/lib/latest/modules/relay_profile_module.rb +163 -163
- data/lib/latest/modules/reservations_profile_module.rb +359 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -111
- data/lib/latest/modules/resources_profile_module.rb +321 -321
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
- data/lib/latest/modules/scheduler_profile_module.rb +227 -227
- data/lib/latest/modules/search_profile_module.rb +127 -127
- data/lib/latest/modules/security_profile_module.rb +733 -733
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
- data/lib/latest/modules/servicebus_profile_module.rb +309 -309
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
- data/lib/latest/modules/signalr_profile_module.rb +161 -161
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
- data/lib/latest/modules/sql_profile_module.rb +1765 -1765
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -235
- data/lib/latest/modules/storage_profile_module.rb +569 -549
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +275 -275
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
- data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
- data/lib/latest/modules/timeseriesinsights_profile_module.rb +0 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
- data/lib/latest/modules/videosearch_profile_module.rb +175 -175
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
- data/lib/latest/modules/web_profile_module.rb +1419 -1419
- data/lib/latest/modules/websearch_profile_module.rb +211 -211
- data/lib/v2017_03_09/module_definition.rb +6 -6
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
- data/lib/v2018_03_01/module_definition.rb +6 -6
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
- data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
- metadata +27 -26
@@ -1,209 +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
|
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
|
@@ -1,163 +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
|
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
|