From f413cd0b20965510fc25b137c8e56c998455886d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 4 Mar 2021 07:54:43 +0000 Subject: [PATCH] CodeGen from PR 13257 in Azure/azure-rest-api-specs Merge 23af44a9c83cc63713f1fa6171ab1c0588ec6f95 into 80e4e1b77162711ca1123042f50db03ffbf1bb40 --- sdk/datafactory/arm-datafactory/LICENSE.txt | 2 +- sdk/datafactory/arm-datafactory/README.md | 9 +- .../arm-datafactory/rollup.config.js | 4 +- .../src/dataFactoryManagementClient.ts | 5 +- .../src/dataFactoryManagementClientContext.ts | 5 +- .../src/models/activityRunsMappers.ts | 4 +- .../src/models/dataFlowDebugSessionMappers.ts | 5 +- .../src/models/dataFlowsMappers.ts | 13 +- .../src/models/datasetsMappers.ts | 13 +- .../src/models/exposureControlMappers.ts | 4 +- .../src/models/factoriesMappers.ts | 13 +- .../arm-datafactory/src/models/index.ts | 513 ++++++++++++++---- .../models/integrationRuntimeNodesMappers.ts | 4 +- ...integrationRuntimeObjectMetadataMappers.ts | 4 +- .../src/models/integrationRuntimesMappers.ts | 13 +- .../src/models/linkedServicesMappers.ts | 13 +- .../models/managedPrivateEndpointsMappers.ts | 13 +- .../models/managedVirtualNetworksMappers.ts | 13 +- .../arm-datafactory/src/models/mappers.ts | 440 ++++++++++++++- .../src/models/operationsMappers.ts | 4 +- .../arm-datafactory/src/models/parameters.ts | 5 +- .../src/models/pipelineRunsMappers.ts | 4 +- .../src/models/pipelinesMappers.ts | 13 +- .../src/models/triggerRunsMappers.ts | 4 +- .../src/models/triggersMappers.ts | 13 +- .../src/operations/activityRuns.ts | 5 +- .../src/operations/dataFlowDebugSession.ts | 8 +- .../src/operations/dataFlows.ts | 8 +- .../src/operations/datasets.ts | 8 +- .../src/operations/exposureControl.ts | 5 +- .../src/operations/factories.ts | 11 +- .../arm-datafactory/src/operations/index.ts | 5 +- .../src/operations/integrationRuntimeNodes.ts | 5 +- .../integrationRuntimeObjectMetadata.ts | 5 +- .../src/operations/integrationRuntimes.ts | 8 +- .../src/operations/linkedServices.ts | 8 +- .../src/operations/managedPrivateEndpoints.ts | 8 +- .../src/operations/managedVirtualNetworks.ts | 8 +- .../src/operations/operations.ts | 8 +- .../src/operations/pipelineRuns.ts | 5 +- .../src/operations/pipelines.ts | 8 +- .../src/operations/triggerRuns.ts | 5 +- .../src/operations/triggers.ts | 8 +- 43 files changed, 1035 insertions(+), 224 deletions(-) diff --git a/sdk/datafactory/arm-datafactory/LICENSE.txt b/sdk/datafactory/arm-datafactory/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/datafactory/arm-datafactory/LICENSE.txt +++ b/sdk/datafactory/arm-datafactory/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/datafactory/arm-datafactory/README.md b/sdk/datafactory/arm-datafactory/README.md index ac76deacb5f6..646ca60d2895 100644 --- a/sdk/datafactory/arm-datafactory/README.md +++ b/sdk/datafactory/arm-datafactory/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-datafactory ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +#### nodejs - client creation and list operations as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DataFactoryManagementClient, DataFactoryManagementModels, DataFactoryManagementMappers } from "@azure/arm-datafactory"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { DataFactoryManagementClient } = require("@azure/arm-datafactory"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/datafactory/arm-datafactory/rollup.config.js b/sdk/datafactory/arm-datafactory/rollup.config.js index 0812b612b053..b508e47e98dd 100644 --- a/sdk/datafactory/arm-datafactory/rollup.config.js +++ b/sdk/datafactory/arm-datafactory/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index 4c7474f36aa8..e38c9898e9bc 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts index 308c348475ca..2d271529eea7 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/datafactory/arm-datafactory/src/models/activityRunsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/activityRunsMappers.ts index 3ae3a7b817cc..8ce7dd03a667 100644 --- a/sdk/datafactory/arm-datafactory/src/models/activityRunsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/activityRunsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts index e70a5cd2eb58..942761bb1fad 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -179,6 +179,7 @@ export { MagentoLinkedService, MagentoObjectDataset, ManagedIntegrationRuntime, + ManagedVirtualNetworkReference, MappingDataFlow, MariaDBLinkedService, MariaDBTableDataset, diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts index 976ef0f8c0bc..4b664b61bbf8 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -119,6 +119,7 @@ export { ChainingTrigger, CloudError, CmdkeySetup, + CMKIdentityDefinition, CommonDataServiceForAppsEntityDataset, CommonDataServiceForAppsLinkedService, CommonDataServiceForAppsSink, @@ -131,6 +132,7 @@ export { ConnectionStateProperties, ControlActivity, CopyActivity, + CopyActivityLogSettings, CopySink, CopySource, CosmosDbLinkedService, @@ -148,6 +150,7 @@ export { CustomActivityReferenceObject, CustomDataset, CustomDataSourceLinkedService, + CustomEventsTrigger, CustomSetupBase, DatabricksNotebookActivity, DatabricksSparkJarActivity, @@ -207,6 +210,7 @@ export { EloquaLinkedService, EloquaObjectDataset, EloquaSource, + EncryptionConfiguration, EntityReference, EnvironmentVariableSetup, ExcelDataset, @@ -310,6 +314,8 @@ export { LinkedService, LinkedServiceReference, LinkedServiceResource, + LogLocationSettings, + LogSettings, LogStorageSettings, LookupActivity, MagentoLinkedService, @@ -319,6 +325,7 @@ export { ManagedPrivateEndpoint, ManagedPrivateEndpointResource, ManagedVirtualNetwork, + ManagedVirtualNetworkReference, ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, @@ -385,7 +392,9 @@ export { PhoenixLinkedService, PhoenixObjectDataset, PhoenixSource, + PipelineElapsedTimeMetricPolicy, PipelineFolder, + PipelinePolicy, PipelineReference, PipelineResource, PolybaseSettings, diff --git a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts index 98f56634e457..87061d97c317 100644 --- a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -119,6 +119,7 @@ export { ChainingTrigger, CloudError, CmdkeySetup, + CMKIdentityDefinition, CommonDataServiceForAppsEntityDataset, CommonDataServiceForAppsLinkedService, CommonDataServiceForAppsSink, @@ -131,6 +132,7 @@ export { ConnectionStateProperties, ControlActivity, CopyActivity, + CopyActivityLogSettings, CopySink, CopySource, CosmosDbLinkedService, @@ -148,6 +150,7 @@ export { CustomActivityReferenceObject, CustomDataset, CustomDataSourceLinkedService, + CustomEventsTrigger, CustomSetupBase, DatabricksNotebookActivity, DatabricksSparkJarActivity, @@ -207,6 +210,7 @@ export { EloquaLinkedService, EloquaObjectDataset, EloquaSource, + EncryptionConfiguration, EntityReference, EnvironmentVariableSetup, ExcelDataset, @@ -310,6 +314,8 @@ export { LinkedService, LinkedServiceReference, LinkedServiceResource, + LogLocationSettings, + LogSettings, LogStorageSettings, LookupActivity, MagentoLinkedService, @@ -319,6 +325,7 @@ export { ManagedPrivateEndpoint, ManagedPrivateEndpointResource, ManagedVirtualNetwork, + ManagedVirtualNetworkReference, ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, @@ -385,7 +392,9 @@ export { PhoenixLinkedService, PhoenixObjectDataset, PhoenixSource, + PipelineElapsedTimeMetricPolicy, PipelineFolder, + PipelinePolicy, PipelineReference, PipelineResource, PolybaseSettings, diff --git a/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts b/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts index a7d062d353fd..d0f583ee5fb7 100644 --- a/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts index 86ccdbfe09ff..9db89bb0360d 100644 --- a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -120,6 +120,7 @@ export { ChainingTrigger, CloudError, CmdkeySetup, + CMKIdentityDefinition, CommonDataServiceForAppsEntityDataset, CommonDataServiceForAppsLinkedService, CommonDataServiceForAppsSink, @@ -132,6 +133,7 @@ export { ConnectionStateProperties, ControlActivity, CopyActivity, + CopyActivityLogSettings, CopySink, CopySource, CosmosDbLinkedService, @@ -149,6 +151,7 @@ export { CustomActivityReferenceObject, CustomDataset, CustomDataSourceLinkedService, + CustomEventsTrigger, CustomSetupBase, DatabricksNotebookActivity, DatabricksSparkJarActivity, @@ -207,6 +210,7 @@ export { EloquaLinkedService, EloquaObjectDataset, EloquaSource, + EncryptionConfiguration, EntityReference, EnvironmentVariableSetup, ExcelDataset, @@ -315,6 +319,8 @@ export { LinkedService, LinkedServiceReference, LinkedServiceResource, + LogLocationSettings, + LogSettings, LogStorageSettings, LookupActivity, MagentoLinkedService, @@ -324,6 +330,7 @@ export { ManagedPrivateEndpoint, ManagedPrivateEndpointResource, ManagedVirtualNetwork, + ManagedVirtualNetworkReference, ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, @@ -390,7 +397,9 @@ export { PhoenixLinkedService, PhoenixObjectDataset, PhoenixSource, + PipelineElapsedTimeMetricPolicy, PipelineFolder, + PipelinePolicy, PipelineReference, PipelineResource, PolybaseSettings, diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index c9936d9ea625..a178d1d6aa4e 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -163,6 +163,11 @@ export interface AzureKeyVaultSecretReference { * Identity properties of the factory resource. */ export interface FactoryIdentity { + /** + * The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', + * 'SystemAssigned,UserAssigned' + */ + type: FactoryIdentityType; /** * The principal id of the identity. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -173,6 +178,10 @@ export interface FactoryIdentity { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tenantId?: string; + /** + * List of user assigned identities for the factory. + */ + userAssignedIdentities?: { [propertyName: string]: any }; } /** @@ -225,6 +234,39 @@ export interface GlobalParameterSpecification { value: any; } +/** + * Managed Identity used for CMK. + */ +export interface CMKIdentityDefinition { + /** + * The resource id of the user assigned identity to authenticate to customer's key vault. + */ + userAssignedIdentity?: string; +} + +/** + * Definition of CMK for the factory. + */ +export interface EncryptionConfiguration { + /** + * The name of the key in Azure Key Vault to use as Customer Managed Key. + */ + keyName: string; + /** + * The url of the Azure Key Vault used for CMK. + */ + vaultBaseUrl: string; + /** + * The version of the key used for CMK. If not provided, latest version will be used. + */ + keyVersion?: string; + /** + * User assigned identity to use to authenticate to customer's key vault. If not provided Managed + * Service Identity will be used. + */ + identity?: CMKIdentityDefinition; +} + /** * Factory resource type. */ @@ -256,6 +298,10 @@ export interface Factory extends Resource { * List of parameters for factory. */ globalParameters?: { [propertyName: string]: GlobalParameterSpecification }; + /** + * Properties to enable Customer Managed Key for the factory. + */ + encryption?: EncryptionConfiguration; /** * Whether or not public network access is allowed for the data factory. Possible values include: * 'Enabled', 'Disabled' @@ -664,6 +710,23 @@ export interface PipelineFolder { name?: string; } +/** + * Pipeline ElapsedTime Metric Policy. + */ +export interface PipelineElapsedTimeMetricPolicy { + /** + * TimeSpan value, after which an Azure Monitoring Metric is fired. + */ + duration?: any; +} + +/** + * Pipeline Policy. + */ +export interface PipelinePolicy { + elapsedTimeMetric?: PipelineElapsedTimeMetricPolicy; +} + /** * Pipeline resource type. */ @@ -700,6 +763,7 @@ export interface PipelineResource extends SubResource { * The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. */ folder?: PipelineFolder; + policy?: PipelinePolicy; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -2054,6 +2118,16 @@ export interface ManagedVirtualNetworkResource extends SubResource { properties: ManagedVirtualNetwork; } +/** + * Managed Virtual Network reference type. + */ +export interface ManagedVirtualNetworkReference { + /** + * Reference ManagedVirtualNetwork name. + */ + referenceName: string; +} + /** * A data flow transformation. */ @@ -2766,7 +2840,17 @@ export interface AzureDatabricksLinkedService { * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression * with resultType string). */ - accessToken: SecretBaseUnion; + accessToken?: SecretBaseUnion; + /** + * Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string + * (or Expression with resultType string). + */ + authentication?: any; + /** + * Workspace resource id for databricks REST API. Type: string (or Expression with resultType + * string). + */ + workspaceResourceId?: any; /** * The id of an existing interactive cluster that will be used for all runs of this activity. * Type: string (or Expression with resultType string). @@ -2837,6 +2921,11 @@ export interface AzureDatabricksLinkedService { * integration runtime credential manager. Type: string (or Expression with resultType string). */ encryptedCredential?: any; + /** + * The policy id for limiting the ability to configure clusters based on a user defined set of + * rules. Type: string (or Expression with resultType string). + */ + policyId?: any; } /** @@ -4814,6 +4903,11 @@ export interface ConcurLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Concur. It is mutually exclusive with any other properties in + * the linked service. Type: object. + */ + connectionProperties?: any; /** * Application client_id supplied by Concur App Management. */ @@ -5423,6 +5517,11 @@ export interface AmazonS3LinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The authentication type of S3. Allowed value: AccessKey (default) or + * TemporarySecurityCredentials. Type: string (or Expression with resultType string). + */ + authenticationType?: any; /** * The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: * string (or Expression with resultType string). @@ -5438,6 +5537,10 @@ export interface AmazonS3LinkedService { * between https and http. Type: string (or Expression with resultType string). */ serviceUrl?: any; + /** + * The session token for the S3 temporary security credential. + */ + sessionToken?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7629,6 +7732,41 @@ export interface CosmosDbLinkedService { * AzureKeyVaultSecretReference. */ accountKey?: SecretBaseUnion; + /** + * The client ID of the application in Azure Active Directory used for Server-To-Server + * authentication. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * The service principal credential type to use in Server-To-Server authentication. + * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or + * Expression with resultType string). Possible values include: 'ServicePrincipalKey', + * 'ServicePrincipalCert' + */ + servicePrincipalCredentialType?: CosmosDbServicePrincipalCredentialType; + /** + * The credential of the service principal object in Azure Active Directory. If + * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be + * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is + * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + */ + servicePrincipalCredential?: SecretBaseUnion; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). + */ + tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; + /** + * The connection mode used to access CosmosDB account. Type: string (or Expression with + * resultType string). Possible values include: 'Gateway', 'Direct' + */ + connectionMode?: CosmosDbConnectionMode; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -13427,7 +13565,7 @@ export interface TumblingWindowTrigger { */ pipelineProperty: TriggerPipelineReference; /** - * The frequency of the time windows. Possible values include: 'Minute', 'Hour' + * The frequency of the time windows. Possible values include: 'Minute', 'Hour', 'Month' */ frequency: TumblingWindowFrequency; /** @@ -13468,7 +13606,7 @@ export interface TumblingWindowTrigger { /** * Contains the possible cases for MultiplePipelineTrigger. */ -export type MultiplePipelineTriggerUnion = MultiplePipelineTrigger | BlobEventsTrigger | BlobTrigger | ScheduleTrigger; +export type MultiplePipelineTriggerUnion = MultiplePipelineTrigger | CustomEventsTrigger | BlobEventsTrigger | BlobTrigger | ScheduleTrigger; /** * Base class for all triggers that support one to many model for trigger to pipeline. @@ -13498,6 +13636,52 @@ export interface MultiplePipelineTrigger { pipelines?: TriggerPipelineReference[]; } +/** + * Trigger that runs every time a custom event is received. + */ +export interface CustomEventsTrigger { + /** + * Polymorphic Discriminator + */ + type: "CustomEventsTrigger"; + /** + * Trigger description. + */ + description?: string; + /** + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the + * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly runtimeState?: TriggerRuntimeState; + /** + * List of tags that can be used for describing the trigger. + */ + annotations?: any[]; + /** + * Pipelines that need to be started. + */ + pipelines?: TriggerPipelineReference[]; + /** + * The event subject must begin with the pattern provided for trigger to fire. At least one of + * these must be provided: subjectBeginsWith, subjectEndsWith. + */ + subjectBeginsWith?: string; + /** + * The event subject must end with the pattern provided for trigger to fire. At least one of + * these must be provided: subjectBeginsWith, subjectEndsWith. + */ + subjectEndsWith?: string; + /** + * The list of event types that cause this trigger to fire. + */ + events: any[]; + /** + * The ARM resource ID of the Azure Event Grid Topic. + */ + scope: string; +} + /** * Trigger that runs every time a Blob event occurs. */ @@ -13748,14 +13932,15 @@ export interface ActivityPolicy { export interface ExecuteDataFlowActivityTypePropertiesCompute { /** * Compute type of the cluster which will execute data flow job. Possible values include: - * 'General', 'MemoryOptimized', 'ComputeOptimized' + * 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: string (or Expression with resultType + * string) */ - computeType?: DataFlowComputeType; + computeType?: any; /** * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, - * 48, 80, 144 and 272. + * 48, 80, 144 and 272. Type: integer (or Expression with resultType integer) */ - coreCount?: number; + coreCount?: any; } /** @@ -13845,6 +14030,21 @@ export interface ExecuteDataFlowActivity { * Compute properties for data flow activity. */ compute?: ExecuteDataFlowActivityTypePropertiesCompute; + /** + * Trace level setting used for data flow monitoring output. Supported values are: 'coarse', + * 'fine', and 'none'. Type: string (or Expression with resultType string) + */ + traceLevel?: any; + /** + * Continue on error setting used for data flow execution. Enables processing to continue if a + * sink fails. Type: boolean (or Expression with resultType boolean) + */ + continueOnError?: any; + /** + * Concurrent run setting used for data flow execution. Allows sinks with the same save order to + * be processed concurrently. Type: boolean (or Expression with resultType boolean) + */ + runConcurrently?: any; } /** @@ -14147,7 +14347,17 @@ export interface AzureMLExecutePipelineActivity { /** * ID of the published Azure ML pipeline. Type: string (or Expression with resultType string). */ - mlPipelineId: any; + mlPipelineId?: any; + /** + * ID of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType + * string). + */ + mlPipelineEndpointId?: any; + /** + * Version of the published Azure ML pipeline endpoint. Type: string (or Expression with + * resultType string). + */ + version?: any; /** * Run history experiment name of the pipeline run. This information will be passed in the * ExperimentName property of the published pipeline execution request. Type: string (or @@ -14161,6 +14371,12 @@ export interface AzureMLExecutePipelineActivity { * key value pairs (or Expression with resultType object). */ mlPipelineParameters?: any; + /** + * Dictionary used for changing data path assignments without retraining. Values will be passed + * in the dataPathAssignments property of the published pipeline execution request. Type: object + * with key value pairs (or Expression with resultType object). + */ + dataPathAssignments?: any; /** * The parent Azure ML Service pipeline run id. This information will be passed in the * ParentRunId property of the published pipeline execution request. Type: string (or Expression @@ -15187,25 +15403,32 @@ export interface GetMetadataActivity { */ export interface WebActivityAuthentication { /** - * Web activity authentication (Basic/ClientCertificate/MSI) + * Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal) */ type: string; /** - * Base64-encoded contents of a PFX file. + * Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal */ pfx?: SecretBaseUnion; /** - * Web activity authentication user name for basic authentication. + * Web activity authentication user name for basic authentication or ClientID when used for + * ServicePrincipal. Type: string (or Expression with resultType string). */ - username?: string; + username?: any; /** - * Password for the PFX file or basic authentication. + * Password for the PFX file or basic authentication / Secret when used for ServicePrincipal */ password?: SecretBaseUnion; /** - * Resource for which Azure Auth token will be requested when using MSI Authentication. + * Resource for which Azure Auth token will be requested when using MSI Authentication. Type: + * string (or Expression with resultType string). */ - resource?: string; + resource?: any; + /** + * TenantId for which Azure Auth token will be requested when using ServicePrincipal + * Authentication. Type: string (or Expression with resultType string). + */ + userTenant?: any; } /** @@ -15941,9 +16164,9 @@ export interface OracleSource { queryTimeout?: any; /** * The partition mechanism that will be used for Oracle read in parallel. Possible values - * include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + * include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - partitionOption?: OraclePartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for Oracle source partitioning. */ @@ -16891,9 +17114,9 @@ export interface NetezzaSource { query?: any; /** * The partition mechanism that will be used for Netezza read in parallel. Possible values - * include: 'None', 'DataSlice', 'DynamicRange' + * include: "None", "DataSlice", "DynamicRange". */ - partitionOption?: NetezzaPartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for Netezza source partitioning. */ @@ -18033,9 +18256,9 @@ export interface TeradataSource { query?: any; /** * The partition mechanism that will be used for teradata read in parallel. Possible values - * include: 'None', 'Hash', 'DynamicRange' + * include: "None", "Hash", "DynamicRange". */ - partitionOption?: TeradataPartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for teradata source partitioning. */ @@ -18155,9 +18378,9 @@ export interface SqlDWSource { storedProcedureParameters?: any; /** * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + * "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - partitionOption?: SqlPartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for Sql source partitioning. */ @@ -18231,9 +18454,9 @@ export interface SqlMISource { produceAdditionalTypes?: any; /** * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + * "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - partitionOption?: SqlPartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for Sql source partitioning. */ @@ -18292,9 +18515,9 @@ export interface AzureSqlSource { produceAdditionalTypes?: any; /** * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + * "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - partitionOption?: SqlPartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for Sql source partitioning. */ @@ -18353,9 +18576,9 @@ export interface SqlServerSource { produceAdditionalTypes?: any; /** * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + * "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - partitionOption?: SqlPartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for Sql source partitioning. */ @@ -18416,9 +18639,9 @@ export interface SqlSource { isolationLevel?: any; /** * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + * "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - partitionOption?: SqlPartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for Sql source partitioning. */ @@ -18519,10 +18742,10 @@ export interface SapTableSource { sapDataColumnDelimiter?: any; /** * The partition mechanism that will be used for SAP table read in parallel. Possible values - * include: 'None', 'PartitionOnInt', 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', - * 'PartitionOnCalendarDate', 'PartitionOnTime' + * include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", + * "PartitionOnCalendarDate", "PartitionOnTime". */ - partitionOption?: SapTablePartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for SAP table source partitioning. */ @@ -18638,9 +18861,9 @@ export interface SapHanaSource { packetSize?: any; /** * The partition mechanism that will be used for SAP HANA read in parallel. Possible values - * include: 'None', 'PhysicalPartitionsOfTable', 'SapHanaDynamicRange' + * include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". */ - partitionOption?: SapHanaPartitionOption; + partitionOption?: any; /** * The settings that will be leveraged for SAP HANA source partitioning. */ @@ -19456,7 +19679,7 @@ export interface AzureDataExplorerCommandActivity { } /** - * Log storage settings. + * (Deprecated. Please use LogSettings) Log storage settings. */ export interface LogStorageSettings { /** @@ -19660,6 +19883,11 @@ export interface CustomActivity { * with resultType double). */ retentionTimeInDays?: any; + /** + * Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression + * with resultType double). + */ + autoUserSpecification?: any; } /** @@ -20258,6 +20486,56 @@ export interface SkipErrorFile { dataInconsistency?: any; } +/** + * Log location settings. + */ +export interface LogLocationSettings { + /** + * Log storage linked service reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * The path to storage for storing detailed logs of activity execution. Type: string (or + * Expression with resultType string). + */ + path?: any; +} + +/** + * Settings for copy activity log. + */ +export interface CopyActivityLogSettings { + /** + * Gets or sets the log level, support: Info, Warning. Type: string (or Expression with + * resultType string). + */ + logLevel?: any; + /** + * Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType + * boolean). + */ + enableReliableLogging?: any; +} + +/** + * Log settings. + */ +export interface LogSettings { + /** + * Specifies whether to enable copy activity log. Type: boolean (or Expression with resultType + * boolean). + */ + enableCopyActivityLog?: any; + /** + * Specifies settings for copy activity log. + */ + copyActivityLogSettings?: CopyActivityLogSettings; + /** + * Log location settings customer needs to provide when enabling log. + */ + logLocationSettings: LogLocationSettings; +} + /** * Redirect incompatible row settings */ @@ -22479,9 +22757,14 @@ export interface CopyActivity { */ redirectIncompatibleRowSettings?: RedirectIncompatibleRowSettings; /** - * Log storage settings customer need to provide when enabling session log. + * (Deprecated. Please use LogSettings) Log storage settings customer need to provide when + * enabling session log. */ logStorageSettings?: LogStorageSettings; + /** + * Log settings customer needs provide when enabling log. + */ + logSettings?: LogSettings; /** * Preserve Rules. */ @@ -23609,6 +23892,10 @@ export interface IntegrationRuntimeSsisCatalogInfo { * 'Basic', 'Standard', 'Premium', 'PremiumRS' */ catalogPricingTier?: IntegrationRuntimeSsisCatalogPricingTier; + /** + * The dual standby pair name of Azure-SSIS Integration Runtimes to support SSISDB failover. + */ + dualStandbyPairName?: string; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -23764,6 +24051,10 @@ export interface ManagedIntegrationRuntime { * SSIS properties for managed integration runtime. */ ssisProperties?: IntegrationRuntimeSsisProperties; + /** + * Managed Virtual Network reference. + */ + managedVirtualNetwork?: ManagedVirtualNetworkReference; } /** @@ -24729,6 +25020,14 @@ export interface ManagedPrivateEndpointListResponse extends Array