class Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest

Import database parameters.

Attributes

administrator_login[RW]

@return [String] The name of the SQL administrator.

administrator_login_password[RW]

@return [String] The password of the SQL administrator.

authentication_type[RW]

@return [AuthenticationType] The authentication type. Possible values include: 'SQL', 'ADPassword'. Default value: 'SQL' .

name[RW]

@return [String] The name of the extension.

operation_mode[RW]

@return [String] The type of import operation being performed. This is always Import. Default value: 'Import' .

storage_key[RW]

@return [String] The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a “?.”

storage_key_type[RW]

@return [StorageKeyType] The type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey'

storage_uri[RW]

@return [String] The storage uri to use.

type[RW]

@return [String] The type of the extension.

Private Class Methods

mapper() click to toggle source

Mapper for ImportExtensionRequest class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb, line 51
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImportExtensionRequest',
    type: {
      name: 'Composite',
      class_name: 'ImportExtensionRequest',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        storage_key_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storageKeyType',
          type: {
            name: 'Enum',
            module: 'StorageKeyType'
          }
        },
        storage_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storageKey',
          type: {
            name: 'String'
          }
        },
        storage_uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storageUri',
          type: {
            name: 'String'
          }
        },
        administrator_login: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.administratorLogin',
          type: {
            name: 'String'
          }
        },
        administrator_login_password: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.administratorLoginPassword',
          type: {
            name: 'String'
          }
        },
        authentication_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authenticationType',
          default_value: 'SQL',
          type: {
            name: 'Enum',
            module: 'AuthenticationType'
          }
        },
        operation_mode: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'properties.operationMode',
          default_value: 'Import',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end