Sha256: fa45cdc884a22c052d6fa6f52f1493e76e9e79e04047ab87f7d772d3ccadd4c3

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::V2016_04_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/2016-04-01/generated/azure_mgmt_redis/models/redis_access_keys.rb
azure_mgmt_redis-0.15.0 lib/2016-04-01/generated/azure_mgmt_redis/models/redis_access_keys.rb