Sha256: ce620b48cd6a460425d53ad2615572ce0354fff0a824e305b1bfed19e6880576

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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

      include MsRest::JSONable
      # @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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.12.0 lib/generated/azure_mgmt_media_services/models/regenerate_key_input.rb
azure_mgmt_media_services-0.11.0 lib/generated/azure_mgmt_media_services/models/regenerate_key_input.rb