From 8f43aa7b5dfd8cfcb22fae004641f3644f439ddb Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 15 Jan 2019 11:42:28 +0000 Subject: [PATCH 1/2] Generated from 8b1f253665d913fa9220085a4de852f5f3dcd66b Fix ssis execute credential issue --- packages/@azure/arm-datafactory/lib/models/index.ts | 6 +++--- packages/@azure/arm-datafactory/lib/models/mappers.ts | 9 ++------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/packages/@azure/arm-datafactory/lib/models/index.ts b/packages/@azure/arm-datafactory/lib/models/index.ts index d4eea03bb123..6bd720798fa2 100644 --- a/packages/@azure/arm-datafactory/lib/models/index.ts +++ b/packages/@azure/arm-datafactory/lib/models/index.ts @@ -13050,10 +13050,10 @@ export interface ExecuteSSISPackageActivity { */ environmentPath?: any; /** - * @member {{ [propertyName: string]: SSISExecutionCredential }} - * [executionCredential] The package execution credential. + * @member {SSISExecutionCredential} [executionCredential] The package + * execution credential. */ - executionCredential?: { [propertyName: string]: SSISExecutionCredential }; + executionCredential?: SSISExecutionCredential; /** * @member {IntegrationRuntimeReference} connectVia The integration runtime * reference. diff --git a/packages/@azure/arm-datafactory/lib/models/mappers.ts b/packages/@azure/arm-datafactory/lib/models/mappers.ts index 614c742802fd..1fde27184772 100644 --- a/packages/@azure/arm-datafactory/lib/models/mappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/mappers.ts @@ -11569,13 +11569,8 @@ export const ExecuteSSISPackageActivity: msRest.CompositeMapper = { executionCredential: { serializedName: "typeProperties.executionCredential", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "SSISExecutionCredential" - } - } + name: "Composite", + className: "SSISExecutionCredential" } }, connectVia: { From 012a7f885c442ac87ab306aa39fdf9635ab37cfd Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 16 Jan 2019 19:57:35 +0000 Subject: [PATCH 2/2] Generated from 8b1f253665d913fa9220085a4de852f5f3dcd66b Fix ssis execute credential issue --- .../lib/dataFactoryManagementClient.ts | 2 + .../lib/models/datasetsMappers.ts | 1 + .../lib/models/exposureControlMappers.ts | 17 + .../lib/models/factoriesMappers.ts | 1 + .../arm-datafactory/lib/models/index.ts | 437 +++++++++++++++++- .../lib/models/integrationRuntimesMappers.ts | 1 + .../lib/models/linkedServicesMappers.ts | 1 + .../arm-datafactory/lib/models/mappers.ts | 94 ++++ .../lib/models/pipelinesMappers.ts | 1 + .../lib/models/rerunTriggersMappers.ts | 1 + .../lib/models/triggersMappers.ts | 1 + .../lib/operations/exposureControl.ts | 93 ++++ .../arm-datafactory/lib/operations/index.ts | 1 + 13 files changed, 650 insertions(+), 1 deletion(-) create mode 100644 packages/@azure/arm-datafactory/lib/models/exposureControlMappers.ts create mode 100644 packages/@azure/arm-datafactory/lib/operations/exposureControl.ts diff --git a/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts index c9accb187889..feafd194a493 100644 --- a/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts +++ b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts @@ -19,6 +19,7 @@ class DataFactoryManagementClient extends DataFactoryManagementClientContext { // Operation groups operations: operations.Operations; factories: operations.Factories; + exposureControl: operations.ExposureControl; integrationRuntimes: operations.IntegrationRuntimes; integrationRuntimeObjectMetadata: operations.IntegrationRuntimeObjectMetadata; integrationRuntimeNodes: operations.IntegrationRuntimeNodes; @@ -41,6 +42,7 @@ class DataFactoryManagementClient extends DataFactoryManagementClientContext { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.factories = new operations.Factories(this); + this.exposureControl = new operations.ExposureControl(this); this.integrationRuntimes = new operations.IntegrationRuntimes(this); this.integrationRuntimeObjectMetadata = new operations.IntegrationRuntimeObjectMetadata(this); this.integrationRuntimeNodes = new operations.IntegrationRuntimeNodes(this); diff --git a/packages/@azure/arm-datafactory/lib/models/datasetsMappers.ts b/packages/@azure/arm-datafactory/lib/models/datasetsMappers.ts index afb72cb35589..4126a7cd499b 100644 --- a/packages/@azure/arm-datafactory/lib/models/datasetsMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/datasetsMappers.ts @@ -248,6 +248,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/exposureControlMappers.ts b/packages/@azure/arm-datafactory/lib/models/exposureControlMappers.ts new file mode 100644 index 000000000000..1e20b103bef5 --- /dev/null +++ b/packages/@azure/arm-datafactory/lib/models/exposureControlMappers.ts @@ -0,0 +1,17 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + ExposureControlRequest, + ExposureControlResponse, + CloudError +} from "../models/mappers"; + diff --git a/packages/@azure/arm-datafactory/lib/models/factoriesMappers.ts b/packages/@azure/arm-datafactory/lib/models/factoriesMappers.ts index c6a290fb013b..daa4ebb34228 100644 --- a/packages/@azure/arm-datafactory/lib/models/factoriesMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/factoriesMappers.ts @@ -254,6 +254,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/index.ts b/packages/@azure/arm-datafactory/lib/models/index.ts index 6bd720798fa2..380f2eaa6eb7 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. @@ -1863,6 +1869,44 @@ export interface SsisObjectMetadataStatusResponse { error?: string; } +/** + * @interface + * An interface representing ExposureControlRequest. + * The exposure control request. + * + */ +export interface ExposureControlRequest { + /** + * @member {string} [featureName] The feature name. + */ + featureName?: string; + /** + * @member {string} [featureType] The feature type. + */ + featureType?: string; +} + +/** + * @interface + * An interface representing ExposureControlResponse. + * The exposure control response. + * + */ +export interface ExposureControlResponse { + /** + * @member {string} [featureName] The feature name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly featureName?: string; + /** + * @member {string} [value] The feature value. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly value?: string; +} + /** * Contains the possible cases for DependencyReference. */ @@ -7427,6 +7471,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 +7525,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 +7579,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 +7633,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 +7687,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 +7741,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 +7795,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 +7849,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 +7903,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 +7957,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 +8011,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 +8065,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 +8119,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 +8173,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 +8227,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 +8281,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 +8335,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 +8389,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 +8443,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 +8497,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 +8551,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 +8605,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 +8659,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 +8713,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 +8767,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 +8821,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 +8875,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 +8929,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 +8983,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 +9037,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 +9419,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 +9501,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 +9555,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 +9614,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 +9668,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 +9722,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 +9776,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 +9830,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 +9884,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 +9938,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 +9992,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 +10046,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 +10100,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 +10174,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 +10243,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 +10297,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 +10351,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 +10404,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 +10463,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 +10517,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 +10571,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 +10625,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 +10699,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. @@ -14409,7 +14771,7 @@ export interface CopyActivity { /** * Contains the possible cases for ControlActivity. */ -export type ControlActivityUnion = ControlActivity | AppendVariableActivity | SetVariableActivity | FilterActivity | UntilActivity | WaitActivity | ForEachActivity | IfConditionActivity | WebHookActivity | ExecutePipelineActivity; +export type ControlActivityUnion = ControlActivity | AppendVariableActivity | SetVariableActivity | FilterActivity | ValidationActivity | UntilActivity | WaitActivity | ForEachActivity | IfConditionActivity | WebHookActivity | ExecutePipelineActivity; /** * @interface @@ -14556,6 +14918,60 @@ export interface FilterActivity { condition: Expression; } +/** + * @interface + * An interface representing ValidationActivity. + * This activity blocks execution until a file has been validated to exist, + * with an optional minimum size, or the timeout is reached, whichever is + * earlier. + * + */ +export interface ValidationActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Validation"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {any} [timeout] Specifies the timeout for the activity to run. If + * there is no value specified, it takes the value of TimeSpan.FromDays(7) + * which is 1 week as default. Type: string (or Expression with resultType + * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + timeout?: any; + /** + * @member {number} [sleep] A delay in seconds between validation attempts. + * If no value is specified, 10 seconds will be used as the default. + */ + sleep?: number; + /** + * @member {number} [minimumSize] Minimum size of a file in byte. If no value + * is specified, 0 byte will be used as the default. + */ + minimumSize?: number; + /** + * @member {DatasetReference} dataset Validation activity dataset reference. + */ + dataset: DatasetReference; +} + /** * @interface * An interface representing UntilActivity. @@ -16937,6 +17353,25 @@ export type FactoriesListByResourceGroupNextResponse = FactoryListResponse & { }; }; +/** + * Contains response data for the getFeatureValue operation. + */ +export type ExposureControlGetFeatureValueResponse = ExposureControlResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExposureControlResponse; + }; +}; + /** * Contains response data for the listByFactory operation. */ diff --git a/packages/@azure/arm-datafactory/lib/models/integrationRuntimesMappers.ts b/packages/@azure/arm-datafactory/lib/models/integrationRuntimesMappers.ts index 36f539e2766a..bbc35164795b 100644 --- a/packages/@azure/arm-datafactory/lib/models/integrationRuntimesMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/integrationRuntimesMappers.ts @@ -265,6 +265,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/linkedServicesMappers.ts b/packages/@azure/arm-datafactory/lib/models/linkedServicesMappers.ts index 6d84ec58f02b..57d9690babed 100644 --- a/packages/@azure/arm-datafactory/lib/models/linkedServicesMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/linkedServicesMappers.ts @@ -248,6 +248,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/mappers.ts b/packages/@azure/arm-datafactory/lib/models/mappers.ts index 1fde27184772..615a1f94a122 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", @@ -2529,6 +2535,52 @@ export const SsisObjectMetadataStatusResponse: msRest.CompositeMapper = { } }; +export const ExposureControlRequest: msRest.CompositeMapper = { + serializedName: "ExposureControlRequest", + type: { + name: "Composite", + className: "ExposureControlRequest", + modelProperties: { + featureName: { + serializedName: "featureName", + type: { + name: "String" + } + }, + featureType: { + serializedName: "featureType", + type: { + name: "String" + } + } + } + } +}; + +export const ExposureControlResponse: msRest.CompositeMapper = { + serializedName: "ExposureControlResponse", + type: { + name: "Composite", + className: "ExposureControlResponse", + modelProperties: { + featureName: { + readOnly: true, + serializedName: "featureName", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + export const DependencyReference: msRest.CompositeMapper = { serializedName: "DependencyReference", type: { @@ -12904,6 +12956,47 @@ export const FilterActivity: msRest.CompositeMapper = { } }; +export const ValidationActivity: msRest.CompositeMapper = { + serializedName: "Validation", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "ValidationActivity", + modelProperties: { + ...ControlActivity.type.modelProperties, + timeout: { + serializedName: "typeProperties.timeout", + type: { + name: "Object" + } + }, + sleep: { + serializedName: "typeProperties.sleep", + type: { + name: "Number" + } + }, + minimumSize: { + serializedName: "typeProperties.minimumSize", + type: { + name: "Number" + } + }, + dataset: { + required: true, + serializedName: "typeProperties.dataset", + defaultValue: {}, + type: { + name: "Composite", + className: "DatasetReference" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + export const UntilActivity: msRest.CompositeMapper = { serializedName: "Until", type: { @@ -14890,6 +14983,7 @@ export const discriminators = { 'Activity.AppendVariable' : AppendVariableActivity, 'Activity.SetVariable' : SetVariableActivity, 'Activity.Filter' : FilterActivity, + 'Activity.Validation' : ValidationActivity, 'Activity.Until' : UntilActivity, 'Activity.Wait' : WaitActivity, 'Activity.ForEach' : ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/pipelinesMappers.ts b/packages/@azure/arm-datafactory/lib/models/pipelinesMappers.ts index 4e04ac8b0e06..f643152732fb 100644 --- a/packages/@azure/arm-datafactory/lib/models/pipelinesMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/pipelinesMappers.ts @@ -249,6 +249,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/rerunTriggersMappers.ts b/packages/@azure/arm-datafactory/lib/models/rerunTriggersMappers.ts index 57be366644bf..5924f2b6e99a 100644 --- a/packages/@azure/arm-datafactory/lib/models/rerunTriggersMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/rerunTriggersMappers.ts @@ -249,6 +249,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/triggersMappers.ts b/packages/@azure/arm-datafactory/lib/models/triggersMappers.ts index 05ee1ad4c590..c13153ea8bcd 100644 --- a/packages/@azure/arm-datafactory/lib/models/triggersMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/triggersMappers.ts @@ -248,6 +248,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/operations/exposureControl.ts b/packages/@azure/arm-datafactory/lib/operations/exposureControl.ts new file mode 100644 index 000000000000..4873987c2e39 --- /dev/null +++ b/packages/@azure/arm-datafactory/lib/operations/exposureControl.ts @@ -0,0 +1,93 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/exposureControlMappers"; +import * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a ExposureControl. */ +export class ExposureControl { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a ExposureControl. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Get exposure control feature for specific location. + * @param locationId The location identifier. + * @param exposureControlRequest The exposure control request. + * @param [options] The optional parameters + * @returns Promise + */ + getFeatureValue(locationId: string, exposureControlRequest: Models.ExposureControlRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param locationId The location identifier. + * @param exposureControlRequest The exposure control request. + * @param callback The callback + */ + getFeatureValue(locationId: string, exposureControlRequest: Models.ExposureControlRequest, callback: msRest.ServiceCallback): void; + /** + * @param locationId The location identifier. + * @param exposureControlRequest The exposure control request. + * @param options The optional parameters + * @param callback The callback + */ + getFeatureValue(locationId: string, exposureControlRequest: Models.ExposureControlRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getFeatureValue(locationId: string, exposureControlRequest: Models.ExposureControlRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationId, + exposureControlRequest, + options + }, + getFeatureValueOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getFeatureValueOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/getFeatureValue", + urlParameters: [ + Parameters.subscriptionId, + Parameters.locationId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "exposureControlRequest", + mapper: { + ...Mappers.ExposureControlRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ExposureControlResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-datafactory/lib/operations/index.ts b/packages/@azure/arm-datafactory/lib/operations/index.ts index a8019cd943d6..1a1c9f440fe4 100644 --- a/packages/@azure/arm-datafactory/lib/operations/index.ts +++ b/packages/@azure/arm-datafactory/lib/operations/index.ts @@ -10,6 +10,7 @@ export * from "./operations"; export * from "./factories"; +export * from "./exposureControl"; export * from "./integrationRuntimes"; export * from "./integrationRuntimeObjectMetadata"; export * from "./integrationRuntimeNodes";