Sha256: 4974ba334821a18c918625e37884cb7236b6a25cabacbd438eb1f51b50575804
Contents?: true
Size: 1.53 KB
Versions: 2
Compression:
Stored size: 1.53 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Redis::Mgmt::V2015_08_01 module Models # # Specifies which Redis node(s) to reboot. # class RedisRebootParameters include MsRestAzure # @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] If clustering is enabled, the ID of the shared be # rebooted. attr_accessor :shard_id # # Mapper for RedisRebootParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'RedisRebootParameters', type: { name: 'Composite', class_name: 'RedisRebootParameters', model_properties: { reboot_type: { required: true, serialized_name: 'rebootType', type: { name: 'Enum', module: 'RebootType' } }, shard_id: { required: false, serialized_name: 'shardId', type: { name: 'Number' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems