@azure/arm-datafactory 10.0.0-beta.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.
Files changed (115) hide show
  1. package/CHANGELOG.md +18 -24
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +81 -37
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/src/dataFactoryManagementClient.d.ts +5 -2
  9. package/dist-esm/src/dataFactoryManagementClient.d.ts.map +1 -1
  10. package/dist-esm/src/dataFactoryManagementClient.js +32 -3
  11. package/dist-esm/src/dataFactoryManagementClient.js.map +1 -1
  12. package/dist-esm/src/index.d.ts +0 -1
  13. package/dist-esm/src/index.d.ts.map +1 -1
  14. package/dist-esm/src/index.js +0 -1
  15. package/dist-esm/src/index.js.map +1 -1
  16. package/dist-esm/src/models/index.d.ts +31 -6
  17. package/dist-esm/src/models/index.d.ts.map +1 -1
  18. package/dist-esm/src/models/index.js.map +1 -1
  19. package/dist-esm/src/models/mappers.d.ts +2 -2
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  21. package/dist-esm/src/models/mappers.js +76 -13
  22. package/dist-esm/src/models/mappers.js.map +1 -1
  23. package/dist-esm/src/operations/activityRuns.d.ts +2 -2
  24. package/dist-esm/src/operations/activityRuns.d.ts.map +1 -1
  25. package/dist-esm/src/operations/activityRuns.js.map +1 -1
  26. package/dist-esm/src/operations/dataFlowDebugSession.d.ts +2 -2
  27. package/dist-esm/src/operations/dataFlowDebugSession.d.ts.map +1 -1
  28. package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
  29. package/dist-esm/src/operations/dataFlows.d.ts +2 -2
  30. package/dist-esm/src/operations/dataFlows.d.ts.map +1 -1
  31. package/dist-esm/src/operations/dataFlows.js.map +1 -1
  32. package/dist-esm/src/operations/datasets.d.ts +2 -2
  33. package/dist-esm/src/operations/datasets.d.ts.map +1 -1
  34. package/dist-esm/src/operations/datasets.js.map +1 -1
  35. package/dist-esm/src/operations/exposureControl.d.ts +2 -2
  36. package/dist-esm/src/operations/exposureControl.d.ts.map +1 -1
  37. package/dist-esm/src/operations/exposureControl.js.map +1 -1
  38. package/dist-esm/src/operations/factories.d.ts +2 -2
  39. package/dist-esm/src/operations/factories.d.ts.map +1 -1
  40. package/dist-esm/src/operations/factories.js.map +1 -1
  41. package/dist-esm/src/operations/integrationRuntimeNodes.d.ts +2 -2
  42. package/dist-esm/src/operations/integrationRuntimeNodes.d.ts.map +1 -1
  43. package/dist-esm/src/operations/integrationRuntimeNodes.js.map +1 -1
  44. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts +2 -2
  45. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts.map +1 -1
  46. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js.map +1 -1
  47. package/dist-esm/src/operations/integrationRuntimes.d.ts +2 -2
  48. package/dist-esm/src/operations/integrationRuntimes.d.ts.map +1 -1
  49. package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
  50. package/dist-esm/src/operations/linkedServices.d.ts +2 -2
  51. package/dist-esm/src/operations/linkedServices.d.ts.map +1 -1
  52. package/dist-esm/src/operations/linkedServices.js.map +1 -1
  53. package/dist-esm/src/operations/managedPrivateEndpoints.d.ts +2 -2
  54. package/dist-esm/src/operations/managedPrivateEndpoints.d.ts.map +1 -1
  55. package/dist-esm/src/operations/managedPrivateEndpoints.js.map +1 -1
  56. package/dist-esm/src/operations/managedVirtualNetworks.d.ts +2 -2
  57. package/dist-esm/src/operations/managedVirtualNetworks.d.ts.map +1 -1
  58. package/dist-esm/src/operations/managedVirtualNetworks.js.map +1 -1
  59. package/dist-esm/src/operations/operations.d.ts +2 -2
  60. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  61. package/dist-esm/src/operations/operations.js.map +1 -1
  62. package/dist-esm/src/operations/pipelineRuns.d.ts +2 -2
  63. package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -1
  64. package/dist-esm/src/operations/pipelineRuns.js.map +1 -1
  65. package/dist-esm/src/operations/pipelines.d.ts +2 -2
  66. package/dist-esm/src/operations/pipelines.d.ts.map +1 -1
  67. package/dist-esm/src/operations/pipelines.js.map +1 -1
  68. package/dist-esm/src/operations/privateEndPointConnections.d.ts +2 -2
  69. package/dist-esm/src/operations/privateEndPointConnections.d.ts.map +1 -1
  70. package/dist-esm/src/operations/privateEndPointConnections.js.map +1 -1
  71. package/dist-esm/src/operations/privateEndpointConnection.d.ts +2 -2
  72. package/dist-esm/src/operations/privateEndpointConnection.d.ts.map +1 -1
  73. package/dist-esm/src/operations/privateEndpointConnection.js.map +1 -1
  74. package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
  75. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
  76. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  77. package/dist-esm/src/operations/triggerRuns.d.ts +2 -2
  78. package/dist-esm/src/operations/triggerRuns.d.ts.map +1 -1
  79. package/dist-esm/src/operations/triggerRuns.js.map +1 -1
  80. package/dist-esm/src/operations/triggers.d.ts +2 -2
  81. package/dist-esm/src/operations/triggers.d.ts.map +1 -1
  82. package/dist-esm/src/operations/triggers.js.map +1 -1
  83. package/package.json +14 -4
  84. package/review/arm-datafactory.api.md +28 -18
  85. package/src/dataFactoryManagementClient.ts +46 -3
  86. package/src/index.ts +0 -1
  87. package/src/models/index.ts +32 -3
  88. package/src/models/mappers.ts +88 -12
  89. package/src/operations/activityRuns.ts +3 -3
  90. package/src/operations/dataFlowDebugSession.ts +3 -3
  91. package/src/operations/dataFlows.ts +3 -3
  92. package/src/operations/datasets.ts +3 -3
  93. package/src/operations/exposureControl.ts +3 -3
  94. package/src/operations/factories.ts +3 -3
  95. package/src/operations/integrationRuntimeNodes.ts +3 -3
  96. package/src/operations/integrationRuntimeObjectMetadata.ts +3 -3
  97. package/src/operations/integrationRuntimes.ts +3 -3
  98. package/src/operations/linkedServices.ts +3 -3
  99. package/src/operations/managedPrivateEndpoints.ts +3 -3
  100. package/src/operations/managedVirtualNetworks.ts +3 -3
  101. package/src/operations/operations.ts +3 -3
  102. package/src/operations/pipelineRuns.ts +3 -3
  103. package/src/operations/pipelines.ts +3 -3
  104. package/src/operations/privateEndPointConnections.ts +3 -3
  105. package/src/operations/privateEndpointConnection.ts +3 -3
  106. package/src/operations/privateLinkResources.ts +3 -3
  107. package/src/operations/triggerRuns.ts +3 -3
  108. package/src/operations/triggers.ts +3 -3
  109. package/types/arm-datafactory.d.ts +36 -20
  110. package/types/tsdoc-metadata.json +1 -1
  111. package/dist-esm/src/dataFactoryManagementClientContext.d.ts +0 -16
  112. package/dist-esm/src/dataFactoryManagementClientContext.d.ts.map +0 -1
  113. package/dist-esm/src/dataFactoryManagementClientContext.js +0 -49
  114. package/dist-esm/src/dataFactoryManagementClientContext.js.map +0 -1
  115. package/src/dataFactoryManagementClientContext.ts +0 -70
@@ -23,7 +23,7 @@ export interface Activity {
23
23
  dependsOn?: ActivityDependency[];
24
24
  description?: string;
25
25
  name: string;
26
- 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";
26
+ 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";
27
27
  userProperties?: UserProperty[];
28
28
  }
29
29
 
@@ -392,6 +392,8 @@ export type AzureBlobFSLinkedService = LinkedService & {
392
392
  azureCloudType?: Record<string, unknown>;
393
393
  encryptedCredential?: Record<string, unknown>;
394
394
  credential?: CredentialReference;
395
+ servicePrincipalCredentialType?: Record<string, unknown>;
396
+ servicePrincipalCredential?: SecretBaseUnion;
395
397
  };
396
398
 
397
399
  // @public
@@ -507,6 +509,8 @@ export type AzureDatabricksDeltaLakeLinkedService = LinkedService & {
507
509
  accessToken?: SecretBaseUnion;
508
510
  clusterId?: Record<string, unknown>;
509
511
  encryptedCredential?: Record<string, unknown>;
512
+ credential?: CredentialReference;
513
+ workspaceResourceId?: Record<string, unknown>;
510
514
  };
511
515
 
512
516
  // @public
@@ -1267,11 +1271,11 @@ export interface ConnectionStateProperties {
1267
1271
 
1268
1272
  // @public
1269
1273
  export type ControlActivity = Activity & {
1270
- type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook";
1274
+ type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Fail" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook";
1271
1275
  };
1272
1276
 
1273
1277
  // @public (undocumented)
1274
- export type ControlActivityUnion = ControlActivity | ExecutePipelineActivity | IfConditionActivity | SwitchActivity | ForEachActivity | WaitActivity | UntilActivity | ValidationActivity | FilterActivity | SetVariableActivity | AppendVariableActivity | WebHookActivity;
1278
+ export type ControlActivityUnion = ControlActivity | ExecutePipelineActivity | IfConditionActivity | SwitchActivity | ForEachActivity | WaitActivity | FailActivity | UntilActivity | ValidationActivity | FilterActivity | SetVariableActivity | AppendVariableActivity | WebHookActivity;
1275
1279
 
1276
1280
  // @public
1277
1281
  export type CopyActivity = ExecutionActivity & {
@@ -1358,6 +1362,7 @@ export type CosmosDbLinkedService = LinkedService & {
1358
1362
  azureCloudType?: Record<string, unknown>;
1359
1363
  connectionMode?: CosmosDbConnectionMode;
1360
1364
  encryptedCredential?: Record<string, unknown>;
1365
+ credential?: CredentialReference;
1361
1366
  };
1362
1367
 
1363
1368
  // @public
@@ -1568,11 +1573,15 @@ export type DatabricksSparkPythonActivity = ExecutionActivity & {
1568
1573
  };
1569
1574
 
1570
1575
  // @public (undocumented)
1571
- export class DataFactoryManagementClient extends DataFactoryManagementClientContext {
1576
+ export class DataFactoryManagementClient extends coreClient.ServiceClient {
1577
+ // (undocumented)
1578
+ $host: string;
1572
1579
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataFactoryManagementClientOptionalParams);
1573
1580
  // (undocumented)
1574
1581
  activityRuns: ActivityRuns;
1575
1582
  // (undocumented)
1583
+ apiVersion: string;
1584
+ // (undocumented)
1576
1585
  dataFlowDebugSession: DataFlowDebugSession;
1577
1586
  // (undocumented)
1578
1587
  dataFlows: DataFlows;
@@ -1607,22 +1616,13 @@ export class DataFactoryManagementClient extends DataFactoryManagementClientCont
1607
1616
  // (undocumented)
1608
1617
  privateLinkResources: PrivateLinkResources;
1609
1618
  // (undocumented)
1619
+ subscriptionId: string;
1620
+ // (undocumented)
1610
1621
  triggerRuns: TriggerRuns;
1611
1622
  // (undocumented)
1612
1623
  triggers: Triggers;
1613
1624
  }
1614
1625
 
1615
- // @public (undocumented)
1616
- export class DataFactoryManagementClientContext extends coreClient.ServiceClient {
1617
- // (undocumented)
1618
- $host: string;
1619
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataFactoryManagementClientOptionalParams);
1620
- // (undocumented)
1621
- apiVersion: string;
1622
- // (undocumented)
1623
- subscriptionId: string;
1624
- }
1625
-
1626
1626
  // @public
1627
1627
  export interface DataFactoryManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1628
1628
  $host?: string;
@@ -2277,6 +2277,7 @@ export type DynamicsLinkedService = LinkedService & {
2277
2277
  servicePrincipalCredentialType?: Record<string, unknown>;
2278
2278
  servicePrincipalCredential?: SecretBaseUnion;
2279
2279
  encryptedCredential?: Record<string, unknown>;
2280
+ credential?: CredentialReference;
2280
2281
  };
2281
2282
 
2282
2283
  // @public
@@ -2700,6 +2701,13 @@ export type FactoryVstsConfiguration = FactoryRepoConfiguration & {
2700
2701
  tenantId?: string;
2701
2702
  };
2702
2703
 
2704
+ // @public
2705
+ export type FailActivity = ControlActivity & {
2706
+ type: "Fail";
2707
+ message: Record<string, unknown>;
2708
+ errorCode: Record<string, unknown>;
2709
+ };
2710
+
2703
2711
  // @public
2704
2712
  export type FileServerLinkedService = LinkedService & {
2705
2713
  type: "FileServer";
@@ -2892,9 +2900,10 @@ export type GoogleAdWordsAuthenticationType = string;
2892
2900
  // @public
2893
2901
  export type GoogleAdWordsLinkedService = LinkedService & {
2894
2902
  type: "GoogleAdWords";
2895
- clientCustomerID: Record<string, unknown>;
2896
- developerToken: SecretBaseUnion;
2897
- authenticationType: GoogleAdWordsAuthenticationType;
2903
+ connectionProperties?: Record<string, unknown>;
2904
+ clientCustomerID?: Record<string, unknown>;
2905
+ developerToken?: SecretBaseUnion;
2906
+ authenticationType?: GoogleAdWordsAuthenticationType;
2898
2907
  refreshToken?: SecretBaseUnion;
2899
2908
  clientId?: Record<string, unknown>;
2900
2909
  clientSecret?: SecretBaseUnion;
@@ -4935,6 +4944,7 @@ export type LinkedIntegrationRuntimeKeyAuthorization = LinkedIntegrationRuntimeT
4935
4944
  export type LinkedIntegrationRuntimeRbacAuthorization = LinkedIntegrationRuntimeType & {
4936
4945
  authorizationType: "RBAC";
4937
4946
  resourceId: string;
4947
+ credential?: CredentialReference;
4938
4948
  };
4939
4949
 
4940
4950
  // @public
@@ -6,6 +6,7 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
+ import * as coreClient from "@azure/core-client";
9
10
  import * as coreAuth from "@azure/core-auth";
10
11
  import {
11
12
  OperationsImpl,
@@ -51,10 +52,13 @@ import {
51
52
  PrivateEndpointConnection,
52
53
  PrivateLinkResources
53
54
  } from "./operationsInterfaces";
54
- import { DataFactoryManagementClientContext } from "./dataFactoryManagementClientContext";
55
55
  import { DataFactoryManagementClientOptionalParams } from "./models";
56
56
 
57
- export class DataFactoryManagementClient extends DataFactoryManagementClientContext {
57
+ export class DataFactoryManagementClient extends coreClient.ServiceClient {
58
+ $host: string;
59
+ apiVersion: string;
60
+ subscriptionId: string;
61
+
58
62
  /**
59
63
  * Initializes a new instance of the DataFactoryManagementClient class.
60
64
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -66,7 +70,46 @@ export class DataFactoryManagementClient extends DataFactoryManagementClientCont
66
70
  subscriptionId: string,
67
71
  options?: DataFactoryManagementClientOptionalParams
68
72
  ) {
69
- super(credentials, subscriptionId, options);
73
+ if (credentials === undefined) {
74
+ throw new Error("'credentials' cannot be null");
75
+ }
76
+ if (subscriptionId === undefined) {
77
+ throw new Error("'subscriptionId' cannot be null");
78
+ }
79
+
80
+ // Initializing default values for options
81
+ if (!options) {
82
+ options = {};
83
+ }
84
+ const defaults: DataFactoryManagementClientOptionalParams = {
85
+ requestContentType: "application/json; charset=utf-8",
86
+ credential: credentials
87
+ };
88
+
89
+ const packageDetails = `azsdk-js-arm-datafactory/10.1.0`;
90
+ const userAgentPrefix =
91
+ options.userAgentOptions && options.userAgentOptions.userAgentPrefix
92
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
93
+ : `${packageDetails}`;
94
+
95
+ if (!options.credentialScopes) {
96
+ options.credentialScopes = ["https://management.azure.com/.default"];
97
+ }
98
+ const optionsWithDefaults = {
99
+ ...defaults,
100
+ ...options,
101
+ userAgentOptions: {
102
+ userAgentPrefix
103
+ },
104
+ baseUri: options.endpoint || "https://management.azure.com"
105
+ };
106
+ super(optionsWithDefaults);
107
+ // Parameter assignments
108
+ this.subscriptionId = subscriptionId;
109
+
110
+ // Assigning values to Constant parameters
111
+ this.$host = options.$host || "https://management.azure.com";
112
+ this.apiVersion = options.apiVersion || "2018-06-01";
70
113
  this.operations = new OperationsImpl(this);
71
114
  this.factories = new FactoriesImpl(this);
72
115
  this.exposureControl = new ExposureControlImpl(this);
package/src/index.ts CHANGED
@@ -9,5 +9,4 @@
9
9
  /// <reference lib="esnext.asynciterable" />
10
10
  export * from "./models";
11
11
  export { DataFactoryManagementClient } from "./dataFactoryManagementClient";
12
- export { DataFactoryManagementClientContext } from "./dataFactoryManagementClientContext";
13
12
  export * from "./operationsInterfaces";
@@ -429,6 +429,7 @@ export type ControlActivityUnion =
429
429
  | SwitchActivity
430
430
  | ForEachActivity
431
431
  | WaitActivity
432
+ | FailActivity
432
433
  | UntilActivity
433
434
  | ValidationActivity
434
435
  | FilterActivity
@@ -1532,6 +1533,7 @@ export interface Activity {
1532
1533
  | "AzureMLExecutePipeline"
1533
1534
  | "DataLakeAnalyticsU-SQL"
1534
1535
  | "Wait"
1536
+ | "Fail"
1535
1537
  | "Until"
1536
1538
  | "Validation"
1537
1539
  | "Filter"
@@ -4109,6 +4111,8 @@ export type CosmosDbLinkedService = LinkedService & {
4109
4111
  connectionMode?: CosmosDbConnectionMode;
4110
4112
  /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
4111
4113
  encryptedCredential?: Record<string, unknown>;
4114
+ /** The credential reference containing authentication information. */
4115
+ credential?: CredentialReference;
4112
4116
  };
4113
4117
 
4114
4118
  /** Dynamics linked service. */
@@ -4139,6 +4143,8 @@ export type DynamicsLinkedService = LinkedService & {
4139
4143
  servicePrincipalCredential?: SecretBaseUnion;
4140
4144
  /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
4141
4145
  encryptedCredential?: Record<string, unknown>;
4146
+ /** The credential reference containing authentication information. */
4147
+ credential?: CredentialReference;
4142
4148
  };
4143
4149
 
4144
4150
  /** Dynamics CRM linked service. */
@@ -4705,6 +4711,10 @@ export type AzureBlobFSLinkedService = LinkedService & {
4705
4711
  encryptedCredential?: Record<string, unknown>;
4706
4712
  /** The credential reference containing authentication information. */
4707
4713
  credential?: CredentialReference;
4714
+ /** 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). */
4715
+ servicePrincipalCredentialType?: Record<string, unknown>;
4716
+ /** 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. */
4717
+ servicePrincipalCredential?: SecretBaseUnion;
4708
4718
  };
4709
4719
 
4710
4720
  /** Office365 linked service. */
@@ -5814,6 +5824,10 @@ export type AzureDatabricksDeltaLakeLinkedService = LinkedService & {
5814
5824
  clusterId?: Record<string, unknown>;
5815
5825
  /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
5816
5826
  encryptedCredential?: Record<string, unknown>;
5827
+ /** The credential reference containing authentication information. */
5828
+ credential?: CredentialReference;
5829
+ /** Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). */
5830
+ workspaceResourceId?: Record<string, unknown>;
5817
5831
  };
5818
5832
 
5819
5833
  /** Responsys linked service. */
@@ -5878,12 +5892,14 @@ export type OracleServiceCloudLinkedService = LinkedService & {
5878
5892
  export type GoogleAdWordsLinkedService = LinkedService & {
5879
5893
  /** Polymorphic discriminator, which specifies the different types this object can be */
5880
5894
  type: "GoogleAdWords";
5895
+ /** Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked service. Type: object. */
5896
+ connectionProperties?: Record<string, unknown>;
5881
5897
  /** The Client customer ID of the AdWords account that you want to fetch report data for. */
5882
- clientCustomerID: Record<string, unknown>;
5898
+ clientCustomerID?: Record<string, unknown>;
5883
5899
  /** The developer token associated with the manager account that you use to grant access to the AdWords API. */
5884
- developerToken: SecretBaseUnion;
5900
+ developerToken?: SecretBaseUnion;
5885
5901
  /** The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. */
5886
- authenticationType: GoogleAdWordsAuthenticationType;
5902
+ authenticationType?: GoogleAdWordsAuthenticationType;
5887
5903
  /** The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. */
5888
5904
  refreshToken?: SecretBaseUnion;
5889
5905
  /** The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). */
@@ -6993,6 +7009,7 @@ export type ControlActivity = Activity & {
6993
7009
  | "Switch"
6994
7010
  | "ForEach"
6995
7011
  | "Wait"
7012
+ | "Fail"
6996
7013
  | "Until"
6997
7014
  | "Validation"
6998
7015
  | "Filter"
@@ -7456,6 +7473,8 @@ export type LinkedIntegrationRuntimeRbacAuthorization = LinkedIntegrationRuntime
7456
7473
  authorizationType: "RBAC";
7457
7474
  /** The resource identifier of the integration runtime to be shared. */
7458
7475
  resourceId: string;
7476
+ /** The credential reference containing authentication information. */
7477
+ credential?: CredentialReference;
7459
7478
  };
7460
7479
 
7461
7480
  /** A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. */
@@ -9091,6 +9110,16 @@ export type WaitActivity = ControlActivity & {
9091
9110
  waitTimeInSeconds: Record<string, unknown>;
9092
9111
  };
9093
9112
 
9113
+ /** 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. */
9114
+ export type FailActivity = ControlActivity & {
9115
+ /** Polymorphic discriminator, which specifies the different types this object can be */
9116
+ type: "Fail";
9117
+ /** 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). */
9118
+ message: Record<string, unknown>;
9119
+ /** 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). */
9120
+ errorCode: Record<string, unknown>;
9121
+ };
9122
+
9094
9123
  /** This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier. */
9095
9124
  export type UntilActivity = ControlActivity & {
9096
9125
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -2854,6 +2854,7 @@ export const DataFlow: coreClient.CompositeMapper = {
2854
2854
  modelProperties: {
2855
2855
  type: {
2856
2856
  serializedName: "type",
2857
+ required: true,
2857
2858
  type: {
2858
2859
  name: "String"
2859
2860
  }
@@ -3393,11 +3394,9 @@ export const ManagedVirtualNetworkListResponse: coreClient.CompositeMapper = {
3393
3394
  };
3394
3395
 
3395
3396
  export const ManagedVirtualNetwork: coreClient.CompositeMapper = {
3396
- serializedName: "ManagedVirtualNetwork",
3397
3397
  type: {
3398
3398
  name: "Composite",
3399
3399
  className: "ManagedVirtualNetwork",
3400
- uberParent: "ManagedVirtualNetwork",
3401
3400
  additionalProperties: { type: { name: "Object" } },
3402
3401
  modelProperties: {
3403
3402
  vNetId: {
@@ -3417,8 +3416,6 @@ export const ManagedVirtualNetwork: coreClient.CompositeMapper = {
3417
3416
  }
3418
3417
  }
3419
3418
  };
3420
- ManagedVirtualNetwork.type.polymorphicDiscriminator =
3421
- ManagedVirtualNetwork.type.polymorphicDiscriminator;
3422
3419
 
3423
3420
  export const ManagedPrivateEndpointListResponse: coreClient.CompositeMapper = {
3424
3421
  type: {
@@ -3449,11 +3446,9 @@ export const ManagedPrivateEndpointListResponse: coreClient.CompositeMapper = {
3449
3446
  };
3450
3447
 
3451
3448
  export const ManagedPrivateEndpoint: coreClient.CompositeMapper = {
3452
- serializedName: "ManagedPrivateEndpoint",
3453
3449
  type: {
3454
3450
  name: "Composite",
3455
3451
  className: "ManagedPrivateEndpoint",
3456
- uberParent: "ManagedPrivateEndpoint",
3457
3452
  additionalProperties: { type: { name: "Object" } },
3458
3453
  modelProperties: {
3459
3454
  connectionState: {
@@ -3503,8 +3498,6 @@ export const ManagedPrivateEndpoint: coreClient.CompositeMapper = {
3503
3498
  }
3504
3499
  }
3505
3500
  };
3506
- ManagedPrivateEndpoint.type.polymorphicDiscriminator =
3507
- ManagedPrivateEndpoint.type.polymorphicDiscriminator;
3508
3501
 
3509
3502
  export const ConnectionStateProperties: coreClient.CompositeMapper = {
3510
3503
  type: {
@@ -8449,6 +8442,13 @@ export const CosmosDbLinkedService: coreClient.CompositeMapper = {
8449
8442
  name: "Dictionary",
8450
8443
  value: { type: { name: "any" } }
8451
8444
  }
8445
+ },
8446
+ credential: {
8447
+ serializedName: "typeProperties.credential",
8448
+ type: {
8449
+ name: "Composite",
8450
+ className: "CredentialReference"
8451
+ }
8452
8452
  }
8453
8453
  }
8454
8454
  }
@@ -8549,6 +8549,13 @@ export const DynamicsLinkedService: coreClient.CompositeMapper = {
8549
8549
  name: "Dictionary",
8550
8550
  value: { type: { name: "any" } }
8551
8551
  }
8552
+ },
8553
+ credential: {
8554
+ serializedName: "typeProperties.credential",
8555
+ type: {
8556
+ name: "Composite",
8557
+ className: "CredentialReference"
8558
+ }
8552
8559
  }
8553
8560
  }
8554
8561
  }
@@ -10340,6 +10347,20 @@ export const AzureBlobFSLinkedService: coreClient.CompositeMapper = {
10340
10347
  name: "Composite",
10341
10348
  className: "CredentialReference"
10342
10349
  }
10350
+ },
10351
+ servicePrincipalCredentialType: {
10352
+ serializedName: "typeProperties.servicePrincipalCredentialType",
10353
+ type: {
10354
+ name: "Dictionary",
10355
+ value: { type: { name: "any" } }
10356
+ }
10357
+ },
10358
+ servicePrincipalCredential: {
10359
+ serializedName: "typeProperties.servicePrincipalCredential",
10360
+ type: {
10361
+ name: "Composite",
10362
+ className: "SecretBase"
10363
+ }
10343
10364
  }
10344
10365
  }
10345
10366
  }
@@ -13920,6 +13941,20 @@ export const AzureDatabricksDeltaLakeLinkedService: coreClient.CompositeMapper =
13920
13941
  name: "Dictionary",
13921
13942
  value: { type: { name: "any" } }
13922
13943
  }
13944
+ },
13945
+ credential: {
13946
+ serializedName: "typeProperties.credential",
13947
+ type: {
13948
+ name: "Composite",
13949
+ className: "CredentialReference"
13950
+ }
13951
+ },
13952
+ workspaceResourceId: {
13953
+ serializedName: "typeProperties.workspaceResourceId",
13954
+ type: {
13955
+ name: "Dictionary",
13956
+ value: { type: { name: "any" } }
13957
+ }
13923
13958
  }
13924
13959
  }
13925
13960
  }
@@ -14125,9 +14160,15 @@ export const GoogleAdWordsLinkedService: coreClient.CompositeMapper = {
14125
14160
  polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator,
14126
14161
  modelProperties: {
14127
14162
  ...LinkedService.type.modelProperties,
14163
+ connectionProperties: {
14164
+ serializedName: "typeProperties.connectionProperties",
14165
+ type: {
14166
+ name: "Dictionary",
14167
+ value: { type: { name: "any" } }
14168
+ }
14169
+ },
14128
14170
  clientCustomerID: {
14129
14171
  serializedName: "typeProperties.clientCustomerID",
14130
- required: true,
14131
14172
  type: {
14132
14173
  name: "Dictionary",
14133
14174
  value: { type: { name: "any" } }
@@ -14142,7 +14183,6 @@ export const GoogleAdWordsLinkedService: coreClient.CompositeMapper = {
14142
14183
  },
14143
14184
  authenticationType: {
14144
14185
  serializedName: "typeProperties.authenticationType",
14145
- required: true,
14146
14186
  type: {
14147
14187
  name: "String"
14148
14188
  }
@@ -18605,6 +18645,13 @@ export const LinkedIntegrationRuntimeRbacAuthorization: coreClient.CompositeMapp
18605
18645
  type: {
18606
18646
  name: "String"
18607
18647
  }
18648
+ },
18649
+ credential: {
18650
+ serializedName: "credential",
18651
+ type: {
18652
+ name: "Composite",
18653
+ className: "CredentialReference"
18654
+ }
18608
18655
  }
18609
18656
  }
18610
18657
  }
@@ -23288,6 +23335,36 @@ export const WaitActivity: coreClient.CompositeMapper = {
23288
23335
  }
23289
23336
  };
23290
23337
 
23338
+ export const FailActivity: coreClient.CompositeMapper = {
23339
+ serializedName: "Fail",
23340
+ type: {
23341
+ name: "Composite",
23342
+ className: "FailActivity",
23343
+ uberParent: "Activity",
23344
+ additionalProperties: { type: { name: "Object" } },
23345
+ polymorphicDiscriminator: Activity.type.polymorphicDiscriminator,
23346
+ modelProperties: {
23347
+ ...ControlActivity.type.modelProperties,
23348
+ message: {
23349
+ serializedName: "typeProperties.message",
23350
+ required: true,
23351
+ type: {
23352
+ name: "Dictionary",
23353
+ value: { type: { name: "any" } }
23354
+ }
23355
+ },
23356
+ errorCode: {
23357
+ serializedName: "typeProperties.errorCode",
23358
+ required: true,
23359
+ type: {
23360
+ name: "Dictionary",
23361
+ value: { type: { name: "any" } }
23362
+ }
23363
+ }
23364
+ }
23365
+ }
23366
+ };
23367
+
23291
23368
  export const UntilActivity: coreClient.CompositeMapper = {
23292
23369
  serializedName: "Until",
23293
23370
  type: {
@@ -26906,8 +26983,6 @@ export let discriminators = {
26906
26983
  Activity: Activity,
26907
26984
  Trigger: Trigger,
26908
26985
  DataFlow: DataFlow,
26909
- "ManagedVirtualNetwork.ManagedVirtualNetwork": ManagedVirtualNetwork,
26910
- "ManagedPrivateEndpoint.ManagedPrivateEndpoint": ManagedPrivateEndpoint,
26911
26986
  SecretBase: SecretBase,
26912
26987
  Credential: Credential,
26913
26988
  DatasetLocation: DatasetLocation,
@@ -27293,6 +27368,7 @@ export let discriminators = {
27293
27368
  "Activity.Switch": SwitchActivity,
27294
27369
  "Activity.ForEach": ForEachActivity,
27295
27370
  "Activity.Wait": WaitActivity,
27371
+ "Activity.Fail": FailActivity,
27296
27372
  "Activity.Until": UntilActivity,
27297
27373
  "Activity.Validation": ValidationActivity,
27298
27374
  "Activity.Filter": FilterActivity,
@@ -10,7 +10,7 @@ import { ActivityRuns } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
13
+ import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
14
14
  import {
15
15
  RunFilterParameters,
16
16
  ActivityRunsQueryByPipelineRunOptionalParams,
@@ -19,13 +19,13 @@ import {
19
19
 
20
20
  /** Class containing ActivityRuns operations. */
21
21
  export class ActivityRunsImpl implements ActivityRuns {
22
- private readonly client: DataFactoryManagementClientContext;
22
+ private readonly client: DataFactoryManagementClient;
23
23
 
24
24
  /**
25
25
  * Initialize a new instance of the class ActivityRuns class.
26
26
  * @param client Reference to the service client
27
27
  */
28
- constructor(client: DataFactoryManagementClientContext) {
28
+ constructor(client: DataFactoryManagementClient) {
29
29
  this.client = client;
30
30
  }
31
31
 
@@ -11,7 +11,7 @@ import { DataFlowDebugSession } from "../operationsInterfaces";
11
11
  import * as coreClient from "@azure/core-client";
12
12
  import * as Mappers from "../models/mappers";
13
13
  import * as Parameters from "../models/parameters";
14
- import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
14
+ import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
15
15
  import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
16
16
  import { LroImpl } from "../lroImpl";
17
17
  import {
@@ -36,13 +36,13 @@ import {
36
36
  /// <reference lib="esnext.asynciterable" />
37
37
  /** Class containing DataFlowDebugSession operations. */
38
38
  export class DataFlowDebugSessionImpl implements DataFlowDebugSession {
39
- private readonly client: DataFactoryManagementClientContext;
39
+ private readonly client: DataFactoryManagementClient;
40
40
 
41
41
  /**
42
42
  * Initialize a new instance of the class DataFlowDebugSession class.
43
43
  * @param client Reference to the service client
44
44
  */
45
- constructor(client: DataFactoryManagementClientContext) {
45
+ constructor(client: DataFactoryManagementClient) {
46
46
  this.client = client;
47
47
  }
48
48
 
@@ -11,7 +11,7 @@ import { DataFlows } from "../operationsInterfaces";
11
11
  import * as coreClient from "@azure/core-client";
12
12
  import * as Mappers from "../models/mappers";
13
13
  import * as Parameters from "../models/parameters";
14
- import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
14
+ import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
15
15
  import {
16
16
  DataFlowResource,
17
17
  DataFlowsListByFactoryNextOptionalParams,
@@ -28,13 +28,13 @@ import {
28
28
  /// <reference lib="esnext.asynciterable" />
29
29
  /** Class containing DataFlows operations. */
30
30
  export class DataFlowsImpl implements DataFlows {
31
- private readonly client: DataFactoryManagementClientContext;
31
+ private readonly client: DataFactoryManagementClient;
32
32
 
33
33
  /**
34
34
  * Initialize a new instance of the class DataFlows class.
35
35
  * @param client Reference to the service client
36
36
  */
37
- constructor(client: DataFactoryManagementClientContext) {
37
+ constructor(client: DataFactoryManagementClient) {
38
38
  this.client = client;
39
39
  }
40
40
 
@@ -11,7 +11,7 @@ import { Datasets } from "../operationsInterfaces";
11
11
  import * as coreClient from "@azure/core-client";
12
12
  import * as Mappers from "../models/mappers";
13
13
  import * as Parameters from "../models/parameters";
14
- import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
14
+ import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
15
15
  import {
16
16
  DatasetResource,
17
17
  DatasetsListByFactoryNextOptionalParams,
@@ -28,13 +28,13 @@ import {
28
28
  /// <reference lib="esnext.asynciterable" />
29
29
  /** Class containing Datasets operations. */
30
30
  export class DatasetsImpl implements Datasets {
31
- private readonly client: DataFactoryManagementClientContext;
31
+ private readonly client: DataFactoryManagementClient;
32
32
 
33
33
  /**
34
34
  * Initialize a new instance of the class Datasets class.
35
35
  * @param client Reference to the service client
36
36
  */
37
- constructor(client: DataFactoryManagementClientContext) {
37
+ constructor(client: DataFactoryManagementClient) {
38
38
  this.client = client;
39
39
  }
40
40
 
@@ -10,7 +10,7 @@ import { ExposureControl } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
13
+ import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
14
14
  import {
15
15
  ExposureControlRequest,
16
16
  ExposureControlGetFeatureValueOptionalParams,
@@ -24,13 +24,13 @@ import {
24
24
 
25
25
  /** Class containing ExposureControl operations. */
26
26
  export class ExposureControlImpl implements ExposureControl {
27
- private readonly client: DataFactoryManagementClientContext;
27
+ private readonly client: DataFactoryManagementClient;
28
28
 
29
29
  /**
30
30
  * Initialize a new instance of the class ExposureControl class.
31
31
  * @param client Reference to the service client
32
32
  */
33
- constructor(client: DataFactoryManagementClientContext) {
33
+ constructor(client: DataFactoryManagementClient) {
34
34
  this.client = client;
35
35
  }
36
36