Sha256: ba92120f3acecf38de6697732cabeb05669aa605befe7a20c9b57d7ff23e1a82

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 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::Batch::Mgmt::V2019_04_01
  module Models
    #
    # Parameters supplied to the RegenerateKey operation.
    #
    class BatchAccountRegenerateKeyParameters

      include MsRestAzure

      # @return [AccountKeyType] The type of account key to regenerate.
      # Possible values include: 'Primary', 'Secondary'
      attr_accessor :key_name


      #
      # Mapper for BatchAccountRegenerateKeyParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'BatchAccountRegenerateKeyParameters',
          type: {
            name: 'Composite',
            class_name: 'BatchAccountRegenerateKeyParameters',
            model_properties: {
              key_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'keyName',
                type: {
                  name: 'Enum',
                  module: 'AccountKeyType'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb
azure_mgmt_batch-0.18.0 lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb