Network
SoftLayer_Network_Storage_Iscsi::assignNewCredential

Overview

This method will set up a new credential for the remote storage volume. The storage volume must support an additional credential. Once created, the credential will be automatically assigned to the current volume. If there are no volumes assigned to the credential it will be automatically deleted.

Parameters

type

string

The type of credential you would like to add to your storage volume, it must be an approved credential type (current types are: 'ISCSI_MASTER_KEY')

Headers

SoftLayer_Network_Storage_IscsiObjectMask, SoftLayer_ObjectMask
authenticate, SoftLayer_Network_Storage_IscsiInitParameters

Error Handling

  • SoftLayer_Exception_Network_Storage_AddNewCredential: "Problem adding a new credential to the volume. The network storage type is not supported for credential creation in this manner."
  • SoftLayer_Exception_Network_Storage_Iscsi_EqualLogic_Version3_AddNewCredential_InvalidCredentialType: "The type provided is not a valid credential type"