# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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] Which redis access key to reset. 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