@azure/arm-datafactory 10.0.1-alpha.20220106.1 → 10.1.0-alpha.20220112.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
29
29
  requestContentType: "application/json; charset=utf-8",
30
30
  credential: credentials
31
31
  };
32
- const packageDetails = `azsdk-js-arm-datafactory/10.0.0`;
32
+ const packageDetails = `azsdk-js-arm-datafactory/10.1.0`;
33
33
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
34
34
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
35
35
  : `${packageDetails}`;
@@ -26,7 +26,7 @@ export declare type ExportSettingsUnion = ExportSettings | SnowflakeExportCopyCo
26
26
  export declare type ImportSettingsUnion = ImportSettings | AzureDatabricksDeltaLakeImportCommand | SnowflakeImportCopyCommand;
27
27
  export declare type CopyTranslatorUnion = CopyTranslator | TabularTranslator;
28
28
  export declare type DependencyReferenceUnion = DependencyReference | TriggerDependencyReferenceUnion | SelfDependencyTumblingWindowTriggerReference;
29
- export declare type ControlActivityUnion = ControlActivity | ExecutePipelineActivity | IfConditionActivity | SwitchActivity | ForEachActivity | WaitActivity | UntilActivity | ValidationActivity | FilterActivity | SetVariableActivity | AppendVariableActivity | WebHookActivity;
29
+ export declare type ControlActivityUnion = ControlActivity | ExecutePipelineActivity | IfConditionActivity | SwitchActivity | ForEachActivity | WaitActivity | FailActivity | UntilActivity | ValidationActivity | FilterActivity | SetVariableActivity | AppendVariableActivity | WebHookActivity;
30
30
  export declare type ExecutionActivityUnion = ExecutionActivity | CopyActivity | HDInsightHiveActivity | HDInsightPigActivity | HDInsightMapReduceActivity | HDInsightStreamingActivity | HDInsightSparkActivity | ExecuteSsisPackageActivity | CustomActivity | SqlServerStoredProcedureActivity | DeleteActivity | AzureDataExplorerCommandActivity | LookupActivity | WebActivity | GetMetadataActivity | AzureMLBatchExecutionActivity | AzureMLUpdateResourceActivity | AzureMLExecutePipelineActivity | DataLakeAnalyticsUsqlActivity | DatabricksNotebookActivity | DatabricksSparkJarActivity | DatabricksSparkPythonActivity | AzureFunctionActivity | ExecuteDataFlowActivity;
31
31
  export declare type MultiplePipelineTriggerUnion = MultiplePipelineTrigger | ScheduleTrigger | BlobTrigger | BlobEventsTrigger | CustomEventsTrigger;
32
32
  export declare type TabularSourceUnion = TabularSource | AzureTableSource | InformixSource | Db2Source | OdbcSource | MySqlSource | PostgreSqlSource | SybaseSource | SapBwSource | SalesforceSource | SapCloudForCustomerSource | SapEccSource | SapHanaSource | SapOpenHubSource | SapTableSource | SqlSource | SqlServerSource | AmazonRdsForSqlServerSource | AzureSqlSource | SqlMISource | SqlDWSource | AzureMySqlSource | TeradataSource | CassandraSource | AmazonMWSSource | AzurePostgreSqlSource | ConcurSource | CouchbaseSource | DrillSource | EloquaSource | GoogleBigQuerySource | GreenplumSource | HBaseSource | HiveSource | HubspotSource | ImpalaSource | JiraSource | MagentoSource | MariaDBSource | AzureMariaDBSource | MarketoSource | PaypalSource | PhoenixSource | PrestoSource | QuickBooksSource | ServiceNowSource | ShopifySource | SparkSource | SquareSource | XeroSource | ZohoSource | NetezzaSource | VerticaSource | SalesforceMarketingCloudSource | ResponsysSource | DynamicsAXSource | OracleServiceCloudSource | GoogleAdWordsSource | AmazonRedshiftSource;
@@ -766,7 +766,7 @@ export interface PipelineListResponse {
766
766
  /** A pipeline activity. */
767
767
  export interface Activity {
768
768
  /** Polymorphic discriminator, which specifies the different types this object can be */
769
- 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" | "Until" | "Validation" | "Filter" | "DatabricksNotebook" | "DatabricksSparkJar" | "DatabricksSparkPython" | "SetVariable" | "AppendVariable" | "AzureFunctionActivity" | "WebHook" | "ExecuteDataFlow" | "ExecuteWranglingDataflow";
769
+ 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";
770
770
  /** Describes unknown properties. The value of an unknown property can be of "any" type. */
771
771
  [property: string]: any;
772
772
  /** Activity name. */
@@ -2986,6 +2986,8 @@ export declare type CosmosDbLinkedService = LinkedService & {
2986
2986
  connectionMode?: CosmosDbConnectionMode;
2987
2987
  /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
2988
2988
  encryptedCredential?: Record<string, unknown>;
2989
+ /** The credential reference containing authentication information. */
2990
+ credential?: CredentialReference;
2989
2991
  };
2990
2992
  /** Dynamics linked service. */
2991
2993
  export declare type DynamicsLinkedService = LinkedService & {
@@ -3015,6 +3017,8 @@ export declare type DynamicsLinkedService = LinkedService & {
3015
3017
  servicePrincipalCredential?: SecretBaseUnion;
3016
3018
  /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
3017
3019
  encryptedCredential?: Record<string, unknown>;
3020
+ /** The credential reference containing authentication information. */
3021
+ credential?: CredentialReference;
3018
3022
  };
3019
3023
  /** Dynamics CRM linked service. */
3020
3024
  export declare type DynamicsCrmLinkedService = LinkedService & {
@@ -3550,6 +3554,10 @@ export declare type AzureBlobFSLinkedService = LinkedService & {
3550
3554
  encryptedCredential?: Record<string, unknown>;
3551
3555
  /** The credential reference containing authentication information. */
3552
3556
  credential?: CredentialReference;
3557
+ /** 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). */
3558
+ servicePrincipalCredentialType?: Record<string, unknown>;
3559
+ /** 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. */
3560
+ servicePrincipalCredential?: SecretBaseUnion;
3553
3561
  };
3554
3562
  /** Office365 linked service. */
3555
3563
  export declare type Office365LinkedService = LinkedService & {
@@ -4615,6 +4623,10 @@ export declare type AzureDatabricksDeltaLakeLinkedService = LinkedService & {
4615
4623
  clusterId?: Record<string, unknown>;
4616
4624
  /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
4617
4625
  encryptedCredential?: Record<string, unknown>;
4626
+ /** The credential reference containing authentication information. */
4627
+ credential?: CredentialReference;
4628
+ /** Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). */
4629
+ workspaceResourceId?: Record<string, unknown>;
4618
4630
  };
4619
4631
  /** Responsys linked service. */
4620
4632
  export declare type ResponsysLinkedService = LinkedService & {
@@ -4675,12 +4687,14 @@ export declare type OracleServiceCloudLinkedService = LinkedService & {
4675
4687
  export declare type GoogleAdWordsLinkedService = LinkedService & {
4676
4688
  /** Polymorphic discriminator, which specifies the different types this object can be */
4677
4689
  type: "GoogleAdWords";
4690
+ /** Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked service. Type: object. */
4691
+ connectionProperties?: Record<string, unknown>;
4678
4692
  /** The Client customer ID of the AdWords account that you want to fetch report data for. */
4679
- clientCustomerID: Record<string, unknown>;
4693
+ clientCustomerID?: Record<string, unknown>;
4680
4694
  /** The developer token associated with the manager account that you use to grant access to the AdWords API. */
4681
- developerToken: SecretBaseUnion;
4695
+ developerToken?: SecretBaseUnion;
4682
4696
  /** The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. */
4683
- authenticationType: GoogleAdWordsAuthenticationType;
4697
+ authenticationType?: GoogleAdWordsAuthenticationType;
4684
4698
  /** The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. */
4685
4699
  refreshToken?: SecretBaseUnion;
4686
4700
  /** The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). */
@@ -5682,7 +5696,7 @@ export declare type AzureDatabricksDeltaLakeDataset = Dataset & {
5682
5696
  /** Base class for all control activities like IfCondition, ForEach , Until. */
5683
5697
  export declare type ControlActivity = Activity & {
5684
5698
  /** Polymorphic discriminator, which specifies the different types this object can be */
5685
- type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook";
5699
+ type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Fail" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook";
5686
5700
  };
5687
5701
  /** Base class for all execution activities. */
5688
5702
  export declare type ExecutionActivity = Activity & {
@@ -6070,6 +6084,8 @@ export declare type LinkedIntegrationRuntimeRbacAuthorization = LinkedIntegratio
6070
6084
  authorizationType: "RBAC";
6071
6085
  /** The resource identifier of the integration runtime to be shared. */
6072
6086
  resourceId: string;
6087
+ /** The credential reference containing authentication information. */
6088
+ credential?: CredentialReference;
6073
6089
  };
6074
6090
  /** A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. */
6075
6091
  export declare type WebAnonymousAuthentication = WebLinkedServiceTypeProperties & {
@@ -7532,6 +7548,15 @@ export declare type WaitActivity = ControlActivity & {
7532
7548
  /** Duration in seconds. */
7533
7549
  waitTimeInSeconds: Record<string, unknown>;
7534
7550
  };
7551
+ /** This activity will fail within its own scope and output a custom error message and error code. The error message and code can provided either as a string literal or as an expression that can be evaluated to a string at runtime. The activity scope can be the whole pipeline or a control activity (e.g. foreach, switch, until), if the fail activity is contained in it. */
7552
+ export declare type FailActivity = ControlActivity & {
7553
+ /** Polymorphic discriminator, which specifies the different types this object can be */
7554
+ type: "Fail";
7555
+ /** The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). */
7556
+ message: Record<string, unknown>;
7557
+ /** The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). */
7558
+ errorCode: Record<string, unknown>;
7559
+ };
7535
7560
  /** This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier. */
7536
7561
  export declare type UntilActivity = ControlActivity & {
7537
7562
  /** Polymorphic discriminator, which specifies the different types this object can be */