Sha256: 12a4a45f1ef05a6eb2dd39c0e6a904ac2dbf80ad4dcd3e54eb8a9c2861c609af
Contents?: true
Size: 1.92 KB
Versions: 2
Compression:
Stored size: 1.92 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::V2017_02_01 module Models # # Parameter required for creating a linked server to redis cache. # class RedisLinkedServerCreateParameters include MsRestAzure # @return [String] Fully qualified resourceId of the linked redis cache. attr_accessor :linked_redis_cache_id # @return [String] Location of the linked redis cache. attr_accessor :linked_redis_cache_location # @return [ReplicationRole] Role of the linked server. Possible values # include: 'Primary', 'Secondary' attr_accessor :server_role # # Mapper for RedisLinkedServerCreateParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'RedisLinkedServerCreateParameters', type: { name: 'Composite', class_name: 'RedisLinkedServerCreateParameters', model_properties: { linked_redis_cache_id: { required: true, serialized_name: 'properties.linkedRedisCacheId', type: { name: 'String' } }, linked_redis_cache_location: { required: true, serialized_name: 'properties.linkedRedisCacheLocation', type: { name: 'String' } }, server_role: { required: true, serialized_name: 'properties.serverRole', type: { name: 'Enum', module: 'ReplicationRole' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems