Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ module DayOfWeek
Friday = "Friday"
Saturday = "Saturday"
Sunday = "Sunday"
Everyday = "Everyday"
Weekend = "Weekend"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Azure::ARM::Redis
module Models
#
# Parameters for redis export operation.
# Parameters for Redis export operation.
#
class ExportRDBParameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Azure::ARM::Redis
module Models
#
# Parameters for redis import operation.
# Parameters for Redis import operation.
#
class ImportRDBParameters

Expand All @@ -15,7 +15,7 @@ class ImportRDBParameters
# @return [String] File format.
attr_accessor :format

# @return [Array<String>] files to import
# @return [Array<String>] files to import.
attr_accessor :files


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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


Expand Down Expand Up @@ -100,7 +100,7 @@ def self.mapper()
},
redis_configuration: {
required: false,
serialized_name: 'properties.redisConfiguration',
serialized_name: 'properties.RedisConfiguration',
type: {
name: 'Dictionary',
value: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<RedisResource>] Results of the list operation
# @return [Array<RedisResource>] List of Redis cache instances.
attr_accessor :value

# @return [String] Link for next set of locations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ScheduleEntry>] List of patch schedules for redis cache.
# @return [Array<ScheduleEntry>] List of patch schedules for a Redis
# cache.
attr_accessor :schedule_entries


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,34 @@
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
# keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value
# 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
Expand All @@ -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


Expand Down Expand Up @@ -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'
}
Expand Down Expand Up @@ -155,7 +155,7 @@ def self.mapper()
},
redis_configuration: {
required: false,
serialized_name: 'properties.redisConfiguration',
serialized_name: 'properties.RedisConfiguration',
type: {
name: 'Dictionary',
value: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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


Expand All @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Loading