Sha256: b57328f452f79986a47665713baf4531be6e8a050d8bfde3f4e14bb9448ed187
Contents?: true
Size: 1.94 KB
Versions: 2
Compression:
Stored size: 1.94 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Redis module Models # # Parameter required for creating a linked server to redis cache. # class RedisLinkedServerCreateParameters include MsRestAzure include MsRest::JSONable # @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