Sha256: 8d9ec8c2360f83c55da0194c4f763889a286920be90dd607d722e0c63d9db719

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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

      # @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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_redis-0.7.0 lib/generated/azure_mgmt_redis/models/redis_access_keys.rb