Sha256: c2a596b25bfdc625bd93fb55fb702d2e1cbce608c10bae2b06cc78069959e4cb

Contents?: true

Size: 1.75 KB

Versions: 5

Compression:

Stored size: 1.75 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::Cosmosdb::Mgmt::V2019_12_12
  module Models
    #
    # The read-only access keys for the given database account.
    #
    class DatabaseAccountListReadOnlyKeysResult

      include MsRestAzure

      # @return [String] Base 64 encoded value of the primary read-only key.
      attr_accessor :primary_readonly_master_key

      # @return [String] Base 64 encoded value of the secondary read-only key.
      attr_accessor :secondary_readonly_master_key


      #
      # Mapper for DatabaseAccountListReadOnlyKeysResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DatabaseAccountListReadOnlyKeysResult',
          type: {
            name: 'Composite',
            class_name: 'DatabaseAccountListReadOnlyKeysResult',
            model_properties: {
              primary_readonly_master_key: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'primaryReadonlyMasterKey',
                type: {
                  name: 'String'
                }
              },
              secondary_readonly_master_key: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'secondaryReadonlyMasterKey',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb
azure_mgmt_cosmosdb-0.24.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb
azure_mgmt_cosmosdb-0.23.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb
azure_mgmt_cosmosdb-0.22.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb
azure_mgmt_cosmosdb-0.21.2 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb