Get Container List

Operation Name

Get Container List

Function overview

Gets the list of the containers of the specified destination.

Data model

Data model of this component is XML type.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required / Optional Use of Variables Description Remarks
Name Required Not available Enter the name on the script canvas.  
Required settings
Item name Required / Optional Use of Variables Description Remarks
Destination Required Not available Select Global Resources.
  • [Add]:
    Adds new global resource.
  • [Edit list]:
    Global resource settings can be edited with "Edit Resource list".
 
Comment
Item name Required / Optional Use of Variables Description Remarks
Comment Optional Not available Description for the usage of this adapter can be entered.
When a description is provided, it will be reflected in the output of specification document.
 

Schema

Input Schema

None.

Output Schema

<?xml version="1.0"?>
<server>
  <container name="" status="" />
</server>
Element name Attribute name Description Remarks
server -    
container - Appears for each retrieved container.  
name Outputs the name of the retrieved container.  
status Outputs the status of the retrieved container.
  • [Exist]: State that the container exists.
  • [Error]: Could not read the container due to certain error.
 

Loading schema in Mapper

Schema is loaded automatically.
For any details, please refer to the 'Editing Schema'

Mass data processing

Mass data processing is not supported.

PSP Usage

PSP is not supported.

Available component variables

Component variable name Description Remarks
count Returns the number of retrieved containers.
  • The value defaults to null.
message_category Stroes the category to which corresponding message code belongs to, when an error occurs.
  • The value defaults to null.
message_code Stores its corresponding message code of occured error.
  • The value defaults to null.
message_level Stores the severity of the corresponding message code of the occured error.
  • The value defaults to null.
error_type Stores the type of the occured error.
  • The value defaults to null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The message may vary depending on the DataSpider Servista version.
error_message Stores the error message for the occured error.
  • The value defaults to null.
  • The message may vary depending on the DataSpider Servista version.
error_trace Stores stack trace of the occurred error.
  • The value defaults to null.
  • The message may vary depending on the DataSpider Servista version or the client application used.

Main exceptions

Exception name Causes Solution
ResourceNotFoundException
Resource definition could not be found.Name: []
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource definition could not be found.Name: [<name of Global Resources>]
Resource definition selected in [Destination] is not found. Check the global resource specified in [Destination].
InvalidPropertyConfigurationException
<Property name> is not specified.
[<Property name>] is not specified. Specify the [<Property name>].
com.microsoft.windowsazure.services.core.storage.StorageException Cannot be connected due to the following causes.
  • There's a mistake in [Account] or [Access key] in the global resource specified in [Destination].
  • There are double-byte characters in [Account] in the global resource specified in [Destination].
Check the settings and connection status of the global resource specified in [Destination] .
java.security.InvalidKeyException
Storage Key is not a valid base64 encoded string.
[Access key] of the global resource specified in [Destination] is incorrect. Check the settings of the global resource specified in [Destination] .

Notes