# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Redis module Models # # Specifies which Redis access keys to reset. # class RedisRegenerateKeyParameters include MsRestAzure # @return [RedisKeyType] The Redis access key to regenerate. Possible # values include: 'Primary', 'Secondary' attr_accessor :key_type # # Mapper for RedisRegenerateKeyParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'RedisRegenerateKeyParameters', type: { name: 'Composite', class_name: 'RedisRegenerateKeyParameters', model_properties: { key_type: { required: true, serialized_name: 'keyType', type: { name: 'Enum', module: 'RedisKeyType' } } } } } end end end end