Sha256: 531f1ea7517caac419caff4ff25a0a1feb6a5dd1f86c6a5368766854e25a0f4c

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::MediaServices
  module Models
    #
    # The request body for a RegenerateKey API.
    #
    class RegenerateKeyInput

      include MsRestAzure

      # @return [KeyType] The keyType indicating which key you want to
      # regenerate, Primary or Secondary. Possible values include: 'Primary',
      # 'Secondary'
      attr_accessor :key_type


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.9.0 lib/generated/azure_mgmt_media_services/models/regenerate_key_input.rb