Microsoft. Fabbriche/dataset DataFactory anteprima 2017-09-01-

Definizione della risorsa Bicep

Il tipo di risorsa factory/set di dati può essere distribuito con operazioni destinate a:

  • gruppi di risorse - Vedere i comandi di distribuzione del gruppo di risorse

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato delle risorse

Per creare un Microsoft. Risorsa DataFactory/factories/datasets, aggiungi il seguente Bicep al tuo template.

resource symbolicname 'Microsoft.DataFactory/factories/datasets@2017-09-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    annotations: [
      any(...)
    ]
    description: 'string'
    linkedServiceName: {
      parameters: {
        {customized property}: any(...)
      }
      referenceName: 'string'
      type: 'string'
    }
    parameters: {
      {customized property}: {
        defaultValue: any(...)
        type: 'string'
      }
    }
    structure: any(...)
    type: 'string'
    // For remaining properties, see Dataset objects
  }
}

Oggetti DatasetStorageFormat

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Oggetti dataset

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Per AmazonMWSObject, usare:

{
  type: 'AmazonMWSObject'
}

Per AmazonS3Object, usare:

{
  type: 'AmazonS3Object'
  typeProperties: {
    bucketName: any(...)
    compression: {
      type: 'string'
      // For remaining properties, see DatasetCompression objects
    }
    format: {
      deserializer: any(...)
      serializer: any(...)
      type: 'string'
      // For remaining properties, see DatasetStorageFormat objects
    }
    key: any(...)
    prefix: any(...)
    version: any(...)
  }
}

Per AzureBlob, usare:

{
  type: 'AzureBlob'
  typeProperties: {
    compression: {
      type: 'string'
      // For remaining properties, see DatasetCompression objects
    }
    fileName: any(...)
    folderPath: any(...)
    format: {
      deserializer: any(...)
      serializer: any(...)
      type: 'string'
      // For remaining properties, see DatasetStorageFormat objects
    }
    tableRootLocation: any(...)
  }
}

Per AzureDataLakeStoreFile, usare:

{
  type: 'AzureDataLakeStoreFile'
  typeProperties: {
    compression: {
      type: 'string'
      // For remaining properties, see DatasetCompression objects
    }
    fileName: any(...)
    folderPath: any(...)
    format: {
      deserializer: any(...)
      serializer: any(...)
      type: 'string'
      // For remaining properties, see DatasetStorageFormat objects
    }
  }
}

Per AzureMySqlTable, usare:

{
  type: 'AzureMySqlTable'
  typeProperties: {
    tableName: any(...)
  }
}

Per AzurePostgreSqlTable, usare:

{
  type: 'AzurePostgreSqlTable'
}

Per AzureSearchIndex, usare:

{
  type: 'AzureSearchIndex'
  typeProperties: {
    indexName: any(...)
  }
}

Per AzureSqlDWTable, usare:

{
  type: 'AzureSqlDWTable'
  typeProperties: {
    tableName: any(...)
  }
}

Per AzureSqlTable, usare:

{
  type: 'AzureSqlTable'
  typeProperties: {
    tableName: any(...)
  }
}

Per AzureTable, usare:

{
  type: 'AzureTable'
  typeProperties: {
    tableName: any(...)
  }
}

Per CassandraTable, usare:

{
  type: 'CassandraTable'
  typeProperties: {
    keyspace: any(...)
    tableName: any(...)
  }
}

Per ConcurObject, usare:

{
  type: 'ConcurObject'
}

Per CouchbaseTable, usare:

{
  type: 'CouchbaseTable'
}

Per DocumentDbCollection, usare:

{
  type: 'DocumentDbCollection'
  typeProperties: {
    collectionName: any(...)
  }
}

Per DrillTable, usare:

{
  type: 'DrillTable'
}

Per DynamicsEntity, usare:

{
  type: 'DynamicsEntity'
  typeProperties: {
    entityName: any(...)
  }
}

Per EloquaObject, usare:

{
  type: 'EloquaObject'
}

Per FileShare, usare:

{
  type: 'FileShare'
  typeProperties: {
    compression: {
      type: 'string'
      // For remaining properties, see DatasetCompression objects
    }
    fileFilter: any(...)
    fileName: any(...)
    folderPath: any(...)
    format: {
      deserializer: any(...)
      serializer: any(...)
      type: 'string'
      // For remaining properties, see DatasetStorageFormat objects
    }
  }
}

Per GoogleBigQueryObject, usare:

{
  type: 'GoogleBigQueryObject'
}

Per GreenplumTable, usare:

{
  type: 'GreenplumTable'
}

Per HBaseObject, usare:

{
  type: 'HBaseObject'
}

Per HiveObject, usare:

{
  type: 'HiveObject'
}

Per HttpFile, usare:

{
  type: 'HttpFile'
  typeProperties: {
    additionalHeaders: any(...)
    compression: {
      type: 'string'
      // For remaining properties, see DatasetCompression objects
    }
    format: {
      deserializer: any(...)
      serializer: any(...)
      type: 'string'
      // For remaining properties, see DatasetStorageFormat objects
    }
    relativeUrl: any(...)
    requestBody: any(...)
    requestMethod: any(...)
  }
}

Per HubspotObject, usare:

{
  type: 'HubspotObject'
}

Per ImpalaObject, usare:

{
  type: 'ImpalaObject'
}

Per JiraObject, usare:

{
  type: 'JiraObject'
}

Per , usare:

{
  type: 'MagentoObject'
}

Per MariaDBTable, usare:

{
  type: 'MariaDBTable'
}

Per MarketoObject, usare:

{
  type: 'MarketoObject'
}

Per MongoDbCollection, usare:

{
  type: 'MongoDbCollection'
  typeProperties: {
    collectionName: any(...)
  }
}

Per NetezzaTable, usare:

{
  type: 'NetezzaTable'
}

Per ODataResource, usare:

{
  type: 'ODataResource'
  typeProperties: {
    path: any(...)
  }
}

Per OracleTable, usare:

{
  type: 'OracleTable'
  typeProperties: {
    tableName: any(...)
  }
}

Per , usare:

{
  type: 'PaypalObject'
}

Per PhoenixObject, usare:

{
  type: 'PhoenixObject'
}

Per PrestoObject, usare:

{
  type: 'PrestoObject'
}

Per QuickBooksObject, usare:

{
  type: 'QuickBooksObject'
}

Per RelationalTable, usare:

{
  type: 'RelationalTable'
  typeProperties: {
    tableName: any(...)
  }
}

Per ResponsysObject, usare:

{
  type: 'ResponsysObject'
}

Per SalesforceMarketingCloudObject, usare:

{
  type: 'SalesforceMarketingCloudObject'
}

Per SalesforceObject, usare:

{
  type: 'SalesforceObject'
  typeProperties: {
    objectApiName: any(...)
  }
}

Per SapCloudForCustomerResource, usare:

{
  type: 'SapCloudForCustomerResource'
  typeProperties: {
    path: any(...)
  }
}

Per SapEccResource, usare:

{
  type: 'SapEccResource'
  typeProperties: {
    path: any(...)
  }
}

Per ServiceNowObject, usare:

{
  type: 'ServiceNowObject'
}

Per ShopifyObject, usare:

{
  type: 'ShopifyObject'
}

Per SparkObject, usare:

{
  type: 'SparkObject'
}

Per SqlServerTable, usare:

{
  type: 'SqlServerTable'
  typeProperties: {
    tableName: any(...)
  }
}

Per SquareObject, usare:

{
  type: 'SquareObject'
}

Per VerticaTable, usare:

{
  type: 'VerticaTable'
}

Per webTable, usare:

{
  type: 'WebTable'
  typeProperties: {
    index: any(...)
    path: any(...)
  }
}

Per XeroObject, usare:

{
  type: 'XeroObject'
}

Per ZohoObject, usare:

{
  type: 'ZohoObject'
}

Oggetti DatasetCompression

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Per BZip2, usare:

{
  type: 'BZip2'
}

Per Deflate, usare:

{
  level: 'string'
  type: 'Deflate'
}

Per GZip, usare:

{
  level: 'string'
  type: 'GZip'
}

Per ZipDeflate, usare:

{
  level: 'string'
  type: 'ZipDeflate'
}

Valori delle proprietà

Microsoft. DataFactory/fabbriche/dataset

Name Description Value
name Nome della risorsa string

Constraints:
Lunghezza minima = 1
Lunghezza massima = 260
Pattern = ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$ (obbligatorio)
parent In Bicep, puoi specificare la risorsa genitore per una risorsa figlia. È necessario aggiungere questa proprietà solo quando la risorsa figlio viene dichiarata all'esterno della risorsa padre.

Per altre informazioni, vedere risorsa figlio all'esterno della risorsa padre.
Nome simbolico per la risorsa di tipo: factory
properties Proprietà del set di dati. Set di dati (obbligatorio)

AmazonMWSObjectDataset

Name Description Value
type Tipo di set di dati. 'AmazonMWSObject' (obbligatorio)

AmazonS3Dataset

Name Description Value
type Tipo di set di dati. 'AmazonS3Object' (obbligatorio)
typeProperties Proprietà del set di dati amazon S3. AmazonS3DatasetTypeProperties (obbligatorio)

AmazonS3DatasetTypeProperties

Name Description Value
bucketName Nome del bucket Amazon S3. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)
compression Metodo di compressione dei dati usato per l'oggetto Amazon S3. DatasetCompression
format Formato dei file. DatasetStorageFormat
key Chiave dell'oggetto Amazon S3. Tipo: stringa (o Espressione con stringa resultType). any
prefix Filtro del prefisso per il nome dell'oggetto S3. Tipo: stringa (o Espressione con stringa resultType). any
version Versione dell'oggetto S3. Tipo: stringa (o Espressione con stringa resultType). any

AzureBlobDataset

Name Description Value
type Tipo di set di dati. 'AzureBlob' (obbligatorio)
typeProperties Azure Blob dataset properties. AzureBlobDatasetTypeProperties (obbligatorio)

AzureBlobDatasetTypeProperties

Name Description Value
compression Metodo di compressione dei dati usato per l'archiviazione BLOB. DatasetCompression
fileName Il nome dell'Azure Blob. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Il percorso dello storage Azure Blob. Tipo: stringa (o Espressione con stringa resultType). any
format Il formato dello storage Azure Blob. DatasetStorageFormat
tableRootLocation Radice del percorso BLOB. Tipo: stringa (o Espressione con stringa resultType). any

AzureDataLakeStoreDataset

Name Description Value
type Tipo di set di dati. 'AzureDataLakeStoreFile' (obbligatorio)
typeProperties Azure Data Lake Store proprietà del dataset. AzureDataLakeStoreDatasetTypeProperties (obbligatorio)

AzureDataLakeStoreDatasetTypeProperties

Name Description Value
compression Il metodo di compressione dati utilizzato per l'elemento o gli elementi nello Azure Data Lake Store. DatasetCompression
fileName Il nome del file nello Azure Data Lake Store. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Percorso verso la cartella nello Azure Data Lake Store. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)
format Il formato del Data Lake Store. DatasetStorageFormat

AzureMySqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzureMySqlTable' (obbligatorio)
typeProperties Azure MySQL proprietà del dataset. AzureMySqlTableDatasetTypeProperties (obbligatorio)

AzureMySqlTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del database MySQL di Azure. Tipo: stringa (o Espressione con stringa resultType). any

AzurePostgreSqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzurePostgreSqlTable' (obbligatorio)

AzureSearchIndexDataset

Name Description Value
type Tipo di set di dati. 'AzureSearchIndex' (obbligatorio)
typeProperties Proprietà specifiche di questo tipo di set di dati. AzureSearchIndexDatasetTypeProperties (obbligatorio)

AzureSearchIndexDatasetTypeProperties

Name Description Value
indexName Il nome dell'Azure Search Index. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureSqlDWTableDataset

Name Description Value
type Tipo di set di dati. 'AzureSqlDWTable' (obbligatorio)
typeProperties Azure SQL Data Warehouse proprietà del dataset. AzureSqlDWTableDatasetTypeProperties (obbligatorio)

AzureSqlDWTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del Azure SQL Data Warehouse. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureSqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzureSqlTable' (obbligatorio)
typeProperties Proprietà del dataset Azure SQL. AzureSqlTableDatasetTypeProperties (obbligatorio)

AzureSqlTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del database Azure SQL. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureTableDataset

Name Description Value
type Tipo di set di dati. 'AzureTable' (obbligatorio)
typeProperties Proprietà del dataset di Azure Table. AzureTableDatasetTypeProperties (obbligatorio)

AzureTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella della memoria Azure Table. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

CassandraTableDataset

Name Description Value
type Tipo di set di dati. 'CassandraTable' (obbligatorio)
typeProperties Proprietà del set di dati Cassandra. CassandraTableDatasetTypeProperties (obbligatorio)

CassandraTableDatasetTypeProperties

Name Description Value
keyspace Keyspace del database Cassandra. Tipo: stringa (o Espressione con stringa resultType). any
tableName Nome della tabella del database Cassandra. Tipo: stringa (o Espressione con stringa resultType). any

ConcurObjectDataset

Name Description Value
type Tipo di set di dati. 'ConcurObject' (obbligatorio)

CouchbaseTableDataset

Name Description Value
type Tipo di set di dati. 'CouchbaseTable' (obbligatorio)

Dataset

Name Description Value
annotations Elenco di tag che possono essere usati per descrivere il set di dati. any[]
description Descrizione del set di dati. string
linkedServiceName Informazioni di riferimento sul servizio collegato. LinkedServiceReference (obbligatorio)
parameters Parametri per il set di dati. ParameterDefinitionSpecification
structure Colonne che definiscono la struttura del set di dati. Tipo: matrice (o espressione con matrice resultType), itemType: DatasetDataElement. any
type Impostare su 'AmazonMWSObject' per il tipo AmazonMWSObjectDataset. Impostare su "AmazonS3Object" per il tipo AmazonS3Dataset. Impostare su "AzureBlob" per il tipo AzureBlobDataset. Impostare su "AzureDataLakeStoreFile" per il tipo AzureDataLakeStoreDataset. Impostare su "AzureMySqlTable" per il tipo AzureMySqlTableDataset. Impostare su "AzurePostgreSqlTable" per il tipo AzurePostgreSqlTableDataset. Impostare su "AzureSearchIndex" per il tipo AzureSearchIndexDataset. Impostare su "AzureSqlDWTable" per il tipo AzureSqlDWTableDataset. Impostare su "AzureSqlTable" per il tipo AzureSqlTableDataset. Impostare su "AzureTable" per il tipo AzureTableDataset. Impostare su 'CassandraTable' per il tipo CassandraTableDataset. Impostare su "ConcurObject" per il tipo ConcurObjectDataset. Impostare su 'CouchbaseTable' per il tipo CouchbaseTableDataset. Impostare su 'DocumentDbCollection' per il tipo DocumentDbCollectionDataset. Impostare su 'DrillTable' per il tipo DrillTableDataset. Impostare su "DynamicsEntity" per il tipo DynamicsEntityDataset. Impostare su "EloquaObject" per il tipo EloquaObjectDataset. Impostare su "FileShare" per il tipo FileShareDataset. Impostare su "GoogleBigQueryObject" per il tipo GoogleBigQueryObjectDataset. Impostare su "GreenplumTable" per il tipo GreenplumTableDataset. Impostare su 'HBaseObject' per il tipo HBaseObjectDataset. Impostare su "HiveObject" per il tipo HiveObjectDataset. Impostare su "HttpFile" per il tipo HttpDataset. Impostare su "HubspotObject" per il tipo HubspotObjectDataset. Impostare su 'ImpalaObject' per il tipo ImpalaObjectDataset. Impostare su "JiraObject" per il tipo JiraObjectDataset. Impostare su 'Object' per il tipo . Impostare su 'MariaDBTable' per il tipo MariaDBTableDataset. Impostare su 'MarketoObject' per il tipo MarketoObjectDataset. Impostare su 'MongoDbCollection' per il tipo MongoDbCollectionDataset. Impostare su 'NetezzaTable' per il tipo NetezzaTableDataset. Impostare su "ODataResource" per il tipo ODataResourceDataset. Impostare su 'OracleTable' per il tipo OracleTableDataset. Impostare su 'MessageObject' per il tipo MessageObjectDataset. Impostare su 'PhoenixObject' per il tipo PhoenixObjectDataset. Impostare su "PrestoObject" per il tipo PrestoObjectDataset. Impostare su "QuickBooksObject" per il tipo QuickBooksObjectDataset. Impostare su 'RelationalTable' per il tipo RelationalTableDataset. Impostare su "ResponsysObject" per il tipo ResponsysObjectDataset. Impostare su "SalesforceMarketingCloudObject" per il tipo SalesforceMarketingCloudObjectDataset. Impostare su "SalesforceObject" per il tipo SalesforceObjectDataset. Impostare su 'SapCloudForCustomerResource' per il tipo SapCloudForCustomerResourceDataset. Impostare su 'SapEccResource' per il tipo SapEccResourceDataset. Impostare su "ServiceNowObject" per il tipo ServiceNowObjectDataset. Impostare su "ShopifyObject" per il tipo ShopifyObjectDataset. Impostare su "SparkObject" per il tipo SparkObjectDataset. Impostare su 'SqlServerTable' per il tipo SqlServerTableDataset. Impostare su 'SquareObject' per il tipo SquareObjectDataset. Impostare su 'VerticaTable' per il tipo VerticaTableDataset. Impostare su 'WebTable' per il tipo WebTableDataset. Impostare su "XeroObject" per il tipo XeroObjectDataset. Impostare su 'ZohoObject' per il tipo ZohoObjectDataset. 'AmazonMWSObject'
'AmazonS3Object'
'AzureBlob'
'AzureDataLakeStoreFile'
'AzureMySqlTable'
'AzurePostgreSqlTable'
'AzureSearchIndex'
'AzureSqlDWTable'
'AzureSqlTable'
'AzureTable'
'CassandraTable'
'ConcurObject'
'CouchbaseTable'
'DocumentDbCollection'
'DrillTable'
'DynamicsEntity'
'EloquaObject'
'FileShare'
'GoogleBigQueryObject'
'GreenplumTable'
'HBaseObject'
'HiveObject'
'HttpFile'
'HubspotObject'
'ImpalaObject'
'JiraObject'
'MagentoObject'
'MariaDBTable'
'MarketoObject'
'MongoDbCollection'
'NetezzaTable'
'ODataResource'
'OracleTable'
'PaypalObject'
'PhoenixObject'
'PrestoObject'
'QuickBooksObject'
'RelationalTable'
'ResponsysObject'
'SalesforceMarketingCloudObject'
'SalesforceObject'
'SapCloudForCustomerResource'
'SapEccResource'
'ServiceNowObject'
'ShopifyObject'
'SparkObject'
'SqlServerTable'
'SquareObject'
'VerticaTable'
'WebTable'
'XeroObject'
'ZohoObject' (obbligatorio)

DatasetBZip2Compression

Name Description Value
type Tipo di compressione del set di dati. 'BZip2' (obbligatorio)

DatasetCompression

Name Description Value
type Impostare su "BZip2" per il tipo DatasetBZip2Compression. Impostare su "Deflate" per il tipo DatasetDeflateCompression. Impostare su "GZip" per il tipo DatasetGZipCompression. Impostare su "ZipDeflate" per il tipo DatasetZipDeflateCompression. 'BZip2'
'Deflate'
'GZip'
'ZipDeflate' (obbligatorio)

DatasetDeflateCompression

Name Description Value
level Livello di compressione Deflate. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'Sgonfiare' (obbligatorio)

DatasetGZipCompression

Name Description Value
level Livello di compressione GZip. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'GZip' (obbligatorio)

DatasetStorageFormat

Name Description Value
deserializer Deserializer. Tipo: stringa (o Espressione con stringa resultType). any
serializer Serializer. Tipo: stringa (o Espressione con stringa resultType). any
type (required)

DatasetZipDeflateCompression

Name Description Value
level Livello di compressione ZipDeflate. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'ZipDeflate' (obbligatorio)

DocumentDbCollectionDataset

Name Description Value
type Tipo di set di dati. 'DocumentDbCollection' (obbligatorio)
typeProperties Proprietà del set di dati della raccolta documentDB. DocumentDbCollectionDatasetTypeProperties (obbligatorio)

DocumentDbCollectionDatasetTypeProperties

Name Description Value
collectionName Nome raccolta del database di documenti. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

DrillTableDataset

Name Description Value
type Tipo di set di dati. 'DrillTable' (obbligatorio)

DynamicsEntityDataset

Name Description Value
type Tipo di set di dati. 'DynamicsEntity' (obbligatorio)
typeProperties Dynamics proprietà del dataset di entità. DynamicsEntityDatasetTypeProperties (obbligatorio)

DynamicsEntityDatasetTypeProperties

Name Description Value
entityName Nome logico dell'entità. Tipo: stringa (o Espressione con stringa resultType). any

EloquaObjectDataset

Name Description Value
type Tipo di set di dati. 'EloquaObject' (obbligatorio)

FileShareDataset

Name Description Value
type Tipo di set di dati. 'FileShare' (obbligatorio)
typeProperties Proprietà del set di dati del file system locale. FileShareDatasetTypeProperties (obbligatorio)

FileShareDatasetTypeProperties

Name Description Value
compression Metodo di compressione dei dati utilizzato per il file system. DatasetCompression
fileFilter Specificare un filtro da utilizzare per selezionare un subset di file in folderPath anziché tutti i file. Tipo: stringa (o Espressione con stringa resultType). any
fileName Nome del file system locale. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Percorso del file system locale. Tipo: stringa (o Espressione con stringa resultType). any
format Formato dei file. DatasetStorageFormat

GoogleBigQueryObjectDataset

Name Description Value
type Tipo di set di dati. 'GoogleBigQueryObject' (obbligatorio)

GreenplumTableDataset

Name Description Value
type Tipo di set di dati. 'GreenplumTable' (obbligatorio)

HBaseObjectDataset

Name Description Value
type Tipo di set di dati. 'HBaseObject' (obbligatorio)

HiveObjectDataset

Name Description Value
type Tipo di set di dati. 'HiveObject' (obbligatorio)

HttpDataset

Name Description Value
type Tipo di set di dati. 'HttpFile' (obbligatorio)
typeProperties Proprietà specifiche di questo tipo di set di dati. HttpDatasetTypeProperties (obbligatorio)

HttpDatasetTypeProperties

Name Description Value
additionalHeaders Intestazioni per la richiesta HTTP. ad esempio nome-intestazione-richiesta-1:valore-intestazione-richiesta 1
...
request-header-name-n:request-header-value-n Type: string (o Expression with resultType string).
any
compression Metodo di compressione dei dati utilizzato nei file. DatasetCompression
format Formato dei file. DatasetStorageFormat
relativeUrl L'URL relativo basato sull'URL in HttpLinkedService fa riferimento a un tipo di file HTTP: stringa (o Espressione con stringa resultType). any
requestBody Corpo della richiesta HTTP. Tipo: stringa (o Espressione con stringa resultType). any
requestMethod Metodo HTTP per la richiesta HTTP. Tipo: stringa (o Espressione con stringa resultType). any

HubspotObjectDataset

Name Description Value
type Tipo di set di dati. 'HubspotObject' (obbligatorio)

ImpalaObjectDataset

Name Description Value
type Tipo di set di dati. 'ImpalaObject' (obbligatorio)

JiraObjectDataset

Name Description Value
type Tipo di set di dati. 'JiraObject' (obbligatorio)

LinkedServiceReference

Name Description Value
parameters Argomenti per LinkedService. ParameterValueSpecification
referenceName Fare riferimento al nome LinkedService. stringa (obbligatorio)
type Tipo di riferimento del servizio collegato. 'LinkedServiceReference' (obbligatorio)

MagentoObjectDataset

Name Description Value
type Tipo di set di dati. 'MagentoObject' (obbligatorio)

MariaDBTableDataset

Name Description Value
type Tipo di set di dati. 'MariaDBTable' (obbligatorio)

MarketoObjectDataset

Name Description Value
type Tipo di set di dati. 'MarketoObject' (obbligatorio)

MongoDbCollectionDataset

Name Description Value
type Tipo di set di dati. 'MongoDbCollection' (obbligatorio)
typeProperties Proprietà del set di dati del database MongoDB. MongoDbCollectionDatasetTypeProperties (obbligatorio)

MongoDbCollectionDatasetTypeProperties

Name Description Value
collectionName Nome della tabella del database MongoDB. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

NetezzaTableDataset

Name Description Value
type Tipo di set di dati. 'NetezzaTable' (obbligatorio)

ODataResourceDataset

Name Description Value
type Tipo di set di dati. 'ODataResource' (obbligatorio)
typeProperties Proprietà del set di dati OData. ODataResourceDatasetTypeProperties (obbligatorio)

ODataResourceDatasetTypeProperties

Name Description Value
path Percorso della risorsa OData. Tipo: stringa (o Espressione con stringa resultType). any

OracleTableDataset

Name Description Value
type Tipo di set di dati. 'OracleTable' (obbligatorio)
typeProperties Proprietà del set di dati Oracle locali. OracleTableDatasetTypeProperties (obbligatorio)

OracleTableDatasetTypeProperties

Name Description Value
tableName Nome della tabella del database Oracle locale. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

ParameterDefinitionSpecification

Name Description Value

ParameterSpecification

Name Description Value
defaultValue Valore predefinito del parametro. any
type Tipo di parametro. 'Array'
'Bool'
'Float'
'Int'
'Object'
'SecureString'
'String' (obbligatorio)

ParameterValueSpecification

Name Description Value

PaypalObjectDataset

Name Description Value
type Tipo di set di dati. 'PaypalObject' (obbligatorio)

PhoenixObjectDataset

Name Description Value
type Tipo di set di dati. 'PhoenixObject' (obbligatorio)

PrestoObjectDataset

Name Description Value
type Tipo di set di dati. 'PrestoObject' (obbligatorio)

QuickBooksObjectDataset

Name Description Value
type Tipo di set di dati. 'QuickBooksObject' (obbligatorio)

RelationalTableDataset

Name Description Value
type Tipo di set di dati. 'RelationalTable' (obbligatorio)
typeProperties Proprietà del set di dati della tabella relazionale. RelationalTableDatasetTypeProperties (obbligatorio)

RelationalTableDatasetTypeProperties

Name Description Value
tableName Nome della tabella relazionale. Tipo: stringa (o Espressione con stringa resultType). any

ResponsysObjectDataset

Name Description Value
type Tipo di set di dati. 'ResponsysObject' (obbligatorio)

SalesforceMarketingCloudObjectDataset

Name Description Value
type Tipo di set di dati. 'SalesforceMarketingCloudObject' (obbligatorio)

SalesforceObjectDataset

Name Description Value
type Tipo di set di dati. 'SalesforceObject' (obbligatorio)
typeProperties Proprietà del set di dati dell'oggetto Salesforce. SalesforceObjectDatasetTypeProperties (obbligatorio)

SalesforceObjectDatasetTypeProperties

Name Description Value
objectApiName Nome dell'API dell'oggetto Salesforce. Tipo: stringa (o Espressione con stringa resultType). any

SapCloudForCustomerResourceDataset

Name Description Value
type Tipo di set di dati. 'SapCloudForCustomerResource' (obbligatorio)
typeProperties Proprietà del set di dati delle risorse OData di SAP Cloud For Customer. SapCloudForCustomerResourceDatasetTypeProperties (obbligatorio)

SapCloudForCustomerResourceDatasetTypeProperties

Name Description Value
path Percorso dell'entità SAP Cloud for Customer OData. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

SapEccResourceDataset

Name Description Value
type Tipo di set di dati. 'SapEccResource' (obbligatorio)
typeProperties Proprietà del set di dati delle risorse OData DI SAP ECC. SapEccResourceDatasetTypeProperties (obbligatorio)

SapEccResourceDatasetTypeProperties

Name Description Value
path Percorso dell'entità OData DI SAP ECC. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

ServiceNowObjectDataset

Name Description Value
type Tipo di set di dati. 'ServiceNowObject' (obbligatorio)

ShopifyObjectDataset

Name Description Value
type Tipo di set di dati. 'ShopifyObject' (obbligatorio)

SparkObjectDataset

Name Description Value
type Tipo di set di dati. 'SparkObject' (obbligatorio)

SqlServerTableDataset

Name Description Value
type Tipo di set di dati. 'SqlServerTable' (obbligatorio)
typeProperties Proprietà del dataset SQL Server on-premise. SqlServerTableDatasetTypeProperties (obbligatorio)

SqlServerTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del dataset di SQL Server. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

SquareObjectDataset

Name Description Value
type Tipo di set di dati. 'SquareObject' (obbligatorio)

VerticaTableDataset

Name Description Value
type Tipo di set di dati. 'VerticaTable' (obbligatorio)

WebTableDataset

Name Description Value
type Tipo di set di dati. 'WebTable' (obbligatorio)
typeProperties Proprietà del set di dati della tabella Web. WebTableDatasetTypeProperties (obbligatorio)

WebTableDatasetTypeProperties

Name Description Value
index Indice in base zero della tabella nella pagina Web. Tipo: integer (o Expression con resultType integer), minimo: 0. any (obbligatorio)
path URL relativo alla pagina Web dall'URL del servizio collegato. Tipo: stringa (o Espressione con stringa resultType). any

XeroObjectDataset

Name Description Value
type Tipo di set di dati. 'XeroObject' (obbligatorio)

ZohoObjectDataset

Name Description Value
type Tipo di set di dati. 'ZohoObject' (obbligatorio)

Esempi di utilizzo

Campioni di Bicep

Un esempio base di come distribuire un dataset all'interno di una Azure Data Factory.

param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource factory 'Microsoft.DataFactory/factories@2018-06-01' = {
  name: resourceName
  location: location
  properties: {
    publicNetworkAccess: 'Enabled'
    repoConfiguration: null
  }
}

resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = {
  name: resourceName
  location: location
  kind: 'StorageV2'
  properties: {
    accessTier: 'Hot'
    allowBlobPublicAccess: true
    allowCrossTenantReplication: true
    allowSharedKeyAccess: true
    defaultToOAuthAuthentication: false
    encryption: {
      keySource: 'Microsoft.Storage'
      services: {
        queue: {
          keyType: 'Service'
        }
        table: {
          keyType: 'Service'
        }
      }
    }
    isHnsEnabled: false
    isNfsV3Enabled: false
    isSftpEnabled: false
    minimumTlsVersion: 'TLS1_2'
    networkAcls: {
      defaultAction: 'Allow'
    }
    publicNetworkAccess: 'Enabled'
    supportsHttpsTrafficOnly: true
  }
  sku: {
    name: 'Standard_LRS'
  }
}

resource dataset 'Microsoft.DataFactory/factories/datasets@2018-06-01' = {
  parent: factory
  name: resourceName
  properties: {
    description: ''
    linkedServiceName: {
      referenceName: linkedservice.name
      type: 'LinkedServiceReference'
    }
    type: 'Json'
    typeProperties: {
      encodingName: 'UTF-8'
      location: {
        container: 'container'
        fileName: 'bar.txt'
        folderPath: 'foo/bar/'
        type: 'AzureBlobStorageLocation'
      }
    }
  }
}

resource linkedservice 'Microsoft.DataFactory/factories/linkedservices@2018-06-01' = {
  parent: factory
  name: resourceName
  properties: {
    description: ''
    type: 'AzureBlobStorage'
    typeProperties: {
      serviceEndpoint: storageAccount.properties.primaryEndpoints.blob
    }
  }
}

Esempi di Azure Quickstart

I seguenti template Azure Quickstart contengono Bicep esempi per il deployment di questo tipo di risorsa.

File Bicep Description
Crea una fabbrica dati V2 Questo template crea una data factory V2 che copia i dati da una cartella in Archiviazione BLOB di Azure a un'altra cartella nello storage.
Di più è possibile con Azure Data Factory - Un clic per provare Azure Data Factory Questo template crea una pipeline data factory per un'attività di copia da Azure Blob in un altro Azure Blob

Definizione di risorsa del modello di Resource Manager

Il tipo di risorsa factory/set di dati può essere distribuito con operazioni destinate a:

  • gruppi di risorse - Vedere i comandi di distribuzione del gruppo di risorse

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato delle risorse

Per creare un Microsoft. Risorsa DataFactory/factories/datasets, aggiungi il seguente JSON al tuo template.

{
  "type": "Microsoft.DataFactory/factories/datasets",
  "apiVersion": "2017-09-01-preview",
  "name": "string",
  "properties": {
    "annotations": [ {} ],
    "description": "string",
    "linkedServiceName": {
      "parameters": {
        "{customized property}": {}
      },
      "referenceName": "string",
      "type": "string"
    },
    "parameters": {
      "{customized property}": {
        "defaultValue": {},
        "type": "string"
      }
    },
    "structure": {},
    "type": "string"
    // For remaining properties, see Dataset objects
  }
}

Oggetti DatasetStorageFormat

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Oggetti dataset

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Per AmazonMWSObject, usare:

{
  "type": "AmazonMWSObject"
}

Per AmazonS3Object, usare:

{
  "type": "AmazonS3Object",
  "typeProperties": {
    "bucketName": {},
    "compression": {
      "type": "string"
      // For remaining properties, see DatasetCompression objects
    },
    "format": {
      "deserializer": {},
      "serializer": {},
      "type": "string"
      // For remaining properties, see DatasetStorageFormat objects
    },
    "key": {},
    "prefix": {},
    "version": {}
  }
}

Per AzureBlob, usare:

{
  "type": "AzureBlob",
  "typeProperties": {
    "compression": {
      "type": "string"
      // For remaining properties, see DatasetCompression objects
    },
    "fileName": {},
    "folderPath": {},
    "format": {
      "deserializer": {},
      "serializer": {},
      "type": "string"
      // For remaining properties, see DatasetStorageFormat objects
    },
    "tableRootLocation": {}
  }
}

Per AzureDataLakeStoreFile, usare:

{
  "type": "AzureDataLakeStoreFile",
  "typeProperties": {
    "compression": {
      "type": "string"
      // For remaining properties, see DatasetCompression objects
    },
    "fileName": {},
    "folderPath": {},
    "format": {
      "deserializer": {},
      "serializer": {},
      "type": "string"
      // For remaining properties, see DatasetStorageFormat objects
    }
  }
}

Per AzureMySqlTable, usare:

{
  "type": "AzureMySqlTable",
  "typeProperties": {
    "tableName": {}
  }
}

Per AzurePostgreSqlTable, usare:

{
  "type": "AzurePostgreSqlTable"
}

Per AzureSearchIndex, usare:

{
  "type": "AzureSearchIndex",
  "typeProperties": {
    "indexName": {}
  }
}

Per AzureSqlDWTable, usare:

{
  "type": "AzureSqlDWTable",
  "typeProperties": {
    "tableName": {}
  }
}

Per AzureSqlTable, usare:

{
  "type": "AzureSqlTable",
  "typeProperties": {
    "tableName": {}
  }
}

Per AzureTable, usare:

{
  "type": "AzureTable",
  "typeProperties": {
    "tableName": {}
  }
}

Per CassandraTable, usare:

{
  "type": "CassandraTable",
  "typeProperties": {
    "keyspace": {},
    "tableName": {}
  }
}

Per ConcurObject, usare:

{
  "type": "ConcurObject"
}

Per CouchbaseTable, usare:

{
  "type": "CouchbaseTable"
}

Per DocumentDbCollection, usare:

{
  "type": "DocumentDbCollection",
  "typeProperties": {
    "collectionName": {}
  }
}

Per DrillTable, usare:

{
  "type": "DrillTable"
}

Per DynamicsEntity, usare:

{
  "type": "DynamicsEntity",
  "typeProperties": {
    "entityName": {}
  }
}

Per EloquaObject, usare:

{
  "type": "EloquaObject"
}

Per FileShare, usare:

{
  "type": "FileShare",
  "typeProperties": {
    "compression": {
      "type": "string"
      // For remaining properties, see DatasetCompression objects
    },
    "fileFilter": {},
    "fileName": {},
    "folderPath": {},
    "format": {
      "deserializer": {},
      "serializer": {},
      "type": "string"
      // For remaining properties, see DatasetStorageFormat objects
    }
  }
}

Per GoogleBigQueryObject, usare:

{
  "type": "GoogleBigQueryObject"
}

Per GreenplumTable, usare:

{
  "type": "GreenplumTable"
}

Per HBaseObject, usare:

{
  "type": "HBaseObject"
}

Per HiveObject, usare:

{
  "type": "HiveObject"
}

Per HttpFile, usare:

{
  "type": "HttpFile",
  "typeProperties": {
    "additionalHeaders": {},
    "compression": {
      "type": "string"
      // For remaining properties, see DatasetCompression objects
    },
    "format": {
      "deserializer": {},
      "serializer": {},
      "type": "string"
      // For remaining properties, see DatasetStorageFormat objects
    },
    "relativeUrl": {},
    "requestBody": {},
    "requestMethod": {}
  }
}

Per HubspotObject, usare:

{
  "type": "HubspotObject"
}

Per ImpalaObject, usare:

{
  "type": "ImpalaObject"
}

Per JiraObject, usare:

{
  "type": "JiraObject"
}

Per , usare:

{
  "type": "MagentoObject"
}

Per MariaDBTable, usare:

{
  "type": "MariaDBTable"
}

Per MarketoObject, usare:

{
  "type": "MarketoObject"
}

Per MongoDbCollection, usare:

{
  "type": "MongoDbCollection",
  "typeProperties": {
    "collectionName": {}
  }
}

Per NetezzaTable, usare:

{
  "type": "NetezzaTable"
}

Per ODataResource, usare:

{
  "type": "ODataResource",
  "typeProperties": {
    "path": {}
  }
}

Per OracleTable, usare:

{
  "type": "OracleTable",
  "typeProperties": {
    "tableName": {}
  }
}

Per , usare:

{
  "type": "PaypalObject"
}

Per PhoenixObject, usare:

{
  "type": "PhoenixObject"
}

Per PrestoObject, usare:

{
  "type": "PrestoObject"
}

Per QuickBooksObject, usare:

{
  "type": "QuickBooksObject"
}

Per RelationalTable, usare:

{
  "type": "RelationalTable",
  "typeProperties": {
    "tableName": {}
  }
}

Per ResponsysObject, usare:

{
  "type": "ResponsysObject"
}

Per SalesforceMarketingCloudObject, usare:

{
  "type": "SalesforceMarketingCloudObject"
}

Per SalesforceObject, usare:

{
  "type": "SalesforceObject",
  "typeProperties": {
    "objectApiName": {}
  }
}

Per SapCloudForCustomerResource, usare:

{
  "type": "SapCloudForCustomerResource",
  "typeProperties": {
    "path": {}
  }
}

Per SapEccResource, usare:

{
  "type": "SapEccResource",
  "typeProperties": {
    "path": {}
  }
}

Per ServiceNowObject, usare:

{
  "type": "ServiceNowObject"
}

Per ShopifyObject, usare:

{
  "type": "ShopifyObject"
}

Per SparkObject, usare:

{
  "type": "SparkObject"
}

Per SqlServerTable, usare:

{
  "type": "SqlServerTable",
  "typeProperties": {
    "tableName": {}
  }
}

Per SquareObject, usare:

{
  "type": "SquareObject"
}

Per VerticaTable, usare:

{
  "type": "VerticaTable"
}

Per webTable, usare:

{
  "type": "WebTable",
  "typeProperties": {
    "index": {},
    "path": {}
  }
}

Per XeroObject, usare:

{
  "type": "XeroObject"
}

Per ZohoObject, usare:

{
  "type": "ZohoObject"
}

Oggetti DatasetCompression

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Per BZip2, usare:

{
  "type": "BZip2"
}

Per Deflate, usare:

{
  "level": "string",
  "type": "Deflate"
}

Per GZip, usare:

{
  "level": "string",
  "type": "GZip"
}

Per ZipDeflate, usare:

{
  "level": "string",
  "type": "ZipDeflate"
}

Valori delle proprietà

Microsoft. DataFactory/fabbriche/dataset

Name Description Value
apiVersion Versione dell'API '2017-09-01-preview'
name Nome della risorsa string

Constraints:
Lunghezza minima = 1
Lunghezza massima = 260
Pattern = ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$ (obbligatorio)
properties Proprietà del set di dati. Set di dati (obbligatorio)
type Tipo di risorsa 'Microsoft. DataFactory/fabbriche/dataset

AmazonMWSObjectDataset

Name Description Value
type Tipo di set di dati. 'AmazonMWSObject' (obbligatorio)

AmazonS3Dataset

Name Description Value
type Tipo di set di dati. 'AmazonS3Object' (obbligatorio)
typeProperties Proprietà del set di dati amazon S3. AmazonS3DatasetTypeProperties (obbligatorio)

AmazonS3DatasetTypeProperties

Name Description Value
bucketName Nome del bucket Amazon S3. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)
compression Metodo di compressione dei dati usato per l'oggetto Amazon S3. DatasetCompression
format Formato dei file. DatasetStorageFormat
key Chiave dell'oggetto Amazon S3. Tipo: stringa (o Espressione con stringa resultType). any
prefix Filtro del prefisso per il nome dell'oggetto S3. Tipo: stringa (o Espressione con stringa resultType). any
version Versione dell'oggetto S3. Tipo: stringa (o Espressione con stringa resultType). any

AzureBlobDataset

Name Description Value
type Tipo di set di dati. 'AzureBlob' (obbligatorio)
typeProperties Azure Blob dataset properties. AzureBlobDatasetTypeProperties (obbligatorio)

AzureBlobDatasetTypeProperties

Name Description Value
compression Metodo di compressione dei dati usato per l'archiviazione BLOB. DatasetCompression
fileName Il nome dell'Azure Blob. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Il percorso dello storage Azure Blob. Tipo: stringa (o Espressione con stringa resultType). any
format Il formato dello storage Azure Blob. DatasetStorageFormat
tableRootLocation Radice del percorso BLOB. Tipo: stringa (o Espressione con stringa resultType). any

AzureDataLakeStoreDataset

Name Description Value
type Tipo di set di dati. 'AzureDataLakeStoreFile' (obbligatorio)
typeProperties Azure Data Lake Store proprietà del dataset. AzureDataLakeStoreDatasetTypeProperties (obbligatorio)

AzureDataLakeStoreDatasetTypeProperties

Name Description Value
compression Il metodo di compressione dati utilizzato per l'elemento o gli elementi nello Azure Data Lake Store. DatasetCompression
fileName Il nome del file nello Azure Data Lake Store. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Percorso verso la cartella nello Azure Data Lake Store. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)
format Il formato del Data Lake Store. DatasetStorageFormat

AzureMySqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzureMySqlTable' (obbligatorio)
typeProperties Azure MySQL proprietà del dataset. AzureMySqlTableDatasetTypeProperties (obbligatorio)

AzureMySqlTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del database MySQL di Azure. Tipo: stringa (o Espressione con stringa resultType). any

AzurePostgreSqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzurePostgreSqlTable' (obbligatorio)

AzureSearchIndexDataset

Name Description Value
type Tipo di set di dati. 'AzureSearchIndex' (obbligatorio)
typeProperties Proprietà specifiche di questo tipo di set di dati. AzureSearchIndexDatasetTypeProperties (obbligatorio)

AzureSearchIndexDatasetTypeProperties

Name Description Value
indexName Il nome dell'Azure Search Index. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureSqlDWTableDataset

Name Description Value
type Tipo di set di dati. 'AzureSqlDWTable' (obbligatorio)
typeProperties Azure SQL Data Warehouse proprietà del dataset. AzureSqlDWTableDatasetTypeProperties (obbligatorio)

AzureSqlDWTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del Azure SQL Data Warehouse. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureSqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzureSqlTable' (obbligatorio)
typeProperties Proprietà del dataset Azure SQL. AzureSqlTableDatasetTypeProperties (obbligatorio)

AzureSqlTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del database Azure SQL. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureTableDataset

Name Description Value
type Tipo di set di dati. 'AzureTable' (obbligatorio)
typeProperties Proprietà del dataset di Azure Table. AzureTableDatasetTypeProperties (obbligatorio)

AzureTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella della memoria Azure Table. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

CassandraTableDataset

Name Description Value
type Tipo di set di dati. 'CassandraTable' (obbligatorio)
typeProperties Proprietà del set di dati Cassandra. CassandraTableDatasetTypeProperties (obbligatorio)

CassandraTableDatasetTypeProperties

Name Description Value
keyspace Keyspace del database Cassandra. Tipo: stringa (o Espressione con stringa resultType). any
tableName Nome della tabella del database Cassandra. Tipo: stringa (o Espressione con stringa resultType). any

ConcurObjectDataset

Name Description Value
type Tipo di set di dati. 'ConcurObject' (obbligatorio)

CouchbaseTableDataset

Name Description Value
type Tipo di set di dati. 'CouchbaseTable' (obbligatorio)

Dataset

Name Description Value
annotations Elenco di tag che possono essere usati per descrivere il set di dati. any[]
description Descrizione del set di dati. string
linkedServiceName Informazioni di riferimento sul servizio collegato. LinkedServiceReference (obbligatorio)
parameters Parametri per il set di dati. ParameterDefinitionSpecification
structure Colonne che definiscono la struttura del set di dati. Tipo: matrice (o espressione con matrice resultType), itemType: DatasetDataElement. any
type Impostare su 'AmazonMWSObject' per il tipo AmazonMWSObjectDataset. Impostare su "AmazonS3Object" per il tipo AmazonS3Dataset. Impostare su "AzureBlob" per il tipo AzureBlobDataset. Impostare su "AzureDataLakeStoreFile" per il tipo AzureDataLakeStoreDataset. Impostare su "AzureMySqlTable" per il tipo AzureMySqlTableDataset. Impostare su "AzurePostgreSqlTable" per il tipo AzurePostgreSqlTableDataset. Impostare su "AzureSearchIndex" per il tipo AzureSearchIndexDataset. Impostare su "AzureSqlDWTable" per il tipo AzureSqlDWTableDataset. Impostare su "AzureSqlTable" per il tipo AzureSqlTableDataset. Impostare su "AzureTable" per il tipo AzureTableDataset. Impostare su 'CassandraTable' per il tipo CassandraTableDataset. Impostare su "ConcurObject" per il tipo ConcurObjectDataset. Impostare su 'CouchbaseTable' per il tipo CouchbaseTableDataset. Impostare su 'DocumentDbCollection' per il tipo DocumentDbCollectionDataset. Impostare su 'DrillTable' per il tipo DrillTableDataset. Impostare su "DynamicsEntity" per il tipo DynamicsEntityDataset. Impostare su "EloquaObject" per il tipo EloquaObjectDataset. Impostare su "FileShare" per il tipo FileShareDataset. Impostare su "GoogleBigQueryObject" per il tipo GoogleBigQueryObjectDataset. Impostare su "GreenplumTable" per il tipo GreenplumTableDataset. Impostare su 'HBaseObject' per il tipo HBaseObjectDataset. Impostare su "HiveObject" per il tipo HiveObjectDataset. Impostare su "HttpFile" per il tipo HttpDataset. Impostare su "HubspotObject" per il tipo HubspotObjectDataset. Impostare su 'ImpalaObject' per il tipo ImpalaObjectDataset. Impostare su "JiraObject" per il tipo JiraObjectDataset. Impostare su 'Object' per il tipo . Impostare su 'MariaDBTable' per il tipo MariaDBTableDataset. Impostare su 'MarketoObject' per il tipo MarketoObjectDataset. Impostare su 'MongoDbCollection' per il tipo MongoDbCollectionDataset. Impostare su 'NetezzaTable' per il tipo NetezzaTableDataset. Impostare su "ODataResource" per il tipo ODataResourceDataset. Impostare su 'OracleTable' per il tipo OracleTableDataset. Impostare su 'MessageObject' per il tipo MessageObjectDataset. Impostare su 'PhoenixObject' per il tipo PhoenixObjectDataset. Impostare su "PrestoObject" per il tipo PrestoObjectDataset. Impostare su "QuickBooksObject" per il tipo QuickBooksObjectDataset. Impostare su 'RelationalTable' per il tipo RelationalTableDataset. Impostare su "ResponsysObject" per il tipo ResponsysObjectDataset. Impostare su "SalesforceMarketingCloudObject" per il tipo SalesforceMarketingCloudObjectDataset. Impostare su "SalesforceObject" per il tipo SalesforceObjectDataset. Impostare su 'SapCloudForCustomerResource' per il tipo SapCloudForCustomerResourceDataset. Impostare su 'SapEccResource' per il tipo SapEccResourceDataset. Impostare su "ServiceNowObject" per il tipo ServiceNowObjectDataset. Impostare su "ShopifyObject" per il tipo ShopifyObjectDataset. Impostare su "SparkObject" per il tipo SparkObjectDataset. Impostare su 'SqlServerTable' per il tipo SqlServerTableDataset. Impostare su 'SquareObject' per il tipo SquareObjectDataset. Impostare su 'VerticaTable' per il tipo VerticaTableDataset. Impostare su 'WebTable' per il tipo WebTableDataset. Impostare su "XeroObject" per il tipo XeroObjectDataset. Impostare su 'ZohoObject' per il tipo ZohoObjectDataset. 'AmazonMWSObject'
'AmazonS3Object'
'AzureBlob'
'AzureDataLakeStoreFile'
'AzureMySqlTable'
'AzurePostgreSqlTable'
'AzureSearchIndex'
'AzureSqlDWTable'
'AzureSqlTable'
'AzureTable'
'CassandraTable'
'ConcurObject'
'CouchbaseTable'
'DocumentDbCollection'
'DrillTable'
'DynamicsEntity'
'EloquaObject'
'FileShare'
'GoogleBigQueryObject'
'GreenplumTable'
'HBaseObject'
'HiveObject'
'HttpFile'
'HubspotObject'
'ImpalaObject'
'JiraObject'
'MagentoObject'
'MariaDBTable'
'MarketoObject'
'MongoDbCollection'
'NetezzaTable'
'ODataResource'
'OracleTable'
'PaypalObject'
'PhoenixObject'
'PrestoObject'
'QuickBooksObject'
'RelationalTable'
'ResponsysObject'
'SalesforceMarketingCloudObject'
'SalesforceObject'
'SapCloudForCustomerResource'
'SapEccResource'
'ServiceNowObject'
'ShopifyObject'
'SparkObject'
'SqlServerTable'
'SquareObject'
'VerticaTable'
'WebTable'
'XeroObject'
'ZohoObject' (obbligatorio)

DatasetBZip2Compression

Name Description Value
type Tipo di compressione del set di dati. 'BZip2' (obbligatorio)

DatasetCompression

Name Description Value
type Impostare su "BZip2" per il tipo DatasetBZip2Compression. Impostare su "Deflate" per il tipo DatasetDeflateCompression. Impostare su "GZip" per il tipo DatasetGZipCompression. Impostare su "ZipDeflate" per il tipo DatasetZipDeflateCompression. 'BZip2'
'Deflate'
'GZip'
'ZipDeflate' (obbligatorio)

DatasetDeflateCompression

Name Description Value
level Livello di compressione Deflate. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'Sgonfiare' (obbligatorio)

DatasetGZipCompression

Name Description Value
level Livello di compressione GZip. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'GZip' (obbligatorio)

DatasetStorageFormat

Name Description Value
deserializer Deserializer. Tipo: stringa (o Espressione con stringa resultType). any
serializer Serializer. Tipo: stringa (o Espressione con stringa resultType). any
type (required)

DatasetZipDeflateCompression

Name Description Value
level Livello di compressione ZipDeflate. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'ZipDeflate' (obbligatorio)

DocumentDbCollectionDataset

Name Description Value
type Tipo di set di dati. 'DocumentDbCollection' (obbligatorio)
typeProperties Proprietà del set di dati della raccolta documentDB. DocumentDbCollectionDatasetTypeProperties (obbligatorio)

DocumentDbCollectionDatasetTypeProperties

Name Description Value
collectionName Nome raccolta del database di documenti. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

DrillTableDataset

Name Description Value
type Tipo di set di dati. 'DrillTable' (obbligatorio)

DynamicsEntityDataset

Name Description Value
type Tipo di set di dati. 'DynamicsEntity' (obbligatorio)
typeProperties Dynamics proprietà del dataset di entità. DynamicsEntityDatasetTypeProperties (obbligatorio)

DynamicsEntityDatasetTypeProperties

Name Description Value
entityName Nome logico dell'entità. Tipo: stringa (o Espressione con stringa resultType). any

EloquaObjectDataset

Name Description Value
type Tipo di set di dati. 'EloquaObject' (obbligatorio)

FileShareDataset

Name Description Value
type Tipo di set di dati. 'FileShare' (obbligatorio)
typeProperties Proprietà del set di dati del file system locale. FileShareDatasetTypeProperties (obbligatorio)

FileShareDatasetTypeProperties

Name Description Value
compression Metodo di compressione dei dati utilizzato per il file system. DatasetCompression
fileFilter Specificare un filtro da utilizzare per selezionare un subset di file in folderPath anziché tutti i file. Tipo: stringa (o Espressione con stringa resultType). any
fileName Nome del file system locale. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Percorso del file system locale. Tipo: stringa (o Espressione con stringa resultType). any
format Formato dei file. DatasetStorageFormat

GoogleBigQueryObjectDataset

Name Description Value
type Tipo di set di dati. 'GoogleBigQueryObject' (obbligatorio)

GreenplumTableDataset

Name Description Value
type Tipo di set di dati. 'GreenplumTable' (obbligatorio)

HBaseObjectDataset

Name Description Value
type Tipo di set di dati. 'HBaseObject' (obbligatorio)

HiveObjectDataset

Name Description Value
type Tipo di set di dati. 'HiveObject' (obbligatorio)

HttpDataset

Name Description Value
type Tipo di set di dati. 'HttpFile' (obbligatorio)
typeProperties Proprietà specifiche di questo tipo di set di dati. HttpDatasetTypeProperties (obbligatorio)

HttpDatasetTypeProperties

Name Description Value
additionalHeaders Intestazioni per la richiesta HTTP. ad esempio nome-intestazione-richiesta-1:valore-intestazione-richiesta 1
...
request-header-name-n:request-header-value-n Type: string (o Expression with resultType string).
any
compression Metodo di compressione dei dati utilizzato nei file. DatasetCompression
format Formato dei file. DatasetStorageFormat
relativeUrl L'URL relativo basato sull'URL in HttpLinkedService fa riferimento a un tipo di file HTTP: stringa (o Espressione con stringa resultType). any
requestBody Corpo della richiesta HTTP. Tipo: stringa (o Espressione con stringa resultType). any
requestMethod Metodo HTTP per la richiesta HTTP. Tipo: stringa (o Espressione con stringa resultType). any

HubspotObjectDataset

Name Description Value
type Tipo di set di dati. 'HubspotObject' (obbligatorio)

ImpalaObjectDataset

Name Description Value
type Tipo di set di dati. 'ImpalaObject' (obbligatorio)

JiraObjectDataset

Name Description Value
type Tipo di set di dati. 'JiraObject' (obbligatorio)

LinkedServiceReference

Name Description Value
parameters Argomenti per LinkedService. ParameterValueSpecification
referenceName Fare riferimento al nome LinkedService. stringa (obbligatorio)
type Tipo di riferimento del servizio collegato. 'LinkedServiceReference' (obbligatorio)

MagentoObjectDataset

Name Description Value
type Tipo di set di dati. 'MagentoObject' (obbligatorio)

MariaDBTableDataset

Name Description Value
type Tipo di set di dati. 'MariaDBTable' (obbligatorio)

MarketoObjectDataset

Name Description Value
type Tipo di set di dati. 'MarketoObject' (obbligatorio)

MongoDbCollectionDataset

Name Description Value
type Tipo di set di dati. 'MongoDbCollection' (obbligatorio)
typeProperties Proprietà del set di dati del database MongoDB. MongoDbCollectionDatasetTypeProperties (obbligatorio)

MongoDbCollectionDatasetTypeProperties

Name Description Value
collectionName Nome della tabella del database MongoDB. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

NetezzaTableDataset

Name Description Value
type Tipo di set di dati. 'NetezzaTable' (obbligatorio)

ODataResourceDataset

Name Description Value
type Tipo di set di dati. 'ODataResource' (obbligatorio)
typeProperties Proprietà del set di dati OData. ODataResourceDatasetTypeProperties (obbligatorio)

ODataResourceDatasetTypeProperties

Name Description Value
path Percorso della risorsa OData. Tipo: stringa (o Espressione con stringa resultType). any

OracleTableDataset

Name Description Value
type Tipo di set di dati. 'OracleTable' (obbligatorio)
typeProperties Proprietà del set di dati Oracle locali. OracleTableDatasetTypeProperties (obbligatorio)

OracleTableDatasetTypeProperties

Name Description Value
tableName Nome della tabella del database Oracle locale. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

ParameterDefinitionSpecification

Name Description Value

ParameterSpecification

Name Description Value
defaultValue Valore predefinito del parametro. any
type Tipo di parametro. 'Array'
'Bool'
'Float'
'Int'
'Object'
'SecureString'
'String' (obbligatorio)

ParameterValueSpecification

Name Description Value

PaypalObjectDataset

Name Description Value
type Tipo di set di dati. 'PaypalObject' (obbligatorio)

PhoenixObjectDataset

Name Description Value
type Tipo di set di dati. 'PhoenixObject' (obbligatorio)

PrestoObjectDataset

Name Description Value
type Tipo di set di dati. 'PrestoObject' (obbligatorio)

QuickBooksObjectDataset

Name Description Value
type Tipo di set di dati. 'QuickBooksObject' (obbligatorio)

RelationalTableDataset

Name Description Value
type Tipo di set di dati. 'RelationalTable' (obbligatorio)
typeProperties Proprietà del set di dati della tabella relazionale. RelationalTableDatasetTypeProperties (obbligatorio)

RelationalTableDatasetTypeProperties

Name Description Value
tableName Nome della tabella relazionale. Tipo: stringa (o Espressione con stringa resultType). any

ResponsysObjectDataset

Name Description Value
type Tipo di set di dati. 'ResponsysObject' (obbligatorio)

SalesforceMarketingCloudObjectDataset

Name Description Value
type Tipo di set di dati. 'SalesforceMarketingCloudObject' (obbligatorio)

SalesforceObjectDataset

Name Description Value
type Tipo di set di dati. 'SalesforceObject' (obbligatorio)
typeProperties Proprietà del set di dati dell'oggetto Salesforce. SalesforceObjectDatasetTypeProperties (obbligatorio)

SalesforceObjectDatasetTypeProperties

Name Description Value
objectApiName Nome dell'API dell'oggetto Salesforce. Tipo: stringa (o Espressione con stringa resultType). any

SapCloudForCustomerResourceDataset

Name Description Value
type Tipo di set di dati. 'SapCloudForCustomerResource' (obbligatorio)
typeProperties Proprietà del set di dati delle risorse OData di SAP Cloud For Customer. SapCloudForCustomerResourceDatasetTypeProperties (obbligatorio)

SapCloudForCustomerResourceDatasetTypeProperties

Name Description Value
path Percorso dell'entità SAP Cloud for Customer OData. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

SapEccResourceDataset

Name Description Value
type Tipo di set di dati. 'SapEccResource' (obbligatorio)
typeProperties Proprietà del set di dati delle risorse OData DI SAP ECC. SapEccResourceDatasetTypeProperties (obbligatorio)

SapEccResourceDatasetTypeProperties

Name Description Value
path Percorso dell'entità OData DI SAP ECC. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

ServiceNowObjectDataset

Name Description Value
type Tipo di set di dati. 'ServiceNowObject' (obbligatorio)

ShopifyObjectDataset

Name Description Value
type Tipo di set di dati. 'ShopifyObject' (obbligatorio)

SparkObjectDataset

Name Description Value
type Tipo di set di dati. 'SparkObject' (obbligatorio)

SqlServerTableDataset

Name Description Value
type Tipo di set di dati. 'SqlServerTable' (obbligatorio)
typeProperties Proprietà del dataset SQL Server on-premise. SqlServerTableDatasetTypeProperties (obbligatorio)

SqlServerTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del dataset di SQL Server. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

SquareObjectDataset

Name Description Value
type Tipo di set di dati. 'SquareObject' (obbligatorio)

VerticaTableDataset

Name Description Value
type Tipo di set di dati. 'VerticaTable' (obbligatorio)

WebTableDataset

Name Description Value
type Tipo di set di dati. 'WebTable' (obbligatorio)
typeProperties Proprietà del set di dati della tabella Web. WebTableDatasetTypeProperties (obbligatorio)

WebTableDatasetTypeProperties

Name Description Value
index Indice in base zero della tabella nella pagina Web. Tipo: integer (o Expression con resultType integer), minimo: 0. any (obbligatorio)
path URL relativo alla pagina Web dall'URL del servizio collegato. Tipo: stringa (o Espressione con stringa resultType). any

XeroObjectDataset

Name Description Value
type Tipo di set di dati. 'XeroObject' (obbligatorio)

ZohoObjectDataset

Name Description Value
type Tipo di set di dati. 'ZohoObject' (obbligatorio)

Esempi di utilizzo

Modelli di Avvio Rapido Azure

I seguenti template Azure Quickstart distribuiscono questo tipo di risorsa.

Template Description
Crea una fabbrica dati V2

Deploya su Azure
Questo template crea una data factory V2 che copia i dati da una cartella in Archiviazione BLOB di Azure a un'altra cartella nello storage.
Di più è possibile con Azure Data Factory - Un clic per provare Azure Data Factory

Deploya su Azure
Questo template crea una pipeline data factory per un'attività di copia da Azure Blob in un altro Azure Blob

Definizione di risorsa Terraform (provider AzAPI)

Il tipo di risorsa factory/set di dati può essere distribuito con operazioni destinate a:

  • Gruppi di risorse

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato delle risorse

Per creare un Microsoft. Risorsa DataFactory/factories/datasets, aggiungi il seguente Terraform al tuo template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DataFactory/factories/datasets@2017-09-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      annotations = [
        ?
      ]
      description = "string"
      linkedServiceName = {
        parameters = {
          {customized property} = ?
        }
        referenceName = "string"
        type = "string"
      }
      parameters = {
        {customized property} = {
          defaultValue = ?
          type = "string"
        }
      }
      structure = ?
      type = "string"
      // For remaining properties, see Dataset objects
    }
  }
}

Oggetti DatasetStorageFormat

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Oggetti dataset

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Per AmazonMWSObject, usare:

{
  type = "AmazonMWSObject"
}

Per AmazonS3Object, usare:

{
  type = "AmazonS3Object"
  typeProperties = {
    bucketName = ?
    compression = {
      type = "string"
      // For remaining properties, see DatasetCompression objects
    }
    format = {
      deserializer = ?
      serializer = ?
      type = "string"
      // For remaining properties, see DatasetStorageFormat objects
    }
    key = ?
    prefix = ?
    version = ?
  }
}

Per AzureBlob, usare:

{
  type = "AzureBlob"
  typeProperties = {
    compression = {
      type = "string"
      // For remaining properties, see DatasetCompression objects
    }
    fileName = ?
    folderPath = ?
    format = {
      deserializer = ?
      serializer = ?
      type = "string"
      // For remaining properties, see DatasetStorageFormat objects
    }
    tableRootLocation = ?
  }
}

Per AzureDataLakeStoreFile, usare:

{
  type = "AzureDataLakeStoreFile"
  typeProperties = {
    compression = {
      type = "string"
      // For remaining properties, see DatasetCompression objects
    }
    fileName = ?
    folderPath = ?
    format = {
      deserializer = ?
      serializer = ?
      type = "string"
      // For remaining properties, see DatasetStorageFormat objects
    }
  }
}

Per AzureMySqlTable, usare:

{
  type = "AzureMySqlTable"
  typeProperties = {
    tableName = ?
  }
}

Per AzurePostgreSqlTable, usare:

{
  type = "AzurePostgreSqlTable"
}

Per AzureSearchIndex, usare:

{
  type = "AzureSearchIndex"
  typeProperties = {
    indexName = ?
  }
}

Per AzureSqlDWTable, usare:

{
  type = "AzureSqlDWTable"
  typeProperties = {
    tableName = ?
  }
}

Per AzureSqlTable, usare:

{
  type = "AzureSqlTable"
  typeProperties = {
    tableName = ?
  }
}

Per AzureTable, usare:

{
  type = "AzureTable"
  typeProperties = {
    tableName = ?
  }
}

Per CassandraTable, usare:

{
  type = "CassandraTable"
  typeProperties = {
    keyspace = ?
    tableName = ?
  }
}

Per ConcurObject, usare:

{
  type = "ConcurObject"
}

Per CouchbaseTable, usare:

{
  type = "CouchbaseTable"
}

Per DocumentDbCollection, usare:

{
  type = "DocumentDbCollection"
  typeProperties = {
    collectionName = ?
  }
}

Per DrillTable, usare:

{
  type = "DrillTable"
}

Per DynamicsEntity, usare:

{
  type = "DynamicsEntity"
  typeProperties = {
    entityName = ?
  }
}

Per EloquaObject, usare:

{
  type = "EloquaObject"
}

Per FileShare, usare:

{
  type = "FileShare"
  typeProperties = {
    compression = {
      type = "string"
      // For remaining properties, see DatasetCompression objects
    }
    fileFilter = ?
    fileName = ?
    folderPath = ?
    format = {
      deserializer = ?
      serializer = ?
      type = "string"
      // For remaining properties, see DatasetStorageFormat objects
    }
  }
}

Per GoogleBigQueryObject, usare:

{
  type = "GoogleBigQueryObject"
}

Per GreenplumTable, usare:

{
  type = "GreenplumTable"
}

Per HBaseObject, usare:

{
  type = "HBaseObject"
}

Per HiveObject, usare:

{
  type = "HiveObject"
}

Per HttpFile, usare:

{
  type = "HttpFile"
  typeProperties = {
    additionalHeaders = ?
    compression = {
      type = "string"
      // For remaining properties, see DatasetCompression objects
    }
    format = {
      deserializer = ?
      serializer = ?
      type = "string"
      // For remaining properties, see DatasetStorageFormat objects
    }
    relativeUrl = ?
    requestBody = ?
    requestMethod = ?
  }
}

Per HubspotObject, usare:

{
  type = "HubspotObject"
}

Per ImpalaObject, usare:

{
  type = "ImpalaObject"
}

Per JiraObject, usare:

{
  type = "JiraObject"
}

Per , usare:

{
  type = "MagentoObject"
}

Per MariaDBTable, usare:

{
  type = "MariaDBTable"
}

Per MarketoObject, usare:

{
  type = "MarketoObject"
}

Per MongoDbCollection, usare:

{
  type = "MongoDbCollection"
  typeProperties = {
    collectionName = ?
  }
}

Per NetezzaTable, usare:

{
  type = "NetezzaTable"
}

Per ODataResource, usare:

{
  type = "ODataResource"
  typeProperties = {
    path = ?
  }
}

Per OracleTable, usare:

{
  type = "OracleTable"
  typeProperties = {
    tableName = ?
  }
}

Per , usare:

{
  type = "PaypalObject"
}

Per PhoenixObject, usare:

{
  type = "PhoenixObject"
}

Per PrestoObject, usare:

{
  type = "PrestoObject"
}

Per QuickBooksObject, usare:

{
  type = "QuickBooksObject"
}

Per RelationalTable, usare:

{
  type = "RelationalTable"
  typeProperties = {
    tableName = ?
  }
}

Per ResponsysObject, usare:

{
  type = "ResponsysObject"
}

Per SalesforceMarketingCloudObject, usare:

{
  type = "SalesforceMarketingCloudObject"
}

Per SalesforceObject, usare:

{
  type = "SalesforceObject"
  typeProperties = {
    objectApiName = ?
  }
}

Per SapCloudForCustomerResource, usare:

{
  type = "SapCloudForCustomerResource"
  typeProperties = {
    path = ?
  }
}

Per SapEccResource, usare:

{
  type = "SapEccResource"
  typeProperties = {
    path = ?
  }
}

Per ServiceNowObject, usare:

{
  type = "ServiceNowObject"
}

Per ShopifyObject, usare:

{
  type = "ShopifyObject"
}

Per SparkObject, usare:

{
  type = "SparkObject"
}

Per SqlServerTable, usare:

{
  type = "SqlServerTable"
  typeProperties = {
    tableName = ?
  }
}

Per SquareObject, usare:

{
  type = "SquareObject"
}

Per VerticaTable, usare:

{
  type = "VerticaTable"
}

Per webTable, usare:

{
  type = "WebTable"
  typeProperties = {
    index = ?
    path = ?
  }
}

Per XeroObject, usare:

{
  type = "XeroObject"
}

Per ZohoObject, usare:

{
  type = "ZohoObject"
}

Oggetti DatasetCompression

Impostare la proprietà tipo di per specificare il tipo di oggetto.

Per BZip2, usare:

{
  type = "BZip2"
}

Per Deflate, usare:

{
  level = "string"
  type = "Deflate"
}

Per GZip, usare:

{
  level = "string"
  type = "GZip"
}

Per ZipDeflate, usare:

{
  level = "string"
  type = "ZipDeflate"
}

Valori delle proprietà

Microsoft. DataFactory/fabbriche/dataset

Name Description Value
name Nome della risorsa string

Constraints:
Lunghezza minima = 1
Lunghezza massima = 260
Pattern = ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$ (obbligatorio)
parent_id ID della risorsa padre per questa risorsa. ID per la risorsa di tipo: factory
properties Proprietà del set di dati. Set di dati (obbligatorio)
type Tipo di risorsa "Microsoft. DataFactory/fabbriche/datasets@2017-09-01-anteprima"

AmazonMWSObjectDataset

Name Description Value
type Tipo di set di dati. 'AmazonMWSObject' (obbligatorio)

AmazonS3Dataset

Name Description Value
type Tipo di set di dati. 'AmazonS3Object' (obbligatorio)
typeProperties Proprietà del set di dati amazon S3. AmazonS3DatasetTypeProperties (obbligatorio)

AmazonS3DatasetTypeProperties

Name Description Value
bucketName Nome del bucket Amazon S3. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)
compression Metodo di compressione dei dati usato per l'oggetto Amazon S3. DatasetCompression
format Formato dei file. DatasetStorageFormat
key Chiave dell'oggetto Amazon S3. Tipo: stringa (o Espressione con stringa resultType). any
prefix Filtro del prefisso per il nome dell'oggetto S3. Tipo: stringa (o Espressione con stringa resultType). any
version Versione dell'oggetto S3. Tipo: stringa (o Espressione con stringa resultType). any

AzureBlobDataset

Name Description Value
type Tipo di set di dati. 'AzureBlob' (obbligatorio)
typeProperties Azure Blob dataset properties. AzureBlobDatasetTypeProperties (obbligatorio)

AzureBlobDatasetTypeProperties

Name Description Value
compression Metodo di compressione dei dati usato per l'archiviazione BLOB. DatasetCompression
fileName Il nome dell'Azure Blob. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Il percorso dello storage Azure Blob. Tipo: stringa (o Espressione con stringa resultType). any
format Il formato dello storage Azure Blob. DatasetStorageFormat
tableRootLocation Radice del percorso BLOB. Tipo: stringa (o Espressione con stringa resultType). any

AzureDataLakeStoreDataset

Name Description Value
type Tipo di set di dati. 'AzureDataLakeStoreFile' (obbligatorio)
typeProperties Azure Data Lake Store proprietà del dataset. AzureDataLakeStoreDatasetTypeProperties (obbligatorio)

AzureDataLakeStoreDatasetTypeProperties

Name Description Value
compression Il metodo di compressione dati utilizzato per l'elemento o gli elementi nello Azure Data Lake Store. DatasetCompression
fileName Il nome del file nello Azure Data Lake Store. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Percorso verso la cartella nello Azure Data Lake Store. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)
format Il formato del Data Lake Store. DatasetStorageFormat

AzureMySqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzureMySqlTable' (obbligatorio)
typeProperties Azure MySQL proprietà del dataset. AzureMySqlTableDatasetTypeProperties (obbligatorio)

AzureMySqlTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del database MySQL di Azure. Tipo: stringa (o Espressione con stringa resultType). any

AzurePostgreSqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzurePostgreSqlTable' (obbligatorio)

AzureSearchIndexDataset

Name Description Value
type Tipo di set di dati. 'AzureSearchIndex' (obbligatorio)
typeProperties Proprietà specifiche di questo tipo di set di dati. AzureSearchIndexDatasetTypeProperties (obbligatorio)

AzureSearchIndexDatasetTypeProperties

Name Description Value
indexName Il nome dell'Azure Search Index. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureSqlDWTableDataset

Name Description Value
type Tipo di set di dati. 'AzureSqlDWTable' (obbligatorio)
typeProperties Azure SQL Data Warehouse proprietà del dataset. AzureSqlDWTableDatasetTypeProperties (obbligatorio)

AzureSqlDWTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del Azure SQL Data Warehouse. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureSqlTableDataset

Name Description Value
type Tipo di set di dati. 'AzureSqlTable' (obbligatorio)
typeProperties Proprietà del dataset Azure SQL. AzureSqlTableDatasetTypeProperties (obbligatorio)

AzureSqlTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del database Azure SQL. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

AzureTableDataset

Name Description Value
type Tipo di set di dati. 'AzureTable' (obbligatorio)
typeProperties Proprietà del dataset di Azure Table. AzureTableDatasetTypeProperties (obbligatorio)

AzureTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella della memoria Azure Table. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

CassandraTableDataset

Name Description Value
type Tipo di set di dati. 'CassandraTable' (obbligatorio)
typeProperties Proprietà del set di dati Cassandra. CassandraTableDatasetTypeProperties (obbligatorio)

CassandraTableDatasetTypeProperties

Name Description Value
keyspace Keyspace del database Cassandra. Tipo: stringa (o Espressione con stringa resultType). any
tableName Nome della tabella del database Cassandra. Tipo: stringa (o Espressione con stringa resultType). any

ConcurObjectDataset

Name Description Value
type Tipo di set di dati. 'ConcurObject' (obbligatorio)

CouchbaseTableDataset

Name Description Value
type Tipo di set di dati. 'CouchbaseTable' (obbligatorio)

Dataset

Name Description Value
annotations Elenco di tag che possono essere usati per descrivere il set di dati. any[]
description Descrizione del set di dati. string
linkedServiceName Informazioni di riferimento sul servizio collegato. LinkedServiceReference (obbligatorio)
parameters Parametri per il set di dati. ParameterDefinitionSpecification
structure Colonne che definiscono la struttura del set di dati. Tipo: matrice (o espressione con matrice resultType), itemType: DatasetDataElement. any
type Impostare su 'AmazonMWSObject' per il tipo AmazonMWSObjectDataset. Impostare su "AmazonS3Object" per il tipo AmazonS3Dataset. Impostare su "AzureBlob" per il tipo AzureBlobDataset. Impostare su "AzureDataLakeStoreFile" per il tipo AzureDataLakeStoreDataset. Impostare su "AzureMySqlTable" per il tipo AzureMySqlTableDataset. Impostare su "AzurePostgreSqlTable" per il tipo AzurePostgreSqlTableDataset. Impostare su "AzureSearchIndex" per il tipo AzureSearchIndexDataset. Impostare su "AzureSqlDWTable" per il tipo AzureSqlDWTableDataset. Impostare su "AzureSqlTable" per il tipo AzureSqlTableDataset. Impostare su "AzureTable" per il tipo AzureTableDataset. Impostare su 'CassandraTable' per il tipo CassandraTableDataset. Impostare su "ConcurObject" per il tipo ConcurObjectDataset. Impostare su 'CouchbaseTable' per il tipo CouchbaseTableDataset. Impostare su 'DocumentDbCollection' per il tipo DocumentDbCollectionDataset. Impostare su 'DrillTable' per il tipo DrillTableDataset. Impostare su "DynamicsEntity" per il tipo DynamicsEntityDataset. Impostare su "EloquaObject" per il tipo EloquaObjectDataset. Impostare su "FileShare" per il tipo FileShareDataset. Impostare su "GoogleBigQueryObject" per il tipo GoogleBigQueryObjectDataset. Impostare su "GreenplumTable" per il tipo GreenplumTableDataset. Impostare su 'HBaseObject' per il tipo HBaseObjectDataset. Impostare su "HiveObject" per il tipo HiveObjectDataset. Impostare su "HttpFile" per il tipo HttpDataset. Impostare su "HubspotObject" per il tipo HubspotObjectDataset. Impostare su 'ImpalaObject' per il tipo ImpalaObjectDataset. Impostare su "JiraObject" per il tipo JiraObjectDataset. Impostare su 'Object' per il tipo . Impostare su 'MariaDBTable' per il tipo MariaDBTableDataset. Impostare su 'MarketoObject' per il tipo MarketoObjectDataset. Impostare su 'MongoDbCollection' per il tipo MongoDbCollectionDataset. Impostare su 'NetezzaTable' per il tipo NetezzaTableDataset. Impostare su "ODataResource" per il tipo ODataResourceDataset. Impostare su 'OracleTable' per il tipo OracleTableDataset. Impostare su 'MessageObject' per il tipo MessageObjectDataset. Impostare su 'PhoenixObject' per il tipo PhoenixObjectDataset. Impostare su "PrestoObject" per il tipo PrestoObjectDataset. Impostare su "QuickBooksObject" per il tipo QuickBooksObjectDataset. Impostare su 'RelationalTable' per il tipo RelationalTableDataset. Impostare su "ResponsysObject" per il tipo ResponsysObjectDataset. Impostare su "SalesforceMarketingCloudObject" per il tipo SalesforceMarketingCloudObjectDataset. Impostare su "SalesforceObject" per il tipo SalesforceObjectDataset. Impostare su 'SapCloudForCustomerResource' per il tipo SapCloudForCustomerResourceDataset. Impostare su 'SapEccResource' per il tipo SapEccResourceDataset. Impostare su "ServiceNowObject" per il tipo ServiceNowObjectDataset. Impostare su "ShopifyObject" per il tipo ShopifyObjectDataset. Impostare su "SparkObject" per il tipo SparkObjectDataset. Impostare su 'SqlServerTable' per il tipo SqlServerTableDataset. Impostare su 'SquareObject' per il tipo SquareObjectDataset. Impostare su 'VerticaTable' per il tipo VerticaTableDataset. Impostare su 'WebTable' per il tipo WebTableDataset. Impostare su "XeroObject" per il tipo XeroObjectDataset. Impostare su 'ZohoObject' per il tipo ZohoObjectDataset. 'AmazonMWSObject'
'AmazonS3Object'
'AzureBlob'
'AzureDataLakeStoreFile'
'AzureMySqlTable'
'AzurePostgreSqlTable'
'AzureSearchIndex'
'AzureSqlDWTable'
'AzureSqlTable'
'AzureTable'
'CassandraTable'
'ConcurObject'
'CouchbaseTable'
'DocumentDbCollection'
'DrillTable'
'DynamicsEntity'
'EloquaObject'
'FileShare'
'GoogleBigQueryObject'
'GreenplumTable'
'HBaseObject'
'HiveObject'
'HttpFile'
'HubspotObject'
'ImpalaObject'
'JiraObject'
'MagentoObject'
'MariaDBTable'
'MarketoObject'
'MongoDbCollection'
'NetezzaTable'
'ODataResource'
'OracleTable'
'PaypalObject'
'PhoenixObject'
'PrestoObject'
'QuickBooksObject'
'RelationalTable'
'ResponsysObject'
'SalesforceMarketingCloudObject'
'SalesforceObject'
'SapCloudForCustomerResource'
'SapEccResource'
'ServiceNowObject'
'ShopifyObject'
'SparkObject'
'SqlServerTable'
'SquareObject'
'VerticaTable'
'WebTable'
'XeroObject'
'ZohoObject' (obbligatorio)

DatasetBZip2Compression

Name Description Value
type Tipo di compressione del set di dati. 'BZip2' (obbligatorio)

DatasetCompression

Name Description Value
type Impostare su "BZip2" per il tipo DatasetBZip2Compression. Impostare su "Deflate" per il tipo DatasetDeflateCompression. Impostare su "GZip" per il tipo DatasetGZipCompression. Impostare su "ZipDeflate" per il tipo DatasetZipDeflateCompression. 'BZip2'
'Deflate'
'GZip'
'ZipDeflate' (obbligatorio)

DatasetDeflateCompression

Name Description Value
level Livello di compressione Deflate. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'Sgonfiare' (obbligatorio)

DatasetGZipCompression

Name Description Value
level Livello di compressione GZip. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'GZip' (obbligatorio)

DatasetStorageFormat

Name Description Value
deserializer Deserializer. Tipo: stringa (o Espressione con stringa resultType). any
serializer Serializer. Tipo: stringa (o Espressione con stringa resultType). any
type (required)

DatasetZipDeflateCompression

Name Description Value
level Livello di compressione ZipDeflate. 'Fastest'
'Optimal'
type Tipo di compressione del set di dati. 'ZipDeflate' (obbligatorio)

DocumentDbCollectionDataset

Name Description Value
type Tipo di set di dati. 'DocumentDbCollection' (obbligatorio)
typeProperties Proprietà del set di dati della raccolta documentDB. DocumentDbCollectionDatasetTypeProperties (obbligatorio)

DocumentDbCollectionDatasetTypeProperties

Name Description Value
collectionName Nome raccolta del database di documenti. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

DrillTableDataset

Name Description Value
type Tipo di set di dati. 'DrillTable' (obbligatorio)

DynamicsEntityDataset

Name Description Value
type Tipo di set di dati. 'DynamicsEntity' (obbligatorio)
typeProperties Dynamics proprietà del dataset di entità. DynamicsEntityDatasetTypeProperties (obbligatorio)

DynamicsEntityDatasetTypeProperties

Name Description Value
entityName Nome logico dell'entità. Tipo: stringa (o Espressione con stringa resultType). any

EloquaObjectDataset

Name Description Value
type Tipo di set di dati. 'EloquaObject' (obbligatorio)

FileShareDataset

Name Description Value
type Tipo di set di dati. 'FileShare' (obbligatorio)
typeProperties Proprietà del set di dati del file system locale. FileShareDatasetTypeProperties (obbligatorio)

FileShareDatasetTypeProperties

Name Description Value
compression Metodo di compressione dei dati utilizzato per il file system. DatasetCompression
fileFilter Specificare un filtro da utilizzare per selezionare un subset di file in folderPath anziché tutti i file. Tipo: stringa (o Espressione con stringa resultType). any
fileName Nome del file system locale. Tipo: stringa (o Espressione con stringa resultType). any
folderPath Percorso del file system locale. Tipo: stringa (o Espressione con stringa resultType). any
format Formato dei file. DatasetStorageFormat

GoogleBigQueryObjectDataset

Name Description Value
type Tipo di set di dati. 'GoogleBigQueryObject' (obbligatorio)

GreenplumTableDataset

Name Description Value
type Tipo di set di dati. 'GreenplumTable' (obbligatorio)

HBaseObjectDataset

Name Description Value
type Tipo di set di dati. 'HBaseObject' (obbligatorio)

HiveObjectDataset

Name Description Value
type Tipo di set di dati. 'HiveObject' (obbligatorio)

HttpDataset

Name Description Value
type Tipo di set di dati. 'HttpFile' (obbligatorio)
typeProperties Proprietà specifiche di questo tipo di set di dati. HttpDatasetTypeProperties (obbligatorio)

HttpDatasetTypeProperties

Name Description Value
additionalHeaders Intestazioni per la richiesta HTTP. ad esempio nome-intestazione-richiesta-1:valore-intestazione-richiesta 1
...
request-header-name-n:request-header-value-n Type: string (o Expression with resultType string).
any
compression Metodo di compressione dei dati utilizzato nei file. DatasetCompression
format Formato dei file. DatasetStorageFormat
relativeUrl L'URL relativo basato sull'URL in HttpLinkedService fa riferimento a un tipo di file HTTP: stringa (o Espressione con stringa resultType). any
requestBody Corpo della richiesta HTTP. Tipo: stringa (o Espressione con stringa resultType). any
requestMethod Metodo HTTP per la richiesta HTTP. Tipo: stringa (o Espressione con stringa resultType). any

HubspotObjectDataset

Name Description Value
type Tipo di set di dati. 'HubspotObject' (obbligatorio)

ImpalaObjectDataset

Name Description Value
type Tipo di set di dati. 'ImpalaObject' (obbligatorio)

JiraObjectDataset

Name Description Value
type Tipo di set di dati. 'JiraObject' (obbligatorio)

LinkedServiceReference

Name Description Value
parameters Argomenti per LinkedService. ParameterValueSpecification
referenceName Fare riferimento al nome LinkedService. stringa (obbligatorio)
type Tipo di riferimento del servizio collegato. 'LinkedServiceReference' (obbligatorio)

MagentoObjectDataset

Name Description Value
type Tipo di set di dati. 'MagentoObject' (obbligatorio)

MariaDBTableDataset

Name Description Value
type Tipo di set di dati. 'MariaDBTable' (obbligatorio)

MarketoObjectDataset

Name Description Value
type Tipo di set di dati. 'MarketoObject' (obbligatorio)

MongoDbCollectionDataset

Name Description Value
type Tipo di set di dati. 'MongoDbCollection' (obbligatorio)
typeProperties Proprietà del set di dati del database MongoDB. MongoDbCollectionDatasetTypeProperties (obbligatorio)

MongoDbCollectionDatasetTypeProperties

Name Description Value
collectionName Nome della tabella del database MongoDB. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

NetezzaTableDataset

Name Description Value
type Tipo di set di dati. 'NetezzaTable' (obbligatorio)

ODataResourceDataset

Name Description Value
type Tipo di set di dati. 'ODataResource' (obbligatorio)
typeProperties Proprietà del set di dati OData. ODataResourceDatasetTypeProperties (obbligatorio)

ODataResourceDatasetTypeProperties

Name Description Value
path Percorso della risorsa OData. Tipo: stringa (o Espressione con stringa resultType). any

OracleTableDataset

Name Description Value
type Tipo di set di dati. 'OracleTable' (obbligatorio)
typeProperties Proprietà del set di dati Oracle locali. OracleTableDatasetTypeProperties (obbligatorio)

OracleTableDatasetTypeProperties

Name Description Value
tableName Nome della tabella del database Oracle locale. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

ParameterDefinitionSpecification

Name Description Value

ParameterSpecification

Name Description Value
defaultValue Valore predefinito del parametro. any
type Tipo di parametro. 'Array'
'Bool'
'Float'
'Int'
'Object'
'SecureString'
'String' (obbligatorio)

ParameterValueSpecification

Name Description Value

PaypalObjectDataset

Name Description Value
type Tipo di set di dati. 'PaypalObject' (obbligatorio)

PhoenixObjectDataset

Name Description Value
type Tipo di set di dati. 'PhoenixObject' (obbligatorio)

PrestoObjectDataset

Name Description Value
type Tipo di set di dati. 'PrestoObject' (obbligatorio)

QuickBooksObjectDataset

Name Description Value
type Tipo di set di dati. 'QuickBooksObject' (obbligatorio)

RelationalTableDataset

Name Description Value
type Tipo di set di dati. 'RelationalTable' (obbligatorio)
typeProperties Proprietà del set di dati della tabella relazionale. RelationalTableDatasetTypeProperties (obbligatorio)

RelationalTableDatasetTypeProperties

Name Description Value
tableName Nome della tabella relazionale. Tipo: stringa (o Espressione con stringa resultType). any

ResponsysObjectDataset

Name Description Value
type Tipo di set di dati. 'ResponsysObject' (obbligatorio)

SalesforceMarketingCloudObjectDataset

Name Description Value
type Tipo di set di dati. 'SalesforceMarketingCloudObject' (obbligatorio)

SalesforceObjectDataset

Name Description Value
type Tipo di set di dati. 'SalesforceObject' (obbligatorio)
typeProperties Proprietà del set di dati dell'oggetto Salesforce. SalesforceObjectDatasetTypeProperties (obbligatorio)

SalesforceObjectDatasetTypeProperties

Name Description Value
objectApiName Nome dell'API dell'oggetto Salesforce. Tipo: stringa (o Espressione con stringa resultType). any

SapCloudForCustomerResourceDataset

Name Description Value
type Tipo di set di dati. 'SapCloudForCustomerResource' (obbligatorio)
typeProperties Proprietà del set di dati delle risorse OData di SAP Cloud For Customer. SapCloudForCustomerResourceDatasetTypeProperties (obbligatorio)

SapCloudForCustomerResourceDatasetTypeProperties

Name Description Value
path Percorso dell'entità SAP Cloud for Customer OData. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

SapEccResourceDataset

Name Description Value
type Tipo di set di dati. 'SapEccResource' (obbligatorio)
typeProperties Proprietà del set di dati delle risorse OData DI SAP ECC. SapEccResourceDatasetTypeProperties (obbligatorio)

SapEccResourceDatasetTypeProperties

Name Description Value
path Percorso dell'entità OData DI SAP ECC. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

ServiceNowObjectDataset

Name Description Value
type Tipo di set di dati. 'ServiceNowObject' (obbligatorio)

ShopifyObjectDataset

Name Description Value
type Tipo di set di dati. 'ShopifyObject' (obbligatorio)

SparkObjectDataset

Name Description Value
type Tipo di set di dati. 'SparkObject' (obbligatorio)

SqlServerTableDataset

Name Description Value
type Tipo di set di dati. 'SqlServerTable' (obbligatorio)
typeProperties Proprietà del dataset SQL Server on-premise. SqlServerTableDatasetTypeProperties (obbligatorio)

SqlServerTableDatasetTypeProperties

Name Description Value
tableName Il nome della tabella del dataset di SQL Server. Tipo: stringa (o Espressione con stringa resultType). any (obbligatorio)

SquareObjectDataset

Name Description Value
type Tipo di set di dati. 'SquareObject' (obbligatorio)

VerticaTableDataset

Name Description Value
type Tipo di set di dati. 'VerticaTable' (obbligatorio)

WebTableDataset

Name Description Value
type Tipo di set di dati. 'WebTable' (obbligatorio)
typeProperties Proprietà del set di dati della tabella Web. WebTableDatasetTypeProperties (obbligatorio)

WebTableDatasetTypeProperties

Name Description Value
index Indice in base zero della tabella nella pagina Web. Tipo: integer (o Expression con resultType integer), minimo: 0. any (obbligatorio)
path URL relativo alla pagina Web dall'URL del servizio collegato. Tipo: stringa (o Espressione con stringa resultType). any

XeroObjectDataset

Name Description Value
type Tipo di set di dati. 'XeroObject' (obbligatorio)

ZohoObjectDataset

Name Description Value
type Tipo di set di dati. 'ZohoObject' (obbligatorio)

Esempi di utilizzo

Esempi di Terraform

Un esempio base di come distribuire un dataset all'interno di una Azure Data Factory.

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "westeurope"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "factory" {
  type      = "Microsoft.DataFactory/factories@2018-06-01"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
      publicNetworkAccess = "Enabled"
      repoConfiguration   = null
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

resource "azapi_resource" "storageAccount" {
  type      = "Microsoft.Storage/storageAccounts@2021-09-01"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    kind = "StorageV2"
    properties = {
      accessTier                   = "Hot"
      allowBlobPublicAccess        = true
      allowCrossTenantReplication  = true
      allowSharedKeyAccess         = true
      defaultToOAuthAuthentication = false
      encryption = {
        keySource = "Microsoft.Storage"
        services = {
          queue = {
            keyType = "Service"
          }
          table = {
            keyType = "Service"
          }
        }
      }
      isHnsEnabled      = false
      isNfsV3Enabled    = false
      isSftpEnabled     = false
      minimumTlsVersion = "TLS1_2"
      networkAcls = {
        defaultAction = "Allow"
      }
      publicNetworkAccess      = "Enabled"
      supportsHttpsTrafficOnly = true
    }
    sku = {
      name = "Standard_LRS"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

resource "azapi_resource" "linkedservice" {
  type      = "Microsoft.DataFactory/factories/linkedservices@2018-06-01"
  parent_id = azapi_resource.factory.id
  name      = var.resource_name
  body = {
    properties = {
      description = ""
      type        = "AzureBlobStorage"
      typeProperties = {
        serviceEndpoint = azapi_resource.storageAccount.output.properties.primaryEndpoints.blob
      }
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

resource "azapi_resource" "dataset" {
  type      = "Microsoft.DataFactory/factories/datasets@2018-06-01"
  parent_id = azapi_resource.factory.id
  name      = var.resource_name
  body = {
    properties = {
      description = ""
      linkedServiceName = {
        referenceName = azapi_resource.linkedservice.name
        type          = "LinkedServiceReference"
      }
      type = "Json"
      typeProperties = {
        encodingName = "UTF-8"
        location = {
          container  = "container"
          fileName   = "bar.txt"
          folderPath = "foo/bar/"
          type       = "AzureBlobStorageLocation"
        }
      }
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}