This adapter allows you to connect to a Microsoft Azure table storage to perform various operations.
Properties
|
|
Operation executed by the adapter Possible values:
|
Parameters
|
|
Name of the Microsoft Azure account Possible values: Any valid string (for example, |
|
|
Password for the Microsoft Azure account Possible values: Any string containing the key provided by Microsoft Azure, such as |
|
|
Azur Cosmos DB endpoint |
|
|
Name of the table in which the entities are stored Possible values: String containing the ID for the new table |
|
|
Element of the primary key Entities with the same partition key can be queried more quickly and inserted/updated in atomic operations. Possible values: Any string containing the partition key |
|
|
Element of the primary key An entity's line key is its unique identifier within a partition. Possible values: Any string containing the line key |
|
|
Compares Possible values:
|
|
|
Specifies whether Possible values:
|
Status values
|
|
The adapter operation was executed successfully |
|
|
An error occurred while running the adapter |
|
|
Operation
|
Input
The adapter expects a predefined XML structure as input.
-
An XML file with the following structure is expected for the
InsertEntityoperation:Expected structure for the InsertEntity operation
XML<?xml version="1.0" encoding="UTF-8" <Entity> <Properties1 name="Department" value="ITAdministration"/> <Properties2 name="Address" value="C\Pirandello"/> <Properties3 name="Name" value="Paolo"/> <Properties4 name="Surname" value="Green"/> </Entity>The
nameproperty cannot be a protected word, such asId.
-
The
ModifyEntityoperation expects an XML file with the following structure and properties with the same name and value are updated:Expected structure for the ModifyEntity operation
XML<?xml version="1.0" encoding="UTF-8" ?> <Entity> <Properties name="Name" value="Carlos" /> </Entity> -
The
QueryOfSubsetEntityPropertiesoperation expects an XML file that specifies the required properties:Expected structure for the QueryOfSubsetEntityProperties operation
XML<?xml version="1.0" encoding="UTF-8" ?> <Entity> <Property name="Department" /> <Property name="Surname" /> <Property name="nonExistingProperty" /> </Entity>
Output
The adapter returns different types of documents, depending on the operation you are performing:
-
Output the
RetrieveEntityoperation:Output for the RetrieveEntity operation
XML<?xml version="1.0" encoding="UTF-8" <Entity partitionKey="ITEmployee" rowKey="ref-0001"> <Properties name="Department" value="ITAdministration"/> <Properties name="Address" value="C\Pirandello"/> <Properties name="Surname" value="Green"/> <Properties name="Name" value="Paolo"/> </Entity> -
Output the
RetrieveAllEntitiesandRetrieveRangeEntitiesoperation:Output for the RetrieveAllEntities and RetrieveRangeEntities operation
XML<?xml version="1.0" encoding="UTF-8" ?> <ListEntities> <Entity partitionKey="ITEmployee" rowKey="ref-0001"> <Properties name="Department" value="ITAdministration" /> <Properties name="Address" value="C\Pirandello" /> <Properties name="Surname" value="Green" /> <Properties name="Name" value="Paolo" /> </Entity> <Entity partitionKey="ITEmployee" rowKey="ref-0002"> <Properties name="Department" value="Developments" /> <Properties name="Address" value="C\Francisco" /> <Properties name="Surname" value="Lopez" /> <Properties name="Name" value="Luis" /> </Entity> <Entity partitionKey="ITEmployee" rowKey="ref-0003"> <Properties name="Department" value="Sales" /> <Properties name="Address" value="C\Espada" /> <Properties name="Surname" value="Red" /> <Properties name="Name" value="Paula" /> </Entity> </ListEntities> -
Output of the
QueryOfSubsetEntityPropertiesoperation:Output for the QueryOfSubsetEntityProperties operation
XML<?xml version="1.0" encoding="UTF-8" ?> <ListEntities> <Entity> <Property partitionKey="ITEmployee" /> <Property rowKey="ref-0001" /> <Property name="Department" value="ITAdministration" /> <Property name="nonExistingProperty" /> <Property name="Surname" value="Green" /> </Entity> </ListEntities>The two properties
partitionKeyandrowKeyare always returned because they can be used to uniquely identify the entity. Since the operation is able to return multiple properties from more than one object, it is important to map the properties to the associated entity.