Sha256: d10f0d0b515b84ed3f6f2bcf61b7b3a7900c0b85be10a7a6ab5a9de114a9c357

Contents?: true

Size: 1.31 KB

Versions: 9

Compression:

Stored size: 1.31 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_08_01
  module Models
    #
    # Parameters to regenerate the keys within the database account.
    #
    class DatabaseAccountRegenerateKeyParameters

      include MsRestAzure

      # @return [KeyKind] The access key to regenerate. Possible values
      # include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'
      attr_accessor :key_kind


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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb
azure_mgmt_cosmosdb-0.24.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb
azure_mgmt_cosmosdb-0.23.1 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb
azure_mgmt_cosmosdb-0.22.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb
azure_mgmt_cosmosdb-0.21.2 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb
azure_mgmt_cosmosdb-0.21.1 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb
azure_mgmt_cosmosdb-0.21.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb
azure_mgmt_cosmosdb-0.20.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb
azure_mgmt_cosmosdb-0.19.0 lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb