azure_mgmt_redis 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-08-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
  3. data/lib/2016-04-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
  4. data/lib/2017-02-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
  5. data/lib/2017-10-01/generated/azure_mgmt_redis.rb +16 -12
  6. data/lib/2017-10-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb +58 -0
  7. data/lib/2017-10-01/generated/azure_mgmt_redis/models/notification_list_response.rb +67 -0
  8. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb +100 -0
  9. data/lib/2017-10-01/generated/azure_mgmt_redis/models/upgrade_notification.rb +80 -0
  10. data/lib/2017-10-01/generated/azure_mgmt_redis/patch_schedules.rb +211 -6
  11. data/lib/2017-10-01/generated/azure_mgmt_redis/redis.rb +191 -2
  12. data/lib/2017-10-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
  13. data/lib/2018-03-01/generated/azure_mgmt_redis.rb +70 -0
  14. data/lib/2018-03-01/generated/azure_mgmt_redis/firewall_rules.rb +528 -0
  15. data/lib/2018-03-01/generated/azure_mgmt_redis/linked_server.rb +594 -0
  16. data/lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb +58 -0
  17. data/lib/2018-03-01/generated/azure_mgmt_redis/models/day_of_week.rb +23 -0
  18. data/lib/2018-03-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb +68 -0
  19. data/lib/2018-03-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb +65 -0
  20. data/lib/2018-03-01/generated/azure_mgmt_redis/models/notification_list_response.rb +67 -0
  21. data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation.rb +58 -0
  22. data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation_display.rb +80 -0
  23. data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation_list_result.rb +102 -0
  24. data/lib/2018-03-01/generated/azure_mgmt_redis/models/provisioning_state.rb +26 -0
  25. data/lib/2018-03-01/generated/azure_mgmt_redis/models/proxy_resource.rb +63 -0
  26. data/lib/2018-03-01/generated/azure_mgmt_redis/models/reboot_type.rb +17 -0
  27. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_access_keys.rb +61 -0
  28. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb +205 -0
  29. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule.rb +85 -0
  30. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule_create_parameters.rb +57 -0
  31. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb +100 -0
  32. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_force_reboot_response.rb +47 -0
  33. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_key_type.rb +16 -0
  34. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server.rb +47 -0
  35. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb +70 -0
  36. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties.rb +110 -0
  37. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb +100 -0
  38. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_list_result.rb +99 -0
  39. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_patch_schedule.rb +83 -0
  40. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb +100 -0
  41. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb +60 -0
  42. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +48 -0
  43. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_resource.rb +325 -0
  44. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +143 -0
  45. data/lib/2018-03-01/generated/azure_mgmt_redis/models/replication_role.rb +16 -0
  46. data/lib/2018-03-01/generated/azure_mgmt_redis/models/resource.rb +71 -0
  47. data/lib/2018-03-01/generated/azure_mgmt_redis/models/schedule_entry.rb +72 -0
  48. data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku.rb +73 -0
  49. data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku_family.rb +16 -0
  50. data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku_name.rb +17 -0
  51. data/lib/2018-03-01/generated/azure_mgmt_redis/models/tls_version.rb +17 -0
  52. data/lib/2018-03-01/generated/azure_mgmt_redis/models/tracked_resource.rb +92 -0
  53. data/lib/2018-03-01/generated/azure_mgmt_redis/models/upgrade_notification.rb +80 -0
  54. data/lib/2018-03-01/generated/azure_mgmt_redis/module_definition.rb +9 -0
  55. data/lib/2018-03-01/generated/azure_mgmt_redis/operations.rb +222 -0
  56. data/lib/2018-03-01/generated/azure_mgmt_redis/patch_schedules.rb +522 -0
  57. data/lib/2018-03-01/generated/azure_mgmt_redis/redis.rb +1671 -0
  58. data/lib/2018-03-01/generated/azure_mgmt_redis/redis_management_client.rb +149 -0
  59. data/lib/azure_mgmt_redis.rb +3 -2
  60. data/lib/profiles/latest/modules/redis_profile_module.rb +107 -83
  61. data/lib/version.rb +1 -1
  62. metadata +55 -5
@@ -0,0 +1,149 @@
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::V2018_03_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] The preferred language for the response.
29
+ attr_accessor :accept_language
30
+
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
+ attr_accessor :long_running_operation_retry_timeout
34
+
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
38
+ attr_accessor :generate_client_request_id
39
+
40
+ # @return [Operations] operations
41
+ attr_reader :operations
42
+
43
+ # @return [Redis] redis
44
+ attr_reader :redis
45
+
46
+ # @return [FirewallRules] firewall_rules
47
+ attr_reader :firewall_rules
48
+
49
+ # @return [PatchSchedules] patch_schedules
50
+ attr_reader :patch_schedules
51
+
52
+ # @return [LinkedServer] linked_server
53
+ attr_reader :linked_server
54
+
55
+ #
56
+ # Creates initializes a new instance of the RedisManagementClient class.
57
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
58
+ # @param base_url [String] the base URI of the service.
59
+ # @param options [Array] filters to be applied to the HTTP requests.
60
+ #
61
+ def initialize(credentials = nil, base_url = nil, options = nil)
62
+ super(credentials, options)
63
+ @base_url = base_url || 'https://management.azure.com'
64
+
65
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
66
+ @credentials = credentials
67
+
68
+ @operations = Operations.new(self)
69
+ @redis = Redis.new(self)
70
+ @firewall_rules = FirewallRules.new(self)
71
+ @patch_schedules = PatchSchedules.new(self)
72
+ @linked_server = LinkedServer.new(self)
73
+ @api_version = '2018-03-01'
74
+ @accept_language = 'en-US'
75
+ @long_running_operation_retry_timeout = 30
76
+ @generate_client_request_id = true
77
+ add_telemetry
78
+ end
79
+
80
+ #
81
+ # Makes a request and returns the body of the response.
82
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
83
+ # @param path [String] the path, relative to {base_url}.
84
+ # @param options [Hash{String=>String}] specifying any request options like :body.
85
+ # @return [Hash{String=>String}] containing the body of the response.
86
+ # Example:
87
+ #
88
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
89
+ # path = "/path"
90
+ # options = {
91
+ # body: request_content,
92
+ # query_params: {'api-version' => '2016-02-01'}
93
+ # }
94
+ # result = @client.make_request(:put, path, options)
95
+ #
96
+ def make_request(method, path, options = {})
97
+ result = make_request_with_http_info(method, path, options)
98
+ result.body unless result.nil?
99
+ end
100
+
101
+ #
102
+ # Makes a request and returns the operation response.
103
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
104
+ # @param path [String] the path, relative to {base_url}.
105
+ # @param options [Hash{String=>String}] specifying any request options like :body.
106
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
107
+ #
108
+ def make_request_with_http_info(method, path, options = {})
109
+ result = make_request_async(method, path, options).value!
110
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
111
+ result
112
+ end
113
+
114
+ #
115
+ # Makes a request asynchronously.
116
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
117
+ # @param path [String] the path, relative to {base_url}.
118
+ # @param options [Hash{String=>String}] specifying any request options like :body.
119
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
120
+ #
121
+ def make_request_async(method, path, options = {})
122
+ fail ArgumentError, 'method is nil' if method.nil?
123
+ fail ArgumentError, 'path is nil' if path.nil?
124
+
125
+ request_url = options[:base_url] || @base_url
126
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
127
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
128
+ end
129
+
130
+ request_headers = @request_headers
131
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
132
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
133
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
134
+
135
+ super(request_url, method, path, options)
136
+ end
137
+
138
+
139
+ private
140
+ #
141
+ # Adds telemetry information.
142
+ #
143
+ def add_telemetry
144
+ sdk_information = 'azure_mgmt_redis'
145
+ sdk_information = "#{sdk_information}/0.17.0"
146
+ add_user_agent_information(sdk_information)
147
+ end
148
+ end
149
+ end
@@ -2,8 +2,9 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require '2015-08-01/generated/azure_mgmt_redis'
5
+ require '2017-10-01/generated/azure_mgmt_redis'
6
6
  require '2016-04-01/generated/azure_mgmt_redis'
7
+ require '2018-03-01/generated/azure_mgmt_redis'
8
+ require '2015-08-01/generated/azure_mgmt_redis'
7
9
  require '2017-02-01/generated/azure_mgmt_redis'
8
- require '2017-10-01/generated/azure_mgmt_redis'
9
10
  require 'profiles/latest/redis_latest_profile_client'
@@ -6,45 +6,51 @@ require 'azure_mgmt_redis'
6
6
 
7
7
  module Azure::Redis::Profiles::Latest
8
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
9
+ Operations = Azure::Redis::Mgmt::V2018_03_01::Operations
10
+ Redis = Azure::Redis::Mgmt::V2018_03_01::Redis
11
+ FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules
12
+ PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules
13
+ LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer
14
14
 
15
15
  module Models
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
16
+ RedisRebootParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters
17
+ Sku = Azure::Redis::Mgmt::V2018_03_01::Models::Sku
18
+ ExportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters
19
+ RedisListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult
20
+ RedisAccessKeys = Azure::Redis::Mgmt::V2018_03_01::Models::RedisAccessKeys
21
+ RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters
22
+ Resource = Azure::Redis::Mgmt::V2018_03_01::Models::Resource
23
+ NotificationListResponse = Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse
24
+ OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult
25
+ RedisUpdateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters
26
+ ImportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters
27
+ RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters
28
+ ScheduleEntry = Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry
29
+ CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters
30
+ Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation
31
+ RedisPatchScheduleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult
32
+ UpgradeNotification = Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification
33
+ RedisForceRebootResponse = Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse
34
+ RedisLinkedServer = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer
35
+ OperationDisplay = Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay
36
+ RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult
37
+ RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList
38
+ RedisCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters
39
+ RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters
40
+ ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource
41
+ TrackedResource = Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource
42
+ RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule
43
+ RedisResource = Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource
44
+ RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule
45
+ RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties
46
+ SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName
47
+ SkuFamily = Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily
48
+ TlsVersion = Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion
49
+ ProvisioningState = Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState
50
+ RedisKeyType = Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType
51
+ RebootType = Azure::Redis::Mgmt::V2018_03_01::Models::RebootType
52
+ DayOfWeek = Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek
53
+ ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole
48
54
  end
49
55
 
50
56
  #
@@ -66,7 +72,7 @@ module Azure::Redis::Profiles::Latest
66
72
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
67
73
  @options = options[:options].nil? ? nil:options[:options]
68
74
 
69
- @client_0 = Azure::Redis::Mgmt::V2017_10_01::RedisManagementClient.new(configurable.credentials, base_url, options)
75
+ @client_0 = Azure::Redis::Mgmt::V2018_03_01::RedisManagementClient.new(configurable.credentials, base_url, options)
70
76
  if(@client_0.respond_to?(:subscription_id))
71
77
  @client_0.subscription_id = configurable.subscription_id
72
78
  end
@@ -96,101 +102,119 @@ module Azure::Redis::Profiles::Latest
96
102
  end
97
103
 
98
104
  class ModelClasses
99
- def redis_list_result
100
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult
105
+ def redis_reboot_parameters
106
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters
101
107
  end
102
108
  def sku
103
- Azure::Redis::Mgmt::V2017_10_01::Models::Sku
109
+ Azure::Redis::Mgmt::V2018_03_01::Models::Sku
104
110
  end
105
- def redis_regenerate_key_parameters
106
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters
111
+ def export_rdbparameters
112
+ Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters
107
113
  end
108
- def redis_firewall_rule_list_result
109
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleListResult
114
+ def redis_list_result
115
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult
110
116
  end
111
117
  def redis_access_keys
112
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys
118
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisAccessKeys
113
119
  end
114
- def operation_display
115
- Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay
120
+ def redis_regenerate_key_parameters
121
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters
116
122
  end
117
123
  def resource
118
- Azure::Redis::Mgmt::V2017_10_01::Models::Resource
124
+ Azure::Redis::Mgmt::V2018_03_01::Models::Resource
119
125
  end
120
- def operation_list_result
121
- Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult
126
+ def notification_list_response
127
+ Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse
122
128
  end
123
- def redis_linked_server_create_parameters
124
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters
129
+ def operation_list_result
130
+ Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult
125
131
  end
126
132
  def redis_update_parameters
127
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisUpdateParameters
133
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters
128
134
  end
129
- def redis_reboot_parameters
130
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters
135
+ def import_rdbparameters
136
+ Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters
131
137
  end
132
138
  def redis_firewall_rule_create_parameters
133
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters
139
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters
134
140
  end
135
- def export_rdbparameters
136
- Azure::Redis::Mgmt::V2017_10_01::Models::ExportRDBParameters
141
+ def schedule_entry
142
+ Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry
137
143
  end
138
- def import_rdbparameters
139
- Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters
144
+ def check_name_availability_parameters
145
+ Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters
140
146
  end
141
147
  def operation
142
- Azure::Redis::Mgmt::V2017_10_01::Models::Operation
148
+ Azure::Redis::Mgmt::V2018_03_01::Models::Operation
143
149
  end
144
- def schedule_entry
145
- Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry
150
+ def redis_patch_schedule_list_result
151
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult
146
152
  end
147
- def redis_create_parameters
148
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters
153
+ def upgrade_notification
154
+ Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification
149
155
  end
150
- def redis_linked_server_with_properties_list
151
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList
156
+ def redis_force_reboot_response
157
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse
152
158
  end
153
159
  def redis_linked_server
154
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer
160
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer
155
161
  end
156
- def redis_force_reboot_response
157
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse
162
+ def operation_display
163
+ Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay
164
+ end
165
+ def redis_firewall_rule_list_result
166
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult
167
+ end
168
+ def redis_linked_server_with_properties_list
169
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList
170
+ end
171
+ def redis_create_parameters
172
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters
173
+ end
174
+ def redis_linked_server_create_parameters
175
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters
158
176
  end
159
177
  def proxy_resource
160
- Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource
178
+ Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource
161
179
  end
162
180
  def tracked_resource
163
- Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource
181
+ Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource
164
182
  end
165
183
  def redis_firewall_rule
166
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule
184
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule
167
185
  end
168
186
  def redis_resource
169
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource
187
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource
170
188
  end
171
189
  def redis_patch_schedule
172
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisPatchSchedule
190
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule
173
191
  end
174
192
  def redis_linked_server_with_properties
175
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties
193
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties
176
194
  end
177
195
  def sku_name
178
- Azure::Redis::Mgmt::V2017_10_01::Models::SkuName
196
+ Azure::Redis::Mgmt::V2018_03_01::Models::SkuName
179
197
  end
180
198
  def sku_family
181
- Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily
199
+ Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily
200
+ end
201
+ def tls_version
202
+ Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion
203
+ end
204
+ def provisioning_state
205
+ Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState
182
206
  end
183
207
  def redis_key_type
184
- Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType
208
+ Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType
185
209
  end
186
210
  def reboot_type
187
- Azure::Redis::Mgmt::V2017_10_01::Models::RebootType
211
+ Azure::Redis::Mgmt::V2018_03_01::Models::RebootType
188
212
  end
189
213
  def day_of_week
190
- Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek
214
+ Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek
191
215
  end
192
216
  def replication_role
193
- Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole
217
+ Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole
194
218
  end
195
219
  end
196
220
  end
data/lib/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Redis::Mgmt
6
- VERSION = '0.16.0'
6
+ VERSION = '0.17.0'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-12 00:00:00.000000000 Z
11
+ date: 2018-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.10.0
75
+ version: 0.11.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.10.0
82
+ version: 0.11.0
83
83
  description: Microsoft Azure Redis Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -181,9 +181,11 @@ files:
181
181
  - lib/2017-10-01/generated/azure_mgmt_redis.rb
182
182
  - lib/2017-10-01/generated/azure_mgmt_redis/firewall_rules.rb
183
183
  - lib/2017-10-01/generated/azure_mgmt_redis/linked_server.rb
184
+ - lib/2017-10-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb
184
185
  - lib/2017-10-01/generated/azure_mgmt_redis/models/day_of_week.rb
185
186
  - lib/2017-10-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb
186
187
  - lib/2017-10-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb
188
+ - lib/2017-10-01/generated/azure_mgmt_redis/models/notification_list_response.rb
187
189
  - lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb
188
190
  - lib/2017-10-01/generated/azure_mgmt_redis/models/operation_display.rb
189
191
  - lib/2017-10-01/generated/azure_mgmt_redis/models/operation_list_result.rb
@@ -202,6 +204,7 @@ files:
202
204
  - lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb
203
205
  - lib/2017-10-01/generated/azure_mgmt_redis/models/redis_list_result.rb
204
206
  - lib/2017-10-01/generated/azure_mgmt_redis/models/redis_patch_schedule.rb
207
+ - lib/2017-10-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb
205
208
  - lib/2017-10-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb
206
209
  - lib/2017-10-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb
207
210
  - lib/2017-10-01/generated/azure_mgmt_redis/models/redis_resource.rb
@@ -213,11 +216,58 @@ files:
213
216
  - lib/2017-10-01/generated/azure_mgmt_redis/models/sku_family.rb
214
217
  - lib/2017-10-01/generated/azure_mgmt_redis/models/sku_name.rb
215
218
  - lib/2017-10-01/generated/azure_mgmt_redis/models/tracked_resource.rb
219
+ - lib/2017-10-01/generated/azure_mgmt_redis/models/upgrade_notification.rb
216
220
  - lib/2017-10-01/generated/azure_mgmt_redis/module_definition.rb
217
221
  - lib/2017-10-01/generated/azure_mgmt_redis/operations.rb
218
222
  - lib/2017-10-01/generated/azure_mgmt_redis/patch_schedules.rb
219
223
  - lib/2017-10-01/generated/azure_mgmt_redis/redis.rb
220
224
  - lib/2017-10-01/generated/azure_mgmt_redis/redis_management_client.rb
225
+ - lib/2018-03-01/generated/azure_mgmt_redis.rb
226
+ - lib/2018-03-01/generated/azure_mgmt_redis/firewall_rules.rb
227
+ - lib/2018-03-01/generated/azure_mgmt_redis/linked_server.rb
228
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb
229
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/day_of_week.rb
230
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb
231
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb
232
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/notification_list_response.rb
233
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/operation.rb
234
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/operation_display.rb
235
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/operation_list_result.rb
236
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/provisioning_state.rb
237
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/proxy_resource.rb
238
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/reboot_type.rb
239
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_access_keys.rb
240
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb
241
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule.rb
242
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule_create_parameters.rb
243
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb
244
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_force_reboot_response.rb
245
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_key_type.rb
246
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server.rb
247
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb
248
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties.rb
249
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb
250
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_list_result.rb
251
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_patch_schedule.rb
252
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb
253
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb
254
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb
255
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_resource.rb
256
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb
257
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/replication_role.rb
258
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/resource.rb
259
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/schedule_entry.rb
260
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/sku.rb
261
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/sku_family.rb
262
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/sku_name.rb
263
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/tls_version.rb
264
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/tracked_resource.rb
265
+ - lib/2018-03-01/generated/azure_mgmt_redis/models/upgrade_notification.rb
266
+ - lib/2018-03-01/generated/azure_mgmt_redis/module_definition.rb
267
+ - lib/2018-03-01/generated/azure_mgmt_redis/operations.rb
268
+ - lib/2018-03-01/generated/azure_mgmt_redis/patch_schedules.rb
269
+ - lib/2018-03-01/generated/azure_mgmt_redis/redis.rb
270
+ - lib/2018-03-01/generated/azure_mgmt_redis/redis_management_client.rb
221
271
  - lib/azure_mgmt_redis.rb
222
272
  - lib/module_definition.rb
223
273
  - lib/profiles/latest/modules/redis_profile_module.rb
@@ -249,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
299
  version: '0'
250
300
  requirements: []
251
301
  rubyforge_project:
252
- rubygems_version: 2.6.10
302
+ rubygems_version: 2.5.1
253
303
  signing_key:
254
304
  specification_version: 4
255
305
  summary: Official Ruby client library to consume Microsoft Azure Redis Management