class Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult

Response containing the primary and secondary admin API keys for a given Azure Search service.

Attributes

primary_key[RW]

@return [String] The primary admin API key of the Search service.

secondary_key[RW]

@return [String] The secondary admin API key of the Search service.

Private Class Methods

mapper() click to toggle source

Mapper for AdminKeyResult class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-08-19/generated/azure_mgmt_search/models/admin_key_result.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AdminKeyResult',
    type: {
      name: 'Composite',
      class_name: 'AdminKeyResult',
      model_properties: {
        primary_key: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'primaryKey',
          type: {
            name: 'String'
          }
        },
        secondary_key: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'secondaryKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end