Sha256: 976b893a0ad1a52d7062b37f8d43a16bc146e673104527a4073c0828da6043b6

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

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

      include MsRestAzure

      include MsRest::JSONable
      # @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.12.0 lib/generated/azure_mgmt_redis/models/redis_access_keys.rb
azure_mgmt_redis-0.11.0 lib/generated/azure_mgmt_redis/models/redis_access_keys.rb