@azure/arm-datafactory 9.0.0-alpha.20211111.1 → 10.0.0-alpha.20211123.4

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for DataFactoryManagementClient.",
6
- "version": "9.0.0-alpha.20211111.1",
6
+ "version": "10.0.0-alpha.20211123.4",
7
7
  "engines": {
8
8
  "node": ">=12.0.0"
9
9
  },
@@ -38,6 +38,7 @@
38
38
  "rollup-plugin-sourcemaps": "^0.4.2",
39
39
  "typescript": "~4.2.0",
40
40
  "uglify-js": "^3.4.9",
41
+ "rimraf": "^3.0.0",
41
42
  "@azure/identity": "^2.0.1",
42
43
  "@azure-tools/test-recorder": "^1.0.0",
43
44
  "mocha": "^7.1.1",
@@ -77,7 +78,7 @@
77
78
  "extract-api": "api-extractor run --local",
78
79
  "lint": "echo skipped",
79
80
  "audit": "echo skipped",
80
- "clean": "echo skipped",
81
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
81
82
  "build:node": "echo skipped",
82
83
  "build:browser": "echo skipped",
83
84
  "build:test": "echo skipped",
@@ -92,7 +93,7 @@
92
93
  "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
93
94
  "unit-test:browser": "echo skipped",
94
95
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
95
- "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts",
96
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
96
97
  "integration-test:browser": "echo skipped",
97
98
  "docs": "echo skipped"
98
99
  },
@@ -1784,6 +1784,9 @@ export interface DataFlowListResponse {
1784
1784
  export interface DataFlowReference {
1785
1785
  [property: string]: any;
1786
1786
  datasetParameters?: Record<string, unknown>;
1787
+ parameters?: {
1788
+ [propertyName: string]: Record<string, unknown>;
1789
+ };
1787
1790
  referenceName: string;
1788
1791
  type: "DataFlowReference";
1789
1792
  }
@@ -1823,8 +1826,6 @@ export type DataFlowsGetResponse = DataFlowResource;
1823
1826
 
1824
1827
  // @public
1825
1828
  export type DataFlowSink = Transformation & {
1826
- dataset?: DatasetReference;
1827
- linkedService?: LinkedServiceReference;
1828
1829
  schemaLinkedService?: LinkedServiceReference;
1829
1830
  };
1830
1831
 
@@ -1844,8 +1845,6 @@ export type DataFlowsListByFactoryResponse = DataFlowListResponse;
1844
1845
 
1845
1846
  // @public
1846
1847
  export type DataFlowSource = Transformation & {
1847
- dataset?: DatasetReference;
1848
- linkedService?: LinkedServiceReference;
1849
1848
  schemaLinkedService?: LinkedServiceReference;
1850
1849
  };
1851
1850
 
@@ -2770,13 +2769,11 @@ export type FilterActivity = ControlActivity & {
2770
2769
  // @public
2771
2770
  export type Flowlet = DataFlow & {
2772
2771
  type: "Flowlet";
2773
- [property: string]: any;
2774
2772
  sources?: DataFlowSource[];
2775
2773
  sinks?: DataFlowSink[];
2776
2774
  transformations?: Transformation[];
2777
2775
  script?: string;
2778
2776
  scriptLines?: string[];
2779
- additionalProperties?: Record<string, unknown>;
2780
2777
  };
2781
2778
 
2782
2779
  // @public
@@ -2820,6 +2817,7 @@ export type FtpReadSettings = StoreReadSettings & {
2820
2817
  deleteFilesAfterCompletion?: Record<string, unknown>;
2821
2818
  fileListPath?: Record<string, unknown>;
2822
2819
  useBinaryTransfer?: boolean;
2820
+ disableChunking?: Record<string, unknown>;
2823
2821
  };
2824
2822
 
2825
2823
  // @public
@@ -6986,6 +6984,7 @@ export type SftpReadSettings = StoreReadSettings & {
6986
6984
  deleteFilesAfterCompletion?: Record<string, unknown>;
6987
6985
  modifiedDatetimeStart?: Record<string, unknown>;
6988
6986
  modifiedDatetimeEnd?: Record<string, unknown>;
6987
+ disableChunking?: Record<string, unknown>;
6989
6988
  };
6990
6989
 
6991
6990
  // @public
@@ -7697,8 +7696,10 @@ export type TextFormat = DatasetStorageFormat & {
7697
7696
 
7698
7697
  // @public
7699
7698
  export interface Transformation {
7699
+ dataset?: DatasetReference;
7700
7700
  description?: string;
7701
7701
  flowlet?: DataFlowReference;
7702
+ linkedService?: LinkedServiceReference;
7702
7703
  name: string;
7703
7704
  }
7704
7705
 
@@ -42,7 +42,7 @@ export class DataFactoryManagementClientContext extends coreClient.ServiceClient
42
42
  credential: credentials
43
43
  };
44
44
 
45
- const packageDetails = `azsdk-js-arm-datafactory/9.0.0-beta.1`;
45
+ const packageDetails = `azsdk-js-arm-datafactory/10.0.0-beta.1`;
46
46
  const userAgentPrefix =
47
47
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
48
48
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -642,34 +642,6 @@ export interface FactoryListResponse {
642
642
  nextLink?: string;
643
643
  }
644
644
 
645
- /** Azure Data Factory top-level resource. */
646
- export interface Resource {
647
- /**
648
- * The resource identifier.
649
- * NOTE: This property will not be serialized. It can only be populated by the server.
650
- */
651
- readonly id?: string;
652
- /**
653
- * The resource name.
654
- * NOTE: This property will not be serialized. It can only be populated by the server.
655
- */
656
- readonly name?: string;
657
- /**
658
- * The resource type.
659
- * NOTE: This property will not be serialized. It can only be populated by the server.
660
- */
661
- readonly type?: string;
662
- /** The resource location. */
663
- location?: string;
664
- /** The resource tags. */
665
- tags?: { [propertyName: string]: string };
666
- /**
667
- * Etag identifies change in the resource.
668
- * NOTE: This property will not be serialized. It can only be populated by the server.
669
- */
670
- readonly eTag?: string;
671
- }
672
-
673
645
  /** Identity properties of the factory resource. */
674
646
  export interface FactoryIdentity {
675
647
  /** The identity type. */
@@ -730,6 +702,34 @@ export interface CMKIdentityDefinition {
730
702
  userAssignedIdentity?: string;
731
703
  }
732
704
 
705
+ /** Azure Data Factory top-level resource. */
706
+ export interface Resource {
707
+ /**
708
+ * The resource identifier.
709
+ * NOTE: This property will not be serialized. It can only be populated by the server.
710
+ */
711
+ readonly id?: string;
712
+ /**
713
+ * The resource name.
714
+ * NOTE: This property will not be serialized. It can only be populated by the server.
715
+ */
716
+ readonly name?: string;
717
+ /**
718
+ * The resource type.
719
+ * NOTE: This property will not be serialized. It can only be populated by the server.
720
+ */
721
+ readonly type?: string;
722
+ /** The resource location. */
723
+ location?: string;
724
+ /** The resource tags. */
725
+ tags?: { [propertyName: string]: string };
726
+ /**
727
+ * Etag identifies change in the resource.
728
+ * NOTE: This property will not be serialized. It can only be populated by the server.
729
+ */
730
+ readonly eTag?: string;
731
+ }
732
+
733
733
  /** Factory's git repo information. */
734
734
  export interface FactoryRepoUpdate {
735
735
  /** The factory resource id. */
@@ -840,6 +840,16 @@ export interface IntegrationRuntimeListResponse {
840
840
  nextLink?: string;
841
841
  }
842
842
 
843
+ /** Azure Data Factory nested object which serves as a compute resource for activities. */
844
+ export interface IntegrationRuntime {
845
+ /** Polymorphic discriminator, which specifies the different types this object can be */
846
+ type: "Managed" | "SelfHosted";
847
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
848
+ [property: string]: any;
849
+ /** Integration runtime description. */
850
+ description?: string;
851
+ }
852
+
843
853
  /** Azure Data Factory nested resource, which belongs to a factory. */
844
854
  export interface SubResource {
845
855
  /**
@@ -864,16 +874,6 @@ export interface SubResource {
864
874
  readonly etag?: string;
865
875
  }
866
876
 
867
- /** Azure Data Factory nested object which serves as a compute resource for activities. */
868
- export interface IntegrationRuntime {
869
- /** Polymorphic discriminator, which specifies the different types this object can be */
870
- type: "Managed" | "SelfHosted";
871
- /** Describes unknown properties. The value of an unknown property can be of "any" type. */
872
- [property: string]: any;
873
- /** Integration runtime description. */
874
- description?: string;
875
- }
876
-
877
877
  /** Update integration runtime request. */
878
878
  export interface UpdateIntegrationRuntimeRequest {
879
879
  /** Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189. */
@@ -1706,7 +1706,7 @@ export interface PipelineRun {
1706
1706
  */
1707
1707
  readonly durationInMs?: number;
1708
1708
  /**
1709
- * The status of a pipeline run.
1709
+ * The status of a pipeline run. Possible values: Queued, InProgress, Succeeded, Failed, Canceling, Cancelled
1710
1710
  * NOTE: This property will not be serialized. It can only be populated by the server.
1711
1711
  */
1712
1712
  readonly status?: string;
@@ -2335,6 +2335,8 @@ export interface DataFlowReference {
2335
2335
  referenceName: string;
2336
2336
  /** Reference data flow parameters from dataset. */
2337
2337
  datasetParameters?: Record<string, unknown>;
2338
+ /** Data flow parameters */
2339
+ parameters?: { [propertyName: string]: Record<string, unknown> };
2338
2340
  }
2339
2341
 
2340
2342
  /** Managed Virtual Network reference type. */
@@ -2373,6 +2375,10 @@ export interface Transformation {
2373
2375
  name: string;
2374
2376
  /** Transformation description. */
2375
2377
  description?: string;
2378
+ /** Dataset reference. */
2379
+ dataset?: DatasetReference;
2380
+ /** Linked service reference. */
2381
+ linkedService?: LinkedServiceReference;
2376
2382
  /** Flowlet Reference */
2377
2383
  flowlet?: DataFlowReference;
2378
2384
  }
@@ -3563,6 +3569,28 @@ export interface TriggerReference {
3563
3569
  referenceName: string;
3564
3570
  }
3565
3571
 
3572
+ /** Factory's VSTS repo information. */
3573
+ export type FactoryVstsConfiguration = FactoryRepoConfiguration & {
3574
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3575
+ type: "FactoryVSTSConfiguration";
3576
+ /** VSTS project name. */
3577
+ projectName: string;
3578
+ /** VSTS tenant id. */
3579
+ tenantId?: string;
3580
+ };
3581
+
3582
+ /** Factory's GitHub repo information. */
3583
+ export type FactoryGitHubConfiguration = FactoryRepoConfiguration & {
3584
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3585
+ type: "FactoryGitHubConfiguration";
3586
+ /** GitHub Enterprise host name. For example: https://github.mydomain.com */
3587
+ hostName?: string;
3588
+ /** GitHub bring your own app client id. */
3589
+ clientId?: string;
3590
+ /** GitHub bring your own app client secret information. */
3591
+ clientSecret?: GitHubClientSecret;
3592
+ };
3593
+
3566
3594
  /** Factory resource type. */
3567
3595
  export type Factory = Resource & {
3568
3596
  /** Describes unknown properties. The value of an unknown property can be of "any" type. */
@@ -3594,26 +3622,31 @@ export type Factory = Resource & {
3594
3622
  publicNetworkAccess?: PublicNetworkAccess;
3595
3623
  };
3596
3624
 
3597
- /** Factory's VSTS repo information. */
3598
- export type FactoryVstsConfiguration = FactoryRepoConfiguration & {
3625
+ /** Managed integration runtime, including managed elastic and managed dedicated integration runtimes. */
3626
+ export type ManagedIntegrationRuntime = IntegrationRuntime & {
3599
3627
  /** Polymorphic discriminator, which specifies the different types this object can be */
3600
- type: "FactoryVSTSConfiguration";
3601
- /** VSTS project name. */
3602
- projectName: string;
3603
- /** VSTS tenant id. */
3604
- tenantId?: string;
3628
+ type: "Managed";
3629
+ /**
3630
+ * Integration runtime state, only valid for managed dedicated integration runtime.
3631
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3632
+ */
3633
+ readonly state?: IntegrationRuntimeState;
3634
+ /** Managed Virtual Network reference. */
3635
+ managedVirtualNetwork?: ManagedVirtualNetworkReference;
3636
+ /** The compute resource for managed integration runtime. */
3637
+ computeProperties?: IntegrationRuntimeComputeProperties;
3638
+ /** SSIS properties for managed integration runtime. */
3639
+ ssisProperties?: IntegrationRuntimeSsisProperties;
3640
+ /** The name of virtual network to which Azure-SSIS integration runtime will join */
3641
+ customerVirtualNetwork?: IntegrationRuntimeCustomerVirtualNetwork;
3605
3642
  };
3606
3643
 
3607
- /** Factory's GitHub repo information. */
3608
- export type FactoryGitHubConfiguration = FactoryRepoConfiguration & {
3644
+ /** Self-hosted integration runtime. */
3645
+ export type SelfHostedIntegrationRuntime = IntegrationRuntime & {
3609
3646
  /** Polymorphic discriminator, which specifies the different types this object can be */
3610
- type: "FactoryGitHubConfiguration";
3611
- /** GitHub Enterprise host name. For example: https://github.mydomain.com */
3612
- hostName?: string;
3613
- /** GitHub bring your own app client id. */
3614
- clientId?: string;
3615
- /** GitHub bring your own app client secret information. */
3616
- clientSecret?: GitHubClientSecret;
3647
+ type: "SelfHosted";
3648
+ /** The base definition of a linked integration runtime. */
3649
+ linkedInfo?: LinkedIntegrationRuntimeTypeUnion;
3617
3650
  };
3618
3651
 
3619
3652
  /** Integration runtime resource type. */
@@ -3706,33 +3739,6 @@ export type CredentialResource = SubResource & {
3706
3739
  properties: CredentialUnion;
3707
3740
  };
3708
3741
 
3709
- /** Managed integration runtime, including managed elastic and managed dedicated integration runtimes. */
3710
- export type ManagedIntegrationRuntime = IntegrationRuntime & {
3711
- /** Polymorphic discriminator, which specifies the different types this object can be */
3712
- type: "Managed";
3713
- /**
3714
- * Integration runtime state, only valid for managed dedicated integration runtime.
3715
- * NOTE: This property will not be serialized. It can only be populated by the server.
3716
- */
3717
- readonly state?: IntegrationRuntimeState;
3718
- /** Managed Virtual Network reference. */
3719
- managedVirtualNetwork?: ManagedVirtualNetworkReference;
3720
- /** The compute resource for managed integration runtime. */
3721
- computeProperties?: IntegrationRuntimeComputeProperties;
3722
- /** SSIS properties for managed integration runtime. */
3723
- ssisProperties?: IntegrationRuntimeSsisProperties;
3724
- /** The name of virtual network to which Azure-SSIS integration runtime will join */
3725
- customerVirtualNetwork?: IntegrationRuntimeCustomerVirtualNetwork;
3726
- };
3727
-
3728
- /** Self-hosted integration runtime. */
3729
- export type SelfHostedIntegrationRuntime = IntegrationRuntime & {
3730
- /** Polymorphic discriminator, which specifies the different types this object can be */
3731
- type: "SelfHosted";
3732
- /** The base definition of a linked integration runtime. */
3733
- linkedInfo?: LinkedIntegrationRuntimeTypeUnion;
3734
- };
3735
-
3736
3742
  /** Managed integration runtime status. */
3737
3743
  export type ManagedIntegrationRuntimeStatus = IntegrationRuntimeStatus & {
3738
3744
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -7138,8 +7144,6 @@ export type MappingDataFlow = DataFlow & {
7138
7144
  export type Flowlet = DataFlow & {
7139
7145
  /** Polymorphic discriminator, which specifies the different types this object can be */
7140
7146
  type: "Flowlet";
7141
- /** Describes unknown properties. The value of an unknown property can be of "any" type. */
7142
- [property: string]: any;
7143
7147
  /** List of sources in Flowlet. */
7144
7148
  sources?: DataFlowSource[];
7145
7149
  /** List of sinks in Flowlet. */
@@ -7150,8 +7154,6 @@ export type Flowlet = DataFlow & {
7150
7154
  script?: string;
7151
7155
  /** Flowlet script lines. */
7152
7156
  scriptLines?: string[];
7153
- /** Any object */
7154
- additionalProperties?: Record<string, unknown>;
7155
7157
  };
7156
7158
 
7157
7159
  /** Power Query data flow. */
@@ -7232,20 +7234,12 @@ export type ManagedIdentityCredential = Credential & {
7232
7234
 
7233
7235
  /** Transformation for data flow source. */
7234
7236
  export type DataFlowSource = Transformation & {
7235
- /** Dataset reference. */
7236
- dataset?: DatasetReference;
7237
- /** Linked service reference. */
7238
- linkedService?: LinkedServiceReference;
7239
7237
  /** Schema linked service reference. */
7240
7238
  schemaLinkedService?: LinkedServiceReference;
7241
7239
  };
7242
7240
 
7243
7241
  /** Transformation for data flow sink. */
7244
7242
  export type DataFlowSink = Transformation & {
7245
- /** Dataset reference. */
7246
- dataset?: DatasetReference;
7247
- /** Linked service reference. */
7248
- linkedService?: LinkedServiceReference;
7249
7243
  /** Schema linked service reference. */
7250
7244
  schemaLinkedService?: LinkedServiceReference;
7251
7245
  };
@@ -7744,6 +7738,8 @@ export type FtpReadSettings = StoreReadSettings & {
7744
7738
  fileListPath?: Record<string, unknown>;
7745
7739
  /** Specify whether to use binary transfer mode for FTP stores. */
7746
7740
  useBinaryTransfer?: boolean;
7741
+ /** If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). */
7742
+ disableChunking?: Record<string, unknown>;
7747
7743
  };
7748
7744
 
7749
7745
  /** Sftp read settings. */
@@ -7768,6 +7764,8 @@ export type SftpReadSettings = StoreReadSettings & {
7768
7764
  modifiedDatetimeStart?: Record<string, unknown>;
7769
7765
  /** The end of file's modified datetime. Type: string (or Expression with resultType string). */
7770
7766
  modifiedDatetimeEnd?: Record<string, unknown>;
7767
+ /** If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). */
7768
+ disableChunking?: Record<string, unknown>;
7771
7769
  };
7772
7770
 
7773
7771
  /** Sftp read settings. */