azure_sdk 0.15.2 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +645 -61
- data/lib/latest/module_definition.rb +1 -118
- data/lib/latest/modules/analysisservices_profile_module.rb +139 -84
- data/lib/latest/modules/authorization_profile_module.rb +113 -100
- data/lib/latest/modules/automation_profile_module.rb +597 -580
- data/lib/latest/modules/batch_profile_module.rb +357 -132
- data/lib/latest/modules/billing_profile_module.rb +77 -64
- data/lib/latest/modules/cdn_profile_module.rb +277 -216
- data/lib/latest/modules/cognitiveservices_profile_module.rb +121 -108
- data/lib/latest/modules/commerce_profile_module.rb +79 -66
- data/lib/latest/modules/compute_profile_module.rb +783 -730
- data/lib/latest/modules/computervision_profile_module.rb +189 -0
- data/lib/latest/modules/consumption_profile_module.rb +153 -54
- data/lib/latest/modules/containerinstance_profile_module.rb +163 -106
- data/lib/latest/modules/containerregistry_profile_module.rb +203 -190
- data/lib/latest/modules/containerservice_profile_module.rb +93 -80
- data/lib/latest/modules/contentmoderator_profile_module.rb +295 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +477 -464
- data/lib/latest/modules/customsearch_profile_module.rb +123 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +233 -152
- data/lib/latest/modules/datalakestore_profile_module.rb +201 -128
- data/lib/latest/modules/devtestlabs_profile_module.rb +697 -656
- data/lib/latest/modules/dns_profile_module.rb +99 -94
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +220 -99
- data/lib/latest/modules/eventhub_profile_module.rb +165 -152
- data/lib/latest/modules/face_profile_module.rb +241 -0
- data/lib/latest/modules/features_profile_module.rb +41 -28
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
- data/lib/latest/modules/iothub_profile_module.rb +265 -252
- data/lib/latest/modules/keyvault_profile_module.rb +155 -88
- data/lib/latest/modules/links_profile_module.rb +49 -36
- data/lib/latest/modules/locks_profile_module.rb +45 -32
- data/lib/latest/modules/logic_profile_module.rb +593 -580
- data/lib/latest/modules/machinelearning_profile_module.rb +177 -164
- data/lib/latest/modules/managedapplications_profile_module.rb +103 -90
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +55 -42
- data/lib/latest/modules/marketplaceordering_profile_module.rb +59 -46
- data/lib/latest/modules/mediaservices_profile_module.rb +103 -90
- data/lib/latest/modules/mobileengagement_profile_module.rb +397 -384
- data/lib/latest/modules/monitor_profile_module.rb +403 -323
- data/lib/latest/modules/network_profile_module.rb +1245 -1148
- data/lib/latest/modules/newssearch_profile_module.rb +143 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +155 -142
- data/lib/latest/modules/operationalinsights_profile_module.rb +218 -188
- data/lib/latest/modules/policy_profile_module.rb +84 -68
- data/lib/latest/modules/powerbiembedded_profile_module.rb +107 -94
- data/lib/latest/modules/recoveryservices_profile_module.rb +176 -188
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1133 -728
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1367 -1354
- data/lib/latest/modules/redis_profile_module.rb +165 -152
- data/lib/latest/modules/relay_profile_module.rb +143 -130
- data/lib/latest/modules/resources_profile_module.rb +227 -214
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +81 -74
- data/lib/latest/modules/scheduler_profile_module.rb +207 -198
- data/lib/latest/modules/search_profile_module.rb +103 -76
- data/lib/latest/modules/servermanagement_profile_module.rb +155 -142
- data/lib/latest/modules/servicebus_profile_module.rb +247 -234
- data/lib/latest/modules/servicefabric_profile_module.rb +269 -120
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
- data/lib/latest/modules/sql_profile_module.rb +1075 -918
- data/lib/latest/modules/storage_profile_module.rb +263 -250
- data/lib/latest/modules/storsimple8000series_profile_module.rb +695 -682
- data/lib/latest/modules/streamanalytics_profile_module.rb +329 -316
- data/lib/latest/modules/subscriptions_profile_module.rb +67 -54
- data/lib/latest/modules/textanalytics_profile_module.rb +105 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +140 -124
- data/lib/latest/modules/videosearch_profile_module.rb +175 -0
- data/lib/latest/modules/web_profile_module.rb +1289 -1138
- data/lib/latest/modules/websearch_profile_module.rb +211 -0
- data/lib/v2017_03_09/module_definition.rb +1 -20
- data/lib/v2017_03_09/modules/compute_profile_module.rb +437 -424
- data/lib/v2017_03_09/modules/features_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/links_profile_module.rb +49 -36
- data/lib/v2017_03_09/modules/locks_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/network_profile_module.rb +535 -522
- data/lib/v2017_03_09/modules/policy_profile_module.rb +51 -38
- data/lib/v2017_03_09/modules/resources_profile_module.rb +223 -210
- data/lib/v2017_03_09/modules/storage_profile_module.rb +143 -130
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +67 -54
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +103 -10
- metadata +312 -133
- data/lib/latest/modules/graph_profile_module.rb +0 -202
@@ -5,166 +5,179 @@
|
|
5
5
|
require 'azure_mgmt_redis'
|
6
6
|
|
7
7
|
module Azure::Profiles::Latest
|
8
|
-
module Redis
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
module Redis
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::Redis::Mgmt::V2017_10_01::Operations
|
11
|
+
Redis = Azure::Redis::Mgmt::V2017_10_01::Redis
|
12
|
+
FirewallRules = Azure::Redis::Mgmt::V2017_10_01::FirewallRules
|
13
|
+
PatchSchedules = Azure::Redis::Mgmt::V2017_10_01::PatchSchedules
|
14
|
+
LinkedServer = Azure::Redis::Mgmt::V2017_10_01::LinkedServer
|
14
15
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
16
|
+
module Models
|
17
|
+
RedisListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult
|
18
|
+
Sku = Azure::Redis::Mgmt::V2017_10_01::Models::Sku
|
19
|
+
RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters
|
20
|
+
RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleListResult
|
21
|
+
RedisAccessKeys = Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys
|
22
|
+
OperationDisplay = Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay
|
23
|
+
Resource = Azure::Redis::Mgmt::V2017_10_01::Models::Resource
|
24
|
+
OperationListResult = Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult
|
25
|
+
RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters
|
26
|
+
RedisUpdateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisUpdateParameters
|
27
|
+
RedisRebootParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters
|
28
|
+
RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters
|
29
|
+
ExportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ExportRDBParameters
|
30
|
+
ImportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters
|
31
|
+
Operation = Azure::Redis::Mgmt::V2017_10_01::Models::Operation
|
32
|
+
ScheduleEntry = Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry
|
33
|
+
RedisCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters
|
34
|
+
RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList
|
35
|
+
RedisLinkedServer = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer
|
36
|
+
RedisForceRebootResponse = Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse
|
37
|
+
ProxyResource = Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource
|
38
|
+
TrackedResource = Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource
|
39
|
+
RedisFirewallRule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule
|
40
|
+
RedisResource = Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource
|
41
|
+
RedisPatchSchedule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisPatchSchedule
|
42
|
+
RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties
|
43
|
+
SkuName = Azure::Redis::Mgmt::V2017_10_01::Models::SkuName
|
44
|
+
SkuFamily = Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily
|
45
|
+
RedisKeyType = Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType
|
46
|
+
RebootType = Azure::Redis::Mgmt::V2017_10_01::Models::RebootType
|
47
|
+
DayOfWeek = Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek
|
48
|
+
ReplicationRole = Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole
|
49
|
+
end
|
49
50
|
|
50
|
-
|
51
|
-
|
52
|
-
#
|
53
|
-
class RedisClass
|
54
|
-
attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :redis_linked_server_operations, :configurable, :base_url, :options, :model_classes
|
51
|
+
class RedisManagementClass
|
52
|
+
attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes
|
55
53
|
|
56
|
-
|
57
|
-
|
54
|
+
def initialize(configurable, base_url=nil, options=nil)
|
55
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
58
56
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
@model_classes = ModelClasses.new
|
70
|
-
end
|
57
|
+
@client_0 = Azure::Redis::Mgmt::V2017_10_01::RedisManagementClient.new(configurable.credentials, base_url, options)
|
58
|
+
if(@client_0.respond_to?(:subscription_id))
|
59
|
+
@client_0.subscription_id = configurable.subscription_id
|
60
|
+
end
|
61
|
+
add_telemetry(@client_0)
|
62
|
+
@operations = @client_0.operations
|
63
|
+
@redis = @client_0.redis
|
64
|
+
@firewall_rules = @client_0.firewall_rules
|
65
|
+
@patch_schedules = @client_0.patch_schedules
|
66
|
+
@linked_server = @client_0.linked_server
|
71
67
|
|
72
|
-
|
73
|
-
def redis_list_result
|
74
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisListResult
|
75
|
-
end
|
76
|
-
def redis_regenerate_key_parameters
|
77
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisRegenerateKeyParameters
|
78
|
-
end
|
79
|
-
def redis_reboot_parameters
|
80
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisRebootParameters
|
81
|
-
end
|
82
|
-
def sku
|
83
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::Sku
|
84
|
-
end
|
85
|
-
def resource
|
86
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::Resource
|
87
|
-
end
|
88
|
-
def redis_update_parameters
|
89
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisUpdateParameters
|
90
|
-
end
|
91
|
-
def redis_linked_server_create_parameters
|
92
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerCreateParameters
|
93
|
-
end
|
94
|
-
def operation
|
95
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::Operation
|
96
|
-
end
|
97
|
-
def export_rdbparameters
|
98
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::ExportRDBParameters
|
99
|
-
end
|
100
|
-
def redis_linked_server
|
101
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServer
|
102
|
-
end
|
103
|
-
def import_rdbparameters
|
104
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::ImportRDBParameters
|
105
|
-
end
|
106
|
-
def operation_display
|
107
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::OperationDisplay
|
108
|
-
end
|
109
|
-
def schedule_entry
|
110
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::ScheduleEntry
|
111
|
-
end
|
112
|
-
def redis_access_keys
|
113
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisAccessKeys
|
68
|
+
@model_classes = ModelClasses.new
|
114
69
|
end
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerList
|
120
|
-
end
|
121
|
-
def redis_force_reboot_response
|
122
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisForceRebootResponse
|
123
|
-
end
|
124
|
-
def redis_firewall_rule_list_result
|
125
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisFirewallRuleListResult
|
126
|
-
end
|
127
|
-
def redis_linked_server_with_properties
|
128
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerWithProperties
|
129
|
-
end
|
130
|
-
def operation_list_result
|
131
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::OperationListResult
|
132
|
-
end
|
133
|
-
def redis_linked_server_with_properties_list
|
134
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerWithPropertiesList
|
135
|
-
end
|
136
|
-
def proxy_resource
|
137
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::ProxyResource
|
138
|
-
end
|
139
|
-
def tracked_resource
|
140
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::TrackedResource
|
141
|
-
end
|
142
|
-
def redis_create_parameters
|
143
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisCreateParameters
|
144
|
-
end
|
145
|
-
def redis_firewall_rule
|
146
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisFirewallRule
|
147
|
-
end
|
148
|
-
def redis_resource
|
149
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisResource
|
150
|
-
end
|
151
|
-
def sku_name
|
152
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::SkuName
|
153
|
-
end
|
154
|
-
def sku_family
|
155
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::SkuFamily
|
156
|
-
end
|
157
|
-
def redis_key_type
|
158
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RedisKeyType
|
159
|
-
end
|
160
|
-
def reboot_type
|
161
|
-
Azure::Redis::Mgmt::V2017_02_01::Models::RebootType
|
70
|
+
|
71
|
+
def add_telemetry(client)
|
72
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Redis/Mgmt"
|
73
|
+
client.add_user_agent_information(profile_information)
|
162
74
|
end
|
163
|
-
|
164
|
-
|
75
|
+
|
76
|
+
def method_missing(method, *args)
|
77
|
+
if @client_0.respond_to?method
|
78
|
+
@client_0.send(method, *args)
|
79
|
+
else
|
80
|
+
super
|
81
|
+
end
|
165
82
|
end
|
166
|
-
|
167
|
-
|
83
|
+
|
84
|
+
class ModelClasses
|
85
|
+
def redis_list_result
|
86
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult
|
87
|
+
end
|
88
|
+
def sku
|
89
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::Sku
|
90
|
+
end
|
91
|
+
def redis_regenerate_key_parameters
|
92
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters
|
93
|
+
end
|
94
|
+
def redis_firewall_rule_list_result
|
95
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleListResult
|
96
|
+
end
|
97
|
+
def redis_access_keys
|
98
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys
|
99
|
+
end
|
100
|
+
def operation_display
|
101
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay
|
102
|
+
end
|
103
|
+
def resource
|
104
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::Resource
|
105
|
+
end
|
106
|
+
def operation_list_result
|
107
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult
|
108
|
+
end
|
109
|
+
def redis_linked_server_create_parameters
|
110
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters
|
111
|
+
end
|
112
|
+
def redis_update_parameters
|
113
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisUpdateParameters
|
114
|
+
end
|
115
|
+
def redis_reboot_parameters
|
116
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters
|
117
|
+
end
|
118
|
+
def redis_firewall_rule_create_parameters
|
119
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters
|
120
|
+
end
|
121
|
+
def export_rdbparameters
|
122
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::ExportRDBParameters
|
123
|
+
end
|
124
|
+
def import_rdbparameters
|
125
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters
|
126
|
+
end
|
127
|
+
def operation
|
128
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::Operation
|
129
|
+
end
|
130
|
+
def schedule_entry
|
131
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry
|
132
|
+
end
|
133
|
+
def redis_create_parameters
|
134
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters
|
135
|
+
end
|
136
|
+
def redis_linked_server_with_properties_list
|
137
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList
|
138
|
+
end
|
139
|
+
def redis_linked_server
|
140
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer
|
141
|
+
end
|
142
|
+
def redis_force_reboot_response
|
143
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse
|
144
|
+
end
|
145
|
+
def proxy_resource
|
146
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource
|
147
|
+
end
|
148
|
+
def tracked_resource
|
149
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource
|
150
|
+
end
|
151
|
+
def redis_firewall_rule
|
152
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule
|
153
|
+
end
|
154
|
+
def redis_resource
|
155
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource
|
156
|
+
end
|
157
|
+
def redis_patch_schedule
|
158
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisPatchSchedule
|
159
|
+
end
|
160
|
+
def redis_linked_server_with_properties
|
161
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties
|
162
|
+
end
|
163
|
+
def sku_name
|
164
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::SkuName
|
165
|
+
end
|
166
|
+
def sku_family
|
167
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily
|
168
|
+
end
|
169
|
+
def redis_key_type
|
170
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType
|
171
|
+
end
|
172
|
+
def reboot_type
|
173
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::RebootType
|
174
|
+
end
|
175
|
+
def day_of_week
|
176
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek
|
177
|
+
end
|
178
|
+
def replication_role
|
179
|
+
Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole
|
180
|
+
end
|
168
181
|
end
|
169
182
|
end
|
170
183
|
end
|
@@ -5,144 +5,157 @@
|
|
5
5
|
require 'azure_mgmt_relay'
|
6
6
|
|
7
7
|
module Azure::Profiles::Latest
|
8
|
-
module Relay
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
#
|
45
|
-
# Relay
|
46
|
-
#
|
47
|
-
class RelayClass
|
48
|
-
attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes
|
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
|
49
44
|
|
50
|
-
|
51
|
-
|
45
|
+
class RelayManagementClass
|
46
|
+
attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes
|
52
47
|
|
53
|
-
|
54
|
-
|
55
|
-
client_0.subscription_id = configurable.subscription_id
|
56
|
-
end
|
57
|
-
@operations = client_0.operations
|
58
|
-
@namespaces = client_0.namespaces
|
59
|
-
@hybrid_connections = client_0.hybrid_connections
|
60
|
-
@wcfrelays = client_0.wcfrelays
|
48
|
+
def initialize(configurable, base_url=nil, options=nil)
|
49
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
61
50
|
|
62
|
-
|
63
|
-
|
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
|
64
60
|
|
65
|
-
|
66
|
-
def relay_namespace_list_result
|
67
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult
|
68
|
-
end
|
69
|
-
def operation_display
|
70
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay
|
71
|
-
end
|
72
|
-
def resource
|
73
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::Resource
|
74
|
-
end
|
75
|
-
def check_name_availability
|
76
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability
|
77
|
-
end
|
78
|
-
def hybrid_connection_list_result
|
79
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult
|
80
|
-
end
|
81
|
-
def check_name_availability_result
|
82
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
|
83
|
-
end
|
84
|
-
def wcf_relays_list_result
|
85
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult
|
86
|
-
end
|
87
|
-
def error_response
|
88
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse
|
89
|
-
end
|
90
|
-
def operation_list_result
|
91
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult
|
92
|
-
end
|
93
|
-
def authorization_rule_list_result
|
94
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
|
95
|
-
end
|
96
|
-
def sku
|
97
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::Sku
|
98
|
-
end
|
99
|
-
def access_keys
|
100
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys
|
61
|
+
@model_classes = ModelClasses.new
|
101
62
|
end
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
|
107
|
-
end
|
108
|
-
def tracked_resource
|
109
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource
|
110
|
-
end
|
111
|
-
def resource_namespace_patch
|
112
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch
|
113
|
-
end
|
114
|
-
def hybrid_connection
|
115
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection
|
116
|
-
end
|
117
|
-
def wcf_relay
|
118
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay
|
119
|
-
end
|
120
|
-
def relay_namespace
|
121
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace
|
122
|
-
end
|
123
|
-
def relay_update_parameters
|
124
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters
|
125
|
-
end
|
126
|
-
def authorization_rule
|
127
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule
|
128
|
-
end
|
129
|
-
def relaytype
|
130
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype
|
131
|
-
end
|
132
|
-
def sku_tier
|
133
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier
|
134
|
-
end
|
135
|
-
def provisioning_state_enum
|
136
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum
|
137
|
-
end
|
138
|
-
def access_rights
|
139
|
-
Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights
|
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)
|
140
67
|
end
|
141
|
-
|
142
|
-
|
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
|
143
75
|
end
|
144
|
-
|
145
|
-
|
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
|
146
159
|
end
|
147
160
|
end
|
148
161
|
end
|