@azure/arm-datafactory 10.10.2-alpha.20230210.1 → 11.0.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.
Files changed (103) hide show
  1. package/CHANGELOG.md +38 -7
  2. package/dist/index.js +837 -355
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/credentialOperationsCreateOrUpdateSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/credentialOperationsCreateOrUpdateSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/credentialOperationsCreateOrUpdateSample.js +46 -0
  9. package/dist-esm/samples-dev/credentialOperationsCreateOrUpdateSample.js.map +1 -0
  10. package/dist-esm/samples-dev/credentialOperationsDeleteSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/credentialOperationsDeleteSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/credentialOperationsDeleteSample.js +40 -0
  13. package/dist-esm/samples-dev/credentialOperationsDeleteSample.js.map +1 -0
  14. package/dist-esm/samples-dev/credentialOperationsGetSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/credentialOperationsGetSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/credentialOperationsGetSample.js +40 -0
  17. package/dist-esm/samples-dev/credentialOperationsGetSample.js.map +1 -0
  18. package/dist-esm/samples-dev/credentialOperationsListByFactorySample.d.ts +2 -0
  19. package/dist-esm/samples-dev/credentialOperationsListByFactorySample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/credentialOperationsListByFactorySample.js +53 -0
  21. package/dist-esm/samples-dev/credentialOperationsListByFactorySample.js.map +1 -0
  22. package/dist-esm/src/dataFactoryManagementClient.d.ts +2 -1
  23. package/dist-esm/src/dataFactoryManagementClient.d.ts.map +1 -1
  24. package/dist-esm/src/dataFactoryManagementClient.js +3 -2
  25. package/dist-esm/src/dataFactoryManagementClient.js.map +1 -1
  26. package/dist-esm/src/lroImpl.d.ts +6 -11
  27. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  28. package/dist-esm/src/lroImpl.js +12 -20
  29. package/dist-esm/src/lroImpl.js.map +1 -1
  30. package/dist-esm/src/models/index.d.ts +170 -33
  31. package/dist-esm/src/models/index.d.ts.map +1 -1
  32. package/dist-esm/src/models/index.js +30 -0
  33. package/dist-esm/src/models/index.js.map +1 -1
  34. package/dist-esm/src/models/mappers.d.ts +11 -6
  35. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  36. package/dist-esm/src/models/mappers.js +239 -86
  37. package/dist-esm/src/models/mappers.js.map +1 -1
  38. package/dist-esm/src/models/parameters.d.ts +2 -0
  39. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  40. package/dist-esm/src/models/parameters.js +20 -1
  41. package/dist-esm/src/models/parameters.js.map +1 -1
  42. package/dist-esm/src/operations/credentialOperations.d.ts +63 -0
  43. package/dist-esm/src/operations/credentialOperations.d.ts.map +1 -0
  44. package/dist-esm/src/operations/credentialOperations.js +251 -0
  45. package/dist-esm/src/operations/credentialOperations.js.map +1 -0
  46. package/dist-esm/src/operations/dataFlowDebugSession.d.ts +3 -3
  47. package/dist-esm/src/operations/dataFlowDebugSession.d.ts.map +1 -1
  48. package/dist-esm/src/operations/dataFlowDebugSession.js +18 -10
  49. package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
  50. package/dist-esm/src/operations/index.d.ts +1 -0
  51. package/dist-esm/src/operations/index.d.ts.map +1 -1
  52. package/dist-esm/src/operations/index.js +1 -0
  53. package/dist-esm/src/operations/index.js.map +1 -1
  54. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts +2 -2
  55. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts.map +1 -1
  56. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js +10 -6
  57. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js.map +1 -1
  58. package/dist-esm/src/operations/integrationRuntimes.d.ts +3 -3
  59. package/dist-esm/src/operations/integrationRuntimes.d.ts.map +1 -1
  60. package/dist-esm/src/operations/integrationRuntimes.js +18 -10
  61. package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
  62. package/dist-esm/src/operations/triggers.d.ts +5 -5
  63. package/dist-esm/src/operations/triggers.d.ts.map +1 -1
  64. package/dist-esm/src/operations/triggers.js +34 -18
  65. package/dist-esm/src/operations/triggers.js.map +1 -1
  66. package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts +38 -0
  67. package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/credentialOperations.js +9 -0
  69. package/dist-esm/src/operationsInterfaces/credentialOperations.js.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.d.ts +3 -3
  71. package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -1
  72. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  73. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  74. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  75. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  76. package/dist-esm/src/operationsInterfaces/integrationRuntimeObjectMetadata.d.ts +2 -2
  77. package/dist-esm/src/operationsInterfaces/integrationRuntimeObjectMetadata.d.ts.map +1 -1
  78. package/dist-esm/src/operationsInterfaces/integrationRuntimes.d.ts +3 -3
  79. package/dist-esm/src/operationsInterfaces/integrationRuntimes.d.ts.map +1 -1
  80. package/dist-esm/src/operationsInterfaces/triggers.d.ts +5 -5
  81. package/dist-esm/src/operationsInterfaces/triggers.d.ts.map +1 -1
  82. package/dist-esm/test/datafactory_examples.spec.js +31 -0
  83. package/dist-esm/test/datafactory_examples.spec.js.map +1 -1
  84. package/package.json +6 -6
  85. package/review/arm-datafactory.api.md +129 -15
  86. package/src/dataFactoryManagementClient.ts +5 -1
  87. package/src/lroImpl.ts +31 -23
  88. package/src/models/index.ts +196 -39
  89. package/src/models/mappers.ts +262 -95
  90. package/src/models/parameters.ts +24 -0
  91. package/src/operations/credentialOperations.ts +341 -0
  92. package/src/operations/dataFlowDebugSession.ts +32 -22
  93. package/src/operations/index.ts +1 -0
  94. package/src/operations/integrationRuntimeObjectMetadata.ts +19 -12
  95. package/src/operations/integrationRuntimes.ts +28 -21
  96. package/src/operations/triggers.ts +50 -40
  97. package/src/operationsInterfaces/credentialOperations.ts +75 -0
  98. package/src/operationsInterfaces/dataFlowDebugSession.ts +5 -5
  99. package/src/operationsInterfaces/index.ts +1 -0
  100. package/src/operationsInterfaces/integrationRuntimeObjectMetadata.ts +3 -3
  101. package/src/operationsInterfaces/integrationRuntimes.ts +4 -4
  102. package/src/operationsInterfaces/triggers.ts +7 -7
  103. package/types/arm-datafactory.d.ts +210 -16
@@ -32,6 +32,7 @@ import {
32
32
  DataFlowDebugSessionImpl,
33
33
  ManagedVirtualNetworksImpl,
34
34
  ManagedPrivateEndpointsImpl,
35
+ CredentialOperationsImpl,
35
36
  PrivateEndPointConnectionsImpl,
36
37
  PrivateEndpointConnectionImpl,
37
38
  PrivateLinkResourcesImpl,
@@ -55,6 +56,7 @@ import {
55
56
  DataFlowDebugSession,
56
57
  ManagedVirtualNetworks,
57
58
  ManagedPrivateEndpoints,
59
+ CredentialOperations,
58
60
  PrivateEndPointConnections,
59
61
  PrivateEndpointConnection,
60
62
  PrivateLinkResources,
@@ -94,7 +96,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
94
96
  credential: credentials
95
97
  };
96
98
 
97
- const packageDetails = `azsdk-js-arm-datafactory/10.10.2`;
99
+ const packageDetails = `azsdk-js-arm-datafactory/11.0.0`;
98
100
  const userAgentPrefix =
99
101
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
100
102
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -167,6 +169,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
167
169
  this.dataFlowDebugSession = new DataFlowDebugSessionImpl(this);
168
170
  this.managedVirtualNetworks = new ManagedVirtualNetworksImpl(this);
169
171
  this.managedPrivateEndpoints = new ManagedPrivateEndpointsImpl(this);
172
+ this.credentialOperations = new CredentialOperationsImpl(this);
170
173
  this.privateEndPointConnections = new PrivateEndPointConnectionsImpl(this);
171
174
  this.privateEndpointConnection = new PrivateEndpointConnectionImpl(this);
172
175
  this.privateLinkResources = new PrivateLinkResourcesImpl(this);
@@ -219,6 +222,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
219
222
  dataFlowDebugSession: DataFlowDebugSession;
220
223
  managedVirtualNetworks: ManagedVirtualNetworks;
221
224
  managedPrivateEndpoints: ManagedPrivateEndpoints;
225
+ credentialOperations: CredentialOperations;
222
226
  privateEndPointConnections: PrivateEndPointConnections;
223
227
  privateEndpointConnection: PrivateEndpointConnection;
224
228
  privateLinkResources: PrivateLinkResources;
package/src/lroImpl.ts CHANGED
@@ -6,29 +6,37 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT license.
11
+
12
+ import { AbortSignalLike } from "@azure/abort-controller";
9
13
  import { LongRunningOperation, LroResponse } from "@azure/core-lro";
10
14
 
11
- export class LroImpl<T> implements LongRunningOperation<T> {
12
- constructor(
13
- private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,
14
- private args: Record<string, unknown>,
15
- private spec: {
16
- readonly requestBody?: unknown;
17
- readonly path?: string;
18
- readonly httpMethod: string;
19
- } & Record<string, any>,
20
- public requestPath: string = spec.path!,
21
- public requestMethod: string = spec.httpMethod
22
- ) {}
23
- public async sendInitialRequest(): Promise<LroResponse<T>> {
24
- return this.sendOperationFn(this.args, this.spec);
25
- }
26
- public async sendPollRequest(path: string): Promise<LroResponse<T>> {
27
- const { requestBody, ...restSpec } = this.spec;
28
- return this.sendOperationFn(this.args, {
29
- ...restSpec,
30
- path,
31
- httpMethod: "GET"
32
- });
33
- }
15
+ export function createLroSpec<T>(inputs: {
16
+ sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
17
+ args: Record<string, unknown>;
18
+ spec: {
19
+ readonly requestBody?: unknown;
20
+ readonly path?: string;
21
+ readonly httpMethod: string;
22
+ } & Record<string, any>;
23
+ }): LongRunningOperation<T> {
24
+ const { args, spec, sendOperationFn } = inputs;
25
+ return {
26
+ requestMethod: spec.httpMethod,
27
+ requestPath: spec.path!,
28
+ sendInitialRequest: () => sendOperationFn(args, spec),
29
+ sendPollRequest: (
30
+ path: string,
31
+ options?: { abortSignal?: AbortSignalLike }
32
+ ) => {
33
+ const { requestBody, ...restSpec } = spec;
34
+ return sendOperationFn(args, {
35
+ ...restSpec,
36
+ httpMethod: "GET",
37
+ path,
38
+ abortSignal: options?.abortSignal
39
+ });
40
+ }
41
+ };
34
42
  }
@@ -255,14 +255,14 @@ export type DataFlowUnion =
255
255
  | MappingDataFlow
256
256
  | Flowlet
257
257
  | WranglingDataFlow;
258
+ export type CredentialUnion =
259
+ | Credential
260
+ | ManagedIdentityCredential
261
+ | ServicePrincipalCredential;
258
262
  export type SecretBaseUnion =
259
263
  | SecretBase
260
264
  | SecureString
261
265
  | AzureKeyVaultSecretReference;
262
- export type CredentialUnion =
263
- | Credential
264
- | ServicePrincipalCredential
265
- | ManagedIdentityCredential;
266
266
  export type DatasetLocationUnion =
267
267
  | DatasetLocation
268
268
  | AzureBlobStorageLocation
@@ -2242,6 +2242,26 @@ export interface ConnectionStateProperties {
2242
2242
  readonly status?: string;
2243
2243
  }
2244
2244
 
2245
+ /** A list of credential resources. */
2246
+ export interface CredentialListResponse {
2247
+ /** List of credentials. */
2248
+ value: ManagedIdentityCredentialResource[];
2249
+ /** The link to the next page of results, if any remaining results exist. */
2250
+ nextLink?: string;
2251
+ }
2252
+
2253
+ /** The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. */
2254
+ export interface Credential {
2255
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2256
+ type: "ManagedIdentity" | "ServicePrincipal";
2257
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
2258
+ [property: string]: any;
2259
+ /** Credential description. */
2260
+ description?: string;
2261
+ /** List of tags that can be used for describing the Credential. */
2262
+ annotations?: any[];
2263
+ }
2264
+
2245
2265
  /** A list of linked service resources. */
2246
2266
  export interface PrivateEndpointConnectionListResponse {
2247
2267
  /** List of Private Endpoint Connections. */
@@ -2412,18 +2432,6 @@ export interface CredentialReference {
2412
2432
  referenceName: string;
2413
2433
  }
2414
2434
 
2415
- /** The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. */
2416
- export interface Credential {
2417
- /** Polymorphic discriminator, which specifies the different types this object can be */
2418
- type: "ServicePrincipal" | "ManagedIdentity";
2419
- /** Describes unknown properties. The value of an unknown property can be of "any" type. */
2420
- [property: string]: any;
2421
- /** Credential description. */
2422
- description?: string;
2423
- /** List of tags that can be used for describing the Credential. */
2424
- annotations?: any[];
2425
- }
2426
-
2427
2435
  /** A data flow transformation. */
2428
2436
  export interface Transformation {
2429
2437
  /** Transformation name. */
@@ -2524,6 +2532,10 @@ export interface IntegrationRuntimeComputeProperties {
2524
2532
  dataFlowProperties?: IntegrationRuntimeDataFlowProperties;
2525
2533
  /** VNet properties for managed integration runtime. */
2526
2534
  vNetProperties?: IntegrationRuntimeVNetProperties;
2535
+ /** CopyComputeScale properties for managed integration runtime. */
2536
+ copyComputeScaleProperties?: CopyComputeScaleProperties;
2537
+ /** PipelineExternalComputeScale properties for managed integration runtime. */
2538
+ pipelineExternalComputeScaleProperties?: PipelineExternalComputeScaleProperties;
2527
2539
  }
2528
2540
 
2529
2541
  /** Data flow properties for managed integration runtime. */
@@ -2554,6 +2566,24 @@ export interface IntegrationRuntimeVNetProperties {
2554
2566
  subnetId?: string;
2555
2567
  }
2556
2568
 
2569
+ /** CopyComputeScale properties for managed integration runtime. */
2570
+ export interface CopyComputeScaleProperties {
2571
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
2572
+ [property: string]: any;
2573
+ /** DIU number setting reserved for copy activity execution. Supported values are multiples of 4 in range 4-256. */
2574
+ dataIntegrationUnit?: number;
2575
+ /** Time to live (in minutes) setting of integration runtime which will execute copy activity. */
2576
+ timeToLive?: number;
2577
+ }
2578
+
2579
+ /** PipelineExternalComputeScale properties for managed integration runtime. */
2580
+ export interface PipelineExternalComputeScaleProperties {
2581
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
2582
+ [property: string]: any;
2583
+ /** Time to live (in minutes) setting of integration runtime which will execute pipeline and external activity. */
2584
+ timeToLive?: number;
2585
+ }
2586
+
2557
2587
  /** SSIS properties for managed integration runtime. */
2558
2588
  export interface IntegrationRuntimeSsisProperties {
2559
2589
  /** Describes unknown properties. The value of an unknown property can be of "any" type. */
@@ -3630,6 +3660,14 @@ export interface SynapseSparkJobReference {
3630
3660
  referenceName: any;
3631
3661
  }
3632
3662
 
3663
+ /** Spark configuration reference. */
3664
+ export interface SparkConfigurationParametrizationReference {
3665
+ /** Spark configuration reference type. */
3666
+ type: SparkConfigurationReferenceType;
3667
+ /** Reference spark configuration name. Type: string (or Expression with resultType string). */
3668
+ referenceName: any;
3669
+ }
3670
+
3633
3671
  /** The workflow trigger recurrence. */
3634
3672
  export interface ScheduleTriggerRecurrence {
3635
3673
  /** Describes unknown properties. The value of an unknown property can be of "any" type. */
@@ -3847,6 +3885,12 @@ export interface ManagedPrivateEndpointResource extends SubResource {
3847
3885
  properties: ManagedPrivateEndpoint;
3848
3886
  }
3849
3887
 
3888
+ /** Credential resource type. */
3889
+ export interface ManagedIdentityCredentialResource extends SubResource {
3890
+ /** Managed Identity Credential properties. */
3891
+ properties: ManagedIdentityCredential;
3892
+ }
3893
+
3850
3894
  /** Private Endpoint Connection ARM resource. */
3851
3895
  export interface PrivateEndpointConnectionResource extends SubResource {
3852
3896
  /** Core resource properties */
@@ -4074,6 +4118,10 @@ export interface AzureBlobStorageLinkedService extends LinkedService {
4074
4118
  encryptedCredential?: string;
4075
4119
  /** The credential reference containing authentication information. */
4076
4120
  credential?: CredentialReference;
4121
+ /** The type used for authentication. Type: string. */
4122
+ authenticationType?: AzureStorageAuthenticationType;
4123
+ /** Container uri of the Azure Blob Storage resource only support for anonymous access. Type: string (or Expression with resultType string). */
4124
+ containerUri?: any;
4077
4125
  }
4078
4126
 
4079
4127
  /** The azure table storage linked service. */
@@ -7538,6 +7586,26 @@ export interface LinkedServiceDebugResource extends SubResourceDebugResource {
7538
7586
  properties: LinkedServiceUnion;
7539
7587
  }
7540
7588
 
7589
+ /** Managed identity credential. */
7590
+ export interface ManagedIdentityCredential extends Credential {
7591
+ /** Polymorphic discriminator, which specifies the different types this object can be */
7592
+ type: "ManagedIdentity";
7593
+ /** The resource id of user assigned managed identity */
7594
+ resourceId?: string;
7595
+ }
7596
+
7597
+ /** Service principal credential. */
7598
+ export interface ServicePrincipalCredential extends Credential {
7599
+ /** Polymorphic discriminator, which specifies the different types this object can be */
7600
+ type: "ServicePrincipal";
7601
+ /** The app ID of the service principal used to authenticate */
7602
+ servicePrincipalId?: any;
7603
+ /** The key of the service principal used to authenticate. */
7604
+ servicePrincipalKey?: AzureKeyVaultSecretReference;
7605
+ /** The ID of the tenant to which the service principal belongs */
7606
+ tenant?: any;
7607
+ }
7608
+
7541
7609
  /** Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls. */
7542
7610
  export interface SecureString extends SecretBase {
7543
7611
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -7558,26 +7626,6 @@ export interface AzureKeyVaultSecretReference extends SecretBase {
7558
7626
  secretVersion?: any;
7559
7627
  }
7560
7628
 
7561
- /** Service principal credential. */
7562
- export interface ServicePrincipalCredential extends Credential {
7563
- /** Polymorphic discriminator, which specifies the different types this object can be */
7564
- type: "ServicePrincipal";
7565
- /** The app ID of the service principal used to authenticate */
7566
- servicePrincipalId?: any;
7567
- /** The key of the service principal used to authenticate. */
7568
- servicePrincipalKey?: AzureKeyVaultSecretReference;
7569
- /** The ID of the tenant to which the service principal belongs */
7570
- tenant?: any;
7571
- }
7572
-
7573
- /** Managed identity credential. */
7574
- export interface ManagedIdentityCredential extends Credential {
7575
- /** Polymorphic discriminator, which specifies the different types this object can be */
7576
- type: "ManagedIdentity";
7577
- /** The resource id of user assigned managed identity */
7578
- resourceId?: string;
7579
- }
7580
-
7581
7629
  /** Transformation for data flow source. */
7582
7630
  export interface DataFlowSource extends Transformation {
7583
7631
  /** Schema linked service reference. */
@@ -8811,7 +8859,7 @@ export interface SnowflakeSource extends CopySource {
8811
8859
  /** Snowflake Sql query. Type: string (or Expression with resultType string). */
8812
8860
  query?: any;
8813
8861
  /** Snowflake export settings. */
8814
- exportSettings?: SnowflakeExportCopyCommand;
8862
+ exportSettings: SnowflakeExportCopyCommand;
8815
8863
  }
8816
8864
 
8817
8865
  /** A copy activity Azure Databricks Delta Lake source. */
@@ -10006,6 +10054,8 @@ export interface SynapseSparkJobDefinitionActivity extends ExecutionActivity {
10006
10054
  arguments?: any[];
10007
10055
  /** 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). */
10008
10056
  file?: any;
10057
+ /** Scanning subfolders from the root folder of the main definition file, these files will be added as reference files. The folders named 'jars', 'pyFiles', 'files' or 'archives' will be scanned, and the folders name are case sensitive. Type: boolean (or Expression with resultType boolean). */
10058
+ scanFolder?: any;
10009
10059
  /** 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). */
10010
10060
  className?: any;
10011
10061
  /** (Deprecated. Please use pythonCodeReference and filesV2) Additional files used for reference in the main definition file, which will override the 'files' of the spark job definition you provide. */
@@ -10022,8 +10072,14 @@ export interface SynapseSparkJobDefinitionActivity extends ExecutionActivity {
10022
10072
  conf?: any;
10023
10073
  /** 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). */
10024
10074
  driverSize?: any;
10025
- /** Number of executors to launch for this job, which will override the 'numExecutors' of the spark job definition you provide. */
10026
- numExecutors?: number;
10075
+ /** Number of executors to launch for this job, which will override the 'numExecutors' of the spark job definition you provide. Type: integer (or Expression with resultType integer). */
10076
+ numExecutors?: any;
10077
+ /** The type of the spark config. */
10078
+ configurationType?: ConfigurationType;
10079
+ /** The spark configuration of the spark job. */
10080
+ targetSparkConfiguration?: SparkConfigurationParametrizationReference;
10081
+ /** Spark configuration property. */
10082
+ sparkConfig?: { [propertyName: string]: any };
10027
10083
  }
10028
10084
 
10029
10085
  /** Trigger that creates pipeline runs periodically, on schedule. */
@@ -11441,6 +11497,33 @@ export enum KnownIntegrationRuntimeInternalChannelEncryptionMode {
11441
11497
  */
11442
11498
  export type IntegrationRuntimeInternalChannelEncryptionMode = string;
11443
11499
 
11500
+ /** Known values of {@link AzureStorageAuthenticationType} that the service accepts. */
11501
+ export enum KnownAzureStorageAuthenticationType {
11502
+ /** Anonymous */
11503
+ Anonymous = "Anonymous",
11504
+ /** AccountKey */
11505
+ AccountKey = "AccountKey",
11506
+ /** SasUri */
11507
+ SasUri = "SasUri",
11508
+ /** ServicePrincipal */
11509
+ ServicePrincipal = "ServicePrincipal",
11510
+ /** Msi */
11511
+ Msi = "Msi"
11512
+ }
11513
+
11514
+ /**
11515
+ * Defines values for AzureStorageAuthenticationType. \
11516
+ * {@link KnownAzureStorageAuthenticationType} can be used interchangeably with AzureStorageAuthenticationType,
11517
+ * this enum contains the known values that the service supports.
11518
+ * ### Known values supported by the service
11519
+ * **Anonymous** \
11520
+ * **AccountKey** \
11521
+ * **SasUri** \
11522
+ * **ServicePrincipal** \
11523
+ * **Msi**
11524
+ */
11525
+ export type AzureStorageAuthenticationType = string;
11526
+
11444
11527
  /** Known values of {@link SqlAlwaysEncryptedAkvAuthType} that the service accepts. */
11445
11528
  export enum KnownSqlAlwaysEncryptedAkvAuthType {
11446
11529
  /** ServicePrincipal */
@@ -12530,6 +12613,42 @@ export enum KnownSparkJobReferenceType {
12530
12613
  */
12531
12614
  export type SparkJobReferenceType = string;
12532
12615
 
12616
+ /** Known values of {@link ConfigurationType} that the service accepts. */
12617
+ export enum KnownConfigurationType {
12618
+ /** Default */
12619
+ Default = "Default",
12620
+ /** Customized */
12621
+ Customized = "Customized",
12622
+ /** Artifact */
12623
+ Artifact = "Artifact"
12624
+ }
12625
+
12626
+ /**
12627
+ * Defines values for ConfigurationType. \
12628
+ * {@link KnownConfigurationType} can be used interchangeably with ConfigurationType,
12629
+ * this enum contains the known values that the service supports.
12630
+ * ### Known values supported by the service
12631
+ * **Default** \
12632
+ * **Customized** \
12633
+ * **Artifact**
12634
+ */
12635
+ export type ConfigurationType = string;
12636
+
12637
+ /** Known values of {@link SparkConfigurationReferenceType} that the service accepts. */
12638
+ export enum KnownSparkConfigurationReferenceType {
12639
+ /** SparkConfigurationReference */
12640
+ SparkConfigurationReference = "SparkConfigurationReference"
12641
+ }
12642
+
12643
+ /**
12644
+ * Defines values for SparkConfigurationReferenceType. \
12645
+ * {@link KnownSparkConfigurationReferenceType} can be used interchangeably with SparkConfigurationReferenceType,
12646
+ * this enum contains the known values that the service supports.
12647
+ * ### Known values supported by the service
12648
+ * **SparkConfigurationReference**
12649
+ */
12650
+ export type SparkConfigurationReferenceType = string;
12651
+
12533
12652
  /** Known values of {@link RecurrenceFrequency} that the service accepts. */
12534
12653
  export enum KnownRecurrenceFrequency {
12535
12654
  /** NotSpecified */
@@ -13791,6 +13910,44 @@ export interface ManagedPrivateEndpointsListByFactoryNextOptionalParams
13791
13910
  /** Contains response data for the listByFactoryNext operation. */
13792
13911
  export type ManagedPrivateEndpointsListByFactoryNextResponse = ManagedPrivateEndpointListResponse;
13793
13912
 
13913
+ /** Optional parameters. */
13914
+ export interface CredentialOperationsListByFactoryOptionalParams
13915
+ extends coreClient.OperationOptions {}
13916
+
13917
+ /** Contains response data for the listByFactory operation. */
13918
+ export type CredentialOperationsListByFactoryResponse = CredentialListResponse;
13919
+
13920
+ /** Optional parameters. */
13921
+ export interface CredentialOperationsCreateOrUpdateOptionalParams
13922
+ extends coreClient.OperationOptions {
13923
+ /** ETag of the credential entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */
13924
+ ifMatch?: string;
13925
+ }
13926
+
13927
+ /** Contains response data for the createOrUpdate operation. */
13928
+ export type CredentialOperationsCreateOrUpdateResponse = ManagedIdentityCredentialResource;
13929
+
13930
+ /** Optional parameters. */
13931
+ export interface CredentialOperationsGetOptionalParams
13932
+ extends coreClient.OperationOptions {
13933
+ /** ETag of the credential 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. */
13934
+ ifNoneMatch?: string;
13935
+ }
13936
+
13937
+ /** Contains response data for the get operation. */
13938
+ export type CredentialOperationsGetResponse = ManagedIdentityCredentialResource;
13939
+
13940
+ /** Optional parameters. */
13941
+ export interface CredentialOperationsDeleteOptionalParams
13942
+ extends coreClient.OperationOptions {}
13943
+
13944
+ /** Optional parameters. */
13945
+ export interface CredentialOperationsListByFactoryNextOptionalParams
13946
+ extends coreClient.OperationOptions {}
13947
+
13948
+ /** Contains response data for the listByFactoryNext operation. */
13949
+ export type CredentialOperationsListByFactoryNextResponse = CredentialListResponse;
13950
+
13794
13951
  /** Optional parameters. */
13795
13952
  export interface PrivateEndPointConnectionsListByFactoryOptionalParams
13796
13953
  extends coreClient.OperationOptions {}