azure_mgmt_redis 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-08-01/generated/azure_mgmt_redis/redis.rb +66 -62
  3. data/lib/2015-08-01/generated/azure_mgmt_redis/redis_management_client.rb +4 -1
  4. data/lib/2016-04-01/generated/azure_mgmt_redis/firewall_rules.rb +15 -13
  5. data/lib/2016-04-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +1 -1
  6. data/lib/2016-04-01/generated/azure_mgmt_redis/operations.rb +15 -13
  7. data/lib/2016-04-01/generated/azure_mgmt_redis/patch_schedules.rb +18 -17
  8. data/lib/2016-04-01/generated/azure_mgmt_redis/redis.rb +100 -99
  9. data/lib/2016-04-01/generated/azure_mgmt_redis/redis_firewall_rule_operations.rb +18 -17
  10. data/lib/2016-04-01/generated/azure_mgmt_redis/redis_management_client.rb +4 -1
  11. data/lib/2017-02-01/generated/azure_mgmt_redis/firewall_rules.rb +33 -30
  12. data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +1 -1
  13. data/lib/2017-02-01/generated/azure_mgmt_redis/operations.rb +15 -13
  14. data/lib/2017-02-01/generated/azure_mgmt_redis/patch_schedules.rb +18 -17
  15. data/lib/2017-02-01/generated/azure_mgmt_redis/redis.rb +100 -99
  16. data/lib/2017-02-01/generated/azure_mgmt_redis/redis_linked_server_operations.rb +28 -26
  17. data/lib/2017-02-01/generated/azure_mgmt_redis/redis_management_client.rb +4 -1
  18. data/lib/2017-10-01/generated/azure_mgmt_redis.rb +64 -0
  19. data/lib/2017-10-01/generated/azure_mgmt_redis/firewall_rules.rb +528 -0
  20. data/lib/2017-10-01/generated/azure_mgmt_redis/linked_server.rb +594 -0
  21. data/lib/2017-10-01/generated/azure_mgmt_redis/models/day_of_week.rb +23 -0
  22. data/lib/2017-10-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb +68 -0
  23. data/lib/2017-10-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb +65 -0
  24. data/lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb +58 -0
  25. data/lib/2017-10-01/generated/azure_mgmt_redis/models/operation_display.rb +80 -0
  26. data/lib/2017-10-01/generated/azure_mgmt_redis/models/operation_list_result.rb +102 -0
  27. data/lib/2017-10-01/generated/azure_mgmt_redis/models/proxy_resource.rb +63 -0
  28. data/lib/2017-10-01/generated/azure_mgmt_redis/models/reboot_type.rb +17 -0
  29. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_access_keys.rb +61 -0
  30. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb +192 -0
  31. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule.rb +85 -0
  32. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule_create_parameters.rb +57 -0
  33. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb +100 -0
  34. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_force_reboot_response.rb +47 -0
  35. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_key_type.rb +16 -0
  36. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server.rb +47 -0
  37. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb +70 -0
  38. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties.rb +110 -0
  39. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb +100 -0
  40. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_list_result.rb +99 -0
  41. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_patch_schedule.rb +83 -0
  42. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb +60 -0
  43. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +48 -0
  44. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_resource.rb +309 -0
  45. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +130 -0
  46. data/lib/2017-10-01/generated/azure_mgmt_redis/models/replication_role.rb +16 -0
  47. data/lib/2017-10-01/generated/azure_mgmt_redis/models/resource.rb +71 -0
  48. data/lib/2017-10-01/generated/azure_mgmt_redis/models/schedule_entry.rb +72 -0
  49. data/lib/2017-10-01/generated/azure_mgmt_redis/models/sku.rb +73 -0
  50. data/lib/2017-10-01/generated/azure_mgmt_redis/models/sku_family.rb +16 -0
  51. data/lib/2017-10-01/generated/azure_mgmt_redis/models/sku_name.rb +17 -0
  52. data/lib/2017-10-01/generated/azure_mgmt_redis/models/tracked_resource.rb +92 -0
  53. data/lib/2017-10-01/generated/azure_mgmt_redis/module_definition.rb +9 -0
  54. data/lib/2017-10-01/generated/azure_mgmt_redis/operations.rb +222 -0
  55. data/lib/2017-10-01/generated/azure_mgmt_redis/patch_schedules.rb +317 -0
  56. data/lib/2017-10-01/generated/azure_mgmt_redis/redis.rb +1482 -0
  57. data/lib/2017-10-01/generated/azure_mgmt_redis/redis_management_client.rb +148 -0
  58. data/lib/azure_mgmt_redis.rb +1 -0
  59. data/lib/profiles/latest/modules/redis_profile_module.rb +166 -147
  60. data/lib/profiles/latest/redis_latest_profile_client.rb +28 -9
  61. data/lib/profiles/latest/redis_module_definition.rb +0 -1
  62. data/lib/version.rb +1 -1
  63. metadata +43 -3
@@ -0,0 +1,148 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Redis::Mgmt::V2017_10_01
7
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class RedisManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] Gets subscription credentials which uniquely identify
21
+ # the Microsoft Azure subscription. The subscription ID forms part of the
22
+ # URI for every service call.
23
+ attr_accessor :subscription_id
24
+
25
+ # @return [String] Client Api Version.
26
+ attr_reader :api_version
27
+
28
+ # @return [String] Gets or sets the preferred language for the response.
29
+ attr_accessor :accept_language
30
+
31
+ # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
+ # Running Operations. Default value is 30.
33
+ attr_accessor :long_running_operation_retry_timeout
34
+
35
+ # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
+ # is generated and included in each request. Default is true.
37
+ attr_accessor :generate_client_request_id
38
+
39
+ # @return [Operations] operations
40
+ attr_reader :operations
41
+
42
+ # @return [Redis] redis
43
+ attr_reader :redis
44
+
45
+ # @return [FirewallRules] firewall_rules
46
+ attr_reader :firewall_rules
47
+
48
+ # @return [PatchSchedules] patch_schedules
49
+ attr_reader :patch_schedules
50
+
51
+ # @return [LinkedServer] linked_server
52
+ attr_reader :linked_server
53
+
54
+ #
55
+ # Creates initializes a new instance of the RedisManagementClient class.
56
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
57
+ # @param base_url [String] the base URI of the service.
58
+ # @param options [Array] filters to be applied to the HTTP requests.
59
+ #
60
+ def initialize(credentials = nil, base_url = nil, options = nil)
61
+ super(credentials, options)
62
+ @base_url = base_url || 'https://management.azure.com'
63
+
64
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
65
+ @credentials = credentials
66
+
67
+ @operations = Operations.new(self)
68
+ @redis = Redis.new(self)
69
+ @firewall_rules = FirewallRules.new(self)
70
+ @patch_schedules = PatchSchedules.new(self)
71
+ @linked_server = LinkedServer.new(self)
72
+ @api_version = '2017-10-01'
73
+ @accept_language = 'en-US'
74
+ @long_running_operation_retry_timeout = 30
75
+ @generate_client_request_id = true
76
+ add_telemetry
77
+ end
78
+
79
+ #
80
+ # Makes a request and returns the body of the response.
81
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
82
+ # @param path [String] the path, relative to {base_url}.
83
+ # @param options [Hash{String=>String}] specifying any request options like :body.
84
+ # @return [Hash{String=>String}] containing the body of the response.
85
+ # Example:
86
+ #
87
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
88
+ # path = "/path"
89
+ # options = {
90
+ # body: request_content,
91
+ # query_params: {'api-version' => '2016-02-01'}
92
+ # }
93
+ # result = @client.make_request(:put, path, options)
94
+ #
95
+ def make_request(method, path, options = {})
96
+ result = make_request_with_http_info(method, path, options)
97
+ result.body unless result.nil?
98
+ end
99
+
100
+ #
101
+ # Makes a request and returns the operation response.
102
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
103
+ # @param path [String] the path, relative to {base_url}.
104
+ # @param options [Hash{String=>String}] specifying any request options like :body.
105
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
106
+ #
107
+ def make_request_with_http_info(method, path, options = {})
108
+ result = make_request_async(method, path, options).value!
109
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
110
+ result
111
+ end
112
+
113
+ #
114
+ # Makes a request asynchronously.
115
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
116
+ # @param path [String] the path, relative to {base_url}.
117
+ # @param options [Hash{String=>String}] specifying any request options like :body.
118
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
119
+ #
120
+ def make_request_async(method, path, options = {})
121
+ fail ArgumentError, 'method is nil' if method.nil?
122
+ fail ArgumentError, 'path is nil' if path.nil?
123
+
124
+ request_url = options[:base_url] || @base_url
125
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
126
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
127
+ end
128
+
129
+ request_headers = @request_headers
130
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
131
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
132
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
133
+
134
+ super(request_url, method, path, options)
135
+ end
136
+
137
+
138
+ private
139
+ #
140
+ # Adds telemetry information.
141
+ #
142
+ def add_telemetry
143
+ sdk_information = 'azure_mgmt_redis'
144
+ sdk_information = "#{sdk_information}/0.16.0"
145
+ add_user_agent_information(sdk_information)
146
+ end
147
+ end
148
+ end
@@ -5,4 +5,5 @@
5
5
  require '2015-08-01/generated/azure_mgmt_redis'
6
6
  require '2016-04-01/generated/azure_mgmt_redis'
7
7
  require '2017-02-01/generated/azure_mgmt_redis'
8
+ require '2017-10-01/generated/azure_mgmt_redis'
8
9
  require 'profiles/latest/redis_latest_profile_client'
@@ -4,53 +4,54 @@
4
4
 
5
5
  require 'azure_mgmt_redis'
6
6
 
7
- module Azure::Redis::Profiles::Latest::Mgmt
8
- Operations = Azure::Redis::Mgmt::V2017_02_01::Operations
9
- Redis = Azure::Redis::Mgmt::V2017_02_01::Redis
10
- FirewallRules = Azure::Redis::Mgmt::V2017_02_01::FirewallRules
11
- PatchSchedules = Azure::Redis::Mgmt::V2017_02_01::PatchSchedules
12
- RedisLinkedServerOperations = Azure::Redis::Mgmt::V2017_02_01::RedisLinkedServerOperations
7
+ module Azure::Redis::Profiles::Latest
8
+ module Mgmt
9
+ Operations = Azure::Redis::Mgmt::V2017_10_01::Operations
10
+ Redis = Azure::Redis::Mgmt::V2017_10_01::Redis
11
+ FirewallRules = Azure::Redis::Mgmt::V2017_10_01::FirewallRules
12
+ PatchSchedules = Azure::Redis::Mgmt::V2017_10_01::PatchSchedules
13
+ LinkedServer = Azure::Redis::Mgmt::V2017_10_01::LinkedServer
13
14
 
14
15
  module Models
15
- RedisListResult = Azure::Redis::Mgmt::V2017_02_01::Models::RedisListResult
16
- RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2017_02_01::Models::RedisRegenerateKeyParameters
17
- RedisRebootParameters = Azure::Redis::Mgmt::V2017_02_01::Models::RedisRebootParameters
18
- Sku = Azure::Redis::Mgmt::V2017_02_01::Models::Sku
19
- Resource = Azure::Redis::Mgmt::V2017_02_01::Models::Resource
20
- RedisUpdateParameters = Azure::Redis::Mgmt::V2017_02_01::Models::RedisUpdateParameters
21
- RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerCreateParameters
22
- Operation = Azure::Redis::Mgmt::V2017_02_01::Models::Operation
23
- ExportRDBParameters = Azure::Redis::Mgmt::V2017_02_01::Models::ExportRDBParameters
24
- RedisLinkedServer = Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServer
25
- ImportRDBParameters = Azure::Redis::Mgmt::V2017_02_01::Models::ImportRDBParameters
26
- OperationDisplay = Azure::Redis::Mgmt::V2017_02_01::Models::OperationDisplay
27
- ScheduleEntry = Azure::Redis::Mgmt::V2017_02_01::Models::ScheduleEntry
28
- RedisAccessKeys = Azure::Redis::Mgmt::V2017_02_01::Models::RedisAccessKeys
29
- RedisPatchSchedule = Azure::Redis::Mgmt::V2017_02_01::Models::RedisPatchSchedule
30
- RedisLinkedServerList = Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerList
31
- RedisForceRebootResponse = Azure::Redis::Mgmt::V2017_02_01::Models::RedisForceRebootResponse
32
- RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2017_02_01::Models::RedisFirewallRuleListResult
33
- RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerWithProperties
34
- OperationListResult = Azure::Redis::Mgmt::V2017_02_01::Models::OperationListResult
35
- RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerWithPropertiesList
36
- ProxyResource = Azure::Redis::Mgmt::V2017_02_01::Models::ProxyResource
37
- TrackedResource = Azure::Redis::Mgmt::V2017_02_01::Models::TrackedResource
38
- RedisCreateParameters = Azure::Redis::Mgmt::V2017_02_01::Models::RedisCreateParameters
39
- RedisFirewallRule = Azure::Redis::Mgmt::V2017_02_01::Models::RedisFirewallRule
40
- RedisResource = Azure::Redis::Mgmt::V2017_02_01::Models::RedisResource
41
- SkuName = Azure::Redis::Mgmt::V2017_02_01::Models::SkuName
42
- SkuFamily = Azure::Redis::Mgmt::V2017_02_01::Models::SkuFamily
43
- RedisKeyType = Azure::Redis::Mgmt::V2017_02_01::Models::RedisKeyType
44
- RebootType = Azure::Redis::Mgmt::V2017_02_01::Models::RebootType
45
- DayOfWeek = Azure::Redis::Mgmt::V2017_02_01::Models::DayOfWeek
46
- ReplicationRole = Azure::Redis::Mgmt::V2017_02_01::Models::ReplicationRole
16
+ RedisListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult
17
+ Sku = Azure::Redis::Mgmt::V2017_10_01::Models::Sku
18
+ RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters
19
+ RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleListResult
20
+ RedisAccessKeys = Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys
21
+ OperationDisplay = Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay
22
+ Resource = Azure::Redis::Mgmt::V2017_10_01::Models::Resource
23
+ OperationListResult = Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult
24
+ RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters
25
+ RedisUpdateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisUpdateParameters
26
+ RedisRebootParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters
27
+ RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters
28
+ ExportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ExportRDBParameters
29
+ ImportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters
30
+ Operation = Azure::Redis::Mgmt::V2017_10_01::Models::Operation
31
+ ScheduleEntry = Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry
32
+ RedisCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters
33
+ RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList
34
+ RedisLinkedServer = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer
35
+ RedisForceRebootResponse = Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse
36
+ ProxyResource = Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource
37
+ TrackedResource = Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource
38
+ RedisFirewallRule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule
39
+ RedisResource = Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource
40
+ RedisPatchSchedule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisPatchSchedule
41
+ RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties
42
+ SkuName = Azure::Redis::Mgmt::V2017_10_01::Models::SkuName
43
+ SkuFamily = Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily
44
+ RedisKeyType = Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType
45
+ RebootType = Azure::Redis::Mgmt::V2017_10_01::Models::RebootType
46
+ DayOfWeek = Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek
47
+ ReplicationRole = Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole
47
48
  end
48
49
 
49
50
  #
50
- # Redis
51
+ # RedisManagementClass
51
52
  #
52
- class RedisClass
53
- attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :redis_linked_server_operations, :configurable, :base_url, :options, :model_classes
53
+ class RedisManagementClass
54
+ attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes
54
55
 
55
56
  def initialize(options = {})
56
57
  if options.is_a?(Hash) && options.length == 0
@@ -61,118 +62,136 @@ module Azure::Redis::Profiles::Latest::Mgmt
61
62
 
62
63
  reset!(options)
63
64
 
64
- @configurable, @base_url, @options = self, nil, nil
65
+ @configurable = self
66
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
67
+ @options = options[:options].nil? ? nil:options[:options]
65
68
 
66
- client_0 = Azure::Redis::Mgmt::V2017_02_01::RedisManagementClient.new(configurable.credentials, base_url, options)
67
- if(client_0.respond_to?(:subscription_id))
68
- client_0.subscription_id = configurable.subscription_id
69
- end
70
- @operations = client_0.operations
71
- @redis = client_0.redis
72
- @firewall_rules = client_0.firewall_rules
73
- @patch_schedules = client_0.patch_schedules
74
- @redis_linked_server_operations = client_0.redis_linked_server_operations
69
+ @client_0 = Azure::Redis::Mgmt::V2017_10_01::RedisManagementClient.new(configurable.credentials, base_url, options)
70
+ if(@client_0.respond_to?(:subscription_id))
71
+ @client_0.subscription_id = configurable.subscription_id
72
+ end
73
+ add_telemetry(@client_0)
74
+ @operations = @client_0.operations
75
+ @redis = @client_0.redis
76
+ @firewall_rules = @client_0.firewall_rules
77
+ @patch_schedules = @client_0.patch_schedules
78
+ @linked_server = @client_0.linked_server
75
79
 
76
80
  @model_classes = ModelClasses.new
77
81
  end
78
82
 
79
- class ModelClasses
80
- def redis_list_result
81
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisListResult
82
- end
83
- def redis_regenerate_key_parameters
84
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisRegenerateKeyParameters
85
- end
86
- def redis_reboot_parameters
87
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisRebootParameters
88
- end
89
- def sku
90
- Azure::Redis::Mgmt::V2017_02_01::Models::Sku
91
- end
92
- def resource
93
- Azure::Redis::Mgmt::V2017_02_01::Models::Resource
94
- end
95
- def redis_update_parameters
96
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisUpdateParameters
97
- end
98
- def redis_linked_server_create_parameters
99
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerCreateParameters
100
- end
101
- def operation
102
- Azure::Redis::Mgmt::V2017_02_01::Models::Operation
103
- end
104
- def export_rdbparameters
105
- Azure::Redis::Mgmt::V2017_02_01::Models::ExportRDBParameters
106
- end
107
- def redis_linked_server
108
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServer
109
- end
110
- def import_rdbparameters
111
- Azure::Redis::Mgmt::V2017_02_01::Models::ImportRDBParameters
112
- end
113
- def operation_display
114
- Azure::Redis::Mgmt::V2017_02_01::Models::OperationDisplay
115
- end
116
- def schedule_entry
117
- Azure::Redis::Mgmt::V2017_02_01::Models::ScheduleEntry
118
- end
119
- def redis_access_keys
120
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisAccessKeys
121
- end
122
- def redis_patch_schedule
123
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisPatchSchedule
124
- end
125
- def redis_linked_server_list
126
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerList
127
- end
128
- def redis_force_reboot_response
129
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisForceRebootResponse
130
- end
131
- def redis_firewall_rule_list_result
132
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisFirewallRuleListResult
133
- end
134
- def redis_linked_server_with_properties
135
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerWithProperties
136
- end
137
- def operation_list_result
138
- Azure::Redis::Mgmt::V2017_02_01::Models::OperationListResult
139
- end
140
- def redis_linked_server_with_properties_list
141
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisLinkedServerWithPropertiesList
142
- end
143
- def proxy_resource
144
- Azure::Redis::Mgmt::V2017_02_01::Models::ProxyResource
145
- end
146
- def tracked_resource
147
- Azure::Redis::Mgmt::V2017_02_01::Models::TrackedResource
148
- end
149
- def redis_create_parameters
150
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisCreateParameters
151
- end
152
- def redis_firewall_rule
153
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisFirewallRule
154
- end
155
- def redis_resource
156
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisResource
157
- end
158
- def sku_name
159
- Azure::Redis::Mgmt::V2017_02_01::Models::SkuName
160
- end
161
- def sku_family
162
- Azure::Redis::Mgmt::V2017_02_01::Models::SkuFamily
163
- end
164
- def redis_key_type
165
- Azure::Redis::Mgmt::V2017_02_01::Models::RedisKeyType
166
- end
167
- def reboot_type
168
- Azure::Redis::Mgmt::V2017_02_01::Models::RebootType
169
- end
170
- def day_of_week
171
- Azure::Redis::Mgmt::V2017_02_01::Models::DayOfWeek
172
- end
173
- def replication_role
174
- Azure::Redis::Mgmt::V2017_02_01::Models::ReplicationRole
83
+ def add_telemetry(client)
84
+ profile_information = 'Profiles/Latest/Redis/Mgmt'
85
+ client.add_user_agent_information(profile_information)
86
+ end
87
+
88
+ def method_missing(method, *args)
89
+ if @client_0.respond_to?method
90
+ @client_0.send(method, *args)
91
+ else
92
+ super
175
93
  end
176
94
  end
95
+
96
+ end
97
+
98
+ class ModelClasses
99
+ def redis_list_result
100
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult
101
+ end
102
+ def sku
103
+ Azure::Redis::Mgmt::V2017_10_01::Models::Sku
104
+ end
105
+ def redis_regenerate_key_parameters
106
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters
107
+ end
108
+ def redis_firewall_rule_list_result
109
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleListResult
110
+ end
111
+ def redis_access_keys
112
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys
113
+ end
114
+ def operation_display
115
+ Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay
116
+ end
117
+ def resource
118
+ Azure::Redis::Mgmt::V2017_10_01::Models::Resource
119
+ end
120
+ def operation_list_result
121
+ Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult
122
+ end
123
+ def redis_linked_server_create_parameters
124
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters
125
+ end
126
+ def redis_update_parameters
127
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisUpdateParameters
128
+ end
129
+ def redis_reboot_parameters
130
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters
131
+ end
132
+ def redis_firewall_rule_create_parameters
133
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters
134
+ end
135
+ def export_rdbparameters
136
+ Azure::Redis::Mgmt::V2017_10_01::Models::ExportRDBParameters
137
+ end
138
+ def import_rdbparameters
139
+ Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters
140
+ end
141
+ def operation
142
+ Azure::Redis::Mgmt::V2017_10_01::Models::Operation
143
+ end
144
+ def schedule_entry
145
+ Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry
146
+ end
147
+ def redis_create_parameters
148
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters
149
+ end
150
+ def redis_linked_server_with_properties_list
151
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList
152
+ end
153
+ def redis_linked_server
154
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer
155
+ end
156
+ def redis_force_reboot_response
157
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse
158
+ end
159
+ def proxy_resource
160
+ Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource
161
+ end
162
+ def tracked_resource
163
+ Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource
164
+ end
165
+ def redis_firewall_rule
166
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule
167
+ end
168
+ def redis_resource
169
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource
170
+ end
171
+ def redis_patch_schedule
172
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisPatchSchedule
173
+ end
174
+ def redis_linked_server_with_properties
175
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties
176
+ end
177
+ def sku_name
178
+ Azure::Redis::Mgmt::V2017_10_01::Models::SkuName
179
+ end
180
+ def sku_family
181
+ Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily
182
+ end
183
+ def redis_key_type
184
+ Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType
185
+ end
186
+ def reboot_type
187
+ Azure::Redis::Mgmt::V2017_10_01::Models::RebootType
188
+ end
189
+ def day_of_week
190
+ Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek
191
+ end
192
+ def replication_role
193
+ Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole
194
+ end
177
195
  end
196
+ end
178
197
  end