From 5e42cef49f42b0cee4f49a715fbc1efc65cb192b Mon Sep 17 00:00:00 2001 From: SwaggerToSDK Automation Date: Thu, 10 Nov 2016 15:50:48 +0000 Subject: [PATCH] Generated from 8438dbe2168d35d39dd7168927d37f2e471a5a7a --- .../azure_mgmt_redis/models/day_of_week.rb | 2 + .../models/export_rdbparameters.rb | 2 +- .../models/import_rdbparameters.rb | 4 +- .../models/redis_access_keys.rb | 4 +- .../models/redis_create_parameters.rb | 14 +- .../models/redis_list_result.rb | 4 +- .../models/redis_patch_schedule.rb | 13 +- .../models/redis_reboot_parameters.rb | 8 +- .../models/redis_regenerate_key_parameters.rb | 4 +- .../azure_mgmt_redis/models/redis_resource.rb | 28 +-- .../models/redis_update_parameters.rb | 16 +- .../azure_mgmt_redis/models/schedule_entry.rb | 8 +- .../generated/azure_mgmt_redis/models/sku.rb | 13 +- .../azure_mgmt_redis/patch_schedules.rb | 44 ++-- .../lib/generated/azure_mgmt_redis/redis.rb | 220 +++++++++--------- .../redis_management_client.rb | 4 +- 16 files changed, 196 insertions(+), 192 deletions(-) diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/day_of_week.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/day_of_week.rb index 49ec98716d..835f2ea26c 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/day_of_week.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/day_of_week.rb @@ -16,6 +16,8 @@ module DayOfWeek Friday = "Friday" Saturday = "Saturday" Sunday = "Sunday" + Everyday = "Everyday" + Weekend = "Weekend" end end end diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/export_rdbparameters.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/export_rdbparameters.rb index f0d45180c5..60f99e362a 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/export_rdbparameters.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/export_rdbparameters.rb @@ -6,7 +6,7 @@ module Azure::ARM::Redis module Models # - # Parameters for redis export operation. + # Parameters for Redis export operation. # class ExportRDBParameters diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/import_rdbparameters.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/import_rdbparameters.rb index 25ba5d1792..7e0aa8357d 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/import_rdbparameters.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/import_rdbparameters.rb @@ -6,7 +6,7 @@ module Azure::ARM::Redis module Models # - # Parameters for redis import operation. + # Parameters for Redis import operation. # class ImportRDBParameters @@ -15,7 +15,7 @@ class ImportRDBParameters # @return [String] File format. attr_accessor :format - # @return [Array] files to import + # @return [Array] files to import. attr_accessor :files diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_access_keys.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_access_keys.rb index e31b9c665a..db558425a3 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_access_keys.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_access_keys.rb @@ -13,11 +13,11 @@ class RedisAccessKeys include MsRestAzure # @return [String] The current primary key that clients can use to - # authenticate with redis cache. + # authenticate with Redis cache. attr_accessor :primary_key # @return [String] The current secondary key that clients can use to - # authenticate with redis cache. + # authenticate with Redis cache. attr_accessor :secondary_key diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_create_parameters.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_create_parameters.rb index d3e356b25d..d2342a46c2 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_create_parameters.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_create_parameters.rb @@ -17,8 +17,8 @@ class RedisCreateParameters < MsRestAzure::Resource # etc. attr_accessor :redis_configuration - # @return [Boolean] If the value is true, then the non-ssl redis server - # port (6379) will be enabled. + # @return [Boolean] Specifies whether the non-ssl Redis server port + # (6379) is enabled. attr_accessor :enable_non_ssl_port # @return [Hash{String => String}] tenantSettings @@ -29,15 +29,15 @@ class RedisCreateParameters < MsRestAzure::Resource attr_accessor :shard_count # @return [String] The full resource ID of a subnet in a virtual network - # to deploy the redis cache in. Example format: + # to deploy the Redis cache in. Example format: # /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 attr_accessor :subnet_id - # @return [String] Required when deploying a redis cache inside an - # existing Azure Virtual Network. + # @return [String] Static IP address. Required when deploying a Redis + # cache inside an existing Azure Virtual Network. attr_accessor :static_ip - # @return [Sku] What sku of redis cache to deploy. + # @return [Sku] The SKU of the Redis cache to deploy. attr_accessor :sku @@ -100,7 +100,7 @@ def self.mapper() }, redis_configuration: { required: false, - serialized_name: 'properties.redisConfiguration', + serialized_name: 'properties.RedisConfiguration', type: { name: 'Dictionary', value: { diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_list_result.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_list_result.rb index 229a4dac51..6186049f27 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_list_result.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_list_result.rb @@ -6,13 +6,13 @@ module Azure::ARM::Redis module Models # - # The response of list redis operation. + # The response of list Redis operation. # class RedisListResult include MsRestAzure - # @return [Array] Results of the list operation + # @return [Array] List of Redis cache instances. attr_accessor :value # @return [String] Link for next set of locations. diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_patch_schedule.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_patch_schedule.rb index fae5400d5c..dffc1f6530 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_patch_schedule.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_patch_schedule.rb @@ -6,25 +6,26 @@ module Azure::ARM::Redis module Models # - # Response to put/get patch schedules for redis cache. + # Response to put/get patch schedules for Redis cache. # class RedisPatchSchedule include MsRestAzure - # @return [String] Resource Id + # @return [String] Resource ID. attr_accessor :id - # @return [String] Resource name + # @return [String] Resource name. attr_accessor :name - # @return [String] Resource type + # @return [String] Resource type. attr_accessor :type - # @return [String] Resource location + # @return [String] Resource location. attr_accessor :location - # @return [Array] List of patch schedules for redis cache. + # @return [Array] List of patch schedules for a Redis + # cache. attr_accessor :schedule_entries diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb index 013cfad216..82242c9876 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb @@ -6,19 +6,19 @@ module Azure::ARM::Redis module Models # - # Specifies which redis node(s) to reboot. + # Specifies which Redis node(s) to reboot. # class RedisRebootParameters include MsRestAzure - # @return [RebootType] Which redis node(s) to reboot. Depending on this + # @return [RebootType] Which Redis node(s) to reboot. Depending on this # value data loss is possible. Possible values include: 'PrimaryNode', # 'SecondaryNode', 'AllNodes' attr_accessor :reboot_type - # @return [Integer] In case of cluster cache, this specifies shard id - # which should be rebooted. + # @return [Integer] If clustering is enabled, the ID of the shard to be + # rebooted. attr_accessor :shard_id diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb index 34bee352a6..88172e1fc8 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb @@ -6,13 +6,13 @@ module Azure::ARM::Redis module Models # - # Specifies which redis access keys to reset. + # Specifies which Redis access keys to reset. # class RedisRegenerateKeyParameters include MsRestAzure - # @return [RedisKeyType] Which redis access key to reset. Possible + # @return [RedisKeyType] The Redis access key to regenerate. Possible # values include: 'Primary', 'Secondary' attr_accessor :key_type diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_resource.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_resource.rb index 121af51fbf..d9a5ea550e 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_resource.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_resource.rb @@ -6,25 +6,25 @@ module Azure::ARM::Redis module Models # - # A single redis item in List or Get Operation. + # A single Redis item in List or Get Operation. # class RedisResource < MsRestAzure::Resource include MsRestAzure - # @return [String] Redis Version. + # @return [String] Redis version. attr_accessor :redis_version - # @return [String] Redis instance provisioning status + # @return [String] Redis instance provisioning status. attr_accessor :provisioning_state - # @return [String] Redis host name + # @return [String] Redis host name. attr_accessor :host_name - # @return [Integer] Redis non-ssl port + # @return [Integer] Redis non-SSL port. attr_accessor :port - # @return [Integer] Redis ssl port + # @return [Integer] Redis SSL port. attr_accessor :ssl_port # @return [Hash{String => String}] All Redis Settings. Few possible @@ -32,8 +32,8 @@ class RedisResource < MsRestAzure::Resource # etc. attr_accessor :redis_configuration - # @return [Boolean] If the value is true, then the non-ssl redis server - # port (6379) will be enabled. + # @return [Boolean] Specifies whether the non-ssl Redis server port + # (6379) is enabled. attr_accessor :enable_non_ssl_port # @return [Hash{String => String}] tenantSettings @@ -44,15 +44,15 @@ class RedisResource < MsRestAzure::Resource attr_accessor :shard_count # @return [String] The full resource ID of a subnet in a virtual network - # to deploy the redis cache in. Example format: + # to deploy the Redis cache in. Example format: # /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 attr_accessor :subnet_id - # @return [String] Required when deploying a redis cache inside an - # existing Azure Virtual Network. + # @return [String] Static IP address. Required when deploying a Redis + # cache inside an existing Azure Virtual Network. attr_accessor :static_ip - # @return [Sku] What sku of redis cache to deploy. + # @return [Sku] The SKU of the Redis cache to deploy. attr_accessor :sku @@ -116,7 +116,7 @@ def self.mapper() redis_version: { required: false, read_only: true, - serialized_name: 'properties.redisVersion', + serialized_name: 'properties.RedisVersion', type: { name: 'String' } @@ -155,7 +155,7 @@ def self.mapper() }, redis_configuration: { required: false, - serialized_name: 'properties.redisConfiguration', + serialized_name: 'properties.RedisConfiguration', type: { name: 'Dictionary', value: { diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_update_parameters.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_update_parameters.rb index 490b5f1617..526e409fbd 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_update_parameters.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/redis_update_parameters.rb @@ -17,8 +17,8 @@ class RedisUpdateParameters # etc. attr_accessor :redis_configuration - # @return [Boolean] If the value is true, then the non-ssl redis server - # port (6379) will be enabled. + # @return [Boolean] Specifies whether the non-ssl Redis server port + # (6379) is enabled. attr_accessor :enable_non_ssl_port # @return [Hash{String => String}] tenantSettings @@ -29,18 +29,18 @@ class RedisUpdateParameters attr_accessor :shard_count # @return [String] The full resource ID of a subnet in a virtual network - # to deploy the redis cache in. Example format: + # to deploy the Redis cache in. Example format: # /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 attr_accessor :subnet_id - # @return [String] Required when deploying a redis cache inside an - # existing Azure Virtual Network. + # @return [String] Static IP address. Required when deploying a Redis + # cache inside an existing Azure Virtual Network. attr_accessor :static_ip - # @return [Sku] What sku of redis cache to deploy. + # @return [Sku] The SKU of the Redis cache to deploy. attr_accessor :sku - # @return [Hash{String => String}] Resource tags + # @return [Hash{String => String}] Resource tags. attr_accessor :tags @@ -58,7 +58,7 @@ def self.mapper() model_properties: { redis_configuration: { required: false, - serialized_name: 'properties.redisConfiguration', + serialized_name: 'properties.RedisConfiguration', type: { name: 'Dictionary', value: { diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/schedule_entry.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/schedule_entry.rb index 0329a830d3..61ed25b9b4 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/schedule_entry.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/schedule_entry.rb @@ -6,15 +6,15 @@ module Azure::ARM::Redis module Models # - # Patch schedule entry for Premium Redis Cache. + # Patch schedule entry for a Premium Redis Cache. # class ScheduleEntry include MsRestAzure - # @return [DayOfWeek] Day of week when cache can be patched. Possible - # values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', - # 'Friday', 'Saturday', 'Sunday' + # @return [DayOfWeek] Day of the week when a cache can be patched. + # Possible values include: 'Monday', 'Tuesday', 'Wednesday', + # 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend' attr_accessor :day_of_week # @return [Integer] Start hour after which cache patching can start. diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/sku.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/sku.rb index f1aa297327..e09cdf436f 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/sku.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/models/sku.rb @@ -6,23 +6,24 @@ module Azure::ARM::Redis module Models # - # Sku parameters supplied to the create redis operation. + # SKU parameters supplied to the create Redis operation. # class Sku include MsRestAzure - # @return [SkuName] What type of redis cache to deploy. Valid values: + # @return [SkuName] The type of Redis cache to deploy. Valid values: # (Basic, Standard, Premium). Possible values include: 'Basic', # 'Standard', 'Premium' attr_accessor :name - # @return [SkuFamily] Which family to use. Valid values: (C, P). - # Possible values include: 'C', 'P' + # @return [SkuFamily] The SKU family to use. Valid values: (C, P). (C = + # Basic/Standard, P = Premium). Possible values include: 'C', 'P' attr_accessor :family - # @return [Integer] What size of redis cache to deploy. Valid values: - # for C family (0, 1, 2, 3, 4, 5, 6), for P family (1, 2, 3, 4) + # @return [Integer] The size of the Redis cache to deploy. Valid values: + # for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) + # family (1, 2, 3, 4). attr_accessor :capacity diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/patch_schedules.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/patch_schedules.rb index d0bb0b80a0..91a88a2558 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/patch_schedules.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/patch_schedules.rb @@ -5,7 +5,7 @@ module Azure::ARM::Redis # - # REST API for Azure Redis Cache Service + # REST API for Azure Redis Cache Service. # class PatchSchedules include Azure::ARM::Redis::Models @@ -23,12 +23,12 @@ def initialize(client) attr_reader :client # - # Create or replace the patching schedule for redis cache. + # Create or replace the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisPatchSchedule] Parameters to set patch schedules for - # redis cache. + # Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -40,12 +40,12 @@ def create_or_update(resource_group_name, name, parameters, custom_headers = nil end # - # Create or replace the patching schedule for redis cache. + # Create or replace the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisPatchSchedule] Parameters to set patch schedules for - # redis cache. + # Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -56,12 +56,12 @@ def create_or_update_with_http_info(resource_group_name, name, parameters, custo end # - # Create or replace the patching schedule for redis cache. + # Create or replace the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisPatchSchedule] Parameters to set patch schedules for - # redis cache. + # Redis cache. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -130,10 +130,10 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers end # - # Deletes the patching schedule for redis cache. + # Deletes the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -144,10 +144,10 @@ def delete(resource_group_name, name, custom_headers = nil) end # - # Deletes the patching schedule for redis cache. + # Deletes the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -158,10 +158,10 @@ def delete_with_http_info(resource_group_name, name, custom_headers = nil) end # - # Deletes the patching schedule for redis cache. + # Deletes the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -210,10 +210,10 @@ def delete_async(resource_group_name, name, custom_headers = nil) end # - # Gets the patching schedule for redis cache. + # Gets the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -225,10 +225,10 @@ def get(resource_group_name, name, custom_headers = nil) end # - # Gets the patching schedule for redis cache. + # Gets the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -239,10 +239,10 @@ def get_with_http_info(resource_group_name, name, custom_headers = nil) end # - # Gets the patching schedule for redis cache. + # Gets the patching schedule for Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/redis.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/redis.rb index 702e8fbcd3..b7e438b1ea 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/redis.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/redis.rb @@ -5,7 +5,7 @@ module Azure::ARM::Redis # - # REST API for Azure Redis Cache Service + # REST API for Azure Redis Cache Service. # class Redis include Azure::ARM::Redis::Models @@ -24,12 +24,12 @@ def initialize(client) # # Create or replace (overwrite/recreate, with potential downtime) an existing - # redis cache + # Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisCreateParameters] Parameters supplied to the Create - # redis operation. + # Redis operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -42,9 +42,9 @@ def create(resource_group_name, name, parameters, custom_headers = nil) # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisCreateParameters] Parameters supplied to the Create - # redis operation. + # Redis operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -70,12 +70,12 @@ def create_async(resource_group_name, name, parameters, custom_headers = nil) end # - # Update an existing Redis cache + # Update an existing Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisUpdateParameters] Parameters supplied to the Update - # redis operation. + # Redis operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -88,9 +88,9 @@ def update(resource_group_name, name, parameters, custom_headers = nil) # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisUpdateParameters] Parameters supplied to the Update - # redis operation. + # Redis operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -116,10 +116,10 @@ def update_async(resource_group_name, name, parameters, custom_headers = nil) end # - # Deletes a redis cache. This operation takes a while to complete. + # Deletes a Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -130,7 +130,7 @@ def delete(resource_group_name, name, custom_headers = nil) # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -154,10 +154,10 @@ def delete_async(resource_group_name, name, custom_headers = nil) end # - # Gets a redis cache (resource description). + # Gets a Redis cache (resource description). # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -169,10 +169,10 @@ def get(resource_group_name, name, custom_headers = nil) end # - # Gets a redis cache (resource description). + # Gets a Redis cache (resource description). # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -183,10 +183,10 @@ def get_with_http_info(resource_group_name, name, custom_headers = nil) end # - # Gets a redis cache (resource description). + # Gets a Redis cache (resource description). # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -245,7 +245,7 @@ def get_async(resource_group_name, name, custom_headers = nil) end # - # Gets all redis caches in a resource group. + # Lists all Redis caches in a resource group. # # @param resource_group_name [String] The name of the resource group. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -259,7 +259,7 @@ def list_by_resource_group(resource_group_name, custom_headers = nil) end # - # Gets all redis caches in a resource group. + # Lists all Redis caches in a resource group. # # @param resource_group_name [String] The name of the resource group. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -272,7 +272,7 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers = end # - # Gets all redis caches in a resource group. + # Lists all Redis caches in a resource group. # # @param resource_group_name [String] The name of the resource group. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -332,7 +332,7 @@ def list_by_resource_group_async(resource_group_name, custom_headers = nil) end # - # Gets all redis caches in the specified subscription. + # Gets all Redis caches in the specified subscription. # # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -345,7 +345,7 @@ def list(custom_headers = nil) end # - # Gets all redis caches in the specified subscription. + # Gets all Redis caches in the specified subscription. # # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -357,7 +357,7 @@ def list_with_http_info(custom_headers = nil) end # - # Gets all redis caches in the specified subscription. + # Gets all Redis caches in the specified subscription. # # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -415,11 +415,11 @@ def list_async(custom_headers = nil) end # - # Retrieve a redis cache's access keys. This operation requires write + # Retrieve a Redis cache's access keys. This operation requires write # permission to the cache resource. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -431,11 +431,11 @@ def list_keys(resource_group_name, name, custom_headers = nil) end # - # Retrieve a redis cache's access keys. This operation requires write + # Retrieve a Redis cache's access keys. This operation requires write # permission to the cache resource. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -446,11 +446,11 @@ def list_keys_with_http_info(resource_group_name, name, custom_headers = nil) end # - # Retrieve a redis cache's access keys. This operation requires write + # Retrieve a Redis cache's access keys. This operation requires write # permission to the cache resource. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -509,13 +509,13 @@ def list_keys_async(resource_group_name, name, custom_headers = nil) end # - # Regenerate redis cache's access keys. This operation requires write + # Regenerate Redis cache's access keys. This operation requires write # permission to the cache resource. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisRegenerateKeyParameters] Specifies which key to - # reset. + # regenerate. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -527,13 +527,13 @@ def regenerate_key(resource_group_name, name, parameters, custom_headers = nil) end # - # Regenerate redis cache's access keys. This operation requires write + # Regenerate Redis cache's access keys. This operation requires write # permission to the cache resource. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisRegenerateKeyParameters] Specifies which key to - # reset. + # regenerate. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -544,13 +544,13 @@ def regenerate_key_with_http_info(resource_group_name, name, parameters, custom_ end # - # Regenerate redis cache's access keys. This operation requires write + # Regenerate Redis cache's access keys. This operation requires write # permission to the cache resource. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisRegenerateKeyParameters] Specifies which key to - # reset. + # regenerate. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -619,12 +619,12 @@ def regenerate_key_async(resource_group_name, name, parameters, custom_headers = end # - # Reboot specified redis node(s). This operation requires write permission to + # Reboot specified Redis node(s). This operation requires write permission to # the cache resource. There can be potential data loss. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [RedisRebootParameters] Specifies which redis node(s) to + # @param name [String] The name of the Redis cache. + # @param parameters [RedisRebootParameters] Specifies which Redis node(s) to # reboot. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -636,12 +636,12 @@ def force_reboot(resource_group_name, name, parameters, custom_headers = nil) end # - # Reboot specified redis node(s). This operation requires write permission to + # Reboot specified Redis node(s). This operation requires write permission to # the cache resource. There can be potential data loss. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [RedisRebootParameters] Specifies which redis node(s) to + # @param name [String] The name of the Redis cache. + # @param parameters [RedisRebootParameters] Specifies which Redis node(s) to # reboot. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -653,12 +653,12 @@ def force_reboot_with_http_info(resource_group_name, name, parameters, custom_he end # - # Reboot specified redis node(s). This operation requires write permission to + # Reboot specified Redis node(s). This operation requires write permission to # the cache resource. There can be potential data loss. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [RedisRebootParameters] Specifies which redis node(s) to + # @param name [String] The name of the Redis cache. + # @param parameters [RedisRebootParameters] Specifies which Redis node(s) to # reboot. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -718,11 +718,11 @@ def force_reboot_async(resource_group_name, name, parameters, custom_headers = n end # - # Import data into redis cache. + # Import data into Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ImportRDBParameters] Parameters for redis import + # @param name [String] The name of the Redis cache. + # @param parameters [ImportRDBParameters] Parameters for Redis import # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -734,8 +734,8 @@ def import_data(resource_group_name, name, parameters, custom_headers = nil) # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ImportRDBParameters] Parameters for redis import + # @param name [String] The name of the Redis cache. + # @param parameters [ImportRDBParameters] Parameters for Redis import # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -760,11 +760,11 @@ def import_data_async(resource_group_name, name, parameters, custom_headers = ni end # - # Import data into redis cache. + # Import data into Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ExportRDBParameters] Parameters for redis export + # @param name [String] The name of the Redis cache. + # @param parameters [ExportRDBParameters] Parameters for Redis export # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -776,8 +776,8 @@ def export_data(resource_group_name, name, parameters, custom_headers = nil) # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ExportRDBParameters] Parameters for redis export + # @param name [String] The name of the Redis cache. + # @param parameters [ExportRDBParameters] Parameters for Redis export # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -803,12 +803,12 @@ def export_data_async(resource_group_name, name, parameters, custom_headers = ni # # Create or replace (overwrite/recreate, with potential downtime) an existing - # redis cache + # Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisCreateParameters] Parameters supplied to the Create - # redis operation. + # Redis operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -821,12 +821,12 @@ def begin_create(resource_group_name, name, parameters, custom_headers = nil) # # Create or replace (overwrite/recreate, with potential downtime) an existing - # redis cache + # Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisCreateParameters] Parameters supplied to the Create - # redis operation. + # Redis operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -838,12 +838,12 @@ def begin_create_with_http_info(resource_group_name, name, parameters, custom_he # # Create or replace (overwrite/recreate, with potential downtime) an existing - # redis cache + # Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisCreateParameters] Parameters supplied to the Create - # redis operation. + # Redis operation. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -912,12 +912,12 @@ def begin_create_async(resource_group_name, name, parameters, custom_headers = n end # - # Update an existing Redis cache + # Update an existing Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisUpdateParameters] Parameters supplied to the Update - # redis operation. + # Redis operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -929,12 +929,12 @@ def begin_update(resource_group_name, name, parameters, custom_headers = nil) end # - # Update an existing Redis cache + # Update an existing Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisUpdateParameters] Parameters supplied to the Update - # redis operation. + # Redis operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -945,12 +945,12 @@ def begin_update_with_http_info(resource_group_name, name, parameters, custom_he end # - # Update an existing Redis cache + # Update an existing Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param parameters [RedisUpdateParameters] Parameters supplied to the Update - # redis operation. + # Redis operation. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -1019,10 +1019,10 @@ def begin_update_async(resource_group_name, name, parameters, custom_headers = n end # - # Deletes a redis cache. This operation takes a while to complete. + # Deletes a Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -1033,10 +1033,10 @@ def begin_delete(resource_group_name, name, custom_headers = nil) end # - # Deletes a redis cache. This operation takes a while to complete. + # Deletes a Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -1047,10 +1047,10 @@ def begin_delete_with_http_info(resource_group_name, name, custom_headers = nil) end # - # Deletes a redis cache. This operation takes a while to complete. + # Deletes a Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. + # @param name [String] The name of the Redis cache. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -1099,11 +1099,11 @@ def begin_delete_async(resource_group_name, name, custom_headers = nil) end # - # Import data into redis cache. + # Import data into Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ImportRDBParameters] Parameters for redis import + # @param name [String] The name of the Redis cache. + # @param parameters [ImportRDBParameters] Parameters for Redis import # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -1115,11 +1115,11 @@ def begin_import_data(resource_group_name, name, parameters, custom_headers = ni end # - # Import data into redis cache. + # Import data into Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ImportRDBParameters] Parameters for redis import + # @param name [String] The name of the Redis cache. + # @param parameters [ImportRDBParameters] Parameters for Redis import # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -1131,11 +1131,11 @@ def begin_import_data_with_http_info(resource_group_name, name, parameters, cust end # - # Import data into redis cache. + # Import data into Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ImportRDBParameters] Parameters for redis import + # @param name [String] The name of the Redis cache. + # @param parameters [ImportRDBParameters] Parameters for Redis import # operation. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -1195,11 +1195,11 @@ def begin_import_data_async(resource_group_name, name, parameters, custom_header end # - # Import data into redis cache. + # Import data into Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ExportRDBParameters] Parameters for redis export + # @param name [String] The name of the Redis cache. + # @param parameters [ExportRDBParameters] Parameters for Redis export # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -1211,11 +1211,11 @@ def begin_export_data(resource_group_name, name, parameters, custom_headers = ni end # - # Import data into redis cache. + # Import data into Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ExportRDBParameters] Parameters for redis export + # @param name [String] The name of the Redis cache. + # @param parameters [ExportRDBParameters] Parameters for Redis export # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -1227,11 +1227,11 @@ def begin_export_data_with_http_info(resource_group_name, name, parameters, cust end # - # Import data into redis cache. + # Import data into Redis cache. # # @param resource_group_name [String] The name of the resource group. - # @param name [String] The name of the redis cache. - # @param parameters [ExportRDBParameters] Parameters for redis export + # @param name [String] The name of the Redis cache. + # @param parameters [ExportRDBParameters] Parameters for Redis export # operation. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -1291,7 +1291,7 @@ def begin_export_data_async(resource_group_name, name, parameters, custom_header end # - # Gets all redis caches in a resource group. + # Lists all Redis caches in a resource group. # # @param next_page_link [String] The NextLink from the previous successful # call to List operation. @@ -1306,7 +1306,7 @@ def list_by_resource_group_next(next_page_link, custom_headers = nil) end # - # Gets all redis caches in a resource group. + # Lists all Redis caches in a resource group. # # @param next_page_link [String] The NextLink from the previous successful # call to List operation. @@ -1320,7 +1320,7 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = end # - # Gets all redis caches in a resource group. + # Lists all Redis caches in a resource group. # # @param next_page_link [String] The NextLink from the previous successful # call to List operation. @@ -1378,7 +1378,7 @@ def list_by_resource_group_next_async(next_page_link, custom_headers = nil) end # - # Gets all redis caches in the specified subscription. + # Gets all Redis caches in the specified subscription. # # @param next_page_link [String] The NextLink from the previous successful # call to List operation. @@ -1393,7 +1393,7 @@ def list_next(next_page_link, custom_headers = nil) end # - # Gets all redis caches in the specified subscription. + # Gets all Redis caches in the specified subscription. # # @param next_page_link [String] The NextLink from the previous successful # call to List operation. @@ -1407,7 +1407,7 @@ def list_next_with_http_info(next_page_link, custom_headers = nil) end # - # Gets all redis caches in the specified subscription. + # Gets all Redis caches in the specified subscription. # # @param next_page_link [String] The NextLink from the previous successful # call to List operation. @@ -1465,7 +1465,7 @@ def list_next_async(next_page_link, custom_headers = nil) end # - # Gets all redis caches in a resource group. + # Lists all Redis caches in a resource group. # # @param resource_group_name [String] The name of the resource group. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -1485,7 +1485,7 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) end # - # Gets all redis caches in the specified subscription. + # Gets all Redis caches in the specified subscription. # # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. diff --git a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/redis_management_client.rb b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/redis_management_client.rb index 83db2bfd88..ad8778dc41 100644 --- a/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/redis_management_client.rb +++ b/management/azure_mgmt_redis/lib/generated/azure_mgmt_redis/redis_management_client.rb @@ -18,8 +18,8 @@ class RedisManagementClient < MsRestAzure::AzureServiceClient attr_reader :credentials # @return [String] Gets subscription credentials which uniquely identify - # Microsoft Azure subscription. The subscription ID forms part of the URI - # for every service call. + # the Microsoft Azure subscription. The subscription ID forms part of the + # URI for every service call. attr_accessor :subscription_id # @return [String] Client Api Version.