Sha256: 02f58f86083fce16c0f15afe16a4dd4f72299689a5687283425592c3db327e8b

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 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::ARM::ServiceBus
  module Models
    #
    # Parameters supplied to the Regenerate Authorization Rule operation,
    # specifies which key neeeds to be reset.
    #
    class RegenerateAccessKeyParameters

      include MsRestAzure

      # @return [KeyType] The access key to regenerate. Possible values
      # include: 'PrimaryKey', 'SecondaryKey'
      attr_accessor :key_type

      # @return [String] Optional, if the key value provided, is reset for
      # KeyType value or autogenerate Key value set for keyType
      attr_accessor :key


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_service_bus-0.14.0 lib/generated/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb