Sha256: d6f8875560fba4a1419aadadd24f323b9dfcf1ddcaa222c2151c6f9bd2d37a12

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 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
    #
    # Redis cache access keys.
    #
    class RedisAccessKeys

      include MsRestAzure

      # @return [String] The current primary key that clients can use to
      # authenticate with Redis cache.
      attr_accessor :primary_key

      # @return [String] The current secondary key that clients can use to
      # authenticate with Redis cache.
      attr_accessor :secondary_key


      #
      # Mapper for RedisAccessKeys class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'RedisAccessKeys',
          type: {
            name: 'Composite',
            class_name: 'RedisAccessKeys',
            model_properties: {
              primary_key: {
                required: false,
                read_only: true,
                serialized_name: 'primaryKey',
                type: {
                  name: 'String'
                }
              },
              secondary_key: {
                required: false,
                read_only: true,
                serialized_name: 'secondaryKey',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_redis-0.15.1 lib/2017-02-01/generated/azure_mgmt_redis/models/redis_access_keys.rb
azure_mgmt_redis-0.15.0 lib/2017-02-01/generated/azure_mgmt_redis/models/redis_access_keys.rb