Overview
Configuration is provided for establishing connections with the Microsoft Azure Table service. The configuration is used in the REST Connection Manager.
Setup
Press icon to get more information about the connection parameters.
Obtain data
Use REST Source component to get data from service resource.
Insert data
Use REST Destination component to insert data into service resource.
Quick Start
In this task, we will show you step-by-step how to create a connection to Azure Table Service REST API using COZYROC's REST Connection Manager.
Congratulations! You have now established a connection to your Azure Table Service instance.
In this guide, we will show how to read data from the Azure Table Service resource using the COZYROC REST Source component.
In this guide, we will show how to write data to the Azure Table Service service resource using the COZYROC REST Destination component.
Configuration
Base URL address: https://[account].table.core.windows.net
.
-
The authentication uses an authorized token. The token will be refreshed with the following expression:
{{=Date.now() + (response.expires_in - 300) * 1000}}
.The authentication has the following user-defined parameters:
- client_id: Required. Identifier of application that is associated with the authentication token.
- client_secret: Specify application client secret. Optional.
- tenant: Required. Specify tenant identifier.
- version:
The following request parameters will be automatically processed during the authentication process:
-
Authorization:
Bearer {{=token.Access}}
-
x-ms-version:
{{=token.version}}
Documentation: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/authenticate-oauth.
- [Read] action
-
Endpoint URL address:
/
.
The result is extracted from:{{=[response.StorageServiceProperties]}}
.The following request parameters will be automatically processed:
-
restype:
service
-
comp:
properties
Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/get-table-service-properties.
-
restype:
- [Create] action
-
Endpoint URL address:
/
.
The action uses PUT method.The following request parameters will be automatically processed:
-
restype:
service
-
comp:
properties
-
application/xml:
{{=json2xml({ StorageServiceProperties: item })}}
Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/set-table-service-properties.
-
restype:
- Logging
Field components:
-
Uses template:
ShortText
. - Contains the following components: Version, Read, Write, Delete, RetentionPolicy.
-
Uses template:
- HourMetrics
Field components:
-
Uses template:
ShortText
. - Contains the following components: Version, Enabled, IncludeAPIs, RetentionPolicy.
-
Uses template:
- MinuteMetrics
Field components:
-
Uses template:
ShortText
. - Contains the following components: Version, Enabled, IncludeAPIs, RetentionPolicy.
-
Uses template:
- Cors
Field components:
- Contains the following components: CorsRule.
Based on resource template Base.
- [Read] action
-
Endpoint URL address:
/Tables
.
The result is extracted from:{{=response.value}}
.The following request parameters will be automatically processed:
-
Accept:
application/json;odata=fullmetadata
Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/query-tables.
-
Accept:
- [Create] action
-
Endpoint URL address:
/Tables
.
The result is extracted from:{{=response.value}}
.Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/create-table.
- [Delete] action
-
Endpoint URL address:
/Tables({{=sq(item.TableName)}})
.Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/delete-table.
- TableName
A key field. Template: ShortText.
- odata.type
Template: ShortText.
- odata.id
Template: ShortText.
- odata.editLink
Template: ShortText.
- [Read] action
-
Endpoint URL address:
/{{=resource.external.TableName}}
.
The result is extracted from:{{=response.value}}
.
The result is paginated.The following request parameters will be automatically processed:
-
$select:
{{=_.without(parameters.fields, 'odata.etag').join()}}
-
$top:
{{=parameters.batchSize}}
-
NextPartitionKey:
{{=parameters.iterator.NextPartitionKey}}
-
NextRowKey:
{{=parameters.iterator.NextRowKey}}
-
_includeUserParameters:
{{=parameters}}
Documentation: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/query-data-web-api.
-
$select:
- [Create] action
-
Endpoint URL address:
.
The result is extracted from:{{=AzureTable.executeAction('create', resource, batch)}}
.Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/insert-entity.
- [Update] action
-
Endpoint URL address:
.
The result is extracted from:{{=AzureTable.executeAction('update', resource, batch)}}
.Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/update-entity2.
- [Upsert] action
-
Endpoint URL address:
.
The result is extracted from:{{=AzureTable.executeAction('upsert', resource, batch)}}
.Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/insert-or-replace-entity.
- [Delete] action
-
Endpoint URL address:
.
The result is extracted from:{{=AzureTable.executeAction('delete', resource, batch)}}
.Documentation: https://docs.microsoft.com/en-us/rest/api/storageservices/delete-entity1.
- RowKey
A key field. Template: ShortText.
- PartitionKey
A key field. Template: ShortText.
- Timestamp
Template: DateTime.
- [External]
-
The external fields URL address:
/{{=resource.external.TableName}}
. The external fields list is extracted from:{{=_.map(response.value[0], function(v, k) { return { name: k }; })}}
.- {{=external.name}}
Template: ShortText. The gathered value is processed with
{{=value && value.value}}
expression.
The external resource list URL address: /Tables
.
The external resource list is extracted from: {{=response.value}}
.
- [Read] action
-
The result is paginated.The following request parameters will be automatically processed:
-
$top:
{{=parameters.batchSize}}
-
NextTableName:
{{=parameters.iterator}}
-
Accept:
application/json;odata=fullmetadata
-
_includeUserParameters:
{{=parameters}}
-
$top:
- [Create] action
-
The action uses POST method.The following request parameters will be automatically processed:
-
application/json:
{{=item}}
-
_includeUserParameters:
{{=parameters}}
-
application/json:
- [Update] action
-
The action uses PUT method.The following request parameters will be automatically processed:
-
application/json:
{{=item}}
-
_includeUserParameters:
{{=parameters}}
-
application/json:
- [Delete] action
-
The action uses DELETE method.The following request parameters will be automatically processed:
-
application/json:
{{=item}}
-
_includeUserParameters:
{{=parameters}}
-
application/json:
- ShortText
Data type: DT_WSTR ( length 255 )
- LongText
Data type: DT_WSTR ( length 1000 )
- DateTime
Data type: DT_DBTIMESTAMP
What's New
- New: Introduced connection.
Related documentation
COZYROC SSIS+ Components Suite is free for testing in your development environment.
A licensed version can be deployed on-premises, on Azure-SSIS IR and on COZYROC Cloud.