From 2e50ec9046230e9275015a86903e1d60c58ca23e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 15 Jan 2019 12:15:07 -0800 Subject: [PATCH] [AutoPR datafactory/resource-manager] [DataFactory]Support schema property for dataset (#920) * Generated from c36d6d87e9a4ae714416dd7ece0528c86cc97514 Support schema property for dataset * Generated from c36d6d87e9a4ae714416dd7ece0528c86cc97514 Support schema property for dataset --- .../arm-datafactory/lib/models/index.ts | 324 ++++++++++++++++++ .../arm-datafactory/lib/models/mappers.ts | 6 + 2 files changed, 330 insertions(+) diff --git a/packages/@azure/arm-datafactory/lib/models/index.ts b/packages/@azure/arm-datafactory/lib/models/index.ts index d4eea03bb123..c73bd42c7782 100644 --- a/packages/@azure/arm-datafactory/lib/models/index.ts +++ b/packages/@azure/arm-datafactory/lib/models/index.ts @@ -625,6 +625,12 @@ export interface Dataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7427,6 +7433,12 @@ export interface ResponsysObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7475,6 +7487,12 @@ export interface SalesforceMarketingCloudObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7523,6 +7541,12 @@ export interface VerticaTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7571,6 +7595,12 @@ export interface NetezzaTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7619,6 +7649,12 @@ export interface ZohoObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7667,6 +7703,12 @@ export interface XeroObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7715,6 +7757,12 @@ export interface SquareObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7763,6 +7811,12 @@ export interface SparkObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7811,6 +7865,12 @@ export interface ShopifyObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7859,6 +7919,12 @@ export interface ServiceNowObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7907,6 +7973,12 @@ export interface QuickBooksObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -7955,6 +8027,12 @@ export interface PrestoObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8003,6 +8081,12 @@ export interface PhoenixObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8051,6 +8135,12 @@ export interface PaypalObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8099,6 +8189,12 @@ export interface MarketoObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8147,6 +8243,12 @@ export interface MariaDBTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8195,6 +8297,12 @@ export interface MagentoObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8243,6 +8351,12 @@ export interface JiraObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8291,6 +8405,12 @@ export interface ImpalaObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8339,6 +8459,12 @@ export interface HubspotObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8387,6 +8513,12 @@ export interface HiveObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8435,6 +8567,12 @@ export interface HBaseObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8483,6 +8621,12 @@ export interface GreenplumTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8531,6 +8675,12 @@ export interface GoogleBigQueryObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8579,6 +8729,12 @@ export interface EloquaObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8627,6 +8783,12 @@ export interface DrillTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8675,6 +8837,12 @@ export interface CouchbaseTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8723,6 +8891,12 @@ export interface ConcurObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8771,6 +8945,12 @@ export interface AzurePostgreSqlTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -8819,6 +8999,12 @@ export interface AmazonMWSObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9195,6 +9381,12 @@ export interface HttpDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9271,6 +9463,12 @@ export interface AzureSearchIndexDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9319,6 +9517,12 @@ export interface WebTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9372,6 +9576,12 @@ export interface SqlServerTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9420,6 +9630,12 @@ export interface SapEccResourceDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9468,6 +9684,12 @@ export interface SapCloudForCustomerResourceDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9516,6 +9738,12 @@ export interface SalesforceObjectDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9564,6 +9792,12 @@ export interface RelationalTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9612,6 +9846,12 @@ export interface AzureMySqlTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9660,6 +9900,12 @@ export interface OracleTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9708,6 +9954,12 @@ export interface ODataResourceDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9756,6 +10008,12 @@ export interface MongoDbCollectionDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9804,6 +10062,12 @@ export interface FileShareDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9872,6 +10136,12 @@ export interface AzureDataLakeStoreDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9935,6 +10205,12 @@ export interface DynamicsEntityDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -9983,6 +10259,12 @@ export interface DocumentDbCollectionDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -10031,6 +10313,12 @@ export interface CustomDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -10078,6 +10366,12 @@ export interface CassandraTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -10131,6 +10425,12 @@ export interface AzureSqlDWTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -10179,6 +10479,12 @@ export interface AzureSqlTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -10227,6 +10533,12 @@ export interface AzureTableDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -10275,6 +10587,12 @@ export interface AzureBlobDataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. @@ -10343,6 +10661,12 @@ export interface AmazonS3Dataset { * DatasetDataElement. */ structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; /** * @member {LinkedServiceReference} linkedServiceName Linked service * reference. diff --git a/packages/@azure/arm-datafactory/lib/models/mappers.ts b/packages/@azure/arm-datafactory/lib/models/mappers.ts index 614c742802fd..5694773a68b1 100644 --- a/packages/@azure/arm-datafactory/lib/models/mappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/mappers.ts @@ -843,6 +843,12 @@ export const Dataset: msRest.CompositeMapper = { name: "Object" } }, + schema: { + serializedName: "schema", + type: { + name: "Object" + } + }, linkedServiceName: { required: true, serializedName: "linkedServiceName",