@azure/arm-datafactory 10.2.1-alpha.20220404.1 → 10.3.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 (38) hide show
  1. package/CHANGELOG.md +18 -10
  2. package/dist/index.js +83 -23
  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/src/dataFactoryManagementClient.d.ts.map +1 -1
  7. package/dist-esm/src/dataFactoryManagementClient.js +3 -2
  8. package/dist-esm/src/dataFactoryManagementClient.js.map +1 -1
  9. package/dist-esm/src/models/index.d.ts +64 -7
  10. package/dist-esm/src/models/index.d.ts.map +1 -1
  11. package/dist-esm/src/models/index.js +20 -0
  12. package/dist-esm/src/models/index.js.map +1 -1
  13. package/dist-esm/src/models/mappers.d.ts +1 -0
  14. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  15. package/dist-esm/src/models/mappers.js +32 -12
  16. package/dist-esm/src/models/mappers.js.map +1 -1
  17. package/dist-esm/src/operations/dataFlowDebugSession.d.ts.map +1 -1
  18. package/dist-esm/src/operations/dataFlowDebugSession.js +6 -2
  19. package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
  20. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts.map +1 -1
  21. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js +3 -1
  22. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js.map +1 -1
  23. package/dist-esm/src/operations/integrationRuntimes.d.ts.map +1 -1
  24. package/dist-esm/src/operations/integrationRuntimes.js +6 -2
  25. package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
  26. package/dist-esm/src/operations/triggers.d.ts.map +1 -1
  27. package/dist-esm/src/operations/triggers.js +12 -4
  28. package/dist-esm/src/operations/triggers.js.map +1 -1
  29. package/package.json +2 -2
  30. package/review/arm-datafactory.api.md +49 -7
  31. package/src/dataFactoryManagementClient.ts +3 -2
  32. package/src/models/index.ts +73 -7
  33. package/src/models/mappers.ts +34 -11
  34. package/src/operations/dataFlowDebugSession.ts +6 -2
  35. package/src/operations/integrationRuntimeObjectMetadata.ts +3 -1
  36. package/src/operations/integrationRuntimes.ts +6 -2
  37. package/src/operations/triggers.ts +12 -4
  38. package/types/arm-datafactory.d.ts +73 -7
package/CHANGELOG.md CHANGED
@@ -1,15 +1,23 @@
1
1
  # Release History
2
+
3
+ ## 10.3.0 (2022-04-06)
4
+
5
+ **Features**
2
6
 
3
- ## 10.2.1 (Unreleased)
4
-
5
- ### Features Added
6
-
7
- ### Breaking Changes
8
-
9
- ### Bugs Fixed
10
-
11
- ### Other Changes
12
-
7
+ - Added Interface ExecutePipelineActivityPolicy
8
+ - Added Type Alias CredentialReferenceType
9
+ - Added Type Alias DataFlowReferenceType
10
+ - Added Type Alias ManagedVirtualNetworkReferenceType
11
+ - Added Type Alias TriggerReferenceType
12
+ - Type Alias ExecutePipelineActivity has a new parameter policy
13
+ - Type Alias SqlServerStoredProcedureActivity has a new parameter storedProcedureParameters
14
+ - Type Alias WebActivity has a new parameter disableCertValidation
15
+ - Added Enum KnownCredentialReferenceType
16
+ - Added Enum KnownDataFlowReferenceType
17
+ - Added Enum KnownManagedVirtualNetworkReferenceType
18
+ - Added Enum KnownTriggerReferenceType
19
+
20
+
13
21
  ## 10.2.0 (2022-02-22)
14
22
 
15
23
  **Features**
package/dist/index.js CHANGED
@@ -213,6 +213,21 @@ exports.KnownDataFlowDebugCommandType = void 0;
213
213
  KnownDataFlowDebugCommandType["ExecuteStatisticsQuery"] = "executeStatisticsQuery";
214
214
  KnownDataFlowDebugCommandType["ExecuteExpressionQuery"] = "executeExpressionQuery";
215
215
  })(exports.KnownDataFlowDebugCommandType || (exports.KnownDataFlowDebugCommandType = {}));
216
+ /** Known values of {@link DataFlowReferenceType} that the service accepts. */
217
+ exports.KnownDataFlowReferenceType = void 0;
218
+ (function (KnownDataFlowReferenceType) {
219
+ KnownDataFlowReferenceType["DataFlowReference"] = "DataFlowReference";
220
+ })(exports.KnownDataFlowReferenceType || (exports.KnownDataFlowReferenceType = {}));
221
+ /** Known values of {@link ManagedVirtualNetworkReferenceType} that the service accepts. */
222
+ exports.KnownManagedVirtualNetworkReferenceType = void 0;
223
+ (function (KnownManagedVirtualNetworkReferenceType) {
224
+ KnownManagedVirtualNetworkReferenceType["ManagedVirtualNetworkReference"] = "ManagedVirtualNetworkReference";
225
+ })(exports.KnownManagedVirtualNetworkReferenceType || (exports.KnownManagedVirtualNetworkReferenceType = {}));
226
+ /** Known values of {@link CredentialReferenceType} that the service accepts. */
227
+ exports.KnownCredentialReferenceType = void 0;
228
+ (function (KnownCredentialReferenceType) {
229
+ KnownCredentialReferenceType["CredentialReference"] = "CredentialReference";
230
+ })(exports.KnownCredentialReferenceType || (exports.KnownCredentialReferenceType = {}));
216
231
  /** Known values of {@link DataFlowComputeType} that the service accepts. */
217
232
  exports.KnownDataFlowComputeType = void 0;
218
233
  (function (KnownDataFlowComputeType) {
@@ -624,6 +639,11 @@ exports.KnownTumblingWindowFrequency = void 0;
624
639
  KnownTumblingWindowFrequency["Hour"] = "Hour";
625
640
  KnownTumblingWindowFrequency["Month"] = "Month";
626
641
  })(exports.KnownTumblingWindowFrequency || (exports.KnownTumblingWindowFrequency = {}));
642
+ /** Known values of {@link TriggerReferenceType} that the service accepts. */
643
+ exports.KnownTriggerReferenceType = void 0;
644
+ (function (KnownTriggerReferenceType) {
645
+ KnownTriggerReferenceType["TriggerReference"] = "TriggerReference";
646
+ })(exports.KnownTriggerReferenceType || (exports.KnownTriggerReferenceType = {}));
627
647
  /** Known values of {@link JsonFormatFilePattern} that the service accepts. */
628
648
  exports.KnownJsonFormatFilePattern = void 0;
629
649
  (function (KnownJsonFormatFilePattern) {
@@ -4542,9 +4562,8 @@ const DataFlowReference = {
4542
4562
  additionalProperties: { type: { name: "Object" } },
4543
4563
  modelProperties: {
4544
4564
  type: {
4545
- defaultValue: "DataFlowReference",
4546
- isConstant: true,
4547
4565
  serializedName: "type",
4566
+ required: true,
4548
4567
  type: {
4549
4568
  name: "String"
4550
4569
  }
@@ -4581,9 +4600,8 @@ const ManagedVirtualNetworkReference = {
4581
4600
  className: "ManagedVirtualNetworkReference",
4582
4601
  modelProperties: {
4583
4602
  type: {
4584
- defaultValue: "ManagedVirtualNetworkReference",
4585
- isConstant: true,
4586
4603
  serializedName: "type",
4604
+ required: true,
4587
4605
  type: {
4588
4606
  name: "String"
4589
4607
  }
@@ -4605,9 +4623,8 @@ const CredentialReference = {
4605
4623
  additionalProperties: { type: { name: "Object" } },
4606
4624
  modelProperties: {
4607
4625
  type: {
4608
- defaultValue: "CredentialReference",
4609
- isConstant: true,
4610
4626
  serializedName: "type",
4627
+ required: true,
4611
4628
  type: {
4612
4629
  name: "String"
4613
4630
  }
@@ -7065,6 +7082,21 @@ const CustomActivityReferenceObject = {
7065
7082
  }
7066
7083
  }
7067
7084
  };
7085
+ const ExecutePipelineActivityPolicy = {
7086
+ type: {
7087
+ name: "Composite",
7088
+ className: "ExecutePipelineActivityPolicy",
7089
+ additionalProperties: { type: { name: "Object" } },
7090
+ modelProperties: {
7091
+ secureInput: {
7092
+ serializedName: "secureInput",
7093
+ type: {
7094
+ name: "Boolean"
7095
+ }
7096
+ }
7097
+ }
7098
+ }
7099
+ };
7068
7100
  const WebActivityAuthentication = {
7069
7101
  type: {
7070
7102
  name: "Composite",
@@ -7573,9 +7605,8 @@ const TriggerReference = {
7573
7605
  className: "TriggerReference",
7574
7606
  modelProperties: {
7575
7607
  type: {
7576
- defaultValue: "TriggerReference",
7577
- isConstant: true,
7578
7608
  serializedName: "type",
7609
+ required: true,
7579
7610
  type: {
7580
7611
  name: "String"
7581
7612
  }
@@ -21265,7 +21296,13 @@ const ExecutePipelineActivity = {
21265
21296
  uberParent: "Activity",
21266
21297
  additionalProperties: { type: { name: "Object" } },
21267
21298
  polymorphicDiscriminator: Activity.type.polymorphicDiscriminator,
21268
- modelProperties: Object.assign(Object.assign({}, ControlActivity.type.modelProperties), { pipeline: {
21299
+ modelProperties: Object.assign(Object.assign({}, ControlActivity.type.modelProperties), { policy: {
21300
+ serializedName: "policy",
21301
+ type: {
21302
+ name: "Composite",
21303
+ className: "ExecutePipelineActivityPolicy"
21304
+ }
21305
+ }, pipeline: {
21269
21306
  serializedName: "typeProperties.pipeline",
21270
21307
  type: {
21271
21308
  name: "Composite",
@@ -22336,9 +22373,7 @@ const SqlServerStoredProcedureActivity = {
22336
22373
  serializedName: "typeProperties.storedProcedureParameters",
22337
22374
  type: {
22338
22375
  name: "Dictionary",
22339
- value: {
22340
- type: { name: "Composite", className: "StoredProcedureParameter" }
22341
- }
22376
+ value: { type: { name: "any" } }
22342
22377
  }
22343
22378
  } })
22344
22379
  }
@@ -22484,6 +22519,11 @@ const WebActivity = {
22484
22519
  name: "Composite",
22485
22520
  className: "WebActivityAuthentication"
22486
22521
  }
22522
+ }, disableCertValidation: {
22523
+ serializedName: "typeProperties.disableCertValidation",
22524
+ type: {
22525
+ name: "Boolean"
22526
+ }
22487
22527
  }, datasets: {
22488
22528
  serializedName: "typeProperties.datasets",
22489
22529
  type: {
@@ -25197,6 +25237,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
25197
25237
  SsisPropertyOverride: SsisPropertyOverride,
25198
25238
  SsisLogLocation: SsisLogLocation,
25199
25239
  CustomActivityReferenceObject: CustomActivityReferenceObject,
25240
+ ExecutePipelineActivityPolicy: ExecutePipelineActivityPolicy,
25200
25241
  WebActivityAuthentication: WebActivityAuthentication,
25201
25242
  SwitchCase: SwitchCase,
25202
25243
  AzureMLWebServiceFile: AzureMLWebServiceFile,
@@ -27093,10 +27134,12 @@ class IntegrationRuntimesImpl {
27093
27134
  };
27094
27135
  });
27095
27136
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, integrationRuntimeName, options }, startOperationSpec$1);
27096
- return new coreLro.LroEngine(lro, {
27137
+ const poller = new coreLro.LroEngine(lro, {
27097
27138
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27098
27139
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27099
27140
  });
27141
+ yield poller.poll();
27142
+ return poller;
27100
27143
  });
27101
27144
  }
27102
27145
  /**
@@ -27144,10 +27187,12 @@ class IntegrationRuntimesImpl {
27144
27187
  };
27145
27188
  });
27146
27189
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, integrationRuntimeName, options }, stopOperationSpec$1);
27147
- return new coreLro.LroEngine(lro, {
27190
+ const poller = new coreLro.LroEngine(lro, {
27148
27191
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27149
27192
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27150
27193
  });
27194
+ yield poller.poll();
27195
+ return poller;
27151
27196
  });
27152
27197
  }
27153
27198
  /**
@@ -27707,10 +27752,12 @@ class IntegrationRuntimeObjectMetadataImpl {
27707
27752
  };
27708
27753
  });
27709
27754
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, integrationRuntimeName, options }, refreshOperationSpec);
27710
- return new coreLro.LroEngine(lro, {
27755
+ const poller = new coreLro.LroEngine(lro, {
27711
27756
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27712
27757
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27713
27758
  });
27759
+ yield poller.poll();
27760
+ return poller;
27714
27761
  });
27715
27762
  }
27716
27763
  /**
@@ -29052,10 +29099,12 @@ class TriggersImpl {
29052
29099
  };
29053
29100
  });
29054
29101
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, triggerName, options }, subscribeToEventsOperationSpec);
29055
- return new coreLro.LroEngine(lro, {
29102
+ const poller = new coreLro.LroEngine(lro, {
29056
29103
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29057
29104
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
29058
29105
  });
29106
+ yield poller.poll();
29107
+ return poller;
29059
29108
  });
29060
29109
  }
29061
29110
  /**
@@ -29113,10 +29162,12 @@ class TriggersImpl {
29113
29162
  };
29114
29163
  });
29115
29164
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, triggerName, options }, unsubscribeFromEventsOperationSpec);
29116
- return new coreLro.LroEngine(lro, {
29165
+ const poller = new coreLro.LroEngine(lro, {
29117
29166
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29118
29167
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
29119
29168
  });
29169
+ yield poller.poll();
29170
+ return poller;
29120
29171
  });
29121
29172
  }
29122
29173
  /**
@@ -29164,10 +29215,12 @@ class TriggersImpl {
29164
29215
  };
29165
29216
  });
29166
29217
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, triggerName, options }, startOperationSpec);
29167
- return new coreLro.LroEngine(lro, {
29218
+ const poller = new coreLro.LroEngine(lro, {
29168
29219
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29169
29220
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
29170
29221
  });
29222
+ yield poller.poll();
29223
+ return poller;
29171
29224
  });
29172
29225
  }
29173
29226
  /**
@@ -29215,10 +29268,12 @@ class TriggersImpl {
29215
29268
  };
29216
29269
  });
29217
29270
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, triggerName, options }, stopOperationSpec);
29218
- return new coreLro.LroEngine(lro, {
29271
+ const poller = new coreLro.LroEngine(lro, {
29219
29272
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29220
29273
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
29221
29274
  });
29275
+ yield poller.poll();
29276
+ return poller;
29222
29277
  });
29223
29278
  }
29224
29279
  /**
@@ -29967,10 +30022,12 @@ class DataFlowDebugSessionImpl {
29967
30022
  };
29968
30023
  });
29969
30024
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, request, options }, createOperationSpec);
29970
- return new coreLro.LroEngine(lro, {
30025
+ const poller = new coreLro.LroEngine(lro, {
29971
30026
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29972
30027
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
29973
30028
  });
30029
+ yield poller.poll();
30030
+ return poller;
29974
30031
  });
29975
30032
  }
29976
30033
  /**
@@ -30047,10 +30104,12 @@ class DataFlowDebugSessionImpl {
30047
30104
  };
30048
30105
  });
30049
30106
  const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, request, options }, executeCommandOperationSpec);
30050
- return new coreLro.LroEngine(lro, {
30107
+ const poller = new coreLro.LroEngine(lro, {
30051
30108
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
30052
30109
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
30053
30110
  });
30111
+ yield poller.poll();
30112
+ return poller;
30054
30113
  });
30055
30114
  }
30056
30115
  /**
@@ -31048,6 +31107,7 @@ class DataFactoryManagementClient extends coreClient__namespace.ServiceClient {
31048
31107
  * @param options The parameter options
31049
31108
  */
31050
31109
  constructor(credentials, subscriptionId, options) {
31110
+ var _a, _b;
31051
31111
  if (credentials === undefined) {
31052
31112
  throw new Error("'credentials' cannot be null");
31053
31113
  }
@@ -31062,7 +31122,7 @@ class DataFactoryManagementClient extends coreClient__namespace.ServiceClient {
31062
31122
  requestContentType: "application/json; charset=utf-8",
31063
31123
  credential: credentials
31064
31124
  };
31065
- const packageDetails = `azsdk-js-arm-datafactory/10.2.1`;
31125
+ const packageDetails = `azsdk-js-arm-datafactory/10.3.0`;
31066
31126
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
31067
31127
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
31068
31128
  : `${packageDetails}`;
@@ -31071,7 +31131,7 @@ class DataFactoryManagementClient extends coreClient__namespace.ServiceClient {
31071
31131
  }
31072
31132
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
31073
31133
  userAgentPrefix
31074
- }, baseUri: options.endpoint || "https://management.azure.com" });
31134
+ }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
31075
31135
  super(optionsWithDefaults);
31076
31136
  // Parameter assignments
31077
31137
  this.subscriptionId = subscriptionId;