From d06d36954cf82e8baab4c2d49312786bd23acde8 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 6 Jul 2023 03:32:59 +0000 Subject: [PATCH] CodeGen from PR 24709 in Azure/azure-rest-api-specs Merge 420f8cd37fdff197521fa1c1b84855cc24495c64 into 26cac4f70e9ce0e1c2f77de8303b47d1faa9ad33 --- sdk/datafactory/arm-datafactory/CHANGELOG.md | 206 +++- sdk/datafactory/arm-datafactory/_meta.json | 8 +- sdk/datafactory/arm-datafactory/package.json | 16 +- .../review/arm-datafactory.api.md | 523 +++++--- .../src/dataFactoryManagementClient.ts | 10 +- .../arm-datafactory/src/models/index.ts | 1049 +++++++++++------ .../arm-datafactory/src/models/mappers.ts | 1036 +++++++++++++--- .../arm-datafactory/src/models/parameters.ts | 24 +- .../src/operations/changeDataCapture.ts | 472 ++++++++ .../arm-datafactory/src/operations/index.ts | 1 + .../operationsInterfaces/changeDataCapture.ts | 118 ++ .../src/operationsInterfaces/index.ts | 1 + .../arm-datafactory/test/sampleTest.ts | 43 + sdk/datafactory/arm-datafactory/tsconfig.json | 10 +- 14 files changed, 2815 insertions(+), 702 deletions(-) create mode 100644 sdk/datafactory/arm-datafactory/src/operations/changeDataCapture.ts create mode 100644 sdk/datafactory/arm-datafactory/src/operationsInterfaces/changeDataCapture.ts create mode 100644 sdk/datafactory/arm-datafactory/test/sampleTest.ts diff --git a/sdk/datafactory/arm-datafactory/CHANGELOG.md b/sdk/datafactory/arm-datafactory/CHANGELOG.md index 78986867b98d..c976f49714ca 100644 --- a/sdk/datafactory/arm-datafactory/CHANGELOG.md +++ b/sdk/datafactory/arm-datafactory/CHANGELOG.md @@ -1,15 +1,205 @@ # Release History + +## 12.0.0 (2023-07-06) + +**Features** -## 11.1.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added operation group ChangeDataCapture + - Added Interface ChangeDataCaptureCreateOrUpdateOptionalParams + - Added Interface ChangeDataCaptureDeleteOptionalParams + - Added Interface ChangeDataCaptureFolder + - Added Interface ChangeDataCaptureGetOptionalParams + - Added Interface ChangeDataCaptureListByFactoryNextOptionalParams + - Added Interface ChangeDataCaptureListByFactoryOptionalParams + - Added Interface ChangeDataCaptureListResponse + - Added Interface ChangeDataCaptureResource + - Added Interface ChangeDataCaptureStartOptionalParams + - Added Interface ChangeDataCaptureStatusOptionalParams + - Added Interface ChangeDataCaptureStopOptionalParams + - Added Interface DataMapperMapping + - Added Interface IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem + - Added Interface MapperAttributeMapping + - Added Interface MapperAttributeMappings + - Added Interface MapperAttributeReference + - Added Interface MapperConnection + - Added Interface MapperConnectionReference + - Added Interface MapperDslConnectorProperties + - Added Interface MapperPolicy + - Added Interface MapperPolicyRecurrence + - Added Interface MapperSourceConnectionsInfo + - Added Interface MapperTable + - Added Interface MapperTableSchema + - Added Interface MapperTargetConnectionsInfo + - Added Interface OutputColumn + - Added Interface SecureInputOutputPolicy + - Added Type Alias ActivityOnInactiveMarkAs + - Added Type Alias ActivityState + - Added Type Alias ChangeDataCaptureCreateOrUpdateResponse + - Added Type Alias ChangeDataCaptureGetResponse + - Added Type Alias ChangeDataCaptureListByFactoryNextResponse + - Added Type Alias ChangeDataCaptureListByFactoryResponse + - Added Type Alias ChangeDataCaptureStatusResponse + - Added Type Alias ConnectionType + - Added Type Alias FrequencyType + - Added Type Alias MappingType + - Interface Activity has a new optional parameter onInactiveMarkAs + - Interface Activity has a new optional parameter state + - Interface AmazonRdsForSqlServerSource has a new optional parameter isolationLevel + - Interface AzureMLServiceLinkedService has a new optional parameter authentication + - Interface AzureSqlSource has a new optional parameter isolationLevel + - Interface HttpReadSettings has a new optional parameter additionalColumns + - Interface IntegrationRuntimeDataFlowProperties has a new optional parameter customProperties + - Interface MongoDbAtlasLinkedService has a new optional parameter driverVersion + - Interface SetVariableActivity has a new optional parameter policy + - Interface SetVariableActivity has a new optional parameter setSystemVariable + - Interface SqlDWSource has a new optional parameter isolationLevel + - Interface SqlMISource has a new optional parameter isolationLevel + - Interface SqlServerSource has a new optional parameter isolationLevel + - Interface SynapseNotebookActivity has a new optional parameter configurationType + - Interface SynapseNotebookActivity has a new optional parameter sparkConfig + - Interface SynapseNotebookActivity has a new optional parameter targetSparkConfiguration + - Added Enum KnownActivityOnInactiveMarkAs + - Added Enum KnownActivityState + - Added Enum KnownConnectionType + - Added Enum KnownFrequencyType + - Added Enum KnownMappingType -### Other Changes +**Breaking Changes** + - Interface HttpReadSettings no longer has parameter enablePartitionDiscovery + - Interface HttpReadSettings no longer has parameter partitionRootPath + - Type of parameter encryptedCredential of interface AmazonMWSLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AmazonRdsForOracleLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AmazonRdsForSqlServerLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AmazonRedshiftLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AmazonS3CompatibleLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface AmazonS3CompatibleReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface AmazonS3LinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface AmazonS3ReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface AsanaLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureBatchLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureBlobFSLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface AzureBlobFSReadSettings is changed from boolean to any + - Type of parameter accountKind of interface AzureBlobStorageLinkedService is changed from string to any + - Type of parameter serviceEndpoint of interface AzureBlobStorageLinkedService is changed from string to any + - Type of parameter enablePartitionDiscovery of interface AzureBlobStorageReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface AzureDatabricksDeltaLakeLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureDatabricksLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureDataLakeAnalyticsLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureDataLakeStoreLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface AzureDataLakeStoreReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface AzureFileStorageLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface AzureFileStorageReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface AzureFunctionLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureMariaDBLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureMLLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureMLServiceLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureMySqlLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzurePostgreSqlLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureSearchLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureSqlDatabaseLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureSqlDWLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface AzureSqlMILinkedService is changed from any to string + - Type of parameter encryptedCredential of interface CassandraLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface CommonDataServiceForAppsLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface ConcurLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface CosmosDbLinkedService is changed from any to string + - Type of parameter servicePrincipalCredentialType of interface CosmosDbLinkedService is changed from CosmosDbServicePrincipalCredentialType to any + - Type of parameter encryptedCredential of interface CouchbaseLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface DataworldLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface Db2LinkedService is changed from any to string + - Type of parameter encryptedCredential of interface DrillLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface DynamicsAXLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface DynamicsCrmLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface DynamicsLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface EloquaLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface FileServerLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface FileServerReadSettings is changed from boolean to any + - Type of parameter enablePartitionDiscovery of interface FtpReadSettings is changed from boolean to any + - Type of parameter useBinaryTransfer of interface FtpReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface FtpServerLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface GoogleAdWordsLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface GoogleBigQueryLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface GoogleCloudStorageLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface GoogleCloudStorageReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface GoogleSheetsLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface GreenplumLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface HBaseLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface HdfsLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface HdfsReadSettings is changed from boolean to any + - Type of parameter variables of interface HDInsightHiveActivity is changed from any[] to { + [propertyName: string]: any; + } + - Type of parameter encryptedCredential of interface HDInsightLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface HDInsightOnDemandLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface HiveLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface HttpLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface HubspotLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface ImpalaLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface InformixLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface JiraLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface MagentoLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface MariaDBLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface MarketoLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface MicrosoftAccessLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface MongoDbLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface MySqlLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface NetezzaLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface ODataLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface OdbcLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface Office365LinkedService is changed from any to string + - Type of parameter encryptedCredential of interface OracleCloudStorageLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface OracleCloudStorageReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface OracleLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface OracleServiceCloudLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface PaypalLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface PhoenixLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface PostgreSqlLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface PrestoLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface QuickbaseLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface QuickBooksLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface ResponsysLinkedService is changed from any to string + - Type of parameter additionalHeaders of interface RestResourceDataset is changed from any to { + [propertyName: string]: any; + } + - Type of parameter paginationRules of interface RestResourceDataset is changed from any to { + [propertyName: string]: any; + } + - Type of parameter encryptedCredential of interface RestServiceLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SalesforceLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SalesforceMarketingCloudLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SalesforceServiceCloudLinkedService is changed from any to string + - Type of parameter readBehavior of interface SalesforceServiceCloudSource is changed from SalesforceSourceReadBehavior to any + - Type of parameter readBehavior of interface SalesforceSource is changed from SalesforceSourceReadBehavior to any + - Type of parameter encryptedCredential of interface SapBWLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SapCloudForCustomerLinkedService is changed from any to string + - Type of parameter url of interface SapEccLinkedService is changed from string to any + - Type of parameter username of interface SapEccLinkedService is changed from string to any + - Type of parameter encryptedCredential of interface SapHanaLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SapOdpLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SapOpenHubLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SapTableLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface ServiceNowLinkedService is changed from any to string + - Type of parameter enablePartitionDiscovery of interface SftpReadSettings is changed from boolean to any + - Type of parameter encryptedCredential of interface SftpServerLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SharePointOnlineListLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface ShopifyLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SmartsheetLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SnowflakeLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SparkLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SqlServerLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SquareLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface SybaseLinkedService is changed from any to string + - Type of parameter numExecutors of interface SynapseNotebookActivity is changed from number to any + - Type of parameter encryptedCredential of interface TeamDeskLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface TeradataLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface VerticaLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface XeroLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface ZendeskLinkedService is changed from any to string + - Type of parameter encryptedCredential of interface ZohoLinkedService is changed from any to string + - Removed Enum KnownCosmosDbServicePrincipalCredentialType + + ## 11.1.0 (2023-03-02) **Features** diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json index 302757aad334..453268b818df 100644 --- a/sdk/datafactory/arm-datafactory/_meta.json +++ b/sdk/datafactory/arm-datafactory/_meta.json @@ -1,8 +1,8 @@ { - "commit": "a60468a0c5e2beb054680ae488fb9f92699f0a0d", + "commit": "2b7006ef7aafb5a92213cca040da42d43e2a4dbb", "readme": "specification/datafactory/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\datafactory\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.9 --generate-sample=true", + "autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=@autorest/typescript@^6.0.4", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.6.2", - "use": "@autorest/typescript@6.0.0-rc.9" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.1", + "use": "@autorest/typescript@^6.0.4" } \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index ef2ab6544073..b973e802f471 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -3,12 +3,12 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for DataFactoryManagementClient.", - "version": "11.1.1", + "version": "12.0.0", "engines": { "node": ">=14.0.0" }, "dependencies": { - "@azure/core-lro": "^2.5.0", + "@azure/core-lro": "^2.5.3", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", @@ -111,13 +111,5 @@ ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory" +} \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md index 5e817657fa34..17cb9e4e7475 100644 --- a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md +++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md @@ -23,6 +23,8 @@ export interface Activity { dependsOn?: ActivityDependency[]; description?: string; name: string; + onInactiveMarkAs?: ActivityOnInactiveMarkAs; + state?: ActivityState; type: "Container" | "Execution" | "Copy" | "HDInsightHive" | "HDInsightPig" | "HDInsightMapReduce" | "HDInsightStreaming" | "HDInsightSpark" | "ExecuteSSISPackage" | "Custom" | "SqlServerStoredProcedure" | "ExecutePipeline" | "Delete" | "AzureDataExplorerCommand" | "Lookup" | "WebActivity" | "GetMetadata" | "IfCondition" | "Switch" | "ForEach" | "AzureMLBatchExecution" | "AzureMLUpdateResource" | "AzureMLExecutePipeline" | "DataLakeAnalyticsU-SQL" | "Wait" | "Fail" | "Until" | "Validation" | "Filter" | "DatabricksNotebook" | "DatabricksSparkJar" | "DatabricksSparkPython" | "SetVariable" | "AppendVariable" | "AzureFunctionActivity" | "WebHook" | "ExecuteDataFlow" | "ExecuteWranglingDataflow" | "Script" | "SynapseNotebook" | "SparkJob"; userProperties?: UserProperty[]; } @@ -34,6 +36,9 @@ export interface ActivityDependency { dependencyConditions: DependencyCondition[]; } +// @public +export type ActivityOnInactiveMarkAs = string; + // @public export interface ActivityPolicy { [property: string]: any; @@ -80,6 +85,9 @@ export interface ActivityRunsQueryResponse { value: ActivityRun[]; } +// @public +export type ActivityState = string; + // @public (undocumented) export type ActivityUnion = Activity | ControlActivityUnion | ExecutionActivityUnion | ExecuteWranglingDataflowActivity; @@ -97,7 +105,7 @@ export interface AdditionalColumns { // @public export interface AmazonMWSLinkedService extends LinkedService { accessKeyId: any; - encryptedCredential?: any; + encryptedCredential?: string; endpoint: any; marketplaceID: any; mwsAuthToken?: SecretBaseUnion; @@ -124,7 +132,7 @@ export interface AmazonMWSSource extends TabularSource { // @public export interface AmazonRdsForOracleLinkedService extends LinkedService { connectionString: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "AmazonRdsForOracle"; } @@ -161,7 +169,7 @@ export interface AmazonRdsForOracleTableDataset extends Dataset { export interface AmazonRdsForSqlServerLinkedService extends LinkedService { alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; connectionString: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "AmazonRdsForSqlServer"; userName?: any; @@ -169,6 +177,7 @@ export interface AmazonRdsForSqlServerLinkedService extends LinkedService { // @public export interface AmazonRdsForSqlServerSource extends TabularSource { + isolationLevel?: any; partitionOption?: any; partitionSettings?: SqlPartitionSettings; produceAdditionalTypes?: any; @@ -188,7 +197,7 @@ export interface AmazonRdsForSqlServerTableDataset extends Dataset { // @public export interface AmazonRedshiftLinkedService extends LinkedService { database: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; port?: any; server: any; @@ -214,7 +223,7 @@ export interface AmazonRedshiftTableDataset extends Dataset { // @public export interface AmazonS3CompatibleLinkedService extends LinkedService { accessKeyId?: any; - encryptedCredential?: any; + encryptedCredential?: string; forcePathStyle?: any; secretAccessKey?: SecretBaseUnion; serviceUrl?: any; @@ -231,7 +240,7 @@ export interface AmazonS3CompatibleLocation extends DatasetLocation { // @public export interface AmazonS3CompatibleReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -260,7 +269,7 @@ export interface AmazonS3Dataset extends Dataset { export interface AmazonS3LinkedService extends LinkedService { accessKeyId?: any; authenticationType?: any; - encryptedCredential?: any; + encryptedCredential?: string; secretAccessKey?: SecretBaseUnion; serviceUrl?: any; sessionToken?: SecretBaseUnion; @@ -277,7 +286,7 @@ export interface AmazonS3Location extends DatasetLocation { // @public export interface AmazonS3ReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -312,7 +321,7 @@ export interface ArmIdWrapper { // @public export interface AsanaLinkedService extends LinkedService { apiToken: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; type: "Asana"; } @@ -368,7 +377,7 @@ export interface AzureBatchLinkedService extends LinkedService { accountName: any; batchUri: any; credential?: CredentialReference; - encryptedCredential?: any; + encryptedCredential?: string; linkedServiceName: LinkedServiceReference; poolName: any; type: "AzureBatch"; @@ -400,7 +409,7 @@ export interface AzureBlobFSLinkedService extends LinkedService { accountKey?: any; azureCloudType?: any; credential?: CredentialReference; - encryptedCredential?: any; + encryptedCredential?: string; sasToken?: SecretBaseUnion; sasUri?: any; servicePrincipalCredential?: SecretBaseUnion; @@ -421,7 +430,7 @@ export interface AzureBlobFSLocation extends DatasetLocation { // @public export interface AzureBlobFSReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -456,7 +465,7 @@ export interface AzureBlobFSWriteSettings extends StoreWriteSettings { // @public export interface AzureBlobStorageLinkedService extends LinkedService { accountKey?: AzureKeyVaultSecretReference; - accountKind?: string; + accountKind?: any; authenticationType?: AzureStorageAuthenticationType; azureCloudType?: any; connectionString?: any; @@ -465,7 +474,7 @@ export interface AzureBlobStorageLinkedService extends LinkedService { encryptedCredential?: string; sasToken?: AzureKeyVaultSecretReference; sasUri?: any; - serviceEndpoint?: string; + serviceEndpoint?: any; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; tenant?: any; @@ -481,7 +490,7 @@ export interface AzureBlobStorageLocation extends DatasetLocation { // @public export interface AzureBlobStorageReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -526,7 +535,7 @@ export interface AzureDatabricksDeltaLakeLinkedService extends LinkedService { clusterId?: any; credential?: CredentialReference; domain: any; - encryptedCredential?: any; + encryptedCredential?: string; type: "AzureDatabricksDeltaLake"; workspaceResourceId?: any; } @@ -551,7 +560,7 @@ export interface AzureDatabricksLinkedService extends LinkedService { authentication?: any; credential?: CredentialReference; domain: any; - encryptedCredential?: any; + encryptedCredential?: string; existingClusterId?: any; instancePoolId?: any; newClusterCustomTags?: { @@ -620,7 +629,7 @@ export interface AzureDataExplorerTableDataset extends Dataset { export interface AzureDataLakeAnalyticsLinkedService extends LinkedService { accountName: any; dataLakeAnalyticsUri?: any; - encryptedCredential?: any; + encryptedCredential?: string; resourceGroupName?: any; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; @@ -644,7 +653,7 @@ export interface AzureDataLakeStoreLinkedService extends LinkedService { azureCloudType?: any; credential?: CredentialReference; dataLakeStoreUri: any; - encryptedCredential?: any; + encryptedCredential?: string; resourceGroupName?: any; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; @@ -661,7 +670,7 @@ export interface AzureDataLakeStoreLocation extends DatasetLocation { // @public export interface AzureDataLakeStoreReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; listAfter?: any; listBefore?: any; @@ -697,7 +706,7 @@ export interface AzureDataLakeStoreWriteSettings extends StoreWriteSettings { export interface AzureFileStorageLinkedService extends LinkedService { accountKey?: AzureKeyVaultSecretReference; connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; fileShare?: any; host?: any; password?: SecretBaseUnion; @@ -716,7 +725,7 @@ export interface AzureFileStorageLocation extends DatasetLocation { // @public export interface AzureFileStorageReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -749,7 +758,7 @@ export type AzureFunctionActivityMethod = string; export interface AzureFunctionLinkedService extends LinkedService { authentication?: any; credential?: CredentialReference; - encryptedCredential?: any; + encryptedCredential?: string; functionAppUrl: any; functionKey?: SecretBaseUnion; resourceId?: any; @@ -774,7 +783,7 @@ export interface AzureKeyVaultSecretReference extends SecretBase { // @public export interface AzureMariaDBLinkedService extends LinkedService { connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; pwd?: AzureKeyVaultSecretReference; type: "AzureMariaDB"; } @@ -822,7 +831,7 @@ export interface AzureMLExecutePipelineActivity extends ExecutionActivity { export interface AzureMLLinkedService extends LinkedService { apiKey: SecretBaseUnion; authentication?: any; - encryptedCredential?: any; + encryptedCredential?: string; mlEndpoint: any; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; @@ -833,7 +842,8 @@ export interface AzureMLLinkedService extends LinkedService { // @public export interface AzureMLServiceLinkedService extends LinkedService { - encryptedCredential?: any; + authentication?: any; + encryptedCredential?: string; mlWorkspaceName: any; resourceGroupName: any; servicePrincipalId?: any; @@ -860,7 +870,7 @@ export interface AzureMLWebServiceFile { // @public export interface AzureMySqlLinkedService extends LinkedService { connectionString: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; type: "AzureMySql"; } @@ -887,7 +897,7 @@ export interface AzureMySqlTableDataset extends Dataset { // @public export interface AzurePostgreSqlLinkedService extends LinkedService { connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; type: "AzurePostgreSql"; } @@ -934,7 +944,7 @@ export type AzureSearchIndexWriteBehaviorType = string; // @public export interface AzureSearchLinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; key?: SecretBaseUnion; type: "AzureSearch"; url: any; @@ -946,7 +956,7 @@ export interface AzureSqlDatabaseLinkedService extends LinkedService { azureCloudType?: any; connectionString: any; credential?: CredentialReference; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; @@ -959,7 +969,7 @@ export interface AzureSqlDWLinkedService extends LinkedService { azureCloudType?: any; connectionString: any; credential?: CredentialReference; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; @@ -981,7 +991,7 @@ export interface AzureSqlMILinkedService extends LinkedService { azureCloudType?: any; connectionString: any; credential?: CredentialReference; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; @@ -1013,6 +1023,7 @@ export interface AzureSqlSink extends CopySink { // @public export interface AzureSqlSource extends TabularSource { + isolationLevel?: any; partitionOption?: any; partitionSettings?: SqlPartitionSettings; produceAdditionalTypes?: any; @@ -1160,7 +1171,7 @@ export interface BlobTrigger extends MultiplePipelineTrigger { // @public export interface CassandraLinkedService extends LinkedService { authenticationType?: any; - encryptedCredential?: any; + encryptedCredential?: string; host: any; password?: SecretBaseUnion; port?: any; @@ -1193,6 +1204,91 @@ export interface ChainingTrigger extends Trigger { type: "ChainingTrigger"; } +// @public +export interface ChangeDataCapture { + createOrUpdate(resourceGroupName: string, factoryName: string, changeDataCaptureName: string, changeDataCapture: ChangeDataCaptureResource, options?: ChangeDataCaptureCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, changeDataCaptureName: string, options?: ChangeDataCaptureDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, changeDataCaptureName: string, options?: ChangeDataCaptureGetOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, options?: ChangeDataCaptureListByFactoryOptionalParams): PagedAsyncIterableIterator; + start(resourceGroupName: string, factoryName: string, changeDataCaptureName: string, options?: ChangeDataCaptureStartOptionalParams): Promise; + status(resourceGroupName: string, factoryName: string, changeDataCaptureName: string, options?: ChangeDataCaptureStatusOptionalParams): Promise; + stop(resourceGroupName: string, factoryName: string, changeDataCaptureName: string, options?: ChangeDataCaptureStopOptionalParams): Promise; +} + +// @public +export interface ChangeDataCaptureCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type ChangeDataCaptureCreateOrUpdateResponse = ChangeDataCaptureResource; + +// @public +export interface ChangeDataCaptureDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ChangeDataCaptureFolder { + name?: string; +} + +// @public +export interface ChangeDataCaptureGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type ChangeDataCaptureGetResponse = ChangeDataCaptureResource; + +// @public +export interface ChangeDataCaptureListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ChangeDataCaptureListByFactoryNextResponse = ChangeDataCaptureListResponse; + +// @public +export interface ChangeDataCaptureListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ChangeDataCaptureListByFactoryResponse = ChangeDataCaptureListResponse; + +// @public +export interface ChangeDataCaptureListResponse { + nextLink?: string; + value: ChangeDataCaptureResource[]; +} + +// @public +export interface ChangeDataCaptureResource extends SubResource { + [property: string]: any; + allowVNetOverride?: boolean; + description?: string; + folder?: ChangeDataCaptureFolder; + policy: MapperPolicy; + sourceConnectionsInfo: MapperSourceConnectionsInfo[]; + status?: string; + targetConnectionsInfo: MapperTargetConnectionsInfo[]; +} + +// @public +export interface ChangeDataCaptureStartOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ChangeDataCaptureStatusOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ChangeDataCaptureStatusResponse = { + body: string; +}; + +// @public +export interface ChangeDataCaptureStopOptionalParams extends coreClient.OperationOptions { +} + // @public export interface CloudError { code: string; @@ -1224,7 +1320,7 @@ export interface CommonDataServiceForAppsEntityDataset extends Dataset { export interface CommonDataServiceForAppsLinkedService extends LinkedService { authenticationType: any; deploymentType: any; - encryptedCredential?: any; + encryptedCredential?: string; hostName?: any; organizationName?: any; password?: SecretBaseUnion; @@ -1275,7 +1371,7 @@ export type CompressionReadSettingsUnion = CompressionReadSettings | ZipDeflateR export interface ConcurLinkedService extends LinkedService { clientId: any; connectionProperties?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "Concur"; useEncryptedEndpoints?: any; @@ -1306,6 +1402,9 @@ export interface ConnectionStateProperties { readonly status?: string; } +// @public +export type ConnectionType = string; + // @public export interface ControlActivity extends Activity { type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Fail" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook"; @@ -1401,9 +1500,9 @@ export interface CosmosDbLinkedService extends LinkedService { connectionString?: any; credential?: CredentialReference; database?: any; - encryptedCredential?: any; + encryptedCredential?: string; servicePrincipalCredential?: SecretBaseUnion; - servicePrincipalCredentialType?: CosmosDbServicePrincipalCredentialType; + servicePrincipalCredentialType?: any; servicePrincipalId?: any; tenant?: any; type: "CosmosDb"; @@ -1439,9 +1538,6 @@ export interface CosmosDbMongoDbApiSource extends CopySource { type: "CosmosDbMongoDbApiSource"; } -// @public -export type CosmosDbServicePrincipalCredentialType = string; - // @public export interface CosmosDbSqlApiCollectionDataset extends Dataset { collectionName: any; @@ -1468,7 +1564,7 @@ export interface CosmosDbSqlApiSource extends CopySource { export interface CouchbaseLinkedService extends LinkedService { connectionString?: any; credString?: AzureKeyVaultSecretReference; - encryptedCredential?: any; + encryptedCredential?: string; type: "Couchbase"; } @@ -1677,6 +1773,8 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { // (undocumented) apiVersion: string; // (undocumented) + changeDataCapture: ChangeDataCapture; + // (undocumented) credentialOperations: CredentialOperations; // (undocumented) dataFlowDebugSession: DataFlowDebugSession; @@ -1981,6 +2079,15 @@ export interface DataLakeAnalyticsUsqlActivity extends ExecutionActivity { type: "DataLakeAnalyticsU-SQL"; } +// @public +export interface DataMapperMapping { + attributeMappingInfo?: MapperAttributeMappings; + sourceConnectionReference?: MapperConnectionReference; + sourceDenormalizeInfo?: any; + sourceEntityName?: string; + targetEntityName?: string; +} + // @public export interface Dataset { [property: string]: any; @@ -2119,7 +2226,7 @@ export type DatasetUnion = Dataset | AmazonS3Dataset | AvroDataset | ExcelDatase // @public export interface DataworldLinkedService extends LinkedService { apiToken: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; type: "Dataworld"; } @@ -2138,7 +2245,7 @@ export interface Db2LinkedService extends LinkedService { certificateCommonName?: any; connectionString?: any; database?: any; - encryptedCredential?: any; + encryptedCredential?: string; packageCollection?: any; password?: SecretBaseUnion; server?: any; @@ -2265,7 +2372,7 @@ export interface DocumentDbCollectionSource extends CopySource { // @public export interface DrillLinkedService extends LinkedService { connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; pwd?: AzureKeyVaultSecretReference; type: "Drill"; } @@ -2304,7 +2411,7 @@ export type DynamicsAuthenticationType = string; // @public export interface DynamicsAXLinkedService extends LinkedService { aadResourceId: any; - encryptedCredential?: any; + encryptedCredential?: string; servicePrincipalId: any; servicePrincipalKey: SecretBaseUnion; tenant: any; @@ -2335,7 +2442,7 @@ export interface DynamicsCrmEntityDataset extends Dataset { export interface DynamicsCrmLinkedService extends LinkedService { authenticationType: any; deploymentType: any; - encryptedCredential?: any; + encryptedCredential?: string; hostName?: any; organizationName?: any; password?: SecretBaseUnion; @@ -2377,7 +2484,7 @@ export interface DynamicsLinkedService extends LinkedService { authenticationType: any; credential?: CredentialReference; deploymentType: any; - encryptedCredential?: any; + encryptedCredential?: string; hostName?: any; organizationName?: any; password?: SecretBaseUnion; @@ -2410,7 +2517,7 @@ export interface DynamicsSource extends CopySource { // @public export interface EloquaLinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; endpoint: any; password?: SecretBaseUnion; type: "Eloqua"; @@ -2832,7 +2939,7 @@ export interface FailActivity extends ControlActivity { // @public export interface FileServerLinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; host: any; password?: SecretBaseUnion; type: "FileServer"; @@ -2847,7 +2954,7 @@ export interface FileServerLocation extends DatasetLocation { // @public export interface FileServerReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileFilter?: any; fileListPath?: any; modifiedDatetimeEnd?: any; @@ -2933,6 +3040,9 @@ export interface FormatWriteSettings { // @public (undocumented) export type FormatWriteSettingsUnion = FormatWriteSettings | AvroWriteSettings | OrcWriteSettings | ParquetWriteSettings | DelimitedTextWriteSettings | JsonWriteSettings; +// @public +export type FrequencyType = string; + // @public export type FtpAuthenticationType = string; @@ -2940,12 +3050,12 @@ export type FtpAuthenticationType = string; export interface FtpReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; disableChunking?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; partitionRootPath?: any; recursive?: any; type: "FtpReadSettings"; - useBinaryTransfer?: boolean; + useBinaryTransfer?: any; wildcardFileName?: any; wildcardFolderPath?: any; } @@ -2955,7 +3065,7 @@ export interface FtpServerLinkedService extends LinkedService { authenticationType?: FtpAuthenticationType; enableServerCertificateValidation?: any; enableSsl?: any; - encryptedCredential?: any; + encryptedCredential?: string; host: any; password?: SecretBaseUnion; port?: any; @@ -3084,7 +3194,7 @@ export interface GoogleAdWordsLinkedService extends LinkedService { connectionProperties?: any; developerToken?: SecretBaseUnion; email?: any; - encryptedCredential?: any; + encryptedCredential?: string; keyFilePath?: any; refreshToken?: SecretBaseUnion; trustedCertPath?: any; @@ -3114,7 +3224,7 @@ export interface GoogleBigQueryLinkedService extends LinkedService { clientId?: any; clientSecret?: SecretBaseUnion; email?: any; - encryptedCredential?: any; + encryptedCredential?: string; keyFilePath?: any; project: any; refreshToken?: SecretBaseUnion; @@ -3141,7 +3251,7 @@ export interface GoogleBigQuerySource extends TabularSource { // @public export interface GoogleCloudStorageLinkedService extends LinkedService { accessKeyId?: any; - encryptedCredential?: any; + encryptedCredential?: string; secretAccessKey?: SecretBaseUnion; serviceUrl?: any; type: "GoogleCloudStorage"; @@ -3157,7 +3267,7 @@ export interface GoogleCloudStorageLocation extends DatasetLocation { // @public export interface GoogleCloudStorageReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -3172,14 +3282,14 @@ export interface GoogleCloudStorageReadSettings extends StoreReadSettings { // @public export interface GoogleSheetsLinkedService extends LinkedService { apiToken: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; type: "GoogleSheets"; } // @public export interface GreenplumLinkedService extends LinkedService { connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; pwd?: AzureKeyVaultSecretReference; type: "Greenplum"; } @@ -3207,7 +3317,7 @@ export interface HBaseLinkedService extends LinkedService { allowSelfSignedServerCert?: any; authenticationType: HBaseAuthenticationType; enableSsl?: any; - encryptedCredential?: any; + encryptedCredential?: string; host: any; httpPath?: any; password?: SecretBaseUnion; @@ -3232,7 +3342,7 @@ export interface HBaseSource extends TabularSource { // @public export interface HdfsLinkedService extends LinkedService { authenticationType?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "Hdfs"; url: any; @@ -3248,7 +3358,7 @@ export interface HdfsLocation extends DatasetLocation { export interface HdfsReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; distcpSettings?: DistcpSettings; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -3284,13 +3394,15 @@ export interface HDInsightHiveActivity extends ExecutionActivity { scriptPath?: any; storageLinkedServices?: LinkedServiceReference[]; type: "HDInsightHive"; - variables?: any[]; + variables?: { + [propertyName: string]: any; + }; } // @public export interface HDInsightLinkedService extends LinkedService { clusterUri: any; - encryptedCredential?: any; + encryptedCredential?: string; fileSystem?: any; hcatalogLinkedServiceName?: LinkedServiceReference; isEspEnabled?: any; @@ -3329,7 +3441,7 @@ export interface HDInsightOnDemandLinkedService extends LinkedService { coreConfiguration?: any; credential?: CredentialReference; dataNodeSize?: any; - encryptedCredential?: any; + encryptedCredential?: string; hBaseConfiguration?: any; hcatalogLinkedServiceName?: LinkedServiceReference; hdfsConfiguration?: any; @@ -3410,7 +3522,7 @@ export interface HiveLinkedService extends LinkedService { allowSelfSignedServerCert?: any; authenticationType: HiveAuthenticationType; enableSsl?: any; - encryptedCredential?: any; + encryptedCredential?: string; host: any; httpPath?: any; password?: SecretBaseUnion; @@ -3467,7 +3579,7 @@ export interface HttpLinkedService extends LinkedService { certThumbprint?: any; embeddedCertData?: any; enableServerCertificateValidation?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "HttpServer"; url: any; @@ -3476,9 +3588,8 @@ export interface HttpLinkedService extends LinkedService { // @public export interface HttpReadSettings extends StoreReadSettings { + additionalColumns?: any; additionalHeaders?: any; - enablePartitionDiscovery?: boolean; - partitionRootPath?: any; requestBody?: any; requestMethod?: any; requestTimeout?: any; @@ -3502,7 +3613,7 @@ export interface HubspotLinkedService extends LinkedService { accessToken?: SecretBaseUnion; clientId: any; clientSecret?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; refreshToken?: SecretBaseUnion; type: "Hubspot"; useEncryptedEndpoints?: any; @@ -3539,7 +3650,7 @@ export interface ImpalaLinkedService extends LinkedService { allowSelfSignedServerCert?: any; authenticationType: ImpalaAuthenticationType; enableSsl?: any; - encryptedCredential?: any; + encryptedCredential?: string; host: any; password?: SecretBaseUnion; port?: any; @@ -3577,7 +3688,7 @@ export interface InformixLinkedService extends LinkedService { authenticationType?: any; connectionString: any; credential?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "Informix"; userName?: any; @@ -3661,9 +3772,16 @@ export interface IntegrationRuntimeDataFlowProperties { cleanup?: boolean; computeType?: DataFlowComputeType; coreCount?: number; + customProperties?: IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem[]; timeToLive?: number; } +// @public (undocumented) +export interface IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem { + name?: string; + value?: string; +} + // @public export interface IntegrationRuntimeDataProxyProperties { connectVia?: EntityReference; @@ -4028,7 +4146,7 @@ export interface IntegrationRuntimeVNetProperties { // @public export interface JiraLinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; host: any; password?: SecretBaseUnion; port?: any; @@ -4102,6 +4220,19 @@ export interface JsonWriteSettings extends FormatWriteSettings { type: "JsonWriteSettings"; } +// @public +export enum KnownActivityOnInactiveMarkAs { + Failed = "Failed", + Skipped = "Skipped", + Succeeded = "Succeeded" +} + +// @public +export enum KnownActivityState { + Active = "Active", + Inactive = "Inactive" +} + // @public export enum KnownAmazonRdsForOraclePartitionOption { DynamicRange = "DynamicRange", @@ -4190,6 +4321,11 @@ export enum KnownConfigurationType { Default = "Default" } +// @public +export enum KnownConnectionType { + Linkedservicetype = "linkedservicetype" +} + // @public export enum KnownCopyBehaviorType { FlattenHierarchy = "FlattenHierarchy", @@ -4203,12 +4339,6 @@ export enum KnownCosmosDbConnectionMode { Gateway = "Gateway" } -// @public -export enum KnownCosmosDbServicePrincipalCredentialType { - ServicePrincipalCert = "ServicePrincipalCert", - ServicePrincipalKey = "ServicePrincipalKey" -} - // @public export enum KnownCredentialReferenceType { CredentialReference = "CredentialReference" @@ -4286,6 +4416,13 @@ export enum KnownFactoryIdentityType { UserAssigned = "UserAssigned" } +// @public +export enum KnownFrequencyType { + Hour = "Hour", + Minute = "Minute", + Second = "Second" +} + // @public export enum KnownFtpAuthenticationType { Anonymous = "Anonymous", @@ -4469,6 +4606,13 @@ export enum KnownManagedVirtualNetworkReferenceType { ManagedVirtualNetworkReference = "ManagedVirtualNetworkReference" } +// @public +export enum KnownMappingType { + Aggregate = "Aggregate", + Derived = "Derived", + Direct = "Direct" +} + // @public export enum KnownMongoDbAuthenticationType { Anonymous = "Anonymous", @@ -5060,7 +5204,7 @@ export interface LookupActivity extends ExecutionActivity { // @public export interface MagentoLinkedService extends LinkedService { accessToken?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; host: any; type: "Magento"; useEncryptedEndpoints?: any; @@ -5269,6 +5413,88 @@ export interface ManagedVirtualNetworksListByFactoryOptionalParams extends coreC // @public export type ManagedVirtualNetworksListByFactoryResponse = ManagedVirtualNetworkListResponse; +// @public +export interface MapperAttributeMapping { + attributeReference?: MapperAttributeReference; + attributeReferences?: MapperAttributeReference[]; + expression?: string; + functionName?: string; + name?: string; + type?: MappingType; +} + +// @public +export interface MapperAttributeMappings { + attributeMappings?: MapperAttributeMapping[]; +} + +// @public +export interface MapperAttributeReference { + entity?: string; + entityConnectionReference?: MapperConnectionReference; + name?: string; +} + +// @public +export interface MapperConnection { + commonDslConnectorProperties?: MapperDslConnectorProperties[]; + isInlineDataset?: boolean; + linkedService?: LinkedServiceReference; + linkedServiceType?: string; + type: ConnectionType; +} + +// @public +export interface MapperConnectionReference { + connectionName?: string; + type?: ConnectionType; +} + +// @public +export interface MapperDslConnectorProperties { + name?: string; + value?: any; +} + +// @public +export interface MapperPolicy { + mode?: string; + recurrence?: MapperPolicyRecurrence; +} + +// @public +export interface MapperPolicyRecurrence { + frequency?: FrequencyType; + interval?: number; +} + +// @public +export interface MapperSourceConnectionsInfo { + connection?: MapperConnection; + sourceEntities?: MapperTable[]; +} + +// @public +export interface MapperTable { + dslConnectorProperties?: MapperDslConnectorProperties[]; + name?: string; + schema?: MapperTableSchema[]; +} + +// @public +export interface MapperTableSchema { + dataType?: string; + name?: string; +} + +// @public +export interface MapperTargetConnectionsInfo { + connection?: MapperConnection; + dataMapperMappings?: DataMapperMapping[]; + relationships?: any[]; + targetEntities?: MapperTable[]; +} + // @public export interface MappingDataFlow extends DataFlow { script?: string; @@ -5279,10 +5505,13 @@ export interface MappingDataFlow extends DataFlow { type: "MappingDataFlow"; } +// @public +export type MappingType = string; + // @public export interface MariaDBLinkedService extends LinkedService { connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; pwd?: AzureKeyVaultSecretReference; type: "MariaDB"; } @@ -5303,7 +5532,7 @@ export interface MariaDBTableDataset extends Dataset { export interface MarketoLinkedService extends LinkedService { clientId: any; clientSecret?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; endpoint: any; type: "Marketo"; useEncryptedEndpoints?: any; @@ -5334,7 +5563,7 @@ export interface MicrosoftAccessLinkedService extends LinkedService { authenticationType?: any; connectionString: any; credential?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "MicrosoftAccess"; userName?: any; @@ -5369,6 +5598,7 @@ export interface MongoDbAtlasCollectionDataset extends Dataset { export interface MongoDbAtlasLinkedService extends LinkedService { connectionString: any; database: any; + driverVersion?: any; type: "MongoDbAtlas"; } @@ -5413,7 +5643,7 @@ export interface MongoDbLinkedService extends LinkedService { authSource?: any; databaseName: any; enableSsl?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; port?: any; server: any; @@ -5469,7 +5699,7 @@ export type MultiplePipelineTriggerUnion = MultiplePipelineTrigger | ScheduleTri // @public export interface MySqlLinkedService extends LinkedService { connectionString: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; type: "MySql"; } @@ -5489,7 +5719,7 @@ export interface MySqlTableDataset extends Dataset { // @public export interface NetezzaLinkedService extends LinkedService { connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; pwd?: AzureKeyVaultSecretReference; type: "Netezza"; } @@ -5545,7 +5775,7 @@ export interface ODataLinkedService extends LinkedService { authenticationType?: ODataAuthenticationType; authHeaders?: any; azureCloudType?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; servicePrincipalEmbeddedCert?: SecretBaseUnion; servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; @@ -5576,7 +5806,7 @@ export interface OdbcLinkedService extends LinkedService { authenticationType?: any; connectionString: any; credential?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "Odbc"; userName?: any; @@ -5609,7 +5839,7 @@ export interface Office365Dataset extends Dataset { // @public export interface Office365LinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; office365TenantId: any; servicePrincipalId: any; servicePrincipalKey: SecretBaseUnion; @@ -5712,7 +5942,7 @@ export type OperationsListResponse = OperationListResponse; // @public export interface OracleCloudStorageLinkedService extends LinkedService { accessKeyId?: any; - encryptedCredential?: any; + encryptedCredential?: string; secretAccessKey?: SecretBaseUnion; serviceUrl?: any; type: "OracleCloudStorage"; @@ -5728,7 +5958,7 @@ export interface OracleCloudStorageLocation extends DatasetLocation { // @public export interface OracleCloudStorageReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -5743,7 +5973,7 @@ export interface OracleCloudStorageReadSettings extends StoreReadSettings { // @public export interface OracleLinkedService extends LinkedService { connectionString: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; type: "Oracle"; } @@ -5761,7 +5991,7 @@ export interface OraclePartitionSettings { // @public export interface OracleServiceCloudLinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; host: any; password: SecretBaseUnion; type: "OracleServiceCloud"; @@ -5843,6 +6073,11 @@ export interface OrcWriteSettings extends FormatWriteSettings { type: "OrcWriteSettings"; } +// @public +export interface OutputColumn { + name?: string; +} + // @public export interface PackageStore { name: string; @@ -5895,7 +6130,7 @@ export interface ParquetWriteSettings extends FormatWriteSettings { export interface PaypalLinkedService extends LinkedService { clientId: any; clientSecret?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; host: any; type: "Paypal"; useEncryptedEndpoints?: any; @@ -5924,7 +6159,7 @@ export interface PhoenixLinkedService extends LinkedService { allowSelfSignedServerCert?: any; authenticationType: PhoenixAuthenticationType; enableSsl?: any; - encryptedCredential?: any; + encryptedCredential?: string; host: any; httpPath?: any; password?: SecretBaseUnion; @@ -6138,7 +6373,7 @@ export type PolybaseSettingsRejectType = string; // @public export interface PostgreSqlLinkedService extends LinkedService { connectionString: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; type: "PostgreSql"; } @@ -6183,7 +6418,7 @@ export interface PrestoLinkedService extends LinkedService { authenticationType: PrestoAuthenticationType; catalog: any; enableSsl?: any; - encryptedCredential?: any; + encryptedCredential?: string; host: any; password?: SecretBaseUnion; port?: any; @@ -6335,7 +6570,7 @@ export interface QueryDataFlowDebugSessionsResponse { // @public export interface QuickbaseLinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; type: "Quickbase"; url: any; userToken: SecretBaseUnion; @@ -6349,7 +6584,7 @@ export interface QuickBooksLinkedService extends LinkedService { connectionProperties?: any; consumerKey?: any; consumerSecret?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; endpoint?: any; type: "QuickBooks"; useEncryptedEndpoints?: any; @@ -6445,7 +6680,7 @@ export interface Resource { export interface ResponsysLinkedService extends LinkedService { clientId: any; clientSecret?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; endpoint: any; type: "Responsys"; useEncryptedEndpoints?: any; @@ -6467,8 +6702,12 @@ export interface ResponsysSource extends TabularSource { // @public export interface RestResourceDataset extends Dataset { - additionalHeaders?: any; - paginationRules?: any; + additionalHeaders?: { + [propertyName: string]: any; + }; + paginationRules?: { + [propertyName: string]: any; + }; relativeUrl?: any; requestBody?: any; requestMethod?: any; @@ -6488,7 +6727,7 @@ export interface RestServiceLinkedService extends LinkedService { clientSecret?: SecretBaseUnion; credential?: CredentialReference; enableServerCertificateValidation?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; resource?: any; scope?: any; @@ -6566,7 +6805,7 @@ export type RunQueryOrderByField = string; // @public export interface SalesforceLinkedService extends LinkedService { apiVersion?: any; - encryptedCredential?: any; + encryptedCredential?: string; environmentUrl?: any; password?: SecretBaseUnion; securityToken?: SecretBaseUnion; @@ -6579,7 +6818,7 @@ export interface SalesforceMarketingCloudLinkedService extends LinkedService { clientId?: any; clientSecret?: SecretBaseUnion; connectionProperties?: any; - encryptedCredential?: any; + encryptedCredential?: string; type: "SalesforceMarketingCloud"; useEncryptedEndpoints?: any; useHostVerification?: any; @@ -6607,7 +6846,7 @@ export interface SalesforceObjectDataset extends Dataset { // @public export interface SalesforceServiceCloudLinkedService extends LinkedService { apiVersion?: any; - encryptedCredential?: any; + encryptedCredential?: string; environmentUrl?: any; extendedProperties?: any; password?: SecretBaseUnion; @@ -6634,7 +6873,7 @@ export interface SalesforceServiceCloudSink extends CopySink { export interface SalesforceServiceCloudSource extends CopySource { additionalColumns?: any; query?: any; - readBehavior?: SalesforceSourceReadBehavior; + readBehavior?: any; type: "SalesforceServiceCloudSource"; } @@ -6652,7 +6891,7 @@ export type SalesforceSinkWriteBehavior = string; // @public export interface SalesforceSource extends TabularSource { query?: any; - readBehavior?: SalesforceSourceReadBehavior; + readBehavior?: any; type: "SalesforceSource"; } @@ -6667,7 +6906,7 @@ export interface SapBwCubeDataset extends Dataset { // @public export interface SapBWLinkedService extends LinkedService { clientId: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; server: any; systemNumber: any; @@ -6683,7 +6922,7 @@ export interface SapBwSource extends TabularSource { // @public export interface SapCloudForCustomerLinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "SapCloudForCustomer"; url: any; @@ -6718,8 +6957,8 @@ export interface SapEccLinkedService extends LinkedService { encryptedCredential?: string; password?: SecretBaseUnion; type: "SapEcc"; - url: string; - username?: string; + url: any; + username?: any; } // @public @@ -6742,7 +6981,7 @@ export type SapHanaAuthenticationType = string; export interface SapHanaLinkedService extends LinkedService { authenticationType?: SapHanaAuthenticationType; connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; server?: any; type: "SapHana"; @@ -6776,7 +7015,7 @@ export interface SapHanaTableDataset extends Dataset { // @public export interface SapOdpLinkedService extends LinkedService { clientId?: any; - encryptedCredential?: any; + encryptedCredential?: string; language?: any; logonGroup?: any; messageServer?: any; @@ -6815,7 +7054,7 @@ export interface SapOdpSource extends TabularSource { // @public export interface SapOpenHubLinkedService extends LinkedService { clientId?: any; - encryptedCredential?: any; + encryptedCredential?: string; language?: any; logonGroup?: any; messageServer?: any; @@ -6848,7 +7087,7 @@ export interface SapOpenHubTableDataset extends Dataset { // @public export interface SapTableLinkedService extends LinkedService { clientId?: any; - encryptedCredential?: any; + encryptedCredential?: string; language?: any; logonGroup?: any; messageServer?: any; @@ -6972,6 +7211,12 @@ export interface SecretBase { // @public (undocumented) export type SecretBaseUnion = SecretBase | SecureString | AzureKeyVaultSecretReference; +// @public +export interface SecureInputOutputPolicy { + secureInput?: boolean; + secureOutput?: boolean; +} + // @public export interface SecureString extends SecretBase { type: "SecureString"; @@ -7050,7 +7295,7 @@ export interface ServiceNowLinkedService extends LinkedService { authenticationType: ServiceNowAuthenticationType; clientId?: any; clientSecret?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; endpoint: any; password?: SecretBaseUnion; type: "ServiceNow"; @@ -7085,6 +7330,8 @@ export type ServicePrincipalCredentialType = string; // @public export interface SetVariableActivity extends ControlActivity { + policy?: SecureInputOutputPolicy; + setSystemVariable?: boolean; type: "SetVariable"; value?: any; variableName?: string; @@ -7102,7 +7349,7 @@ export interface SftpLocation extends DatasetLocation { export interface SftpReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; disableChunking?: any; - enablePartitionDiscovery?: boolean; + enablePartitionDiscovery?: any; fileListPath?: any; modifiedDatetimeEnd?: any; modifiedDatetimeStart?: any; @@ -7116,7 +7363,7 @@ export interface SftpReadSettings extends StoreReadSettings { // @public export interface SftpServerLinkedService extends LinkedService { authenticationType?: SftpAuthenticationType; - encryptedCredential?: any; + encryptedCredential?: string; host: any; hostKeyFingerprint?: any; passPhrase?: SecretBaseUnion; @@ -7138,7 +7385,7 @@ export interface SftpWriteSettings extends StoreWriteSettings { // @public export interface SharePointOnlineListLinkedService extends LinkedService { - encryptedCredential?: any; + encryptedCredential?: string; servicePrincipalId: any; servicePrincipalKey: SecretBaseUnion; siteUrl: any; @@ -7162,7 +7409,7 @@ export interface SharePointOnlineListSource extends CopySource { // @public export interface ShopifyLinkedService extends LinkedService { accessToken?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; host: any; type: "Shopify"; useEncryptedEndpoints?: any; @@ -7191,7 +7438,7 @@ export interface SkipErrorFile { // @public export interface SmartsheetLinkedService extends LinkedService { apiToken: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; type: "Smartsheet"; } @@ -7227,7 +7474,7 @@ export interface SnowflakeImportCopyCommand extends ImportSettings { // @public export interface SnowflakeLinkedService extends LinkedService { connectionString: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: AzureKeyVaultSecretReference; type: "Snowflake"; } @@ -7267,7 +7514,7 @@ export interface SparkLinkedService extends LinkedService { allowSelfSignedServerCert?: any; authenticationType: SparkAuthenticationType; enableSsl?: any; - encryptedCredential?: any; + encryptedCredential?: string; host: any; httpPath?: any; password?: SecretBaseUnion; @@ -7327,6 +7574,7 @@ export interface SqlDWSink extends CopySink { // @public export interface SqlDWSource extends TabularSource { + isolationLevel?: any; partitionOption?: any; partitionSettings?: SqlPartitionSettings; sqlReaderQuery?: any; @@ -7360,6 +7608,7 @@ export interface SqlMISink extends CopySink { // @public export interface SqlMISource extends TabularSource { + isolationLevel?: any; partitionOption?: any; partitionSettings?: SqlPartitionSettings; produceAdditionalTypes?: any; @@ -7383,7 +7632,7 @@ export interface SqlPartitionSettings { export interface SqlServerLinkedService extends LinkedService { alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; connectionString: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "SqlServer"; userName?: any; @@ -7405,6 +7654,7 @@ export interface SqlServerSink extends CopySink { // @public export interface SqlServerSource extends TabularSource { + isolationLevel?: any; partitionOption?: any; partitionSettings?: SqlPartitionSettings; produceAdditionalTypes?: any; @@ -7469,7 +7719,7 @@ export interface SquareLinkedService extends LinkedService { clientId?: any; clientSecret?: SecretBaseUnion; connectionProperties?: any; - encryptedCredential?: any; + encryptedCredential?: string; host?: any; redirectUri?: any; type: "Square"; @@ -7718,7 +7968,7 @@ export type SybaseAuthenticationType = string; export interface SybaseLinkedService extends LinkedService { authenticationType?: SybaseAuthenticationType; database: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; schema?: any; server: any; @@ -7741,14 +7991,19 @@ export interface SybaseTableDataset extends Dataset { // @public export interface SynapseNotebookActivity extends ExecutionActivity { conf?: any; + configurationType?: ConfigurationType; driverSize?: any; executorSize?: any; notebook: SynapseNotebookReference; - numExecutors?: number; + numExecutors?: any; parameters?: { [propertyName: string]: NotebookParameter; }; + sparkConfig?: { + [propertyName: string]: any; + }; sparkPool?: BigDataPoolParametrizationReference; + targetSparkConfiguration?: SparkConfigurationParametrizationReference; type: "SynapseNotebook"; } @@ -7828,7 +8083,7 @@ export type TeamDeskAuthenticationType = string; export interface TeamDeskLinkedService extends LinkedService { apiToken?: SecretBaseUnion; authenticationType: TeamDeskAuthenticationType; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "TeamDesk"; url: any; @@ -7842,7 +8097,7 @@ export type TeradataAuthenticationType = string; export interface TeradataLinkedService extends LinkedService { authenticationType?: TeradataAuthenticationType; connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; server?: any; type: "Teradata"; @@ -8217,7 +8472,7 @@ export type VariableType = string; // @public export interface VerticaLinkedService extends LinkedService { connectionString?: any; - encryptedCredential?: any; + encryptedCredential?: string; pwd?: AzureKeyVaultSecretReference; type: "Vertica"; } @@ -8347,7 +8602,7 @@ export interface WranglingDataFlow extends DataFlow { export interface XeroLinkedService extends LinkedService { connectionProperties?: any; consumerKey?: SecretBaseUnion; - encryptedCredential?: any; + encryptedCredential?: string; host?: any; privateKey?: SecretBaseUnion; type: "Xero"; @@ -8402,7 +8657,7 @@ export type ZendeskAuthenticationType = string; export interface ZendeskLinkedService extends LinkedService { apiToken?: SecretBaseUnion; authenticationType: ZendeskAuthenticationType; - encryptedCredential?: any; + encryptedCredential?: string; password?: SecretBaseUnion; type: "Zendesk"; url: any; @@ -8419,7 +8674,7 @@ export interface ZipDeflateReadSettings extends CompressionReadSettings { export interface ZohoLinkedService extends LinkedService { accessToken?: SecretBaseUnion; connectionProperties?: any; - encryptedCredential?: any; + encryptedCredential?: string; endpoint?: any; type: "Zoho"; useEncryptedEndpoints?: any; diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index db1c1148f6c9..3067fb6e8805 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -36,7 +36,8 @@ import { PrivateEndPointConnectionsImpl, PrivateEndpointConnectionImpl, PrivateLinkResourcesImpl, - GlobalParametersImpl + GlobalParametersImpl, + ChangeDataCaptureImpl } from "./operations"; import { Operations, @@ -60,7 +61,8 @@ import { PrivateEndPointConnections, PrivateEndpointConnection, PrivateLinkResources, - GlobalParameters + GlobalParameters, + ChangeDataCapture } from "./operationsInterfaces"; import { DataFactoryManagementClientOptionalParams } from "./models"; @@ -96,7 +98,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-datafactory/11.1.1`; + const packageDetails = `azsdk-js-arm-datafactory/12.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -174,6 +176,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { this.privateEndpointConnection = new PrivateEndpointConnectionImpl(this); this.privateLinkResources = new PrivateLinkResourcesImpl(this); this.globalParameters = new GlobalParametersImpl(this); + this.changeDataCapture = new ChangeDataCaptureImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -227,4 +230,5 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { privateEndpointConnection: PrivateEndpointConnection; privateLinkResources: PrivateLinkResources; globalParameters: GlobalParameters; + changeDataCapture: ChangeDataCapture; } diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index a42b9b43058c..935a2d6bb188 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -1591,6 +1591,10 @@ export interface Activity { name: string; /** Activity description. */ description?: string; + /** Activity state. This is an optional property and if not provided, the state will be Active by default. */ + state?: ActivityState; + /** Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ + onInactiveMarkAs?: ActivityOnInactiveMarkAs; /** Activity depends on condition. */ dependsOn?: ActivityDependency[]; /** Activity user properties. */ @@ -2342,6 +2346,150 @@ export interface GlobalParameterListResponse { nextLink?: string; } +/** A list of change data capture resources. */ +export interface ChangeDataCaptureListResponse { + /** Lists all resources of type change data capture. */ + value: ChangeDataCaptureResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** The folder that this CDC is in. If not specified, CDC will appear at the root level. */ +export interface ChangeDataCaptureFolder { + /** The name of the folder that this CDC is in. */ + name?: string; +} + +/** A object which contains list of tables and connection details for a source connection. */ +export interface MapperSourceConnectionsInfo { + /** List of source tables for a source connection. */ + sourceEntities?: MapperTable[]; + /** Source connection details. */ + connection?: MapperConnection; +} + +/** CDC table details. */ +export interface MapperTable { + /** Name of the table. */ + name?: string; + /** List of columns for the source table. */ + schema?: MapperTableSchema[]; + /** List of name/value pairs for connection properties. */ + dslConnectorProperties?: MapperDslConnectorProperties[]; +} + +/** Schema of a CDC table in terms of column names and their corresponding data types. */ +export interface MapperTableSchema { + /** Name of the column. */ + name?: string; + /** Data type of the column. */ + dataType?: string; +} + +/** Connector properties of a CDC table in terms of name / value pairs. */ +export interface MapperDslConnectorProperties { + /** Name of the property. */ + name?: string; + /** Value of the property. */ + value?: any; +} + +/** Source connection details. */ +export interface MapperConnection { + /** Linked service reference. */ + linkedService?: LinkedServiceReference; + /** Type of the linked service e.g.: AzureBlobFS. */ + linkedServiceType?: string; + /** Type of connection via linked service or dataset. */ + type: ConnectionType; + /** A boolean indicating whether linked service is of type inline dataset. Currently only inline datasets are supported. */ + isInlineDataset?: boolean; + /** List of name/value pairs for connection properties. */ + commonDslConnectorProperties?: MapperDslConnectorProperties[]; +} + +/** A object which contains list of tables and connection details for a target connection. */ +export interface MapperTargetConnectionsInfo { + /** List of source tables for a target connection. */ + targetEntities?: MapperTable[]; + /** Source connection details. */ + connection?: MapperConnection; + /** List of table mappings. */ + dataMapperMappings?: DataMapperMapping[]; + /** List of relationship info among the tables. */ + relationships?: any[]; +} + +/** Source and target table mapping details. */ +export interface DataMapperMapping { + /** Name of the target table */ + targetEntityName?: string; + /** Name of the source table */ + sourceEntityName?: string; + /** The connection reference for the source connection. */ + sourceConnectionReference?: MapperConnectionReference; + /** This holds the user provided attribute mapping information. */ + attributeMappingInfo?: MapperAttributeMappings; + /** This holds the source denormalization information used while joining multiple sources. */ + sourceDenormalizeInfo?: any; +} + +/** Source or target connection reference details. */ +export interface MapperConnectionReference { + /** Name of the connection */ + connectionName?: string; + /** Type of connection via linked service or dataset. */ + type?: ConnectionType; +} + +/** Attribute mapping details. */ +export interface MapperAttributeMappings { + /** List of attribute mappings. */ + attributeMappings?: MapperAttributeMapping[]; +} + +/** Source and target column mapping details. */ +export interface MapperAttributeMapping { + /** Name of the target column. */ + name?: string; + /** Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as 'Derived'. */ + type?: MappingType; + /** Name of the function used for 'Aggregate' and 'Derived' (except 'Advanced') type mapping. */ + functionName?: string; + /** Expression used for 'Aggregate' and 'Derived' type mapping. */ + expression?: string; + /** Reference of the source column used in the mapping. It is used for 'Direct' mapping type only. */ + attributeReference?: MapperAttributeReference; + /** List of references for source columns. It is used for 'Derived' and 'Aggregate' type mappings only. */ + attributeReferences?: MapperAttributeReference[]; +} + +/** Attribute reference details for the referred column. */ +export interface MapperAttributeReference { + /** Name of the column. */ + name?: string; + /** Name of the table. */ + entity?: string; + /** The connection reference for the connection. */ + entityConnectionReference?: MapperConnectionReference; +} + +/** CDC Policy. */ +export interface MapperPolicy { + /** Mode of running the CDC: batch vs continuous. */ + mode?: string; + /** Defines the frequency and interval for running the CDC for batch mode. */ + recurrence?: MapperPolicyRecurrence; +} + +/** CDC policy recurrence details. */ +export interface MapperPolicyRecurrence { + /** Frequency of period in terms of 'Hour', 'Minute' or 'Second'. */ + frequency?: FrequencyType; + /** Actual interval value as per chosen frequency. */ + interval?: number; +} + /** Azure Data Factory expression definition. */ export interface Expression { /** Expression type. */ @@ -2550,6 +2698,15 @@ export interface IntegrationRuntimeDataFlowProperties { timeToLive?: number; /** Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true. */ cleanup?: boolean; + /** Custom properties are used to tune the data flow runtime performance. */ + customProperties?: IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem[]; +} + +export interface IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem { + /** Name of custom property. */ + name?: string; + /** Value of custom property. */ + value?: string; } /** VNet properties for managed integration runtime. */ @@ -2847,7 +3004,7 @@ export interface SsisVariable { /** Sql always encrypted properties. */ export interface SqlAlwaysEncryptedProperties { - /** Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string). */ + /** Sql always encrypted AKV authentication type. Type: string. */ alwaysEncryptedAkvAuthType: SqlAlwaysEncryptedAkvAuthType; /** The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string). */ servicePrincipalId?: any; @@ -3298,6 +3455,12 @@ export interface MongoDbCursorMethodsProperties { limit?: any; } +/** The columns to be read out from the Office 365 table. */ +export interface OutputColumn { + /** Name of the table column. Type: string. */ + name?: string; +} + /** The settings that will be leveraged for Netezza source partitioning. */ export interface NetezzaPartitionSettings { /** The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ @@ -3454,9 +3617,9 @@ export interface SsisPackageLocation { /** SSIS access credential. */ export interface SsisAccessCredential { - /** Domain for windows authentication. */ + /** Domain for windows authentication. Type: string (or Expression with resultType string). */ domain: any; - /** UseName for windows authentication. */ + /** UseName for windows authentication. Type: string (or Expression with resultType string). */ userName: any; /** Password for windows authentication. */ password: SecretBaseUnion; @@ -3476,9 +3639,9 @@ export interface SsisChildPackage { /** SSIS package execution credential. */ export interface SsisExecutionCredential { - /** Domain for windows authentication. */ + /** Domain for windows authentication. Type: string (or Expression with resultType string). */ domain: any; - /** UseName for windows authentication. */ + /** UseName for windows authentication. Type: string (or Expression with resultType string). */ userName: any; /** Password for windows authentication. */ password: SecureString; @@ -3560,6 +3723,14 @@ export interface AzureMLWebServiceFile { linkedServiceName: LinkedServiceReference; } +/** Execution policy for an activity that supports secure input and output. */ +export interface SecureInputOutputPolicy { + /** When set to true, Input from activity is considered as secure and will not be logged to monitoring. */ + secureInput?: boolean; + /** When set to true, Output from activity is considered as secure and will not be logged to monitoring. */ + secureOutput?: boolean; +} + /** Execute data flow activity properties. */ export interface ExecuteDataFlowActivityTypeProperties { /** Data flow reference. */ @@ -3612,7 +3783,7 @@ export interface ScriptActivityParameter { name?: any; /** The type of the parameter. */ type?: ScriptActivityParameterType; - /** The value of the parameter. */ + /** The value of the parameter. Type: string (or Expression with resultType string). */ value?: any; /** The direction of the parameter. */ direction?: ScriptActivityParameterDirection; @@ -3652,14 +3823,6 @@ export interface NotebookParameter { type?: NotebookParameterType; } -/** Synapse spark job reference type. */ -export interface SynapseSparkJobReference { - /** Synapse spark job reference type. */ - type: SparkJobReferenceType; - /** Reference spark job name. Expression with resultType string. */ - referenceName: any; -} - /** Spark configuration reference. */ export interface SparkConfigurationParametrizationReference { /** Spark configuration reference type. */ @@ -3668,6 +3831,14 @@ export interface SparkConfigurationParametrizationReference { referenceName: any; } +/** Synapse spark job reference type. */ +export interface SynapseSparkJobReference { + /** Synapse spark job reference type. */ + type: SparkJobReferenceType; + /** Reference spark job name. Expression with resultType string. */ + referenceName: any; +} + /** The workflow trigger recurrence. */ export interface ScheduleTriggerRecurrence { /** Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -3916,6 +4087,26 @@ export interface GlobalParameterResource extends SubResource { properties: { [propertyName: string]: GlobalParameterSpecification }; } +/** Change data capture resource type. */ +export interface ChangeDataCaptureResource extends SubResource { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The folder that this CDC is in. If not specified, CDC will appear at the root level. */ + folder?: ChangeDataCaptureFolder; + /** The description of the change data capture. */ + description?: string; + /** List of sources connections that can be used as sources in the CDC. */ + sourceConnectionsInfo: MapperSourceConnectionsInfo[]; + /** List of target connections that can be used as sources in the CDC. */ + targetConnectionsInfo: MapperTargetConnectionsInfo[]; + /** CDC policy */ + policy: MapperPolicy; + /** A boolean to determine if the vnet configuration needs to be overwritten. */ + allowVNetOverride?: boolean; + /** Status of the CDC as to if it is running or stopped. */ + status?: string; +} + /** Credential resource type. */ export interface CredentialResource extends SubResource { /** Properties of credentials. */ @@ -4086,7 +4277,7 @@ export interface AzureStorageLinkedService extends LinkedService { sasUri?: any; /** The Azure key vault secret reference of sasToken in sas uri. */ sasToken?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; } @@ -4103,7 +4294,7 @@ export interface AzureBlobStorageLinkedService extends LinkedService { /** The Azure key vault secret reference of sasToken in sas uri. */ sasToken?: AzureKeyVaultSecretReference; /** Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with connectionString, sasUri property. */ - serviceEndpoint?: string; + serviceEndpoint?: any; /** The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). */ servicePrincipalId?: any; /** The key of the service principal used to authenticate against Azure SQL Data Warehouse. */ @@ -4113,8 +4304,8 @@ export interface AzureBlobStorageLinkedService extends LinkedService { /** 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; /** Specify the kind of your storage account. Allowed values are: Storage (general purpose v1), StorageV2 (general purpose v2), BlobStorage, or BlockBlobStorage. Type: string (or Expression with resultType string). */ - accountKind?: string; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + accountKind?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; @@ -4136,7 +4327,7 @@ export interface AzureTableStorageLinkedService extends LinkedService { sasUri?: any; /** The Azure key vault secret reference of sasToken in sas uri. */ sasToken?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; } @@ -4156,8 +4347,8 @@ export interface AzureSqlDWLinkedService extends LinkedService { 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 encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; } @@ -4172,8 +4363,8 @@ export interface SqlServerLinkedService extends LinkedService { userName?: any; /** The on-premises Windows authentication password. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** Sql always encrypted properties. */ alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; } @@ -4188,8 +4379,8 @@ export interface AmazonRdsForSqlServerLinkedService extends LinkedService { userName?: any; /** The on-premises Windows authentication password. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** Sql always encrypted properties. */ alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; } @@ -4210,8 +4401,8 @@ export interface AzureSqlDatabaseLinkedService extends LinkedService { 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 encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** Sql always encrypted properties. */ alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; /** The credential reference containing authentication information. */ @@ -4234,8 +4425,8 @@ export interface AzureSqlMILinkedService extends LinkedService { 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 encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** Sql always encrypted properties. */ alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; /** The credential reference containing authentication information. */ @@ -4256,8 +4447,8 @@ export interface AzureBatchLinkedService extends LinkedService { poolName: any; /** The Azure Storage linked service reference. */ linkedServiceName: LinkedServiceReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; } @@ -4286,18 +4477,18 @@ export interface CosmosDbLinkedService extends LinkedService { 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). */ - servicePrincipalCredentialType?: CosmosDbServicePrincipalCredentialType; + /** The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string. */ + servicePrincipalCredentialType?: any; /** 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). */ + /** The connection mode used to access CosmosDB account. Type: string. */ connectionMode?: CosmosDbConnectionMode; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; } @@ -4328,8 +4519,8 @@ export interface DynamicsLinkedService extends LinkedService { servicePrincipalCredentialType?: any; /** 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 encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; } @@ -4360,8 +4551,8 @@ export interface DynamicsCrmLinkedService extends LinkedService { servicePrincipalCredentialType?: any; /** 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 encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Common Data Service for Apps linked service. */ @@ -4390,8 +4581,8 @@ export interface CommonDataServiceForAppsLinkedService extends LinkedService { servicePrincipalCredentialType?: any; /** 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 encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** HDInsight linked service. */ @@ -4408,8 +4599,8 @@ export interface HDInsightLinkedService extends LinkedService { linkedServiceName?: LinkedServiceReference; /** A reference to the Azure SQL linked service that points to the HCatalog database. */ hcatalogLinkedServiceName?: LinkedServiceReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. */ isEspEnabled?: any; /** Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). */ @@ -4426,8 +4617,8 @@ export interface FileServerLinkedService extends LinkedService { userId?: any; /** Password to logon the server. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Azure File Storage linked service. */ @@ -4452,8 +4643,8 @@ export interface AzureFileStorageLinkedService extends LinkedService { fileShare?: any; /** The azure file share snapshot version. Type: string (or Expression with resultType string). */ snapshot?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Amazon S3 Compatible. */ @@ -4468,8 +4659,8 @@ export interface AmazonS3CompatibleLinkedService extends LinkedService { serviceUrl?: any; /** If true, use S3 path-style access instead of virtual hosted-style access. Default value is false. Type: boolean (or Expression with resultType boolean). */ forcePathStyle?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Oracle Cloud Storage. */ @@ -4482,8 +4673,8 @@ export interface OracleCloudStorageLinkedService extends LinkedService { secretAccessKey?: SecretBaseUnion; /** This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ serviceUrl?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Google Cloud Storage. */ @@ -4496,8 +4687,8 @@ export interface GoogleCloudStorageLinkedService extends LinkedService { secretAccessKey?: SecretBaseUnion; /** This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ serviceUrl?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Oracle database. */ @@ -4508,8 +4699,8 @@ export interface OracleLinkedService extends LinkedService { connectionString: any; /** The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** AmazonRdsForOracle database. */ @@ -4520,8 +4711,8 @@ export interface AmazonRdsForOracleLinkedService extends LinkedService { connectionString: any; /** The Azure key vault secret reference of password in connection string. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Azure MySQL database linked service. */ @@ -4532,32 +4723,32 @@ export interface AzureMySqlLinkedService extends LinkedService { connectionString: any; /** The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for MySQL data source. */ export interface MySqlLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "MySql"; - /** The connection string. */ + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ connectionString: any; /** The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for PostgreSQL data source. */ export interface PostgreSqlLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "PostgreSql"; - /** The connection string. */ + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ connectionString: any; /** The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Sybase data source. */ @@ -4576,8 +4767,8 @@ export interface SybaseLinkedService extends LinkedService { username?: any; /** Password for authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for DB2 data source. */ @@ -4600,8 +4791,8 @@ export interface Db2LinkedService extends LinkedService { packageCollection?: any; /** Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ certificateCommonName?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string. */ + encryptedCredential?: string; } /** Linked service for Teradata data source. */ @@ -4618,8 +4809,8 @@ export interface TeradataLinkedService extends LinkedService { username?: any; /** Password for authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Azure ML Studio Web Service linked service. */ @@ -4638,8 +4829,8 @@ export interface AzureMLLinkedService extends LinkedService { servicePrincipalKey?: SecretBaseUnion; /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ tenant?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string). */ authentication?: any; } @@ -4654,21 +4845,23 @@ export interface AzureMLServiceLinkedService extends LinkedService { resourceGroupName: any; /** Azure ML Service workspace name. Type: string (or Expression with resultType string). */ mlWorkspaceName: any; + /** Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string). */ + authentication?: any; /** The ID of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. Type: string (or Expression with resultType string). */ servicePrincipalId?: any; /** The key of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. */ servicePrincipalKey?: SecretBaseUnion; /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ tenant?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Open Database Connectivity (ODBC) linked service. */ export interface OdbcLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Odbc"; - /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ + /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. */ connectionString: any; /** Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ authenticationType?: any; @@ -4678,15 +4871,15 @@ export interface OdbcLinkedService extends LinkedService { userName?: any; /** Password for Basic authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Informix linked service. */ export interface InformixLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Informix"; - /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ + /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. */ connectionString: any; /** Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ authenticationType?: any; @@ -4696,15 +4889,15 @@ export interface InformixLinkedService extends LinkedService { userName?: any; /** Password for Basic authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Microsoft Access linked service. */ export interface MicrosoftAccessLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "MicrosoftAccess"; - /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ + /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. */ connectionString: any; /** Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ authenticationType?: any; @@ -4714,8 +4907,8 @@ export interface MicrosoftAccessLinkedService extends LinkedService { userName?: any; /** Password for Basic authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Hadoop Distributed File System (HDFS) linked service. */ @@ -4726,8 +4919,8 @@ export interface HdfsLinkedService extends LinkedService { url: any; /** Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string). */ authenticationType?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** User name for Windows authentication. Type: string (or Expression with resultType string). */ userName?: any; /** Password for Windows authentication. */ @@ -4764,8 +4957,8 @@ export interface ODataLinkedService extends LinkedService { servicePrincipalEmbeddedCert?: SecretBaseUnion; /** Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). */ servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Web linked service. */ @@ -4790,8 +4983,8 @@ export interface CassandraLinkedService extends LinkedService { username?: any; /** Password for authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for MongoDb data source. */ @@ -4816,8 +5009,8 @@ export interface MongoDbLinkedService extends LinkedService { enableSsl?: any; /** Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean). */ allowSelfSignedServerCert?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for MongoDB Atlas data source. */ @@ -4828,6 +5021,8 @@ export interface MongoDbAtlasLinkedService extends LinkedService { connectionString: any; /** The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string). */ database: any; + /** The driver version that you want to choose. Allowed value are v1 and v2. Type: string (or Expression with resultType string). */ + driverVersion?: any; } /** Linked service for MongoDB data source. */ @@ -4872,8 +5067,8 @@ export interface AzureDataLakeStoreLinkedService extends LinkedService { subscriptionId?: any; /** Data Lake Store account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). */ resourceGroupName?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; } @@ -4894,8 +5089,8 @@ export interface AzureBlobFSLinkedService extends LinkedService { 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 encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; /** 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). */ @@ -4920,8 +5115,8 @@ export interface Office365LinkedService extends LinkedService { servicePrincipalId: any; /** Specify the application's key. */ servicePrincipalKey: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Salesforce. */ @@ -4938,8 +5133,8 @@ export interface SalesforceLinkedService extends LinkedService { securityToken?: SecretBaseUnion; /** The Salesforce API version used in ADF. Type: string (or Expression with resultType string). */ apiVersion?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Salesforce Service Cloud. */ @@ -4958,8 +5153,8 @@ export interface SalesforceServiceCloudLinkedService extends LinkedService { apiVersion?: any; /** Extended properties appended to the connection string. Type: string (or Expression with resultType string). */ extendedProperties?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for SAP Cloud for Customer. */ @@ -4972,8 +5167,8 @@ export interface SapCloudForCustomerLinkedService extends LinkedService { username?: any; /** The password for Basic authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string. */ + encryptedCredential?: string; } /** Linked service for SAP ERP Central Component(SAP ECC). */ @@ -4981,12 +5176,12 @@ export interface SapEccLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "SapEcc"; /** The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string). */ - url: string; + url: any; /** The username for Basic authentication. Type: string (or Expression with resultType string). */ - username?: string; + username?: any; /** The password for Basic authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). */ + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string. */ encryptedCredential?: string; } @@ -5014,8 +5209,8 @@ export interface SapOpenHubLinkedService extends LinkedService { messageServerService?: any; /** The Logon Group for the SAP System. Type: string (or Expression with resultType string). */ logonGroup?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** SAP ODP Linked Service. */ @@ -5056,38 +5251,38 @@ export interface SapOdpLinkedService extends LinkedService { logonGroup?: any; /** The subscriber name. Type: string (or Expression with resultType string). */ subscriberName?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Rest Service linked service. */ export interface RestServiceLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "RestService"; - /** The base URL of the REST service. */ + /** The base URL of the REST service. Type: string (or Expression with resultType string). */ url: any; /** Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean). */ enableServerCertificateValidation?: any; /** Type of authentication used to connect to the REST service. */ authenticationType: RestServiceAuthenticationType; - /** The user name used in Basic authentication type. */ + /** The user name used in Basic authentication type. Type: string (or Expression with resultType string). */ userName?: any; /** The password used in Basic authentication type. */ password?: SecretBaseUnion; /** The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). */ authHeaders?: any; - /** The application's client ID used in AadServicePrincipal authentication type. */ + /** The application's client ID used in AadServicePrincipal authentication type. Type: string (or Expression with resultType string). */ servicePrincipalId?: any; /** The application's key used in AadServicePrincipal authentication type. */ servicePrincipalKey?: SecretBaseUnion; - /** The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. */ + /** The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. 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 resource you are requesting authorization to use. */ + /** The resource you are requesting authorization to use. Type: string (or Expression with resultType string). */ aadResourceId?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; /** The client ID associated with your application. Type: string (or Expression with resultType string). */ @@ -5116,8 +5311,8 @@ export interface TeamDeskLinkedService extends LinkedService { password?: SecretBaseUnion; /** The api token for the TeamDesk source. */ apiToken?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Quickbase. */ @@ -5128,8 +5323,8 @@ export interface QuickbaseLinkedService extends LinkedService { url: any; /** The user token for the Quickbase source. */ userToken: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Smartsheet. */ @@ -5138,8 +5333,8 @@ export interface SmartsheetLinkedService extends LinkedService { type: "Smartsheet"; /** The api token for the Smartsheet source. */ apiToken: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Zendesk. */ @@ -5156,8 +5351,8 @@ export interface ZendeskLinkedService extends LinkedService { password?: SecretBaseUnion; /** The api token for the Zendesk source. */ apiToken?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Dataworld. */ @@ -5166,15 +5361,15 @@ export interface DataworldLinkedService extends LinkedService { type: "Dataworld"; /** The api token for the Dataworld source. */ apiToken: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for AppFigures. */ export interface AppFiguresLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "AppFigures"; - /** The username of the Appfigures source. */ + /** The username of the Appfigures source. Type: string (or Expression with resultType string). */ userName: any; /** The password of the AppFigures source. */ password: SecretBaseUnion; @@ -5188,15 +5383,15 @@ export interface AsanaLinkedService extends LinkedService { type: "Asana"; /** The api token for the Asana source. */ apiToken: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Twilio. */ export interface TwilioLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Twilio"; - /** The Account SID of Twilio service. */ + /** The Account SID of Twilio service. Type: string (or Expression with resultType string). */ userName: any; /** The auth token of Twilio service. */ password: SecretBaseUnion; @@ -5208,8 +5403,8 @@ export interface GoogleSheetsLinkedService extends LinkedService { type: "GoogleSheets"; /** The api token for the GoogleSheets source. */ apiToken: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Amazon S3. */ @@ -5226,8 +5421,8 @@ export interface AmazonS3LinkedService extends LinkedService { 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). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for Amazon Redshift. */ @@ -5244,8 +5439,8 @@ export interface AmazonRedshiftLinkedService extends LinkedService { database: any; /** The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer). */ port?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Custom linked service. */ @@ -5264,8 +5459,8 @@ export interface AzureSearchLinkedService extends LinkedService { url: any; /** Admin Key for Azure Search service */ key?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Linked service for an HTTP source. */ @@ -5286,8 +5481,8 @@ export interface HttpLinkedService extends LinkedService { embeddedCertData?: any; /** Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). */ certThumbprint?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). */ enableServerCertificateValidation?: any; } @@ -5306,8 +5501,8 @@ export interface FtpServerLinkedService extends LinkedService { userName?: any; /** Password to logon the FTP server. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). */ enableSsl?: any; /** If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). */ @@ -5328,8 +5523,8 @@ export interface SftpServerLinkedService extends LinkedService { userName?: any; /** Password to logon the SFTP server for Basic authentication. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string). */ privateKeyPath?: any; /** Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. */ @@ -5356,8 +5551,8 @@ export interface SapBWLinkedService extends LinkedService { userName?: any; /** Password to access the SAP BW server. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** SAP HANA Linked Service. */ @@ -5374,8 +5569,8 @@ export interface SapHanaLinkedService extends LinkedService { userName?: any; /** Password to access the SAP HANA server. */ password?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Amazon Marketplace Web Service linked service. */ @@ -5400,8 +5595,8 @@ export interface AmazonMWSLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Azure PostgreSQL linked service. */ @@ -5412,8 +5607,8 @@ export interface AzurePostgreSqlLinkedService extends LinkedService { connectionString?: any; /** The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Concur Service linked service. */ @@ -5434,8 +5629,8 @@ export interface ConcurLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Couchbase server linked service. */ @@ -5446,8 +5641,8 @@ export interface CouchbaseLinkedService extends LinkedService { connectionString?: any; /** The Azure key vault secret reference of credString in connection string. */ credString?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Drill server linked service. */ @@ -5458,8 +5653,8 @@ export interface DrillLinkedService extends LinkedService { connectionString?: any; /** The Azure key vault secret reference of password in connection string. */ pwd?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Eloqua server linked service. */ @@ -5478,19 +5673,19 @@ export interface EloquaLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Google BigQuery service linked service. */ export interface GoogleBigQueryLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "GoogleBigQuery"; - /** The default BigQuery project to query against. */ + /** The default BigQuery project to query against. Type: string (or Expression with resultType string). */ project: any; - /** A comma-separated list of public BigQuery projects to access. */ + /** A comma-separated list of public BigQuery projects to access. Type: string (or Expression with resultType string). */ additionalProjects?: any; - /** Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false. */ + /** Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false. Type: string (or Expression with resultType string). */ requestGoogleDriveScope?: any; /** The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. */ authenticationType: GoogleBigQueryAuthenticationType; @@ -5500,16 +5695,16 @@ export interface GoogleBigQueryLinkedService extends LinkedService { clientId?: any; /** The client secret of the google application used to acquire the refresh token. */ clientSecret?: SecretBaseUnion; - /** The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. */ + /** The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. Type: string (or Expression with resultType string). */ email?: any; - /** The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. */ + /** The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). */ keyFilePath?: any; - /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). */ trustedCertPath?: any; - /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.Type: boolean (or Expression with resultType boolean). */ useSystemTrustStore?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Greenplum Database linked service. */ @@ -5520,8 +5715,8 @@ export interface GreenplumLinkedService extends LinkedService { connectionString?: any; /** The Azure key vault secret reference of password in connection string. */ pwd?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** HBase server linked service. */ @@ -5548,8 +5743,8 @@ export interface HBaseLinkedService extends LinkedService { allowHostNameCNMismatch?: any; /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ allowSelfSignedServerCert?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Hive Server linked service. */ @@ -5588,8 +5783,8 @@ export interface HiveLinkedService extends LinkedService { allowHostNameCNMismatch?: any; /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ allowSelfSignedServerCert?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Hubspot Service linked service. */ @@ -5610,8 +5805,8 @@ export interface HubspotLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Impala server linked service. */ @@ -5638,8 +5833,8 @@ export interface ImpalaLinkedService extends LinkedService { allowHostNameCNMismatch?: any; /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ allowSelfSignedServerCert?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Jira Service linked service. */ @@ -5660,8 +5855,8 @@ export interface JiraLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Magento server linked service. */ @@ -5678,8 +5873,8 @@ export interface MagentoLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** MariaDB server linked service. */ @@ -5690,8 +5885,8 @@ export interface MariaDBLinkedService extends LinkedService { connectionString?: any; /** The Azure key vault secret reference of password in connection string. */ pwd?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Azure Database for MariaDB linked service. */ @@ -5702,8 +5897,8 @@ export interface AzureMariaDBLinkedService extends LinkedService { connectionString?: any; /** The Azure key vault secret reference of password in connection string. */ pwd?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Marketo server linked service. */ @@ -5722,15 +5917,15 @@ export interface MarketoLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Paypal Service linked service. */ export interface PaypalLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Paypal"; - /** The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) */ + /** The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) */ host: any; /** The client ID associated with your PayPal application. */ clientId: any; @@ -5742,8 +5937,8 @@ export interface PaypalLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Phoenix server linked service. */ @@ -5772,8 +5967,8 @@ export interface PhoenixLinkedService extends LinkedService { allowHostNameCNMismatch?: any; /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ allowSelfSignedServerCert?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Presto server linked service. */ @@ -5806,8 +6001,8 @@ export interface PrestoLinkedService extends LinkedService { allowSelfSignedServerCert?: any; /** The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. */ timeZoneID?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** QuickBooks server linked service. */ @@ -5830,8 +6025,8 @@ export interface QuickBooksLinkedService extends LinkedService { accessTokenSecret?: SecretBaseUnion; /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ useEncryptedEndpoints?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** ServiceNow server linked service. */ @@ -5856,8 +6051,8 @@ export interface ServiceNowLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Shopify Service linked service. */ @@ -5874,8 +6069,8 @@ export interface ShopifyLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Spark Server linked service. */ @@ -5908,8 +6103,8 @@ export interface SparkLinkedService extends LinkedService { allowHostNameCNMismatch?: any; /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ allowSelfSignedServerCert?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Square Service linked service. */ @@ -5918,7 +6113,7 @@ export interface SquareLinkedService extends LinkedService { type: "Square"; /** Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object. */ connectionProperties?: any; - /** The URL of the Square instance. (i.e. mystore.mysquare.com) */ + /** The URL of the Square instance. (i.e. mystore.mysquare.com) */ host?: any; /** The client ID associated with your Square application. */ clientId?: any; @@ -5932,8 +6127,8 @@ export interface SquareLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Xero Service linked service. */ @@ -5957,8 +6152,8 @@ export interface XeroLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Zoho server linked service. */ @@ -5977,8 +6172,8 @@ export interface ZohoLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Vertica linked service. */ @@ -5989,8 +6184,8 @@ export interface VerticaLinkedService extends LinkedService { connectionString?: any; /** The Azure key vault secret reference of password in connection string. */ pwd?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Netezza linked service. */ @@ -6001,8 +6196,8 @@ export interface NetezzaLinkedService extends LinkedService { connectionString?: any; /** The Azure key vault secret reference of password in connection string. */ pwd?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Salesforce Marketing Cloud linked service. */ @@ -6021,8 +6216,8 @@ export interface SalesforceMarketingCloudLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** HDInsight ondemand linked service. */ @@ -6081,8 +6276,8 @@ export interface HDInsightOnDemandLinkedService extends LinkedService { stormConfiguration?: any; /** Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. */ yarnConfiguration?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** Specifies the size of the head node for the HDInsight cluster. */ headNodeSize?: any; /** Specifies the size of the data node for the HDInsight cluster. */ @@ -6117,8 +6312,8 @@ export interface AzureDataLakeAnalyticsLinkedService extends LinkedService { resourceGroupName?: any; /** Azure Data Lake Analytics URI Type: string (or Expression with resultType string). */ dataLakeAnalyticsUri?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Azure Databricks linked service. */ @@ -6157,8 +6352,8 @@ export interface AzureDatabricksLinkedService extends LinkedService { newClusterInitScripts?: any; /** Enable the elastic disk on the new cluster. This property is now ignored, and takes the default elastic disk behavior in Databricks (elastic disks are always enabled). Type: boolean (or Expression with resultType boolean). */ newClusterEnableElasticDisk?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** 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; /** The credential reference containing authentication information. */ @@ -6175,8 +6370,8 @@ export interface AzureDatabricksDeltaLakeLinkedService extends LinkedService { accessToken?: SecretBaseUnion; /** The id of an existing interactive cluster that will be used for all runs of this job. Type: string (or Expression with resultType string). */ clusterId?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; /** Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). */ @@ -6199,8 +6394,8 @@ export interface ResponsysLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Dynamics AX linked service. */ @@ -6217,8 +6412,8 @@ export interface DynamicsAXLinkedService extends LinkedService { tenant: any; /** Specify the resource you are requesting authorization. Type: string (or Expression with resultType string). */ aadResourceId: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Oracle Service Cloud linked service. */ @@ -6237,8 +6432,8 @@ export interface OracleServiceCloudLinkedService extends LinkedService { useHostVerification?: any; /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ usePeerVerification?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Google AdWords service linked service. */ @@ -6247,7 +6442,7 @@ export interface GoogleAdWordsLinkedService extends LinkedService { type: "GoogleAdWords"; /** Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked service. Type: object. */ connectionProperties?: any; - /** The Client customer ID of the AdWords account that you want to fetch report data for. */ + /** The Client customer ID of the AdWords account that you want to fetch report data for. Type: string (or Expression with resultType string). */ clientCustomerID?: any; /** The developer token associated with the manager account that you use to grant access to the AdWords API. */ developerToken?: SecretBaseUnion; @@ -6259,16 +6454,16 @@ export interface GoogleAdWordsLinkedService extends LinkedService { clientId?: any; /** The client secret of the google application used to acquire the refresh token. */ clientSecret?: SecretBaseUnion; - /** The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. */ + /** The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. Type: string (or Expression with resultType string). */ email?: any; - /** The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. */ + /** The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). */ keyFilePath?: any; - /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). */ trustedCertPath?: any; - /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean). */ useSystemTrustStore?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** SAP Table Linked Service. */ @@ -6305,8 +6500,8 @@ export interface SapTableLinkedService extends LinkedService { sncQop?: any; /** The Logon Group for the SAP System. Type: string (or Expression with resultType string). */ logonGroup?: any; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Azure Data Explorer (Kusto) linked service. */ @@ -6335,8 +6530,8 @@ export interface AzureFunctionLinkedService extends LinkedService { functionAppUrl: any; /** Function or Host key for Azure Function App. */ functionKey?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; /** The credential reference containing authentication information. */ credential?: CredentialReference; /** Allowed token audiences for azure function. */ @@ -6353,8 +6548,8 @@ export interface SnowflakeLinkedService extends LinkedService { connectionString: any; /** The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** SharePoint Online List linked service. */ @@ -6369,8 +6564,8 @@ export interface SharePointOnlineListLinkedService extends LinkedService { servicePrincipalId: any; /** The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ servicePrincipalKey: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; } /** Azure Synapse Analytics (Artifacts) linked service. */ @@ -6958,10 +7153,10 @@ export interface RestResourceDataset extends Dataset { requestMethod?: any; /** The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). */ requestBody?: any; - /** The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). */ - additionalHeaders?: any; - /** The pagination rules to compose next page requests. Type: string (or Expression with resultType string). */ - paginationRules?: any; + /** The additional HTTP headers in the request to the RESTful API. */ + additionalHeaders?: { [propertyName: string]: any }; + /** The pagination rules to compose next page requests. */ + paginationRules?: { [propertyName: string]: any }; } /** SAP Table Resource properties. */ @@ -7904,8 +8099,8 @@ export interface AzureBlobStorageReadSettings extends StoreReadSettings { prefix?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -7928,8 +8123,8 @@ export interface AzureBlobFSReadSettings extends StoreReadSettings { wildcardFileName?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -7956,8 +8151,8 @@ export interface AzureDataLakeStoreReadSettings extends StoreReadSettings { listAfter?: any; /** Lists files before the value (inclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). */ listBefore?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -7982,8 +8177,8 @@ export interface AmazonS3ReadSettings extends StoreReadSettings { prefix?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -8006,8 +8201,8 @@ export interface FileServerReadSettings extends StoreReadSettings { wildcardFileName?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -8034,8 +8229,8 @@ export interface AzureFileStorageReadSettings extends StoreReadSettings { prefix?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -8060,8 +8255,8 @@ export interface AmazonS3CompatibleReadSettings extends StoreReadSettings { prefix?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -8086,8 +8281,8 @@ export interface OracleCloudStorageReadSettings extends StoreReadSettings { prefix?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -8112,8 +8307,8 @@ export interface GoogleCloudStorageReadSettings extends StoreReadSettings { prefix?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -8134,16 +8329,16 @@ export interface FtpReadSettings extends StoreReadSettings { wildcardFolderPath?: any; /** Ftp wildcardFileName. Type: string (or Expression with resultType string). */ wildcardFileName?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ deleteFilesAfterCompletion?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Specify whether to use binary transfer mode for FTP stores. */ - useBinaryTransfer?: boolean; + /** Specify whether to use binary transfer mode for FTP stores. Type: boolean (or Expression with resultType boolean). */ + useBinaryTransfer?: any; /** If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). */ disableChunking?: any; } @@ -8158,8 +8353,8 @@ export interface SftpReadSettings extends StoreReadSettings { wildcardFolderPath?: any; /** Sftp wildcardFileName. Type: string (or Expression with resultType string). */ wildcardFileName?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ @@ -8174,7 +8369,7 @@ export interface SftpReadSettings extends StoreReadSettings { disableChunking?: any; } -/** Sftp read settings. */ +/** Http read settings. */ export interface HttpReadSettings extends StoreReadSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "HttpReadSettings"; @@ -8184,12 +8379,10 @@ export interface HttpReadSettings extends StoreReadSettings { requestBody?: any; /** The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). */ additionalHeaders?: any; - /** Specifies the timeout for a HTTP client to get HTTP response from HTTP server. */ + /** Specifies the timeout for a HTTP client to get HTTP response from HTTP server. Type: string (or Expression with resultType string). */ requestTimeout?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; - /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - partitionRootPath?: any; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: any; } /** HDFS read settings. */ @@ -8204,8 +8397,8 @@ export interface HdfsReadSettings extends StoreReadSettings { wildcardFileName?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; - /** Indicates whether to enable partition discovery. */ - enablePartitionDiscovery?: boolean; + /** Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ + enablePartitionDiscovery?: any; /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ partitionRootPath?: any; /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ @@ -8248,7 +8441,7 @@ export interface AzureBlobFSWriteSettings extends StoreWriteSettings { export interface AzureDataLakeStoreWriteSettings extends StoreWriteSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "AzureDataLakeStoreWriteSettings"; - /** Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with resultType integer). */ + /** Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string). */ expiryDateTime?: any; } @@ -8652,8 +8845,8 @@ export interface SalesforceServiceCloudSource extends CopySource { type: "SalesforceServiceCloudSource"; /** Database query. Type: string (or Expression with resultType string). */ query?: any; - /** The read behavior for the operation. Default is Query. */ - readBehavior?: SalesforceSourceReadBehavior; + /** The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or Expression with resultType string). */ + readBehavior?: any; /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; } @@ -8824,7 +9017,7 @@ export interface Office365Source extends CopySource { startTime?: any; /** End time of the requested range for this dataset. Type: string (or Expression with resultType string). */ endTime?: any; - /** The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ] */ + /** The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ] */ outputColumns?: any; } @@ -9200,7 +9393,7 @@ export interface OracleSink extends CopySink { export interface AzureDataLakeStoreSink extends CopySink { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "AzureDataLakeStoreSink"; - /** The type of copy behavior for copy sink. */ + /** The type of copy behavior for copy sink. Type: string (or Expression with resultType string). */ copyBehavior?: any; /** Single File Parallel. */ enableAdlsSingleFileParallel?: any; @@ -9210,7 +9403,7 @@ export interface AzureDataLakeStoreSink extends CopySink { export interface AzureBlobFSSink extends CopySink { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "AzureBlobFSSink"; - /** The type of copy behavior for copy sink. */ + /** The type of copy behavior for copy sink. Type: string (or Expression with resultType string). */ copyBehavior?: any; /** Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). */ metadata?: MetadataItem[]; @@ -9490,7 +9683,7 @@ export interface ForEachActivity extends ControlActivity { export interface WaitActivity extends ControlActivity { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Wait"; - /** Duration in seconds. */ + /** Duration in seconds. Type: integer (or Expression with resultType integer). */ waitTimeInSeconds: any; } @@ -9510,7 +9703,7 @@ export interface UntilActivity extends ControlActivity { type: "Until"; /** An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true */ expression: Expression; - /** 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])). */ + /** 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])). */ timeout?: any; /** List of activities to execute. */ activities: ActivityUnion[]; @@ -9546,10 +9739,14 @@ export interface FilterActivity extends ControlActivity { export interface SetVariableActivity extends ControlActivity { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "SetVariable"; + /** Activity policy. */ + policy?: SecureInputOutputPolicy; /** Name of the variable whose value needs to be set. */ variableName?: string; - /** Value to be set. Could be a static value or Expression */ + /** Value to be set. Could be a static value or Expression. */ value?: any; + /** If set to true, it sets the pipeline run return value. */ + setSystemVariable?: boolean; } /** Append value for a Variable of type Array. */ @@ -9558,7 +9755,7 @@ export interface AppendVariableActivity extends ControlActivity { type: "AppendVariable"; /** Name of the variable whose value needs to be appended to. */ variableName?: string; - /** Value to be appended. Could be a static value or Expression */ + /** Value to be appended. Type: could be a static value matching type of the variable item or Expression with resultType matching type of the variable item */ value?: any; } @@ -9639,7 +9836,7 @@ export interface HDInsightHiveActivity extends ExecutionActivity { /** Allows user to specify defines for Hive job request. */ defines?: { [propertyName: string]: any }; /** User specified arguments under hivevar namespace. */ - variables?: any[]; + variables?: { [propertyName: string]: any }; /** Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package) */ queryTimeout?: number; } @@ -10044,8 +10241,14 @@ export interface SynapseNotebookActivity extends ExecutionActivity { conf?: any; /** Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string). */ driverSize?: any; - /** Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide. */ - numExecutors?: number; + /** Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide. Type: integer (or Expression with resultType integer). */ + numExecutors?: any; + /** The type of the spark config. */ + configurationType?: ConfigurationType; + /** The spark configuration of the spark job. */ + targetSparkConfiguration?: SparkConfigurationParametrizationReference; + /** Spark configuration property. */ + sparkConfig?: { [propertyName: string]: any }; } /** Execute spark job activity. */ @@ -10220,8 +10423,8 @@ export interface SalesforceSource extends TabularSource { type: "SalesforceSource"; /** Database query. Type: string (or Expression with resultType string). */ query?: any; - /** The read behavior for the operation. Default is Query. */ - readBehavior?: SalesforceSourceReadBehavior; + /** The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or Expression with resultType string). */ + readBehavior?: any; } /** A copy activity source for SAP Cloud for Customer source. */ @@ -10338,6 +10541,8 @@ export interface SqlServerSource extends TabularSource { sqlReaderStoredProcedureName?: any; /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ storedProcedureParameters?: any; + /** Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ + isolationLevel?: any; /** Which additional types to produce. */ produceAdditionalTypes?: any; /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ @@ -10356,6 +10561,8 @@ export interface AmazonRdsForSqlServerSource extends TabularSource { sqlReaderStoredProcedureName?: any; /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ storedProcedureParameters?: any; + /** Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ + isolationLevel?: any; /** Which additional types to produce. */ produceAdditionalTypes?: any; /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ @@ -10374,6 +10581,8 @@ export interface AzureSqlSource extends TabularSource { sqlReaderStoredProcedureName?: any; /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ storedProcedureParameters?: any; + /** Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ + isolationLevel?: any; /** Which additional types to produce. */ produceAdditionalTypes?: any; /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ @@ -10392,6 +10601,8 @@ export interface SqlMISource extends TabularSource { sqlReaderStoredProcedureName?: any; /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ storedProcedureParameters?: any; + /** Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ + isolationLevel?: any; /** Which additional types to produce. */ produceAdditionalTypes?: any; /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ @@ -10410,6 +10621,8 @@ export interface SqlDWSource extends TabularSource { sqlReaderStoredProcedureName?: any; /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. */ storedProcedureParameters?: any; + /** Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ + isolationLevel?: any; /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ partitionOption?: any; /** The settings that will be leveraged for Sql source partitioning. */ @@ -11048,6 +11261,45 @@ export enum KnownType { */ export type Type = string; +/** Known values of {@link ActivityState} that the service accepts. */ +export enum KnownActivityState { + /** Active */ + Active = "Active", + /** Inactive */ + Inactive = "Inactive" +} + +/** + * Defines values for ActivityState. \ + * {@link KnownActivityState} can be used interchangeably with ActivityState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Active** \ + * **Inactive** + */ +export type ActivityState = string; + +/** Known values of {@link ActivityOnInactiveMarkAs} that the service accepts. */ +export enum KnownActivityOnInactiveMarkAs { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Skipped */ + Skipped = "Skipped" +} + +/** + * Defines values for ActivityOnInactiveMarkAs. \ + * {@link KnownActivityOnInactiveMarkAs} can be used interchangeably with ActivityOnInactiveMarkAs, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Skipped** + */ +export type ActivityOnInactiveMarkAs = string; + /** Known values of {@link DependencyCondition} that the service accepts. */ export enum KnownDependencyCondition { /** Succeeded */ @@ -11312,6 +11564,63 @@ export enum KnownDataFlowDebugCommandType { */ export type DataFlowDebugCommandType = string; +/** Known values of {@link ConnectionType} that the service accepts. */ +export enum KnownConnectionType { + /** Linkedservicetype */ + Linkedservicetype = "linkedservicetype" +} + +/** + * Defines values for ConnectionType. \ + * {@link KnownConnectionType} can be used interchangeably with ConnectionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **linkedservicetype** + */ +export type ConnectionType = string; + +/** Known values of {@link MappingType} that the service accepts. */ +export enum KnownMappingType { + /** Direct */ + Direct = "Direct", + /** Derived */ + Derived = "Derived", + /** Aggregate */ + Aggregate = "Aggregate" +} + +/** + * Defines values for MappingType. \ + * {@link KnownMappingType} can be used interchangeably with MappingType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Direct** \ + * **Derived** \ + * **Aggregate** + */ +export type MappingType = string; + +/** Known values of {@link FrequencyType} that the service accepts. */ +export enum KnownFrequencyType { + /** Hour */ + Hour = "Hour", + /** Minute */ + Minute = "Minute", + /** Second */ + Second = "Second" +} + +/** + * Defines values for FrequencyType. \ + * {@link KnownFrequencyType} can be used interchangeably with FrequencyType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Hour** \ + * **Minute** \ + * **Second** + */ +export type FrequencyType = string; + /** Known values of {@link DataFlowReferenceType} that the service accepts. */ export enum KnownDataFlowReferenceType { /** DataFlowReference */ @@ -11549,24 +11858,6 @@ export enum KnownSqlAlwaysEncryptedAkvAuthType { */ export type SqlAlwaysEncryptedAkvAuthType = string; -/** Known values of {@link CosmosDbServicePrincipalCredentialType} that the service accepts. */ -export enum KnownCosmosDbServicePrincipalCredentialType { - /** ServicePrincipalKey */ - ServicePrincipalKey = "ServicePrincipalKey", - /** ServicePrincipalCert */ - ServicePrincipalCert = "ServicePrincipalCert" -} - -/** - * Defines values for CosmosDbServicePrincipalCredentialType. \ - * {@link KnownCosmosDbServicePrincipalCredentialType} can be used interchangeably with CosmosDbServicePrincipalCredentialType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ServicePrincipalKey** \ - * **ServicePrincipalCert** - */ -export type CosmosDbServicePrincipalCredentialType = string; - /** Known values of {@link CosmosDbConnectionMode} that the service accepts. */ export enum KnownCosmosDbConnectionMode { /** Gateway */ @@ -12131,24 +12422,6 @@ export enum KnownGoogleAdWordsAuthenticationType { */ export type GoogleAdWordsAuthenticationType = string; -/** Known values of {@link SalesforceSourceReadBehavior} that the service accepts. */ -export enum KnownSalesforceSourceReadBehavior { - /** Query */ - Query = "Query", - /** QueryAll */ - QueryAll = "QueryAll" -} - -/** - * Defines values for SalesforceSourceReadBehavior. \ - * {@link KnownSalesforceSourceReadBehavior} can be used interchangeably with SalesforceSourceReadBehavior, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Query** \ - * **QueryAll** - */ -export type SalesforceSourceReadBehavior = string; - /** Known values of {@link CassandraSourceReadConsistencyLevels} that the service accepts. */ export enum KnownCassandraSourceReadConsistencyLevels { /** ALL */ @@ -12602,21 +12875,6 @@ export enum KnownNotebookParameterType { */ export type NotebookParameterType = string; -/** Known values of {@link SparkJobReferenceType} that the service accepts. */ -export enum KnownSparkJobReferenceType { - /** SparkJobDefinitionReference */ - SparkJobDefinitionReference = "SparkJobDefinitionReference" -} - -/** - * Defines values for SparkJobReferenceType. \ - * {@link KnownSparkJobReferenceType} can be used interchangeably with SparkJobReferenceType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SparkJobDefinitionReference** - */ -export type SparkJobReferenceType = string; - /** Known values of {@link ConfigurationType} that the service accepts. */ export enum KnownConfigurationType { /** Default */ @@ -12653,6 +12911,21 @@ export enum KnownSparkConfigurationReferenceType { */ export type SparkConfigurationReferenceType = string; +/** Known values of {@link SparkJobReferenceType} that the service accepts. */ +export enum KnownSparkJobReferenceType { + /** SparkJobDefinitionReference */ + SparkJobDefinitionReference = "SparkJobDefinitionReference" +} + +/** + * Defines values for SparkJobReferenceType. \ + * {@link KnownSparkJobReferenceType} can be used interchangeably with SparkJobReferenceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SparkJobDefinitionReference** + */ +export type SparkJobReferenceType = string; + /** Known values of {@link RecurrenceFrequency} that the service accepts. */ export enum KnownRecurrenceFrequency { /** NotSpecified */ @@ -12965,6 +13238,24 @@ export enum KnownJsonWriteFilePattern { */ export type JsonWriteFilePattern = string; +/** Known values of {@link SalesforceSourceReadBehavior} that the service accepts. */ +export enum KnownSalesforceSourceReadBehavior { + /** Query */ + Query = "Query", + /** QueryAll */ + QueryAll = "QueryAll" +} + +/** + * Defines values for SalesforceSourceReadBehavior. \ + * {@link KnownSalesforceSourceReadBehavior} can be used interchangeably with SalesforceSourceReadBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Query** \ + * **QueryAll** + */ +export type SalesforceSourceReadBehavior = string; + /** Known values of {@link AmazonRdsForOraclePartitionOption} that the service accepts. */ export enum KnownAmazonRdsForOraclePartitionOption { /** None */ @@ -14029,6 +14320,62 @@ export interface GlobalParametersListByFactoryNextOptionalParams /** Contains response data for the listByFactoryNext operation. */ export type GlobalParametersListByFactoryNextResponse = GlobalParameterListResponse; +/** Optional parameters. */ +export interface ChangeDataCaptureListByFactoryOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByFactory operation. */ +export type ChangeDataCaptureListByFactoryResponse = ChangeDataCaptureListResponse; + +/** Optional parameters. */ +export interface ChangeDataCaptureCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the change data capture entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type ChangeDataCaptureCreateOrUpdateResponse = ChangeDataCaptureResource; + +/** Optional parameters. */ +export interface ChangeDataCaptureGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the change data capture entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} + +/** Contains response data for the get operation. */ +export type ChangeDataCaptureGetResponse = ChangeDataCaptureResource; + +/** Optional parameters. */ +export interface ChangeDataCaptureDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ChangeDataCaptureStartOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ChangeDataCaptureStopOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ChangeDataCaptureStatusOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the status operation. */ +export type ChangeDataCaptureStatusResponse = { + /** The parsed response body. */ + body: string; +}; + +/** Optional parameters. */ +export interface ChangeDataCaptureListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByFactoryNext operation. */ +export type ChangeDataCaptureListByFactoryNextResponse = ChangeDataCaptureListResponse; + /** Optional parameters. */ export interface DataFactoryManagementClientOptionalParams extends coreClient.ServiceClientOptions { diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index 72e2eff797be..407bff09a0d5 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -2003,6 +2003,18 @@ export const Activity: coreClient.CompositeMapper = { name: "String" } }, + state: { + serializedName: "state", + type: { + name: "String" + } + }, + onInactiveMarkAs: { + serializedName: "onInactiveMarkAs", + type: { + name: "String" + } + }, dependsOn: { serializedName: "dependsOn", type: { @@ -3752,68 +3764,524 @@ export const PrivateLinkResourcesWrapper: coreClient.CompositeMapper = { } }; -export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { +export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceProperties", + modelProperties: { + groupId: { + serializedName: "groupId", + readOnly: true, + type: { + name: "String" + } + }, + requiredMembers: { + serializedName: "requiredMembers", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + requiredZoneNames: { + serializedName: "requiredZoneNames", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const GlobalParameterListResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GlobalParameterListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GlobalParameterResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ChangeDataCaptureListResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ChangeDataCaptureListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ChangeDataCaptureResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ChangeDataCaptureFolder: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ChangeDataCaptureFolder", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const MapperSourceConnectionsInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperSourceConnectionsInfo", + modelProperties: { + sourceEntities: { + serializedName: "sourceEntities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperTable" + } + } + } + }, + connection: { + serializedName: "connection", + type: { + name: "Composite", + className: "MapperConnection" + } + } + } + } +}; + +export const MapperTable: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperTable", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + schema: { + serializedName: "properties.schema", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperTableSchema" + } + } + } + }, + dslConnectorProperties: { + serializedName: "properties.dslConnectorProperties", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperDslConnectorProperties" + } + } + } + } + } + } +}; + +export const MapperTableSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperTableSchema", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + dataType: { + serializedName: "dataType", + type: { + name: "String" + } + } + } + } +}; + +export const MapperDslConnectorProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperDslConnectorProperties", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "any" + } + } + } + } +}; + +export const MapperConnection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperConnection", + modelProperties: { + linkedService: { + serializedName: "linkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + linkedServiceType: { + serializedName: "linkedServiceType", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + }, + isInlineDataset: { + serializedName: "isInlineDataset", + type: { + name: "Boolean" + } + }, + commonDslConnectorProperties: { + serializedName: "commonDslConnectorProperties", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperDslConnectorProperties" + } + } + } + } + } + } +}; + +export const MapperTargetConnectionsInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperTargetConnectionsInfo", + modelProperties: { + targetEntities: { + serializedName: "targetEntities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperTable" + } + } + } + }, + connection: { + serializedName: "connection", + type: { + name: "Composite", + className: "MapperConnection" + } + }, + dataMapperMappings: { + serializedName: "dataMapperMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataMapperMapping" + } + } + } + }, + relationships: { + serializedName: "relationships", + type: { + name: "Sequence", + element: { + type: { + name: "any" + } + } + } + } + } + } +}; + +export const DataMapperMapping: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataMapperMapping", + modelProperties: { + targetEntityName: { + serializedName: "targetEntityName", + type: { + name: "String" + } + }, + sourceEntityName: { + serializedName: "sourceEntityName", + type: { + name: "String" + } + }, + sourceConnectionReference: { + serializedName: "sourceConnectionReference", + type: { + name: "Composite", + className: "MapperConnectionReference" + } + }, + attributeMappingInfo: { + serializedName: "attributeMappingInfo", + type: { + name: "Composite", + className: "MapperAttributeMappings" + } + }, + sourceDenormalizeInfo: { + serializedName: "sourceDenormalizeInfo", + type: { + name: "any" + } + } + } + } +}; + +export const MapperConnectionReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperConnectionReference", + modelProperties: { + connectionName: { + serializedName: "connectionName", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const MapperAttributeMappings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperAttributeMappings", + modelProperties: { + attributeMappings: { + serializedName: "attributeMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperAttributeMapping" + } + } + } + } + } + } +}; + +export const MapperAttributeMapping: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperAttributeMapping", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + functionName: { + serializedName: "functionName", + type: { + name: "String" + } + }, + expression: { + serializedName: "expression", + type: { + name: "String" + } + }, + attributeReference: { + serializedName: "attributeReference", + type: { + name: "Composite", + className: "MapperAttributeReference" + } + }, + attributeReferences: { + serializedName: "attributeReferences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperAttributeReference" + } + } + } + } + } + } +}; + +export const MapperAttributeReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperAttributeReference", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + entity: { + serializedName: "entity", + type: { + name: "String" + } + }, + entityConnectionReference: { + serializedName: "entityConnectionReference", + type: { + name: "Composite", + className: "MapperConnectionReference" + } + } + } + } +}; + +export const MapperPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourceProperties", + className: "MapperPolicy", modelProperties: { - groupId: { - serializedName: "groupId", - readOnly: true, + mode: { + serializedName: "mode", type: { name: "String" } }, - requiredMembers: { - serializedName: "requiredMembers", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - requiredZoneNames: { - serializedName: "requiredZoneNames", - readOnly: true, + recurrence: { + serializedName: "recurrence", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "MapperPolicyRecurrence" } } } } }; -export const GlobalParameterListResponse: coreClient.CompositeMapper = { +export const MapperPolicyRecurrence: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GlobalParameterListResponse", + className: "MapperPolicyRecurrence", modelProperties: { - value: { - serializedName: "value", - required: true, + frequency: { + serializedName: "frequency", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GlobalParameterResource" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + interval: { + serializedName: "interval", type: { - name: "String" + name: "Number" } } } @@ -4356,6 +4824,40 @@ export const IntegrationRuntimeDataFlowProperties: coreClient.CompositeMapper = type: { name: "Boolean" } + }, + customProperties: { + serializedName: "customProperties", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: + "IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem" + } + } + } + } + } + } +}; + +export const IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" + } } } } @@ -5869,6 +6371,21 @@ export const MongoDbCursorMethodsProperties: coreClient.CompositeMapper = { } }; +export const OutputColumn: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutputColumn", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + export const NetezzaPartitionSettings: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6627,6 +7144,27 @@ export const AzureMLWebServiceFile: coreClient.CompositeMapper = { } }; +export const SecureInputOutputPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecureInputOutputPolicy", + modelProperties: { + secureInput: { + serializedName: "secureInput", + type: { + name: "Boolean" + } + }, + secureOutput: { + serializedName: "secureOutput", + type: { + name: "Boolean" + } + } + } + } +}; + export const ExecuteDataFlowActivityTypeProperties: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6901,10 +7439,10 @@ export const NotebookParameter: coreClient.CompositeMapper = { } }; -export const SynapseSparkJobReference: coreClient.CompositeMapper = { +export const SparkConfigurationParametrizationReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSparkJobReference", + className: "SparkConfigurationParametrizationReference", modelProperties: { type: { serializedName: "type", @@ -6924,10 +7462,10 @@ export const SynapseSparkJobReference: coreClient.CompositeMapper = { } }; -export const SparkConfigurationParametrizationReference: coreClient.CompositeMapper = { +export const SynapseSparkJobReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkConfigurationParametrizationReference", + className: "SynapseSparkJobReference", modelProperties: { type: { serializedName: "type", @@ -7675,6 +8213,75 @@ export const GlobalParameterResource: coreClient.CompositeMapper = { } }; +export const ChangeDataCaptureResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ChangeDataCaptureResource", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + ...SubResource.type.modelProperties, + folder: { + serializedName: "properties.folder", + type: { + name: "Composite", + className: "ChangeDataCaptureFolder" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + sourceConnectionsInfo: { + serializedName: "properties.sourceConnectionsInfo", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperSourceConnectionsInfo" + } + } + } + }, + targetConnectionsInfo: { + serializedName: "properties.targetConnectionsInfo", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperTargetConnectionsInfo" + } + } + } + }, + policy: { + serializedName: "properties.policy", + type: { + name: "Composite", + className: "MapperPolicy" + } + }, + allowVNetOverride: { + serializedName: "properties.allowVNetOverride", + type: { + name: "Boolean" + } + }, + status: { + serializedName: "properties.status", + type: { + name: "String" + } + } + } + } +}; + export const CredentialResource: coreClient.CompositeMapper = { type: { name: "Composite", @@ -8111,7 +8718,7 @@ export const AzureBlobStorageLinkedService: coreClient.CompositeMapper = { serviceEndpoint: { serializedName: "typeProperties.serviceEndpoint", type: { - name: "String" + name: "any" } }, servicePrincipalId: { @@ -8142,7 +8749,7 @@ export const AzureBlobStorageLinkedService: coreClient.CompositeMapper = { accountKind: { serializedName: "typeProperties.accountKind", type: { - name: "String" + name: "any" } }, encryptedCredential: { @@ -8272,7 +8879,7 @@ export const AzureSqlDWLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -8319,7 +8926,7 @@ export const SqlServerLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, alwaysEncryptedSettings: { @@ -8366,7 +8973,7 @@ export const AmazonRdsForSqlServerLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, alwaysEncryptedSettings: { @@ -8432,7 +9039,7 @@ export const AzureSqlDatabaseLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, alwaysEncryptedSettings: { @@ -8505,7 +9112,7 @@ export const AzureSqlMILinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, alwaysEncryptedSettings: { @@ -8574,7 +9181,7 @@ export const AzureBatchLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -8660,7 +9267,7 @@ export const CosmosDbLinkedService: coreClient.CompositeMapper = { servicePrincipalCredentialType: { serializedName: "typeProperties.servicePrincipalCredentialType", type: { - name: "String" + name: "any" } }, servicePrincipalCredential: { @@ -8691,7 +9298,7 @@ export const CosmosDbLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -8788,7 +9395,7 @@ export const DynamicsLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -8885,7 +9492,7 @@ export const DynamicsCrmLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -8975,7 +9582,7 @@ export const CommonDataServiceForAppsLinkedService: coreClient.CompositeMapper = encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9029,7 +9636,7 @@ export const HDInsightLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, isEspEnabled: { @@ -9081,7 +9688,7 @@ export const FileServerLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9158,7 +9765,7 @@ export const AzureFileStorageLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9203,7 +9810,7 @@ export const AmazonS3CompatibleLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9242,7 +9849,7 @@ export const OracleCloudStorageLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9281,7 +9888,7 @@ export const GoogleCloudStorageLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9315,7 +9922,7 @@ export const OracleLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9349,7 +9956,7 @@ export const AmazonRdsForOracleLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9383,7 +9990,7 @@ export const AzureMySqlLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9417,7 +10024,7 @@ export const MySqlLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9451,7 +10058,7 @@ export const PostgreSqlLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9510,7 +10117,7 @@ export const SybaseLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9579,7 +10186,7 @@ export const Db2LinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9630,7 +10237,7 @@ export const TeradataLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9689,7 +10296,7 @@ export const AzureMLLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, authentication: { @@ -9733,6 +10340,12 @@ export const AzureMLServiceLinkedService: coreClient.CompositeMapper = { name: "any" } }, + authentication: { + serializedName: "typeProperties.authentication", + type: { + name: "any" + } + }, servicePrincipalId: { serializedName: "typeProperties.servicePrincipalId", type: { @@ -9755,7 +10368,7 @@ export const AzureMLServiceLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9808,7 +10421,7 @@ export const OdbcLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9861,7 +10474,7 @@ export const InformixLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9914,7 +10527,7 @@ export const MicrosoftAccessLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -9947,7 +10560,7 @@ export const HdfsLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, userName: { @@ -10063,7 +10676,7 @@ export const ODataLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -10136,7 +10749,7 @@ export const CassandraLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -10213,7 +10826,7 @@ export const MongoDbLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -10243,6 +10856,12 @@ export const MongoDbAtlasLinkedService: coreClient.CompositeMapper = { type: { name: "any" } + }, + driverVersion: { + serializedName: "typeProperties.driverVersion", + type: { + name: "any" + } } } } @@ -10373,7 +10992,7 @@ export const AzureDataLakeStoreLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -10437,7 +11056,7 @@ export const AzureBlobFSLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -10518,7 +11137,7 @@ export const Office365LinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -10570,7 +11189,7 @@ export const SalesforceLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -10628,7 +11247,7 @@ export const SalesforceServiceCloudLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -10668,7 +11287,7 @@ export const SapCloudForCustomerLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -10689,13 +11308,13 @@ export const SapEccLinkedService: coreClient.CompositeMapper = { serializedName: "typeProperties.url", required: true, type: { - name: "String" + name: "any" } }, username: { serializedName: "typeProperties.username", type: { - name: "String" + name: "any" } }, password: { @@ -10789,7 +11408,7 @@ export const SapOpenHubLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -10912,7 +11531,7 @@ export const SapOdpLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11002,7 +11621,7 @@ export const RestServiceLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -11094,7 +11713,7 @@ export const TeamDeskLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11128,7 +11747,7 @@ export const QuickbaseLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11155,7 +11774,7 @@ export const SmartsheetLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11209,7 +11828,7 @@ export const ZendeskLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11236,7 +11855,7 @@ export const DataworldLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11298,7 +11917,7 @@ export const AsanaLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11353,7 +11972,7 @@ export const GoogleSheetsLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11405,7 +12024,7 @@ export const AmazonS3LinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11458,7 +12077,7 @@ export const AmazonRedshiftLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11513,7 +12132,7 @@ export const AzureSearchLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11577,7 +12196,7 @@ export const HttpLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, enableServerCertificateValidation: { @@ -11635,7 +12254,7 @@ export const FtpServerLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, enableSsl: { @@ -11699,7 +12318,7 @@ export const SftpServerLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, privateKeyPath: { @@ -11785,7 +12404,7 @@ export const SapBWLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11836,7 +12455,7 @@ export const SapHanaLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11916,7 +12535,7 @@ export const AmazonMWSLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -11949,7 +12568,7 @@ export const AzurePostgreSqlLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12014,7 +12633,7 @@ export const ConcurLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12047,7 +12666,7 @@ export const CouchbaseLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12080,7 +12699,7 @@ export const DrillLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12139,7 +12758,7 @@ export const EloquaLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12229,7 +12848,7 @@ export const GoogleBigQueryLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12262,7 +12881,7 @@ export const GreenplumLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12345,7 +12964,7 @@ export const HBaseLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12464,7 +13083,7 @@ export const HiveLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12530,7 +13149,7 @@ export const HubspotLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12613,7 +13232,7 @@ export const ImpalaLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12678,7 +13297,7 @@ export const JiraLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12730,7 +13349,7 @@ export const MagentoLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12763,7 +13382,7 @@ export const MariaDBLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12796,7 +13415,7 @@ export const AzureMariaDBLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12855,7 +13474,7 @@ export const MarketoLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -12914,7 +13533,7 @@ export const PaypalLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13003,7 +13622,7 @@ export const PhoenixLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13106,7 +13725,7 @@ export const PrestoLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13177,7 +13796,7 @@ export const QuickBooksLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13255,7 +13874,7 @@ export const ServiceNowLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13307,7 +13926,7 @@ export const ShopifyLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13409,7 +14028,7 @@ export const SparkLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13478,7 +14097,7 @@ export const SquareLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13542,7 +14161,7 @@ export const XeroLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13599,7 +14218,7 @@ export const ZohoLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13632,7 +14251,7 @@ export const VerticaLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13665,7 +14284,7 @@ export const NetezzaLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13722,7 +14341,7 @@ export const SalesforceMarketingCloudLinkedService: coreClient.CompositeMapper = encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -13915,7 +14534,7 @@ export const HDInsightOnDemandLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, headNodeSize: { @@ -14029,7 +14648,7 @@ export const AzureDataLakeAnalyticsLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -14150,7 +14769,7 @@ export const AzureDatabricksLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, policyId: { @@ -14203,7 +14822,7 @@ export const AzureDatabricksDeltaLakeLinkedService: coreClient.CompositeMapper = encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -14275,7 +14894,7 @@ export const ResponsysLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -14330,7 +14949,7 @@ export const DynamicsAXLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -14389,7 +15008,7 @@ export const OracleServiceCloudLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -14478,7 +15097,7 @@ export const GoogleAdWordsLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -14589,7 +15208,7 @@ export const SapTableLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -14677,7 +15296,7 @@ export const AzureFunctionLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } }, credential: { @@ -14730,7 +15349,7 @@ export const SnowflakeLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -14778,7 +15397,7 @@ export const SharePointOnlineListLinkedService: coreClient.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "any" + name: "String" } } } @@ -16371,13 +16990,15 @@ export const RestResourceDataset: coreClient.CompositeMapper = { additionalHeaders: { serializedName: "typeProperties.additionalHeaders", type: { - name: "any" + name: "Dictionary", + value: { type: { name: "any" } } } }, paginationRules: { serializedName: "typeProperties.paginationRules", type: { - name: "any" + name: "Dictionary", + value: { type: { name: "any" } } } } } @@ -18839,7 +19460,7 @@ export const AzureBlobStorageReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -18907,7 +19528,7 @@ export const AzureBlobFSReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -18987,7 +19608,7 @@ export const AzureDataLakeStoreReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19061,7 +19682,7 @@ export const AmazonS3ReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19129,7 +19750,7 @@ export const FileServerReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19209,7 +19830,7 @@ export const AzureFileStorageReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19283,7 +19904,7 @@ export const AmazonS3CompatibleReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19357,7 +19978,7 @@ export const OracleCloudStorageReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19431,7 +20052,7 @@ export const GoogleCloudStorageReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19493,7 +20114,7 @@ export const FtpReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19517,7 +20138,7 @@ export const FtpReadSettings: coreClient.CompositeMapper = { useBinaryTransfer: { serializedName: "useBinaryTransfer", type: { - name: "Boolean" + name: "any" } }, disableChunking: { @@ -19561,7 +20182,7 @@ export const SftpReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -19638,14 +20259,8 @@ export const HttpReadSettings: coreClient.CompositeMapper = { name: "any" } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", - type: { - name: "Boolean" - } - }, - partitionRootPath: { - serializedName: "partitionRootPath", + additionalColumns: { + serializedName: "additionalColumns", type: { name: "any" } @@ -19691,7 +20306,7 @@ export const HdfsReadSettings: coreClient.CompositeMapper = { enablePartitionDiscovery: { serializedName: "enablePartitionDiscovery", type: { - name: "Boolean" + name: "any" } }, partitionRootPath: { @@ -20731,7 +21346,7 @@ export const SalesforceServiceCloudSource: coreClient.CompositeMapper = { readBehavior: { serializedName: "readBehavior", type: { - name: "String" + name: "any" } }, additionalColumns: { @@ -23227,6 +23842,13 @@ export const SetVariableActivity: coreClient.CompositeMapper = { polymorphicDiscriminator: ControlActivity.type.polymorphicDiscriminator, modelProperties: { ...ControlActivity.type.modelProperties, + policy: { + serializedName: "policy", + type: { + name: "Composite", + className: "SecureInputOutputPolicy" + } + }, variableName: { serializedName: "typeProperties.variableName", type: { @@ -23238,6 +23860,12 @@ export const SetVariableActivity: coreClient.CompositeMapper = { type: { name: "any" } + }, + setSystemVariable: { + serializedName: "typeProperties.setSystemVariable", + type: { + name: "Boolean" + } } } } @@ -23535,12 +24163,8 @@ export const HDInsightHiveActivity: coreClient.CompositeMapper = { variables: { serializedName: "typeProperties.variables", type: { - name: "Sequence", - element: { - type: { - name: "any" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, queryTimeout: { @@ -24847,7 +25471,27 @@ export const SynapseNotebookActivity: coreClient.CompositeMapper = { numExecutors: { serializedName: "typeProperties.numExecutors", type: { - name: "Number" + name: "any" + } + }, + configurationType: { + serializedName: "typeProperties.configurationType", + type: { + name: "String" + } + }, + targetSparkConfiguration: { + serializedName: "typeProperties.targetSparkConfiguration", + type: { + name: "Composite", + className: "SparkConfigurationParametrizationReference" + } + }, + sparkConfig: { + serializedName: "typeProperties.sparkConfig", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } @@ -25361,7 +26005,7 @@ export const SalesforceSource: coreClient.CompositeMapper = { readBehavior: { serializedName: "readBehavior", type: { - name: "String" + name: "any" } } } @@ -25683,6 +26327,12 @@ export const SqlServerSource: coreClient.CompositeMapper = { name: "any" } }, + isolationLevel: { + serializedName: "isolationLevel", + type: { + name: "any" + } + }, produceAdditionalTypes: { serializedName: "produceAdditionalTypes", type: { @@ -25734,6 +26384,12 @@ export const AmazonRdsForSqlServerSource: coreClient.CompositeMapper = { name: "any" } }, + isolationLevel: { + serializedName: "isolationLevel", + type: { + name: "any" + } + }, produceAdditionalTypes: { serializedName: "produceAdditionalTypes", type: { @@ -25785,6 +26441,12 @@ export const AzureSqlSource: coreClient.CompositeMapper = { name: "any" } }, + isolationLevel: { + serializedName: "isolationLevel", + type: { + name: "any" + } + }, produceAdditionalTypes: { serializedName: "produceAdditionalTypes", type: { @@ -25836,6 +26498,12 @@ export const SqlMISource: coreClient.CompositeMapper = { name: "any" } }, + isolationLevel: { + serializedName: "isolationLevel", + type: { + name: "any" + } + }, produceAdditionalTypes: { serializedName: "produceAdditionalTypes", type: { @@ -25887,6 +26555,12 @@ export const SqlDWSource: coreClient.CompositeMapper = { name: "any" } }, + isolationLevel: { + serializedName: "isolationLevel", + type: { + name: "any" + } + }, partitionOption: { serializedName: "partitionOption", type: { diff --git a/sdk/datafactory/arm-datafactory/src/models/parameters.ts b/sdk/datafactory/arm-datafactory/src/models/parameters.ts index 6dadaebc8713..134255536a59 100644 --- a/sdk/datafactory/arm-datafactory/src/models/parameters.ts +++ b/sdk/datafactory/arm-datafactory/src/models/parameters.ts @@ -41,7 +41,8 @@ import { ManagedPrivateEndpointResource as ManagedPrivateEndpointResourceMapper, ManagedIdentityCredentialResource as ManagedIdentityCredentialResourceMapper, PrivateLinkConnectionApprovalRequestResource as PrivateLinkConnectionApprovalRequestResourceMapper, - GlobalParameterResource as GlobalParameterResourceMapper + GlobalParameterResource as GlobalParameterResourceMapper, + ChangeDataCaptureResource as ChangeDataCaptureResourceMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -592,3 +593,24 @@ export const defaultParam: OperationParameter = { parameterPath: "defaultParam", mapper: GlobalParameterResourceMapper }; + +export const changeDataCapture: OperationParameter = { + parameterPath: "changeDataCapture", + mapper: ChangeDataCaptureResourceMapper +}; + +export const changeDataCaptureName: OperationURLParameter = { + parameterPath: "changeDataCaptureName", + mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$"), + MaxLength: 260, + MinLength: 1 + }, + serializedName: "changeDataCaptureName", + required: true, + type: { + name: "String" + } + } +}; diff --git a/sdk/datafactory/arm-datafactory/src/operations/changeDataCapture.ts b/sdk/datafactory/arm-datafactory/src/operations/changeDataCapture.ts new file mode 100644 index 000000000000..e03a94b21d82 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operations/changeDataCapture.ts @@ -0,0 +1,472 @@ +/* + * 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. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ChangeDataCapture } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { DataFactoryManagementClient } from "../dataFactoryManagementClient"; +import { + ChangeDataCaptureResource, + ChangeDataCaptureListByFactoryNextOptionalParams, + ChangeDataCaptureListByFactoryOptionalParams, + ChangeDataCaptureListByFactoryResponse, + ChangeDataCaptureCreateOrUpdateOptionalParams, + ChangeDataCaptureCreateOrUpdateResponse, + ChangeDataCaptureGetOptionalParams, + ChangeDataCaptureGetResponse, + ChangeDataCaptureDeleteOptionalParams, + ChangeDataCaptureStartOptionalParams, + ChangeDataCaptureStopOptionalParams, + ChangeDataCaptureStatusOptionalParams, + ChangeDataCaptureStatusResponse, + ChangeDataCaptureListByFactoryNextResponse +} from "../models"; + +/// +/** Class containing ChangeDataCapture operations. */ +export class ChangeDataCaptureImpl implements ChangeDataCapture { + private readonly client: DataFactoryManagementClient; + + /** + * Initialize a new instance of the class ChangeDataCapture class. + * @param client Reference to the service client + */ + constructor(client: DataFactoryManagementClient) { + this.client = client; + } + + /** + * Lists all resources of type change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + public listByFactory( + resourceGroupName: string, + factoryName: string, + options?: ChangeDataCaptureListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options, + settings + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: ChangeDataCaptureListByFactoryOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: ChangeDataCaptureListByFactoryResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByFactoryNext( + resourceGroupName, + factoryName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: ChangeDataCaptureListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } + } + + /** + * Lists all resources of type change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + private _listByFactory( + resourceGroupName: string, + factoryName: string, + options?: ChangeDataCaptureListByFactoryOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); + } + + /** + * Creates or updates a change data capture resource. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + changeDataCapture: ChangeDataCaptureResource, + options?: ChangeDataCaptureCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + changeDataCaptureName, + changeDataCapture, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Gets a change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, changeDataCaptureName, options }, + getOperationSpec + ); + } + + /** + * Deletes a change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, changeDataCaptureName, options }, + deleteOperationSpec + ); + } + + /** + * Starts a change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + start( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureStartOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, changeDataCaptureName, options }, + startOperationSpec + ); + } + + /** + * Stops a change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + stop( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureStopOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, changeDataCaptureName, options }, + stopOperationSpec + ); + } + + /** + * Gets the current status for the change data capture resource. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + status( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureStatusOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, changeDataCaptureName, options }, + statusOperationSpec + ); + } + + /** + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. + */ + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: ChangeDataCaptureListByFactoryNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ChangeDataCaptureListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ChangeDataCaptureResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.changeDataCapture, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.changeDataCaptureName + ], + headerParameters: [ + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch + ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ChangeDataCaptureResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.changeDataCaptureName + ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.changeDataCaptureName + ], + headerParameters: [Parameters.accept], + serializer +}; +const startOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}/start", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.changeDataCaptureName + ], + headerParameters: [Parameters.accept], + serializer +}; +const stopOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}/stop", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.changeDataCaptureName + ], + headerParameters: [Parameters.accept], + serializer +}; +const statusOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}/status", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: { type: { name: "String" } } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.changeDataCaptureName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ChangeDataCaptureListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/src/operations/index.ts b/sdk/datafactory/arm-datafactory/src/operations/index.ts index f62a8123bec3..f72a62d3670c 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/index.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/index.ts @@ -28,3 +28,4 @@ export * from "./privateEndPointConnections"; export * from "./privateEndpointConnection"; export * from "./privateLinkResources"; export * from "./globalParameters"; +export * from "./changeDataCapture"; diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/changeDataCapture.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/changeDataCapture.ts new file mode 100644 index 000000000000..b8fbb5551d36 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/changeDataCapture.ts @@ -0,0 +1,118 @@ +/* + * 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. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + ChangeDataCaptureResource, + ChangeDataCaptureListByFactoryOptionalParams, + ChangeDataCaptureCreateOrUpdateOptionalParams, + ChangeDataCaptureCreateOrUpdateResponse, + ChangeDataCaptureGetOptionalParams, + ChangeDataCaptureGetResponse, + ChangeDataCaptureDeleteOptionalParams, + ChangeDataCaptureStartOptionalParams, + ChangeDataCaptureStopOptionalParams, + ChangeDataCaptureStatusOptionalParams, + ChangeDataCaptureStatusResponse +} from "../models"; + +/// +/** Interface representing a ChangeDataCapture. */ +export interface ChangeDataCapture { + /** + * Lists all resources of type change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: ChangeDataCaptureListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates a change data capture resource. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + changeDataCapture: ChangeDataCaptureResource, + options?: ChangeDataCaptureCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureGetOptionalParams + ): Promise; + /** + * Deletes a change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureDeleteOptionalParams + ): Promise; + /** + * Starts a change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + start( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureStartOptionalParams + ): Promise; + /** + * Stops a change data capture. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + stop( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureStopOptionalParams + ): Promise; + /** + * Gets the current status for the change data capture resource. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param options The options parameters. + */ + status( + resourceGroupName: string, + factoryName: string, + changeDataCaptureName: string, + options?: ChangeDataCaptureStatusOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts index f62a8123bec3..f72a62d3670c 100644 --- a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts @@ -28,3 +28,4 @@ export * from "./privateEndPointConnections"; export * from "./privateEndpointConnection"; export * from "./privateLinkResources"; export * from "./globalParameters"; +export * from "./changeDataCapture"; diff --git a/sdk/datafactory/arm-datafactory/test/sampleTest.ts b/sdk/datafactory/arm-datafactory/test/sampleTest.ts new file mode 100644 index 000000000000..25aeb3ebcc36 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * 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. + */ + +import { + Recorder, + RecorderStartOptions, + env +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/datafactory/arm-datafactory/tsconfig.json b/sdk/datafactory/arm-datafactory/tsconfig.json index 6f440f5c25a9..3e6ae96443f3 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-datafactory": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"