@azure/arm-datafactory 10.7.0 → 10.8.0
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.
- package/CHANGELOG.md +22 -0
- package/dist/index.js +616 -313
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/dataFactoryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/dataFactoryManagementClient.js +21 -13
- package/dist-esm/src/dataFactoryManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +160 -7
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +30 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +112 -100
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +557 -300
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/test/datafactory_examples.spec.d.ts +4 -0
- package/dist-esm/test/datafactory_examples.spec.d.ts.map +1 -0
- package/dist-esm/test/datafactory_examples.spec.js +106 -0
- package/dist-esm/test/datafactory_examples.spec.js.map +1 -0
- package/package.json +2 -2
- package/review/arm-datafactory.api.md +107 -5
- package/src/dataFactoryManagementClient.ts +26 -16
- package/src/models/index.ts +184 -7
- package/src/models/mappers.ts +599 -300
- package/types/arm-datafactory.d.ts +176 -7
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
package/src/models/index.ts
CHANGED
|
@@ -87,6 +87,7 @@ export type LinkedServiceUnion =
|
|
|
87
87
|
| AppFiguresLinkedService
|
|
88
88
|
| AsanaLinkedService
|
|
89
89
|
| TwilioLinkedService
|
|
90
|
+
| GoogleSheetsLinkedService
|
|
90
91
|
| AmazonS3LinkedService
|
|
91
92
|
| AmazonRedshiftLinkedService
|
|
92
93
|
| CustomDataSourceLinkedService
|
|
@@ -138,7 +139,8 @@ export type LinkedServiceUnion =
|
|
|
138
139
|
| AzureDataExplorerLinkedService
|
|
139
140
|
| AzureFunctionLinkedService
|
|
140
141
|
| SnowflakeLinkedService
|
|
141
|
-
| SharePointOnlineListLinkedService
|
|
142
|
+
| SharePointOnlineListLinkedService
|
|
143
|
+
| AzureSynapseArtifactsLinkedService;
|
|
142
144
|
export type DatasetUnion =
|
|
143
145
|
| Dataset
|
|
144
146
|
| AmazonS3Dataset
|
|
@@ -471,7 +473,9 @@ export type ExecutionActivityUnion =
|
|
|
471
473
|
| DatabricksSparkPythonActivity
|
|
472
474
|
| AzureFunctionActivity
|
|
473
475
|
| ExecuteDataFlowActivity
|
|
474
|
-
| ScriptActivity
|
|
476
|
+
| ScriptActivity
|
|
477
|
+
| SynapseNotebookActivity
|
|
478
|
+
| SynapseSparkJobDefinitionActivity;
|
|
475
479
|
export type MultiplePipelineTriggerUnion =
|
|
476
480
|
| MultiplePipelineTrigger
|
|
477
481
|
| ScheduleTrigger
|
|
@@ -1300,6 +1304,7 @@ export interface LinkedService {
|
|
|
1300
1304
|
| "AppFigures"
|
|
1301
1305
|
| "Asana"
|
|
1302
1306
|
| "Twilio"
|
|
1307
|
+
| "GoogleSheets"
|
|
1303
1308
|
| "AmazonS3"
|
|
1304
1309
|
| "AmazonRedshift"
|
|
1305
1310
|
| "CustomDataSource"
|
|
@@ -1351,7 +1356,8 @@ export interface LinkedService {
|
|
|
1351
1356
|
| "AzureDataExplorer"
|
|
1352
1357
|
| "AzureFunction"
|
|
1353
1358
|
| "Snowflake"
|
|
1354
|
-
| "SharePointOnlineList"
|
|
1359
|
+
| "SharePointOnlineList"
|
|
1360
|
+
| "AzureSynapseArtifacts";
|
|
1355
1361
|
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
1356
1362
|
[property: string]: any;
|
|
1357
1363
|
/** The integration runtime reference. */
|
|
@@ -1574,7 +1580,9 @@ export interface Activity {
|
|
|
1574
1580
|
| "WebHook"
|
|
1575
1581
|
| "ExecuteDataFlow"
|
|
1576
1582
|
| "ExecuteWranglingDataflow"
|
|
1577
|
-
| "Script"
|
|
1583
|
+
| "Script"
|
|
1584
|
+
| "SynapseNotebook"
|
|
1585
|
+
| "SparkJob";
|
|
1578
1586
|
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
1579
1587
|
[property: string]: any;
|
|
1580
1588
|
/** Activity name. */
|
|
@@ -2821,7 +2829,7 @@ export interface SqlAlwaysEncryptedProperties {
|
|
|
2821
2829
|
export interface WebLinkedServiceTypeProperties {
|
|
2822
2830
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2823
2831
|
authenticationType: "Anonymous" | "Basic" | "ClientCertificate";
|
|
2824
|
-
/** The URL of the web service endpoint, e.g.
|
|
2832
|
+
/** The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string). */
|
|
2825
2833
|
url: any;
|
|
2826
2834
|
}
|
|
2827
2835
|
|
|
@@ -3588,6 +3596,38 @@ export interface ScriptActivityTypePropertiesLogSettings {
|
|
|
3588
3596
|
logLocationSettings?: LogLocationSettings;
|
|
3589
3597
|
}
|
|
3590
3598
|
|
|
3599
|
+
/** Synapse notebook reference type. */
|
|
3600
|
+
export interface SynapseNotebookReference {
|
|
3601
|
+
/** Synapse notebook reference type. */
|
|
3602
|
+
type: NotebookReferenceType;
|
|
3603
|
+
/** Reference notebook name. Type: string (or Expression with resultType string). */
|
|
3604
|
+
referenceName: any;
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
/** Big data pool reference type. */
|
|
3608
|
+
export interface BigDataPoolParametrizationReference {
|
|
3609
|
+
/** Big data pool reference type. */
|
|
3610
|
+
type: BigDataPoolReferenceType;
|
|
3611
|
+
/** Reference big data pool name. Type: string (or Expression with resultType string). */
|
|
3612
|
+
referenceName: any;
|
|
3613
|
+
}
|
|
3614
|
+
|
|
3615
|
+
/** Notebook parameter. */
|
|
3616
|
+
export interface NotebookParameter {
|
|
3617
|
+
/** Notebook parameter value. Type: string (or Expression with resultType string). */
|
|
3618
|
+
value?: any;
|
|
3619
|
+
/** Notebook parameter type. */
|
|
3620
|
+
type?: NotebookParameterType;
|
|
3621
|
+
}
|
|
3622
|
+
|
|
3623
|
+
/** Synapse spark job reference type. */
|
|
3624
|
+
export interface SynapseSparkJobReference {
|
|
3625
|
+
/** Synapse spark job reference type. */
|
|
3626
|
+
type: SparkJobReferenceType;
|
|
3627
|
+
/** Reference spark job name. */
|
|
3628
|
+
referenceName: string;
|
|
3629
|
+
}
|
|
3630
|
+
|
|
3591
3631
|
/** The workflow trigger recurrence. */
|
|
3592
3632
|
export interface ScheduleTriggerRecurrence {
|
|
3593
3633
|
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
@@ -5108,6 +5148,16 @@ export interface TwilioLinkedService extends LinkedService {
|
|
|
5108
5148
|
password: SecretBaseUnion;
|
|
5109
5149
|
}
|
|
5110
5150
|
|
|
5151
|
+
/** Linked service for GoogleSheets. */
|
|
5152
|
+
export interface GoogleSheetsLinkedService extends LinkedService {
|
|
5153
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
5154
|
+
type: "GoogleSheets";
|
|
5155
|
+
/** The api token for the GoogleSheets source. */
|
|
5156
|
+
apiToken: SecretBaseUnion;
|
|
5157
|
+
/** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
|
|
5158
|
+
encryptedCredential?: any;
|
|
5159
|
+
}
|
|
5160
|
+
|
|
5111
5161
|
/** Linked service for Amazon S3. */
|
|
5112
5162
|
export interface AmazonS3LinkedService extends LinkedService {
|
|
5113
5163
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -5168,7 +5218,7 @@ export interface AzureSearchLinkedService extends LinkedService {
|
|
|
5168
5218
|
export interface HttpLinkedService extends LinkedService {
|
|
5169
5219
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
5170
5220
|
type: "HttpServer";
|
|
5171
|
-
/** The base URL of the HTTP endpoint, e.g.
|
|
5221
|
+
/** The base URL of the HTTP endpoint, e.g. https://www.microsoft.com. Type: string (or Expression with resultType string). */
|
|
5172
5222
|
url: any;
|
|
5173
5223
|
/** The authentication type to be used to connect to the HTTP server. */
|
|
5174
5224
|
authenticationType?: HttpAuthenticationType;
|
|
@@ -6269,6 +6319,16 @@ export interface SharePointOnlineListLinkedService extends LinkedService {
|
|
|
6269
6319
|
encryptedCredential?: any;
|
|
6270
6320
|
}
|
|
6271
6321
|
|
|
6322
|
+
/** Azure Synapse Analytics (Artifacts) linked service. */
|
|
6323
|
+
export interface AzureSynapseArtifactsLinkedService extends LinkedService {
|
|
6324
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
6325
|
+
type: "AzureSynapseArtifacts";
|
|
6326
|
+
/** https://<workspacename>.dev.azuresynapse.net, Azure Synapse Analytics workspace URL. Type: string (or Expression with resultType string). */
|
|
6327
|
+
endpoint: any;
|
|
6328
|
+
/** Required to specify MSI, if using system assigned managed identity as authentication method. Type: string (or Expression with resultType string). */
|
|
6329
|
+
authentication?: any;
|
|
6330
|
+
}
|
|
6331
|
+
|
|
6272
6332
|
/** A single Amazon Simple Storage Service (S3) object or a set of S3 objects. */
|
|
6273
6333
|
export interface AmazonS3Dataset extends Dataset {
|
|
6274
6334
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -7305,7 +7365,9 @@ export interface ExecutionActivity extends Activity {
|
|
|
7305
7365
|
| "DatabricksSparkPython"
|
|
7306
7366
|
| "AzureFunctionActivity"
|
|
7307
7367
|
| "ExecuteDataFlow"
|
|
7308
|
-
| "Script"
|
|
7368
|
+
| "Script"
|
|
7369
|
+
| "SynapseNotebook"
|
|
7370
|
+
| "SparkJob";
|
|
7309
7371
|
/** Linked service reference. */
|
|
7310
7372
|
linkedServiceName?: LinkedServiceReference;
|
|
7311
7373
|
/** Activity policy. */
|
|
@@ -9916,6 +9978,52 @@ export interface ScriptActivity extends ExecutionActivity {
|
|
|
9916
9978
|
logSettings?: ScriptActivityTypePropertiesLogSettings;
|
|
9917
9979
|
}
|
|
9918
9980
|
|
|
9981
|
+
/** Execute Synapse notebook activity. */
|
|
9982
|
+
export interface SynapseNotebookActivity extends ExecutionActivity {
|
|
9983
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
9984
|
+
type: "SynapseNotebook";
|
|
9985
|
+
/** Synapse notebook reference. */
|
|
9986
|
+
notebook: SynapseNotebookReference;
|
|
9987
|
+
/** The name of the big data pool which will be used to execute the notebook. */
|
|
9988
|
+
sparkPool?: BigDataPoolParametrizationReference;
|
|
9989
|
+
/** Notebook parameters. */
|
|
9990
|
+
parameters?: { [propertyName: string]: NotebookParameter };
|
|
9991
|
+
/** Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string). */
|
|
9992
|
+
executorSize?: any;
|
|
9993
|
+
/** Spark configuration properties, which will override the 'conf' of the notebook you provide. */
|
|
9994
|
+
conf?: any;
|
|
9995
|
+
/** 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). */
|
|
9996
|
+
driverSize?: any;
|
|
9997
|
+
/** Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide. */
|
|
9998
|
+
numExecutors?: number;
|
|
9999
|
+
}
|
|
10000
|
+
|
|
10001
|
+
/** Execute spark job activity. */
|
|
10002
|
+
export interface SynapseSparkJobDefinitionActivity extends ExecutionActivity {
|
|
10003
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
10004
|
+
type: "SparkJob";
|
|
10005
|
+
/** Synapse spark job reference. */
|
|
10006
|
+
sparkJob: SynapseSparkJobReference;
|
|
10007
|
+
/** User specified arguments to SynapseSparkJobDefinitionActivity. */
|
|
10008
|
+
arguments?: any[];
|
|
10009
|
+
/** The main file used for the job, which will override the 'file' of the spark job definition you provide. Type: string (or Expression with resultType string). */
|
|
10010
|
+
file?: any;
|
|
10011
|
+
/** The fully-qualified identifier or the main class that is in the main definition file, which will override the 'className' of the spark job definition you provide. Type: string (or Expression with resultType string). */
|
|
10012
|
+
className?: any;
|
|
10013
|
+
/** Additional files used for reference in the main definition file, which will override the 'files' of the spark job definition you provide. */
|
|
10014
|
+
files?: any[];
|
|
10015
|
+
/** The name of the big data pool which will be used to execute the spark batch job, which will override the 'targetBigDataPool' of the spark job definition you provide. */
|
|
10016
|
+
targetBigDataPool?: BigDataPoolParametrizationReference;
|
|
10017
|
+
/** Number of core and memory to be used for executors allocated in the specified Spark pool for the job, which will be used for overriding 'executorCores' and 'executorMemory' of the spark job definition you provide. Type: string (or Expression with resultType string). */
|
|
10018
|
+
executorSize?: any;
|
|
10019
|
+
/** Spark configuration properties, which will override the 'conf' of the spark job definition you provide. */
|
|
10020
|
+
conf?: any;
|
|
10021
|
+
/** Number of core and memory to be used for driver allocated in the specified Spark pool for the job, which will be used for overriding 'driverCores' and 'driverMemory' of the spark job definition you provide. Type: string (or Expression with resultType string). */
|
|
10022
|
+
driverSize?: any;
|
|
10023
|
+
/** Number of executors to launch for this job, which will override the 'numExecutors' of the spark job definition you provide. */
|
|
10024
|
+
numExecutors?: number;
|
|
10025
|
+
}
|
|
10026
|
+
|
|
9919
10027
|
/** Trigger that creates pipeline runs periodically, on schedule. */
|
|
9920
10028
|
export interface ScheduleTrigger extends MultiplePipelineTrigger {
|
|
9921
10029
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -12361,6 +12469,75 @@ export enum KnownScriptActivityLogDestination {
|
|
|
12361
12469
|
*/
|
|
12362
12470
|
export type ScriptActivityLogDestination = string;
|
|
12363
12471
|
|
|
12472
|
+
/** Known values of {@link NotebookReferenceType} that the service accepts. */
|
|
12473
|
+
export enum KnownNotebookReferenceType {
|
|
12474
|
+
/** NotebookReference */
|
|
12475
|
+
NotebookReference = "NotebookReference"
|
|
12476
|
+
}
|
|
12477
|
+
|
|
12478
|
+
/**
|
|
12479
|
+
* Defines values for NotebookReferenceType. \
|
|
12480
|
+
* {@link KnownNotebookReferenceType} can be used interchangeably with NotebookReferenceType,
|
|
12481
|
+
* this enum contains the known values that the service supports.
|
|
12482
|
+
* ### Known values supported by the service
|
|
12483
|
+
* **NotebookReference**
|
|
12484
|
+
*/
|
|
12485
|
+
export type NotebookReferenceType = string;
|
|
12486
|
+
|
|
12487
|
+
/** Known values of {@link BigDataPoolReferenceType} that the service accepts. */
|
|
12488
|
+
export enum KnownBigDataPoolReferenceType {
|
|
12489
|
+
/** BigDataPoolReference */
|
|
12490
|
+
BigDataPoolReference = "BigDataPoolReference"
|
|
12491
|
+
}
|
|
12492
|
+
|
|
12493
|
+
/**
|
|
12494
|
+
* Defines values for BigDataPoolReferenceType. \
|
|
12495
|
+
* {@link KnownBigDataPoolReferenceType} can be used interchangeably with BigDataPoolReferenceType,
|
|
12496
|
+
* this enum contains the known values that the service supports.
|
|
12497
|
+
* ### Known values supported by the service
|
|
12498
|
+
* **BigDataPoolReference**
|
|
12499
|
+
*/
|
|
12500
|
+
export type BigDataPoolReferenceType = string;
|
|
12501
|
+
|
|
12502
|
+
/** Known values of {@link NotebookParameterType} that the service accepts. */
|
|
12503
|
+
export enum KnownNotebookParameterType {
|
|
12504
|
+
/** String */
|
|
12505
|
+
String = "string",
|
|
12506
|
+
/** Int */
|
|
12507
|
+
Int = "int",
|
|
12508
|
+
/** Float */
|
|
12509
|
+
Float = "float",
|
|
12510
|
+
/** Bool */
|
|
12511
|
+
Bool = "bool"
|
|
12512
|
+
}
|
|
12513
|
+
|
|
12514
|
+
/**
|
|
12515
|
+
* Defines values for NotebookParameterType. \
|
|
12516
|
+
* {@link KnownNotebookParameterType} can be used interchangeably with NotebookParameterType,
|
|
12517
|
+
* this enum contains the known values that the service supports.
|
|
12518
|
+
* ### Known values supported by the service
|
|
12519
|
+
* **string** \
|
|
12520
|
+
* **int** \
|
|
12521
|
+
* **float** \
|
|
12522
|
+
* **bool**
|
|
12523
|
+
*/
|
|
12524
|
+
export type NotebookParameterType = string;
|
|
12525
|
+
|
|
12526
|
+
/** Known values of {@link SparkJobReferenceType} that the service accepts. */
|
|
12527
|
+
export enum KnownSparkJobReferenceType {
|
|
12528
|
+
/** SparkJobDefinitionReference */
|
|
12529
|
+
SparkJobDefinitionReference = "SparkJobDefinitionReference"
|
|
12530
|
+
}
|
|
12531
|
+
|
|
12532
|
+
/**
|
|
12533
|
+
* Defines values for SparkJobReferenceType. \
|
|
12534
|
+
* {@link KnownSparkJobReferenceType} can be used interchangeably with SparkJobReferenceType,
|
|
12535
|
+
* this enum contains the known values that the service supports.
|
|
12536
|
+
* ### Known values supported by the service
|
|
12537
|
+
* **SparkJobDefinitionReference**
|
|
12538
|
+
*/
|
|
12539
|
+
export type SparkJobReferenceType = string;
|
|
12540
|
+
|
|
12364
12541
|
/** Known values of {@link RecurrenceFrequency} that the service accepts. */
|
|
12365
12542
|
export enum KnownRecurrenceFrequency {
|
|
12366
12543
|
/** NotSpecified */
|