Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The databaseAccounts/dataTransferJobs resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DocumentDB/databaseAccounts/dataTransferJobs resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/dataTransferJobs@2021-11-15-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
destination: {
component: 'string'
// For remaining properties, see DataTransferDataSourceSink objects
}
source: {
component: 'string'
// For remaining properties, see DataTransferDataSourceSink objects
}
workerCount: int
}
}
DataTransferDataSourceSink objects
Set the component property to specify the type of object.
For AzureBlobStorage, use:
{
component: 'AzureBlobStorage'
containerName: 'string'
endpointUrl: 'string'
}
For CosmosDBCassandra, use:
{
component: 'CosmosDBCassandra'
keyspaceName: 'string'
tableName: 'string'
}
For CosmosDBSql, use:
{
component: 'CosmosDBSql'
containerName: 'string'
databaseName: 'string'
}
Property Values
Microsoft.DocumentDB/databaseAccounts/dataTransferJobs
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: databaseAccounts |
properties | Data Transfer Create Job Properties | DataTransferJobProperties (required) |
AzureBlobDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'AzureBlobStorage' (required) | |
containerName | string (required) | |
endpointUrl | string |
CosmosCassandraDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'CosmosDBCassandra' (required) | |
keyspaceName | string (required) | |
tableName | string (required) |
CosmosSqlDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'CosmosDBSql' (required) | |
containerName | string (required) | |
databaseName | string (required) |
DataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | Set to 'AzureBlobStorage' for type AzureBlobDataTransferDataSourceSink. Set to 'CosmosDBCassandra' for type CosmosCassandraDataTransferDataSourceSink. Set to 'CosmosDBSql' for type CosmosSqlDataTransferDataSourceSink. | 'AzureBlobStorage' 'CosmosDBCassandra' 'CosmosDBSql' (required) |
DataTransferJobProperties
Name | Description | Value |
---|---|---|
destination | Destination DataStore details | DataTransferDataSourceSink (required) |
source | Source DataStore details | DataTransferDataSourceSink (required) |
workerCount | Worker count | int Constraints: Min value = 0 |
ARM template resource definition
The databaseAccounts/dataTransferJobs resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DocumentDB/databaseAccounts/dataTransferJobs resource, add the following JSON to your template.
{
"type": "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs",
"apiVersion": "2021-11-15-preview",
"name": "string",
"properties": {
"destination": {
"component": "string"
// For remaining properties, see DataTransferDataSourceSink objects
},
"source": {
"component": "string"
// For remaining properties, see DataTransferDataSourceSink objects
},
"workerCount": "int"
}
}
DataTransferDataSourceSink objects
Set the component property to specify the type of object.
For AzureBlobStorage, use:
{
"component": "AzureBlobStorage",
"containerName": "string",
"endpointUrl": "string"
}
For CosmosDBCassandra, use:
{
"component": "CosmosDBCassandra",
"keyspaceName": "string",
"tableName": "string"
}
For CosmosDBSql, use:
{
"component": "CosmosDBSql",
"containerName": "string",
"databaseName": "string"
}
Property Values
Microsoft.DocumentDB/databaseAccounts/dataTransferJobs
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-11-15-preview' |
name | The resource name | string (required) |
properties | Data Transfer Create Job Properties | DataTransferJobProperties (required) |
type | The resource type | 'Microsoft.DocumentDB/databaseAccounts/dataTransferJobs' |
AzureBlobDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'AzureBlobStorage' (required) | |
containerName | string (required) | |
endpointUrl | string |
CosmosCassandraDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'CosmosDBCassandra' (required) | |
keyspaceName | string (required) | |
tableName | string (required) |
CosmosSqlDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'CosmosDBSql' (required) | |
containerName | string (required) | |
databaseName | string (required) |
DataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | Set to 'AzureBlobStorage' for type AzureBlobDataTransferDataSourceSink. Set to 'CosmosDBCassandra' for type CosmosCassandraDataTransferDataSourceSink. Set to 'CosmosDBSql' for type CosmosSqlDataTransferDataSourceSink. | 'AzureBlobStorage' 'CosmosDBCassandra' 'CosmosDBSql' (required) |
DataTransferJobProperties
Name | Description | Value |
---|---|---|
destination | Destination DataStore details | DataTransferDataSourceSink (required) |
source | Source DataStore details | DataTransferDataSourceSink (required) |
workerCount | Worker count | int Constraints: Min value = 0 |
Usage Examples
Terraform (AzAPI provider) resource definition
The databaseAccounts/dataTransferJobs resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DocumentDB/databaseAccounts/dataTransferJobs resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs@2021-11-15-preview"
name = "string"
parent_id = "string"
body = {
properties = {
destination = {
component = "string"
// For remaining properties, see DataTransferDataSourceSink objects
}
source = {
component = "string"
// For remaining properties, see DataTransferDataSourceSink objects
}
workerCount = int
}
}
}
DataTransferDataSourceSink objects
Set the component property to specify the type of object.
For AzureBlobStorage, use:
{
component = "AzureBlobStorage"
containerName = "string"
endpointUrl = "string"
}
For CosmosDBCassandra, use:
{
component = "CosmosDBCassandra"
keyspaceName = "string"
tableName = "string"
}
For CosmosDBSql, use:
{
component = "CosmosDBSql"
containerName = "string"
databaseName = "string"
}
Property Values
Microsoft.DocumentDB/databaseAccounts/dataTransferJobs
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: databaseAccounts |
properties | Data Transfer Create Job Properties | DataTransferJobProperties (required) |
type | The resource type | "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs@2021-11-15-preview" |
AzureBlobDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'AzureBlobStorage' (required) | |
containerName | string (required) | |
endpointUrl | string |
CosmosCassandraDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'CosmosDBCassandra' (required) | |
keyspaceName | string (required) | |
tableName | string (required) |
CosmosSqlDataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | 'CosmosDBSql' (required) | |
containerName | string (required) | |
databaseName | string (required) |
DataTransferDataSourceSink
Name | Description | Value |
---|---|---|
component | Set to 'AzureBlobStorage' for type AzureBlobDataTransferDataSourceSink. Set to 'CosmosDBCassandra' for type CosmosCassandraDataTransferDataSourceSink. Set to 'CosmosDBSql' for type CosmosSqlDataTransferDataSourceSink. | 'AzureBlobStorage' 'CosmosDBCassandra' 'CosmosDBSql' (required) |
DataTransferJobProperties
Name | Description | Value |
---|---|---|
destination | Destination DataStore details | DataTransferDataSourceSink (required) |
source | Source DataStore details | DataTransferDataSourceSink (required) |
workerCount | Worker count | int Constraints: Min value = 0 |