@azure/arm-datafactory 10.10.2-alpha.20230210.1 → 11.0.0-alpha.20230217.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 (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 +4 -4
  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
package/dist/index.js CHANGED
@@ -435,6 +435,20 @@ exports.KnownIntegrationRuntimeInternalChannelEncryptionMode = void 0;
435
435
  /** NotEncrypted */
436
436
  KnownIntegrationRuntimeInternalChannelEncryptionMode["NotEncrypted"] = "NotEncrypted";
437
437
  })(exports.KnownIntegrationRuntimeInternalChannelEncryptionMode || (exports.KnownIntegrationRuntimeInternalChannelEncryptionMode = {}));
438
+ /** Known values of {@link AzureStorageAuthenticationType} that the service accepts. */
439
+ exports.KnownAzureStorageAuthenticationType = void 0;
440
+ (function (KnownAzureStorageAuthenticationType) {
441
+ /** Anonymous */
442
+ KnownAzureStorageAuthenticationType["Anonymous"] = "Anonymous";
443
+ /** AccountKey */
444
+ KnownAzureStorageAuthenticationType["AccountKey"] = "AccountKey";
445
+ /** SasUri */
446
+ KnownAzureStorageAuthenticationType["SasUri"] = "SasUri";
447
+ /** ServicePrincipal */
448
+ KnownAzureStorageAuthenticationType["ServicePrincipal"] = "ServicePrincipal";
449
+ /** Msi */
450
+ KnownAzureStorageAuthenticationType["Msi"] = "Msi";
451
+ })(exports.KnownAzureStorageAuthenticationType || (exports.KnownAzureStorageAuthenticationType = {}));
438
452
  /** Known values of {@link SqlAlwaysEncryptedAkvAuthType} that the service accepts. */
439
453
  exports.KnownSqlAlwaysEncryptedAkvAuthType = void 0;
440
454
  (function (KnownSqlAlwaysEncryptedAkvAuthType) {
@@ -953,6 +967,22 @@ exports.KnownSparkJobReferenceType = void 0;
953
967
  /** SparkJobDefinitionReference */
954
968
  KnownSparkJobReferenceType["SparkJobDefinitionReference"] = "SparkJobDefinitionReference";
955
969
  })(exports.KnownSparkJobReferenceType || (exports.KnownSparkJobReferenceType = {}));
970
+ /** Known values of {@link ConfigurationType} that the service accepts. */
971
+ exports.KnownConfigurationType = void 0;
972
+ (function (KnownConfigurationType) {
973
+ /** Default */
974
+ KnownConfigurationType["Default"] = "Default";
975
+ /** Customized */
976
+ KnownConfigurationType["Customized"] = "Customized";
977
+ /** Artifact */
978
+ KnownConfigurationType["Artifact"] = "Artifact";
979
+ })(exports.KnownConfigurationType || (exports.KnownConfigurationType = {}));
980
+ /** Known values of {@link SparkConfigurationReferenceType} that the service accepts. */
981
+ exports.KnownSparkConfigurationReferenceType = void 0;
982
+ (function (KnownSparkConfigurationReferenceType) {
983
+ /** SparkConfigurationReference */
984
+ KnownSparkConfigurationReferenceType["SparkConfigurationReference"] = "SparkConfigurationReference";
985
+ })(exports.KnownSparkConfigurationReferenceType || (exports.KnownSparkConfigurationReferenceType = {}));
956
986
  /** Known values of {@link RecurrenceFrequency} that the service accepts. */
957
987
  exports.KnownRecurrenceFrequency = void 0;
958
988
  (function (KnownRecurrenceFrequency) {
@@ -4624,6 +4654,72 @@ const ConnectionStateProperties = {
4624
4654
  }
4625
4655
  }
4626
4656
  };
4657
+ const CredentialListResponse = {
4658
+ type: {
4659
+ name: "Composite",
4660
+ className: "CredentialListResponse",
4661
+ modelProperties: {
4662
+ value: {
4663
+ serializedName: "value",
4664
+ required: true,
4665
+ type: {
4666
+ name: "Sequence",
4667
+ element: {
4668
+ type: {
4669
+ name: "Composite",
4670
+ className: "ManagedIdentityCredentialResource"
4671
+ }
4672
+ }
4673
+ }
4674
+ },
4675
+ nextLink: {
4676
+ serializedName: "nextLink",
4677
+ type: {
4678
+ name: "String"
4679
+ }
4680
+ }
4681
+ }
4682
+ }
4683
+ };
4684
+ const Credential = {
4685
+ serializedName: "Credential",
4686
+ type: {
4687
+ name: "Composite",
4688
+ className: "Credential",
4689
+ uberParent: "Credential",
4690
+ additionalProperties: { type: { name: "Object" } },
4691
+ polymorphicDiscriminator: {
4692
+ serializedName: "type",
4693
+ clientName: "type"
4694
+ },
4695
+ modelProperties: {
4696
+ type: {
4697
+ serializedName: "type",
4698
+ required: true,
4699
+ type: {
4700
+ name: "String"
4701
+ }
4702
+ },
4703
+ description: {
4704
+ serializedName: "description",
4705
+ type: {
4706
+ name: "String"
4707
+ }
4708
+ },
4709
+ annotations: {
4710
+ serializedName: "annotations",
4711
+ type: {
4712
+ name: "Sequence",
4713
+ element: {
4714
+ type: {
4715
+ name: "any"
4716
+ }
4717
+ }
4718
+ }
4719
+ }
4720
+ }
4721
+ }
4722
+ };
4627
4723
  const PrivateEndpointConnectionListResponse = {
4628
4724
  type: {
4629
4725
  name: "Composite",
@@ -5091,45 +5187,6 @@ const CredentialReference = {
5091
5187
  }
5092
5188
  }
5093
5189
  };
5094
- const Credential = {
5095
- serializedName: "Credential",
5096
- type: {
5097
- name: "Composite",
5098
- className: "Credential",
5099
- uberParent: "Credential",
5100
- additionalProperties: { type: { name: "Object" } },
5101
- polymorphicDiscriminator: {
5102
- serializedName: "type",
5103
- clientName: "type"
5104
- },
5105
- modelProperties: {
5106
- type: {
5107
- serializedName: "type",
5108
- required: true,
5109
- type: {
5110
- name: "String"
5111
- }
5112
- },
5113
- description: {
5114
- serializedName: "description",
5115
- type: {
5116
- name: "String"
5117
- }
5118
- },
5119
- annotations: {
5120
- serializedName: "annotations",
5121
- type: {
5122
- name: "Sequence",
5123
- element: {
5124
- type: {
5125
- name: "any"
5126
- }
5127
- }
5128
- }
5129
- }
5130
- }
5131
- }
5132
- };
5133
5190
  const Transformation = {
5134
5191
  type: {
5135
5192
  name: "Composite",
@@ -5352,6 +5409,20 @@ const IntegrationRuntimeComputeProperties = {
5352
5409
  name: "Composite",
5353
5410
  className: "IntegrationRuntimeVNetProperties"
5354
5411
  }
5412
+ },
5413
+ copyComputeScaleProperties: {
5414
+ serializedName: "copyComputeScaleProperties",
5415
+ type: {
5416
+ name: "Composite",
5417
+ className: "CopyComputeScaleProperties"
5418
+ }
5419
+ },
5420
+ pipelineExternalComputeScaleProperties: {
5421
+ serializedName: "pipelineExternalComputeScaleProperties",
5422
+ type: {
5423
+ name: "Composite",
5424
+ className: "PipelineExternalComputeScaleProperties"
5425
+ }
5355
5426
  }
5356
5427
  }
5357
5428
  }
@@ -5430,6 +5501,51 @@ const IntegrationRuntimeVNetProperties = {
5430
5501
  }
5431
5502
  }
5432
5503
  };
5504
+ const CopyComputeScaleProperties = {
5505
+ type: {
5506
+ name: "Composite",
5507
+ className: "CopyComputeScaleProperties",
5508
+ additionalProperties: { type: { name: "Object" } },
5509
+ modelProperties: {
5510
+ dataIntegrationUnit: {
5511
+ constraints: {
5512
+ InclusiveMinimum: 4
5513
+ },
5514
+ serializedName: "dataIntegrationUnit",
5515
+ type: {
5516
+ name: "Number"
5517
+ }
5518
+ },
5519
+ timeToLive: {
5520
+ constraints: {
5521
+ InclusiveMinimum: 5
5522
+ },
5523
+ serializedName: "timeToLive",
5524
+ type: {
5525
+ name: "Number"
5526
+ }
5527
+ }
5528
+ }
5529
+ }
5530
+ };
5531
+ const PipelineExternalComputeScaleProperties = {
5532
+ type: {
5533
+ name: "Composite",
5534
+ className: "PipelineExternalComputeScaleProperties",
5535
+ additionalProperties: { type: { name: "Object" } },
5536
+ modelProperties: {
5537
+ timeToLive: {
5538
+ constraints: {
5539
+ InclusiveMinimum: 5
5540
+ },
5541
+ serializedName: "timeToLive",
5542
+ type: {
5543
+ name: "Number"
5544
+ }
5545
+ }
5546
+ }
5547
+ }
5548
+ };
5433
5549
  const IntegrationRuntimeSsisProperties = {
5434
5550
  type: {
5435
5551
  name: "Composite",
@@ -7829,6 +7945,28 @@ const SynapseSparkJobReference = {
7829
7945
  }
7830
7946
  }
7831
7947
  };
7948
+ const SparkConfigurationParametrizationReference = {
7949
+ type: {
7950
+ name: "Composite",
7951
+ className: "SparkConfigurationParametrizationReference",
7952
+ modelProperties: {
7953
+ type: {
7954
+ serializedName: "type",
7955
+ required: true,
7956
+ type: {
7957
+ name: "String"
7958
+ }
7959
+ },
7960
+ referenceName: {
7961
+ serializedName: "referenceName",
7962
+ required: true,
7963
+ type: {
7964
+ name: "any"
7965
+ }
7966
+ }
7967
+ }
7968
+ }
7969
+ };
7832
7970
  const ScheduleTriggerRecurrence = {
7833
7971
  type: {
7834
7972
  name: "Composite",
@@ -8383,6 +8521,19 @@ const ManagedPrivateEndpointResource = {
8383
8521
  } })
8384
8522
  }
8385
8523
  };
8524
+ const ManagedIdentityCredentialResource = {
8525
+ type: {
8526
+ name: "Composite",
8527
+ className: "ManagedIdentityCredentialResource",
8528
+ modelProperties: Object.assign(Object.assign({}, SubResource.type.modelProperties), { properties: {
8529
+ serializedName: "properties",
8530
+ type: {
8531
+ name: "Composite",
8532
+ className: "ManagedIdentityCredential"
8533
+ }
8534
+ } })
8535
+ }
8536
+ };
8386
8537
  const PrivateEndpointConnectionResource = {
8387
8538
  type: {
8388
8539
  name: "Composite",
@@ -8848,6 +8999,16 @@ const AzureBlobStorageLinkedService = {
8848
8999
  name: "Composite",
8849
9000
  className: "CredentialReference"
8850
9001
  }
9002
+ }, authenticationType: {
9003
+ serializedName: "typeProperties.authenticationType",
9004
+ type: {
9005
+ name: "String"
9006
+ }
9007
+ }, containerUri: {
9008
+ serializedName: "typeProperties.containerUri",
9009
+ type: {
9010
+ name: "any"
9011
+ }
8851
9012
  } })
8852
9013
  }
8853
9014
  };
@@ -16971,6 +17132,49 @@ const LinkedServiceDebugResource = {
16971
17132
  } })
16972
17133
  }
16973
17134
  };
17135
+ const ManagedIdentityCredential = {
17136
+ serializedName: "ManagedIdentity",
17137
+ type: {
17138
+ name: "Composite",
17139
+ className: "ManagedIdentityCredential",
17140
+ uberParent: "Credential",
17141
+ additionalProperties: { type: { name: "Object" } },
17142
+ polymorphicDiscriminator: Credential.type.polymorphicDiscriminator,
17143
+ modelProperties: Object.assign(Object.assign({}, Credential.type.modelProperties), { resourceId: {
17144
+ serializedName: "typeProperties.resourceId",
17145
+ type: {
17146
+ name: "String"
17147
+ }
17148
+ } })
17149
+ }
17150
+ };
17151
+ const ServicePrincipalCredential = {
17152
+ serializedName: "ServicePrincipal",
17153
+ type: {
17154
+ name: "Composite",
17155
+ className: "ServicePrincipalCredential",
17156
+ uberParent: "Credential",
17157
+ additionalProperties: { type: { name: "Object" } },
17158
+ polymorphicDiscriminator: Credential.type.polymorphicDiscriminator,
17159
+ modelProperties: Object.assign(Object.assign({}, Credential.type.modelProperties), { servicePrincipalId: {
17160
+ serializedName: "typeProperties.servicePrincipalId",
17161
+ type: {
17162
+ name: "any"
17163
+ }
17164
+ }, servicePrincipalKey: {
17165
+ serializedName: "typeProperties.servicePrincipalKey",
17166
+ type: {
17167
+ name: "Composite",
17168
+ className: "AzureKeyVaultSecretReference"
17169
+ }
17170
+ }, tenant: {
17171
+ serializedName: "typeProperties.tenant",
17172
+ type: {
17173
+ name: "any"
17174
+ }
17175
+ } })
17176
+ }
17177
+ };
16974
17178
  const SecureString = {
16975
17179
  serializedName: "SecureString",
16976
17180
  type: {
@@ -17014,63 +17218,20 @@ const AzureKeyVaultSecretReference = {
17014
17218
  } })
17015
17219
  }
17016
17220
  };
17017
- const ServicePrincipalCredential = {
17018
- serializedName: "ServicePrincipal",
17221
+ const DataFlowSource = {
17019
17222
  type: {
17020
17223
  name: "Composite",
17021
- className: "ServicePrincipalCredential",
17022
- uberParent: "Credential",
17023
- additionalProperties: { type: { name: "Object" } },
17024
- polymorphicDiscriminator: Credential.type.polymorphicDiscriminator,
17025
- modelProperties: Object.assign(Object.assign({}, Credential.type.modelProperties), { servicePrincipalId: {
17026
- serializedName: "typeProperties.servicePrincipalId",
17027
- type: {
17028
- name: "any"
17029
- }
17030
- }, servicePrincipalKey: {
17031
- serializedName: "typeProperties.servicePrincipalKey",
17224
+ className: "DataFlowSource",
17225
+ modelProperties: Object.assign(Object.assign({}, Transformation.type.modelProperties), { schemaLinkedService: {
17226
+ serializedName: "schemaLinkedService",
17032
17227
  type: {
17033
17228
  name: "Composite",
17034
- className: "AzureKeyVaultSecretReference"
17035
- }
17036
- }, tenant: {
17037
- serializedName: "typeProperties.tenant",
17038
- type: {
17039
- name: "any"
17229
+ className: "LinkedServiceReference"
17040
17230
  }
17041
17231
  } })
17042
17232
  }
17043
17233
  };
17044
- const ManagedIdentityCredential = {
17045
- serializedName: "ManagedIdentity",
17046
- type: {
17047
- name: "Composite",
17048
- className: "ManagedIdentityCredential",
17049
- uberParent: "Credential",
17050
- additionalProperties: { type: { name: "Object" } },
17051
- polymorphicDiscriminator: Credential.type.polymorphicDiscriminator,
17052
- modelProperties: Object.assign(Object.assign({}, Credential.type.modelProperties), { resourceId: {
17053
- serializedName: "typeProperties.resourceId",
17054
- type: {
17055
- name: "String"
17056
- }
17057
- } })
17058
- }
17059
- };
17060
- const DataFlowSource = {
17061
- type: {
17062
- name: "Composite",
17063
- className: "DataFlowSource",
17064
- modelProperties: Object.assign(Object.assign({}, Transformation.type.modelProperties), { schemaLinkedService: {
17065
- serializedName: "schemaLinkedService",
17066
- type: {
17067
- name: "Composite",
17068
- className: "LinkedServiceReference"
17069
- }
17070
- } })
17071
- }
17072
- };
17073
- const DataFlowSink = {
17234
+ const DataFlowSink = {
17074
17235
  type: {
17075
17236
  name: "Composite",
17076
17237
  className: "DataFlowSink",
@@ -22626,6 +22787,11 @@ const SynapseSparkJobDefinitionActivity = {
22626
22787
  type: {
22627
22788
  name: "any"
22628
22789
  }
22790
+ }, scanFolder: {
22791
+ serializedName: "typeProperties.scanFolder",
22792
+ type: {
22793
+ name: "any"
22794
+ }
22629
22795
  }, className: {
22630
22796
  serializedName: "typeProperties.className",
22631
22797
  type: {
@@ -22685,7 +22851,24 @@ const SynapseSparkJobDefinitionActivity = {
22685
22851
  }, numExecutors: {
22686
22852
  serializedName: "typeProperties.numExecutors",
22687
22853
  type: {
22688
- name: "Number"
22854
+ name: "any"
22855
+ }
22856
+ }, configurationType: {
22857
+ serializedName: "typeProperties.configurationType",
22858
+ type: {
22859
+ name: "String"
22860
+ }
22861
+ }, targetSparkConfiguration: {
22862
+ serializedName: "typeProperties.targetSparkConfiguration",
22863
+ type: {
22864
+ name: "Composite",
22865
+ className: "SparkConfigurationParametrizationReference"
22866
+ }
22867
+ }, sparkConfig: {
22868
+ serializedName: "typeProperties.sparkConfig",
22869
+ type: {
22870
+ name: "Dictionary",
22871
+ value: { type: { name: "any" } }
22689
22872
  }
22690
22873
  } })
22691
22874
  }
@@ -24149,8 +24332,8 @@ let discriminators = {
24149
24332
  Activity: Activity,
24150
24333
  Trigger: Trigger,
24151
24334
  DataFlow: DataFlow,
24152
- SecretBase: SecretBase,
24153
24335
  Credential: Credential,
24336
+ SecretBase: SecretBase,
24154
24337
  DatasetLocation: DatasetLocation,
24155
24338
  DatasetStorageFormat: DatasetStorageFormat,
24156
24339
  CustomSetupBase: CustomSetupBase,
@@ -24396,10 +24579,10 @@ let discriminators = {
24396
24579
  "DataFlow.MappingDataFlow": MappingDataFlow,
24397
24580
  "DataFlow.Flowlet": Flowlet,
24398
24581
  "DataFlow.WranglingDataFlow": WranglingDataFlow,
24582
+ "Credential.ManagedIdentity": ManagedIdentityCredential,
24583
+ "Credential.ServicePrincipal": ServicePrincipalCredential,
24399
24584
  "SecretBase.SecureString": SecureString,
24400
24585
  "SecretBase.AzureKeyVaultSecret": AzureKeyVaultSecretReference,
24401
- "Credential.ServicePrincipal": ServicePrincipalCredential,
24402
- "Credential.ManagedIdentity": ManagedIdentityCredential,
24403
24586
  "DatasetLocation.AzureBlobStorageLocation": AzureBlobStorageLocation,
24404
24587
  "DatasetLocation.AzureBlobFSLocation": AzureBlobFSLocation,
24405
24588
  "DatasetLocation.AzureDataLakeStoreLocation": AzureDataLakeStoreLocation,
@@ -24753,6 +24936,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
24753
24936
  ManagedPrivateEndpointListResponse: ManagedPrivateEndpointListResponse,
24754
24937
  ManagedPrivateEndpoint: ManagedPrivateEndpoint,
24755
24938
  ConnectionStateProperties: ConnectionStateProperties,
24939
+ CredentialListResponse: CredentialListResponse,
24940
+ Credential: Credential,
24756
24941
  PrivateEndpointConnectionListResponse: PrivateEndpointConnectionListResponse,
24757
24942
  RemotePrivateEndpointConnection: RemotePrivateEndpointConnection,
24758
24943
  ArmIdWrapper: ArmIdWrapper,
@@ -24772,7 +24957,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
24772
24957
  DataFlowReference: DataFlowReference,
24773
24958
  ManagedVirtualNetworkReference: ManagedVirtualNetworkReference,
24774
24959
  CredentialReference: CredentialReference,
24775
- Credential: Credential,
24776
24960
  Transformation: Transformation,
24777
24961
  DatasetLocation: DatasetLocation,
24778
24962
  DatasetDataElement: DatasetDataElement,
@@ -24782,6 +24966,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
24782
24966
  IntegrationRuntimeComputeProperties: IntegrationRuntimeComputeProperties,
24783
24967
  IntegrationRuntimeDataFlowProperties: IntegrationRuntimeDataFlowProperties,
24784
24968
  IntegrationRuntimeVNetProperties: IntegrationRuntimeVNetProperties,
24969
+ CopyComputeScaleProperties: CopyComputeScaleProperties,
24970
+ PipelineExternalComputeScaleProperties: PipelineExternalComputeScaleProperties,
24785
24971
  IntegrationRuntimeSsisProperties: IntegrationRuntimeSsisProperties,
24786
24972
  IntegrationRuntimeSsisCatalogInfo: IntegrationRuntimeSsisCatalogInfo,
24787
24973
  IntegrationRuntimeCustomSetupScriptProperties: IntegrationRuntimeCustomSetupScriptProperties,
@@ -24860,6 +25046,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
24860
25046
  BigDataPoolParametrizationReference: BigDataPoolParametrizationReference,
24861
25047
  NotebookParameter: NotebookParameter,
24862
25048
  SynapseSparkJobReference: SynapseSparkJobReference,
25049
+ SparkConfigurationParametrizationReference: SparkConfigurationParametrizationReference,
24863
25050
  ScheduleTriggerRecurrence: ScheduleTriggerRecurrence,
24864
25051
  RecurrenceSchedule: RecurrenceSchedule,
24865
25052
  RecurrenceScheduleOccurrence: RecurrenceScheduleOccurrence,
@@ -24879,6 +25066,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
24879
25066
  DataFlowResource: DataFlowResource,
24880
25067
  ManagedVirtualNetworkResource: ManagedVirtualNetworkResource,
24881
25068
  ManagedPrivateEndpointResource: ManagedPrivateEndpointResource,
25069
+ ManagedIdentityCredentialResource: ManagedIdentityCredentialResource,
24882
25070
  PrivateEndpointConnectionResource: PrivateEndpointConnectionResource,
24883
25071
  PrivateLinkConnectionApprovalRequestResource: PrivateLinkConnectionApprovalRequestResource,
24884
25072
  PrivateLinkResource: PrivateLinkResource,
@@ -25113,10 +25301,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
25113
25301
  DataFlowDebugResource: DataFlowDebugResource,
25114
25302
  DatasetDebugResource: DatasetDebugResource,
25115
25303
  LinkedServiceDebugResource: LinkedServiceDebugResource,
25304
+ ManagedIdentityCredential: ManagedIdentityCredential,
25305
+ ServicePrincipalCredential: ServicePrincipalCredential,
25116
25306
  SecureString: SecureString,
25117
25307
  AzureKeyVaultSecretReference: AzureKeyVaultSecretReference,
25118
- ServicePrincipalCredential: ServicePrincipalCredential,
25119
- ManagedIdentityCredential: ManagedIdentityCredential,
25120
25308
  DataFlowSource: DataFlowSource,
25121
25309
  DataFlowSink: DataFlowSink,
25122
25310
  AzureBlobStorageLocation: AzureBlobStorageLocation,
@@ -25808,6 +25996,25 @@ const managedPrivateEndpointName = {
25808
25996
  }
25809
25997
  }
25810
25998
  };
25999
+ const credential = {
26000
+ parameterPath: "credential",
26001
+ mapper: ManagedIdentityCredentialResource
26002
+ };
26003
+ const credentialName = {
26004
+ parameterPath: "credentialName",
26005
+ mapper: {
26006
+ constraints: {
26007
+ Pattern: new RegExp("^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$"),
26008
+ MaxLength: 127,
26009
+ MinLength: 1
26010
+ },
26011
+ serializedName: "credentialName",
26012
+ required: true,
26013
+ type: {
26014
+ name: "String"
26015
+ }
26016
+ }
26017
+ };
25811
26018
  const privateEndpointWrapper = {
25812
26019
  parameterPath: "privateEndpointWrapper",
25813
26020
  mapper: PrivateLinkConnectionApprovalRequestResource
@@ -25935,7 +26142,7 @@ class OperationsImpl {
25935
26142
  }
25936
26143
  }
25937
26144
  // Operation Specifications
25938
- const serializer$k = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
26145
+ const serializer$l = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
25939
26146
  const listOperationSpec$1 = {
25940
26147
  path: "/providers/Microsoft.DataFactory/operations",
25941
26148
  httpMethod: "GET",
@@ -25950,7 +26157,7 @@ const listOperationSpec$1 = {
25950
26157
  queryParameters: [apiVersion],
25951
26158
  urlParameters: [$host],
25952
26159
  headerParameters: [accept],
25953
- serializer: serializer$k
26160
+ serializer: serializer$l
25954
26161
  };
25955
26162
  const listNextOperationSpec$1 = {
25956
26163
  path: "{nextLink}",
@@ -25965,7 +26172,7 @@ const listNextOperationSpec$1 = {
25965
26172
  },
25966
26173
  urlParameters: [$host, nextLink],
25967
26174
  headerParameters: [accept],
25968
- serializer: serializer$k
26175
+ serializer: serializer$l
25969
26176
  };
25970
26177
 
25971
26178
  /*
@@ -26136,7 +26343,7 @@ class FactoriesImpl {
26136
26343
  * @param options The options parameters.
26137
26344
  */
26138
26345
  createOrUpdate(resourceGroupName, factoryName, factory, options) {
26139
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, factory, options }, createOrUpdateOperationSpec$a);
26346
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, factory, options }, createOrUpdateOperationSpec$b);
26140
26347
  }
26141
26348
  /**
26142
26349
  * Updates a factory.
@@ -26155,7 +26362,7 @@ class FactoriesImpl {
26155
26362
  * @param options The options parameters.
26156
26363
  */
26157
26364
  get(resourceGroupName, factoryName, options) {
26158
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, getOperationSpec$e);
26365
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, getOperationSpec$f);
26159
26366
  }
26160
26367
  /**
26161
26368
  * Deletes a factory.
@@ -26164,7 +26371,7 @@ class FactoriesImpl {
26164
26371
  * @param options The options parameters.
26165
26372
  */
26166
26373
  delete(resourceGroupName, factoryName, options) {
26167
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, deleteOperationSpec$b);
26374
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, deleteOperationSpec$c);
26168
26375
  }
26169
26376
  /**
26170
26377
  * Get GitHub Access Token.
@@ -26205,7 +26412,7 @@ class FactoriesImpl {
26205
26412
  }
26206
26413
  }
26207
26414
  // Operation Specifications
26208
- const serializer$j = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
26415
+ const serializer$k = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
26209
26416
  const listOperationSpec = {
26210
26417
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories",
26211
26418
  httpMethod: "GET",
@@ -26220,7 +26427,7 @@ const listOperationSpec = {
26220
26427
  queryParameters: [apiVersion],
26221
26428
  urlParameters: [$host, subscriptionId],
26222
26429
  headerParameters: [accept],
26223
- serializer: serializer$j
26430
+ serializer: serializer$k
26224
26431
  };
26225
26432
  const configureFactoryRepoOperationSpec = {
26226
26433
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo",
@@ -26242,7 +26449,7 @@ const configureFactoryRepoOperationSpec = {
26242
26449
  ],
26243
26450
  headerParameters: [accept, contentType],
26244
26451
  mediaType: "json",
26245
- serializer: serializer$j
26452
+ serializer: serializer$k
26246
26453
  };
26247
26454
  const listByResourceGroupOperationSpec = {
26248
26455
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories",
@@ -26262,9 +26469,9 @@ const listByResourceGroupOperationSpec = {
26262
26469
  resourceGroupName
26263
26470
  ],
26264
26471
  headerParameters: [accept],
26265
- serializer: serializer$j
26472
+ serializer: serializer$k
26266
26473
  };
26267
- const createOrUpdateOperationSpec$a = {
26474
+ const createOrUpdateOperationSpec$b = {
26268
26475
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}",
26269
26476
  httpMethod: "PUT",
26270
26477
  responses: {
@@ -26289,7 +26496,7 @@ const createOrUpdateOperationSpec$a = {
26289
26496
  ifMatch
26290
26497
  ],
26291
26498
  mediaType: "json",
26292
- serializer: serializer$j
26499
+ serializer: serializer$k
26293
26500
  };
26294
26501
  const updateOperationSpec$2 = {
26295
26502
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}",
@@ -26312,9 +26519,9 @@ const updateOperationSpec$2 = {
26312
26519
  ],
26313
26520
  headerParameters: [accept, contentType],
26314
26521
  mediaType: "json",
26315
- serializer: serializer$j
26522
+ serializer: serializer$k
26316
26523
  };
26317
- const getOperationSpec$e = {
26524
+ const getOperationSpec$f = {
26318
26525
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}",
26319
26526
  httpMethod: "GET",
26320
26527
  responses: {
@@ -26334,9 +26541,9 @@ const getOperationSpec$e = {
26334
26541
  factoryName
26335
26542
  ],
26336
26543
  headerParameters: [accept, ifNoneMatch],
26337
- serializer: serializer$j
26544
+ serializer: serializer$k
26338
26545
  };
26339
- const deleteOperationSpec$b = {
26546
+ const deleteOperationSpec$c = {
26340
26547
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}",
26341
26548
  httpMethod: "DELETE",
26342
26549
  responses: {
@@ -26354,7 +26561,7 @@ const deleteOperationSpec$b = {
26354
26561
  factoryName
26355
26562
  ],
26356
26563
  headerParameters: [accept],
26357
- serializer: serializer$j
26564
+ serializer: serializer$k
26358
26565
  };
26359
26566
  const getGitHubAccessTokenOperationSpec = {
26360
26567
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getGitHubAccessToken",
@@ -26377,7 +26584,7 @@ const getGitHubAccessTokenOperationSpec = {
26377
26584
  ],
26378
26585
  headerParameters: [accept, contentType],
26379
26586
  mediaType: "json",
26380
- serializer: serializer$j
26587
+ serializer: serializer$k
26381
26588
  };
26382
26589
  const getDataPlaneAccessOperationSpec = {
26383
26590
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getDataPlaneAccess",
@@ -26400,7 +26607,7 @@ const getDataPlaneAccessOperationSpec = {
26400
26607
  ],
26401
26608
  headerParameters: [accept, contentType],
26402
26609
  mediaType: "json",
26403
- serializer: serializer$j
26610
+ serializer: serializer$k
26404
26611
  };
26405
26612
  const listNextOperationSpec = {
26406
26613
  path: "{nextLink}",
@@ -26419,7 +26626,7 @@ const listNextOperationSpec = {
26419
26626
  subscriptionId
26420
26627
  ],
26421
26628
  headerParameters: [accept],
26422
- serializer: serializer$j
26629
+ serializer: serializer$k
26423
26630
  };
26424
26631
  const listByResourceGroupNextOperationSpec = {
26425
26632
  path: "{nextLink}",
@@ -26439,7 +26646,7 @@ const listByResourceGroupNextOperationSpec = {
26439
26646
  resourceGroupName
26440
26647
  ],
26441
26648
  headerParameters: [accept],
26442
- serializer: serializer$j
26649
+ serializer: serializer$k
26443
26650
  };
26444
26651
 
26445
26652
  /*
@@ -26489,7 +26696,7 @@ class ExposureControlImpl {
26489
26696
  }
26490
26697
  }
26491
26698
  // Operation Specifications
26492
- const serializer$i = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
26699
+ const serializer$j = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
26493
26700
  const getFeatureValueOperationSpec = {
26494
26701
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/getFeatureValue",
26495
26702
  httpMethod: "POST",
@@ -26510,7 +26717,7 @@ const getFeatureValueOperationSpec = {
26510
26717
  ],
26511
26718
  headerParameters: [accept, contentType],
26512
26719
  mediaType: "json",
26513
- serializer: serializer$i
26720
+ serializer: serializer$j
26514
26721
  };
26515
26722
  const getFeatureValueByFactoryOperationSpec = {
26516
26723
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getFeatureValue",
@@ -26533,7 +26740,7 @@ const getFeatureValueByFactoryOperationSpec = {
26533
26740
  ],
26534
26741
  headerParameters: [accept, contentType],
26535
26742
  mediaType: "json",
26536
- serializer: serializer$i
26743
+ serializer: serializer$j
26537
26744
  };
26538
26745
  const queryFeatureValuesByFactoryOperationSpec = {
26539
26746
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue",
@@ -26556,7 +26763,7 @@ const queryFeatureValuesByFactoryOperationSpec = {
26556
26763
  ],
26557
26764
  headerParameters: [accept, contentType],
26558
26765
  mediaType: "json",
26559
- serializer: serializer$i
26766
+ serializer: serializer$j
26560
26767
  };
26561
26768
 
26562
26769
  /*
@@ -26566,25 +26773,17 @@ const queryFeatureValuesByFactoryOperationSpec = {
26566
26773
  * Code generated by Microsoft (R) AutoRest Code Generator.
26567
26774
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
26568
26775
  */
26569
- class LroImpl {
26570
- constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
26571
- this.sendOperationFn = sendOperationFn;
26572
- this.args = args;
26573
- this.spec = spec;
26574
- this.requestPath = requestPath;
26575
- this.requestMethod = requestMethod;
26576
- }
26577
- sendInitialRequest() {
26578
- return tslib.__awaiter(this, void 0, void 0, function* () {
26579
- return this.sendOperationFn(this.args, this.spec);
26580
- });
26581
- }
26582
- sendPollRequest(path) {
26583
- return tslib.__awaiter(this, void 0, void 0, function* () {
26584
- const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
26585
- return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
26586
- });
26587
- }
26776
+ function createLroSpec(inputs) {
26777
+ const { args, spec, sendOperationFn } = inputs;
26778
+ return {
26779
+ requestMethod: spec.httpMethod,
26780
+ requestPath: spec.path,
26781
+ sendInitialRequest: () => sendOperationFn(args, spec),
26782
+ sendPollRequest: (path, options) => {
26783
+ const restSpec = tslib.__rest(spec, ["requestBody"]);
26784
+ return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
26785
+ }
26786
+ };
26588
26787
  }
26589
26788
 
26590
26789
  /*
@@ -26672,7 +26871,7 @@ class IntegrationRuntimesImpl {
26672
26871
  * @param options The options parameters.
26673
26872
  */
26674
26873
  _listByFactory(resourceGroupName, factoryName, options) {
26675
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$9);
26874
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$a);
26676
26875
  }
26677
26876
  /**
26678
26877
  * Creates or updates an integration runtime.
@@ -26689,7 +26888,7 @@ class IntegrationRuntimesImpl {
26689
26888
  integrationRuntimeName,
26690
26889
  integrationRuntime,
26691
26890
  options
26692
- }, createOrUpdateOperationSpec$9);
26891
+ }, createOrUpdateOperationSpec$a);
26693
26892
  }
26694
26893
  /**
26695
26894
  * Gets an integration runtime.
@@ -26699,7 +26898,7 @@ class IntegrationRuntimesImpl {
26699
26898
  * @param options The options parameters.
26700
26899
  */
26701
26900
  get(resourceGroupName, factoryName, integrationRuntimeName, options) {
26702
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, integrationRuntimeName, options }, getOperationSpec$d);
26901
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, integrationRuntimeName, options }, getOperationSpec$e);
26703
26902
  }
26704
26903
  /**
26705
26904
  * Updates an integration runtime.
@@ -26726,7 +26925,7 @@ class IntegrationRuntimesImpl {
26726
26925
  * @param options The options parameters.
26727
26926
  */
26728
26927
  delete(resourceGroupName, factoryName, integrationRuntimeName, options) {
26729
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, integrationRuntimeName, options }, deleteOperationSpec$a);
26928
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, integrationRuntimeName, options }, deleteOperationSpec$b);
26730
26929
  }
26731
26930
  /**
26732
26931
  * Gets detailed status information for an integration runtime.
@@ -26799,7 +26998,7 @@ class IntegrationRuntimesImpl {
26799
26998
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26800
26999
  return this.client.sendOperationRequest(args, spec);
26801
27000
  });
26802
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27001
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26803
27002
  var _a;
26804
27003
  let currentRawResponse = undefined;
26805
27004
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -26818,9 +27017,13 @@ class IntegrationRuntimesImpl {
26818
27017
  }
26819
27018
  };
26820
27019
  });
26821
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, integrationRuntimeName, options }, startOperationSpec$1);
26822
- const poller = new coreLro.LroEngine(lro, {
26823
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27020
+ const lro = createLroSpec({
27021
+ sendOperationFn,
27022
+ args: { resourceGroupName, factoryName, integrationRuntimeName, options },
27023
+ spec: startOperationSpec$1
27024
+ });
27025
+ const poller = yield coreLro.createHttpPoller(lro, {
27026
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26824
27027
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
26825
27028
  });
26826
27029
  yield poller.poll();
@@ -26852,7 +27055,7 @@ class IntegrationRuntimesImpl {
26852
27055
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26853
27056
  return this.client.sendOperationRequest(args, spec);
26854
27057
  });
26855
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27058
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26856
27059
  var _a;
26857
27060
  let currentRawResponse = undefined;
26858
27061
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -26871,9 +27074,13 @@ class IntegrationRuntimesImpl {
26871
27074
  }
26872
27075
  };
26873
27076
  });
26874
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, integrationRuntimeName, options }, stopOperationSpec$1);
26875
- const poller = new coreLro.LroEngine(lro, {
26876
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27077
+ const lro = createLroSpec({
27078
+ sendOperationFn,
27079
+ args: { resourceGroupName, factoryName, integrationRuntimeName, options },
27080
+ spec: stopOperationSpec$1
27081
+ });
27082
+ const poller = yield coreLro.createHttpPoller(lro, {
27083
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26877
27084
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
26878
27085
  });
26879
27086
  yield poller.poll();
@@ -26970,12 +27177,12 @@ class IntegrationRuntimesImpl {
26970
27177
  * @param options The options parameters.
26971
27178
  */
26972
27179
  _listByFactoryNext(resourceGroupName, factoryName, nextLink, options) {
26973
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$9);
27180
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$a);
26974
27181
  }
26975
27182
  }
26976
27183
  // Operation Specifications
26977
- const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
26978
- const listByFactoryOperationSpec$9 = {
27184
+ const serializer$i = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
27185
+ const listByFactoryOperationSpec$a = {
26979
27186
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes",
26980
27187
  httpMethod: "GET",
26981
27188
  responses: {
@@ -26994,9 +27201,9 @@ const listByFactoryOperationSpec$9 = {
26994
27201
  factoryName
26995
27202
  ],
26996
27203
  headerParameters: [accept],
26997
- serializer: serializer$h
27204
+ serializer: serializer$i
26998
27205
  };
26999
- const createOrUpdateOperationSpec$9 = {
27206
+ const createOrUpdateOperationSpec$a = {
27000
27207
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
27001
27208
  httpMethod: "PUT",
27002
27209
  responses: {
@@ -27022,9 +27229,9 @@ const createOrUpdateOperationSpec$9 = {
27022
27229
  ifMatch
27023
27230
  ],
27024
27231
  mediaType: "json",
27025
- serializer: serializer$h
27232
+ serializer: serializer$i
27026
27233
  };
27027
- const getOperationSpec$d = {
27234
+ const getOperationSpec$e = {
27028
27235
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
27029
27236
  httpMethod: "GET",
27030
27237
  responses: {
@@ -27045,7 +27252,7 @@ const getOperationSpec$d = {
27045
27252
  integrationRuntimeName
27046
27253
  ],
27047
27254
  headerParameters: [accept, ifNoneMatch],
27048
- serializer: serializer$h
27255
+ serializer: serializer$i
27049
27256
  };
27050
27257
  const updateOperationSpec$1 = {
27051
27258
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
@@ -27069,9 +27276,9 @@ const updateOperationSpec$1 = {
27069
27276
  ],
27070
27277
  headerParameters: [accept, contentType],
27071
27278
  mediaType: "json",
27072
- serializer: serializer$h
27279
+ serializer: serializer$i
27073
27280
  };
27074
- const deleteOperationSpec$a = {
27281
+ const deleteOperationSpec$b = {
27075
27282
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
27076
27283
  httpMethod: "DELETE",
27077
27284
  responses: {
@@ -27090,7 +27297,7 @@ const deleteOperationSpec$a = {
27090
27297
  integrationRuntimeName
27091
27298
  ],
27092
27299
  headerParameters: [accept],
27093
- serializer: serializer$h
27300
+ serializer: serializer$i
27094
27301
  };
27095
27302
  const getStatusOperationSpec = {
27096
27303
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus",
@@ -27112,7 +27319,7 @@ const getStatusOperationSpec = {
27112
27319
  integrationRuntimeName
27113
27320
  ],
27114
27321
  headerParameters: [accept],
27115
- serializer: serializer$h
27322
+ serializer: serializer$i
27116
27323
  };
27117
27324
  const listOutboundNetworkDependenciesEndpointsOperationSpec = {
27118
27325
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints",
@@ -27134,7 +27341,7 @@ const listOutboundNetworkDependenciesEndpointsOperationSpec = {
27134
27341
  integrationRuntimeName
27135
27342
  ],
27136
27343
  headerParameters: [accept],
27137
- serializer: serializer$h
27344
+ serializer: serializer$i
27138
27345
  };
27139
27346
  const getConnectionInfoOperationSpec = {
27140
27347
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo",
@@ -27156,7 +27363,7 @@ const getConnectionInfoOperationSpec = {
27156
27363
  integrationRuntimeName
27157
27364
  ],
27158
27365
  headerParameters: [accept],
27159
- serializer: serializer$h
27366
+ serializer: serializer$i
27160
27367
  };
27161
27368
  const regenerateAuthKeyOperationSpec = {
27162
27369
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey",
@@ -27180,7 +27387,7 @@ const regenerateAuthKeyOperationSpec = {
27180
27387
  ],
27181
27388
  headerParameters: [accept, contentType],
27182
27389
  mediaType: "json",
27183
- serializer: serializer$h
27390
+ serializer: serializer$i
27184
27391
  };
27185
27392
  const listAuthKeysOperationSpec = {
27186
27393
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys",
@@ -27202,7 +27409,7 @@ const listAuthKeysOperationSpec = {
27202
27409
  integrationRuntimeName
27203
27410
  ],
27204
27411
  headerParameters: [accept],
27205
- serializer: serializer$h
27412
+ serializer: serializer$i
27206
27413
  };
27207
27414
  const startOperationSpec$1 = {
27208
27415
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start",
@@ -27233,7 +27440,7 @@ const startOperationSpec$1 = {
27233
27440
  integrationRuntimeName
27234
27441
  ],
27235
27442
  headerParameters: [accept],
27236
- serializer: serializer$h
27443
+ serializer: serializer$i
27237
27444
  };
27238
27445
  const stopOperationSpec$1 = {
27239
27446
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop",
@@ -27256,7 +27463,7 @@ const stopOperationSpec$1 = {
27256
27463
  integrationRuntimeName
27257
27464
  ],
27258
27465
  headerParameters: [accept],
27259
- serializer: serializer$h
27466
+ serializer: serializer$i
27260
27467
  };
27261
27468
  const syncCredentialsOperationSpec = {
27262
27469
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials",
@@ -27276,7 +27483,7 @@ const syncCredentialsOperationSpec = {
27276
27483
  integrationRuntimeName
27277
27484
  ],
27278
27485
  headerParameters: [accept],
27279
- serializer: serializer$h
27486
+ serializer: serializer$i
27280
27487
  };
27281
27488
  const getMonitoringDataOperationSpec = {
27282
27489
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData",
@@ -27298,7 +27505,7 @@ const getMonitoringDataOperationSpec = {
27298
27505
  integrationRuntimeName
27299
27506
  ],
27300
27507
  headerParameters: [accept],
27301
- serializer: serializer$h
27508
+ serializer: serializer$i
27302
27509
  };
27303
27510
  const upgradeOperationSpec = {
27304
27511
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade",
@@ -27318,7 +27525,7 @@ const upgradeOperationSpec = {
27318
27525
  integrationRuntimeName
27319
27526
  ],
27320
27527
  headerParameters: [accept],
27321
- serializer: serializer$h
27528
+ serializer: serializer$i
27322
27529
  };
27323
27530
  const removeLinksOperationSpec = {
27324
27531
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks",
@@ -27340,7 +27547,7 @@ const removeLinksOperationSpec = {
27340
27547
  ],
27341
27548
  headerParameters: [accept, contentType],
27342
27549
  mediaType: "json",
27343
- serializer: serializer$h
27550
+ serializer: serializer$i
27344
27551
  };
27345
27552
  const createLinkedIntegrationRuntimeOperationSpec = {
27346
27553
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime",
@@ -27364,9 +27571,9 @@ const createLinkedIntegrationRuntimeOperationSpec = {
27364
27571
  ],
27365
27572
  headerParameters: [accept, contentType],
27366
27573
  mediaType: "json",
27367
- serializer: serializer$h
27574
+ serializer: serializer$i
27368
27575
  };
27369
- const listByFactoryNextOperationSpec$9 = {
27576
+ const listByFactoryNextOperationSpec$a = {
27370
27577
  path: "{nextLink}",
27371
27578
  httpMethod: "GET",
27372
27579
  responses: {
@@ -27385,7 +27592,7 @@ const listByFactoryNextOperationSpec$9 = {
27385
27592
  factoryName
27386
27593
  ],
27387
27594
  headerParameters: [accept],
27388
- serializer: serializer$h
27595
+ serializer: serializer$i
27389
27596
  };
27390
27597
 
27391
27598
  /*
@@ -27416,7 +27623,7 @@ class IntegrationRuntimeObjectMetadataImpl {
27416
27623
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27417
27624
  return this.client.sendOperationRequest(args, spec);
27418
27625
  });
27419
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27626
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27420
27627
  var _a;
27421
27628
  let currentRawResponse = undefined;
27422
27629
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -27435,9 +27642,13 @@ class IntegrationRuntimeObjectMetadataImpl {
27435
27642
  }
27436
27643
  };
27437
27644
  });
27438
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, integrationRuntimeName, options }, refreshOperationSpec);
27439
- const poller = new coreLro.LroEngine(lro, {
27440
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27645
+ const lro = createLroSpec({
27646
+ sendOperationFn,
27647
+ args: { resourceGroupName, factoryName, integrationRuntimeName, options },
27648
+ spec: refreshOperationSpec
27649
+ });
27650
+ const poller = yield coreLro.createHttpPoller(lro, {
27651
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27441
27652
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27442
27653
  });
27443
27654
  yield poller.poll();
@@ -27466,11 +27677,11 @@ class IntegrationRuntimeObjectMetadataImpl {
27466
27677
  * @param options The options parameters.
27467
27678
  */
27468
27679
  get(resourceGroupName, factoryName, integrationRuntimeName, options) {
27469
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, integrationRuntimeName, options }, getOperationSpec$c);
27680
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, integrationRuntimeName, options }, getOperationSpec$d);
27470
27681
  }
27471
27682
  }
27472
27683
  // Operation Specifications
27473
- const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
27684
+ const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
27474
27685
  const refreshOperationSpec = {
27475
27686
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata",
27476
27687
  httpMethod: "POST",
@@ -27500,9 +27711,9 @@ const refreshOperationSpec = {
27500
27711
  integrationRuntimeName
27501
27712
  ],
27502
27713
  headerParameters: [accept],
27503
- serializer: serializer$g
27714
+ serializer: serializer$h
27504
27715
  };
27505
- const getOperationSpec$c = {
27716
+ const getOperationSpec$d = {
27506
27717
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata",
27507
27718
  httpMethod: "POST",
27508
27719
  responses: {
@@ -27524,7 +27735,7 @@ const getOperationSpec$c = {
27524
27735
  ],
27525
27736
  headerParameters: [accept, contentType],
27526
27737
  mediaType: "json",
27527
- serializer: serializer$g
27738
+ serializer: serializer$h
27528
27739
  };
27529
27740
 
27530
27741
  /*
@@ -27558,7 +27769,7 @@ class IntegrationRuntimeNodesImpl {
27558
27769
  integrationRuntimeName,
27559
27770
  nodeName,
27560
27771
  options
27561
- }, getOperationSpec$b);
27772
+ }, getOperationSpec$c);
27562
27773
  }
27563
27774
  /**
27564
27775
  * Deletes a self-hosted integration runtime node.
@@ -27575,7 +27786,7 @@ class IntegrationRuntimeNodesImpl {
27575
27786
  integrationRuntimeName,
27576
27787
  nodeName,
27577
27788
  options
27578
- }, deleteOperationSpec$9);
27789
+ }, deleteOperationSpec$a);
27579
27790
  }
27580
27791
  /**
27581
27792
  * Updates a self-hosted integration runtime node.
@@ -27615,8 +27826,8 @@ class IntegrationRuntimeNodesImpl {
27615
27826
  }
27616
27827
  }
27617
27828
  // Operation Specifications
27618
- const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
27619
- const getOperationSpec$b = {
27829
+ const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
27830
+ const getOperationSpec$c = {
27620
27831
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}",
27621
27832
  httpMethod: "GET",
27622
27833
  responses: {
@@ -27637,9 +27848,9 @@ const getOperationSpec$b = {
27637
27848
  nodeName
27638
27849
  ],
27639
27850
  headerParameters: [accept],
27640
- serializer: serializer$f
27851
+ serializer: serializer$g
27641
27852
  };
27642
- const deleteOperationSpec$9 = {
27853
+ const deleteOperationSpec$a = {
27643
27854
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}",
27644
27855
  httpMethod: "DELETE",
27645
27856
  responses: {
@@ -27659,7 +27870,7 @@ const deleteOperationSpec$9 = {
27659
27870
  nodeName
27660
27871
  ],
27661
27872
  headerParameters: [accept],
27662
- serializer: serializer$f
27873
+ serializer: serializer$g
27663
27874
  };
27664
27875
  const updateOperationSpec = {
27665
27876
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}",
@@ -27684,7 +27895,7 @@ const updateOperationSpec = {
27684
27895
  ],
27685
27896
  headerParameters: [accept, contentType],
27686
27897
  mediaType: "json",
27687
- serializer: serializer$f
27898
+ serializer: serializer$g
27688
27899
  };
27689
27900
  const getIpAddressOperationSpec = {
27690
27901
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress",
@@ -27707,7 +27918,7 @@ const getIpAddressOperationSpec = {
27707
27918
  nodeName
27708
27919
  ],
27709
27920
  headerParameters: [accept],
27710
- serializer: serializer$f
27921
+ serializer: serializer$g
27711
27922
  };
27712
27923
 
27713
27924
  /*
@@ -27795,7 +28006,7 @@ class LinkedServicesImpl {
27795
28006
  * @param options The options parameters.
27796
28007
  */
27797
28008
  _listByFactory(resourceGroupName, factoryName, options) {
27798
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$8);
28009
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$9);
27799
28010
  }
27800
28011
  /**
27801
28012
  * Creates or updates a linked service.
@@ -27812,7 +28023,7 @@ class LinkedServicesImpl {
27812
28023
  linkedServiceName,
27813
28024
  linkedService,
27814
28025
  options
27815
- }, createOrUpdateOperationSpec$8);
28026
+ }, createOrUpdateOperationSpec$9);
27816
28027
  }
27817
28028
  /**
27818
28029
  * Gets a linked service.
@@ -27822,7 +28033,7 @@ class LinkedServicesImpl {
27822
28033
  * @param options The options parameters.
27823
28034
  */
27824
28035
  get(resourceGroupName, factoryName, linkedServiceName, options) {
27825
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, linkedServiceName, options }, getOperationSpec$a);
28036
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, linkedServiceName, options }, getOperationSpec$b);
27826
28037
  }
27827
28038
  /**
27828
28039
  * Deletes a linked service.
@@ -27832,7 +28043,7 @@ class LinkedServicesImpl {
27832
28043
  * @param options The options parameters.
27833
28044
  */
27834
28045
  delete(resourceGroupName, factoryName, linkedServiceName, options) {
27835
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, linkedServiceName, options }, deleteOperationSpec$8);
28046
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, linkedServiceName, options }, deleteOperationSpec$9);
27836
28047
  }
27837
28048
  /**
27838
28049
  * ListByFactoryNext
@@ -27842,12 +28053,12 @@ class LinkedServicesImpl {
27842
28053
  * @param options The options parameters.
27843
28054
  */
27844
28055
  _listByFactoryNext(resourceGroupName, factoryName, nextLink, options) {
27845
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$8);
28056
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$9);
27846
28057
  }
27847
28058
  }
27848
28059
  // Operation Specifications
27849
- const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
27850
- const listByFactoryOperationSpec$8 = {
28060
+ const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28061
+ const listByFactoryOperationSpec$9 = {
27851
28062
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices",
27852
28063
  httpMethod: "GET",
27853
28064
  responses: {
@@ -27866,9 +28077,9 @@ const listByFactoryOperationSpec$8 = {
27866
28077
  factoryName
27867
28078
  ],
27868
28079
  headerParameters: [accept],
27869
- serializer: serializer$e
28080
+ serializer: serializer$f
27870
28081
  };
27871
- const createOrUpdateOperationSpec$8 = {
28082
+ const createOrUpdateOperationSpec$9 = {
27872
28083
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}",
27873
28084
  httpMethod: "PUT",
27874
28085
  responses: {
@@ -27894,9 +28105,9 @@ const createOrUpdateOperationSpec$8 = {
27894
28105
  ifMatch
27895
28106
  ],
27896
28107
  mediaType: "json",
27897
- serializer: serializer$e
28108
+ serializer: serializer$f
27898
28109
  };
27899
- const getOperationSpec$a = {
28110
+ const getOperationSpec$b = {
27900
28111
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}",
27901
28112
  httpMethod: "GET",
27902
28113
  responses: {
@@ -27917,9 +28128,9 @@ const getOperationSpec$a = {
27917
28128
  linkedServiceName
27918
28129
  ],
27919
28130
  headerParameters: [accept, ifNoneMatch],
27920
- serializer: serializer$e
28131
+ serializer: serializer$f
27921
28132
  };
27922
- const deleteOperationSpec$8 = {
28133
+ const deleteOperationSpec$9 = {
27923
28134
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}",
27924
28135
  httpMethod: "DELETE",
27925
28136
  responses: {
@@ -27938,9 +28149,9 @@ const deleteOperationSpec$8 = {
27938
28149
  linkedServiceName
27939
28150
  ],
27940
28151
  headerParameters: [accept],
27941
- serializer: serializer$e
28152
+ serializer: serializer$f
27942
28153
  };
27943
- const listByFactoryNextOperationSpec$8 = {
28154
+ const listByFactoryNextOperationSpec$9 = {
27944
28155
  path: "{nextLink}",
27945
28156
  httpMethod: "GET",
27946
28157
  responses: {
@@ -27959,7 +28170,7 @@ const listByFactoryNextOperationSpec$8 = {
27959
28170
  factoryName
27960
28171
  ],
27961
28172
  headerParameters: [accept],
27962
- serializer: serializer$e
28173
+ serializer: serializer$f
27963
28174
  };
27964
28175
 
27965
28176
  /*
@@ -28047,7 +28258,7 @@ class DatasetsImpl {
28047
28258
  * @param options The options parameters.
28048
28259
  */
28049
28260
  _listByFactory(resourceGroupName, factoryName, options) {
28050
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$7);
28261
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$8);
28051
28262
  }
28052
28263
  /**
28053
28264
  * Creates or updates a dataset.
@@ -28058,7 +28269,7 @@ class DatasetsImpl {
28058
28269
  * @param options The options parameters.
28059
28270
  */
28060
28271
  createOrUpdate(resourceGroupName, factoryName, datasetName, dataset, options) {
28061
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, datasetName, dataset, options }, createOrUpdateOperationSpec$7);
28272
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, datasetName, dataset, options }, createOrUpdateOperationSpec$8);
28062
28273
  }
28063
28274
  /**
28064
28275
  * Gets a dataset.
@@ -28068,7 +28279,7 @@ class DatasetsImpl {
28068
28279
  * @param options The options parameters.
28069
28280
  */
28070
28281
  get(resourceGroupName, factoryName, datasetName, options) {
28071
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, datasetName, options }, getOperationSpec$9);
28282
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, datasetName, options }, getOperationSpec$a);
28072
28283
  }
28073
28284
  /**
28074
28285
  * Deletes a dataset.
@@ -28078,7 +28289,7 @@ class DatasetsImpl {
28078
28289
  * @param options The options parameters.
28079
28290
  */
28080
28291
  delete(resourceGroupName, factoryName, datasetName, options) {
28081
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, datasetName, options }, deleteOperationSpec$7);
28292
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, datasetName, options }, deleteOperationSpec$8);
28082
28293
  }
28083
28294
  /**
28084
28295
  * ListByFactoryNext
@@ -28088,12 +28299,12 @@ class DatasetsImpl {
28088
28299
  * @param options The options parameters.
28089
28300
  */
28090
28301
  _listByFactoryNext(resourceGroupName, factoryName, nextLink, options) {
28091
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$7);
28302
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$8);
28092
28303
  }
28093
28304
  }
28094
28305
  // Operation Specifications
28095
- const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28096
- const listByFactoryOperationSpec$7 = {
28306
+ const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28307
+ const listByFactoryOperationSpec$8 = {
28097
28308
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets",
28098
28309
  httpMethod: "GET",
28099
28310
  responses: {
@@ -28112,9 +28323,9 @@ const listByFactoryOperationSpec$7 = {
28112
28323
  factoryName
28113
28324
  ],
28114
28325
  headerParameters: [accept],
28115
- serializer: serializer$d
28326
+ serializer: serializer$e
28116
28327
  };
28117
- const createOrUpdateOperationSpec$7 = {
28328
+ const createOrUpdateOperationSpec$8 = {
28118
28329
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}",
28119
28330
  httpMethod: "PUT",
28120
28331
  responses: {
@@ -28140,9 +28351,9 @@ const createOrUpdateOperationSpec$7 = {
28140
28351
  ifMatch
28141
28352
  ],
28142
28353
  mediaType: "json",
28143
- serializer: serializer$d
28354
+ serializer: serializer$e
28144
28355
  };
28145
- const getOperationSpec$9 = {
28356
+ const getOperationSpec$a = {
28146
28357
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}",
28147
28358
  httpMethod: "GET",
28148
28359
  responses: {
@@ -28163,9 +28374,9 @@ const getOperationSpec$9 = {
28163
28374
  datasetName
28164
28375
  ],
28165
28376
  headerParameters: [accept, ifNoneMatch],
28166
- serializer: serializer$d
28377
+ serializer: serializer$e
28167
28378
  };
28168
- const deleteOperationSpec$7 = {
28379
+ const deleteOperationSpec$8 = {
28169
28380
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}",
28170
28381
  httpMethod: "DELETE",
28171
28382
  responses: {
@@ -28184,9 +28395,9 @@ const deleteOperationSpec$7 = {
28184
28395
  datasetName
28185
28396
  ],
28186
28397
  headerParameters: [accept],
28187
- serializer: serializer$d
28398
+ serializer: serializer$e
28188
28399
  };
28189
- const listByFactoryNextOperationSpec$7 = {
28400
+ const listByFactoryNextOperationSpec$8 = {
28190
28401
  path: "{nextLink}",
28191
28402
  httpMethod: "GET",
28192
28403
  responses: {
@@ -28205,7 +28416,7 @@ const listByFactoryNextOperationSpec$7 = {
28205
28416
  factoryName
28206
28417
  ],
28207
28418
  headerParameters: [accept],
28208
- serializer: serializer$d
28419
+ serializer: serializer$e
28209
28420
  };
28210
28421
 
28211
28422
  /*
@@ -28293,7 +28504,7 @@ class PipelinesImpl {
28293
28504
  * @param options The options parameters.
28294
28505
  */
28295
28506
  _listByFactory(resourceGroupName, factoryName, options) {
28296
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$6);
28507
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$7);
28297
28508
  }
28298
28509
  /**
28299
28510
  * Creates or updates a pipeline.
@@ -28304,7 +28515,7 @@ class PipelinesImpl {
28304
28515
  * @param options The options parameters.
28305
28516
  */
28306
28517
  createOrUpdate(resourceGroupName, factoryName, pipelineName, pipeline, options) {
28307
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, pipelineName, pipeline, options }, createOrUpdateOperationSpec$6);
28518
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, pipelineName, pipeline, options }, createOrUpdateOperationSpec$7);
28308
28519
  }
28309
28520
  /**
28310
28521
  * Gets a pipeline.
@@ -28314,7 +28525,7 @@ class PipelinesImpl {
28314
28525
  * @param options The options parameters.
28315
28526
  */
28316
28527
  get(resourceGroupName, factoryName, pipelineName, options) {
28317
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, pipelineName, options }, getOperationSpec$8);
28528
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, pipelineName, options }, getOperationSpec$9);
28318
28529
  }
28319
28530
  /**
28320
28531
  * Deletes a pipeline.
@@ -28324,7 +28535,7 @@ class PipelinesImpl {
28324
28535
  * @param options The options parameters.
28325
28536
  */
28326
28537
  delete(resourceGroupName, factoryName, pipelineName, options) {
28327
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, pipelineName, options }, deleteOperationSpec$6);
28538
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, pipelineName, options }, deleteOperationSpec$7);
28328
28539
  }
28329
28540
  /**
28330
28541
  * Creates a run of a pipeline.
@@ -28344,12 +28555,12 @@ class PipelinesImpl {
28344
28555
  * @param options The options parameters.
28345
28556
  */
28346
28557
  _listByFactoryNext(resourceGroupName, factoryName, nextLink, options) {
28347
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$6);
28558
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$7);
28348
28559
  }
28349
28560
  }
28350
28561
  // Operation Specifications
28351
- const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28352
- const listByFactoryOperationSpec$6 = {
28562
+ const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28563
+ const listByFactoryOperationSpec$7 = {
28353
28564
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines",
28354
28565
  httpMethod: "GET",
28355
28566
  responses: {
@@ -28368,9 +28579,9 @@ const listByFactoryOperationSpec$6 = {
28368
28579
  factoryName
28369
28580
  ],
28370
28581
  headerParameters: [accept],
28371
- serializer: serializer$c
28582
+ serializer: serializer$d
28372
28583
  };
28373
- const createOrUpdateOperationSpec$6 = {
28584
+ const createOrUpdateOperationSpec$7 = {
28374
28585
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}",
28375
28586
  httpMethod: "PUT",
28376
28587
  responses: {
@@ -28396,9 +28607,9 @@ const createOrUpdateOperationSpec$6 = {
28396
28607
  ifMatch
28397
28608
  ],
28398
28609
  mediaType: "json",
28399
- serializer: serializer$c
28610
+ serializer: serializer$d
28400
28611
  };
28401
- const getOperationSpec$8 = {
28612
+ const getOperationSpec$9 = {
28402
28613
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}",
28403
28614
  httpMethod: "GET",
28404
28615
  responses: {
@@ -28419,9 +28630,9 @@ const getOperationSpec$8 = {
28419
28630
  pipelineName
28420
28631
  ],
28421
28632
  headerParameters: [accept, ifNoneMatch],
28422
- serializer: serializer$c
28633
+ serializer: serializer$d
28423
28634
  };
28424
- const deleteOperationSpec$6 = {
28635
+ const deleteOperationSpec$7 = {
28425
28636
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}",
28426
28637
  httpMethod: "DELETE",
28427
28638
  responses: {
@@ -28440,7 +28651,7 @@ const deleteOperationSpec$6 = {
28440
28651
  pipelineName
28441
28652
  ],
28442
28653
  headerParameters: [accept],
28443
- serializer: serializer$c
28654
+ serializer: serializer$d
28444
28655
  };
28445
28656
  const createRunOperationSpec = {
28446
28657
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun",
@@ -28470,9 +28681,9 @@ const createRunOperationSpec = {
28470
28681
  ],
28471
28682
  headerParameters: [accept, contentType],
28472
28683
  mediaType: "json",
28473
- serializer: serializer$c
28684
+ serializer: serializer$d
28474
28685
  };
28475
- const listByFactoryNextOperationSpec$6 = {
28686
+ const listByFactoryNextOperationSpec$7 = {
28476
28687
  path: "{nextLink}",
28477
28688
  httpMethod: "GET",
28478
28689
  responses: {
@@ -28491,7 +28702,7 @@ const listByFactoryNextOperationSpec$6 = {
28491
28702
  factoryName
28492
28703
  ],
28493
28704
  headerParameters: [accept],
28494
- serializer: serializer$c
28705
+ serializer: serializer$d
28495
28706
  };
28496
28707
 
28497
28708
  /*
@@ -28528,7 +28739,7 @@ class PipelineRunsImpl {
28528
28739
  * @param options The options parameters.
28529
28740
  */
28530
28741
  get(resourceGroupName, factoryName, runId, options) {
28531
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, runId, options }, getOperationSpec$7);
28742
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, runId, options }, getOperationSpec$8);
28532
28743
  }
28533
28744
  /**
28534
28745
  * Cancel a pipeline run by its run ID.
@@ -28542,7 +28753,7 @@ class PipelineRunsImpl {
28542
28753
  }
28543
28754
  }
28544
28755
  // Operation Specifications
28545
- const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28756
+ const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28546
28757
  const queryByFactoryOperationSpec$3 = {
28547
28758
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns",
28548
28759
  httpMethod: "POST",
@@ -28564,9 +28775,9 @@ const queryByFactoryOperationSpec$3 = {
28564
28775
  ],
28565
28776
  headerParameters: [accept, contentType],
28566
28777
  mediaType: "json",
28567
- serializer: serializer$b
28778
+ serializer: serializer$c
28568
28779
  };
28569
- const getOperationSpec$7 = {
28780
+ const getOperationSpec$8 = {
28570
28781
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}",
28571
28782
  httpMethod: "GET",
28572
28783
  responses: {
@@ -28586,7 +28797,7 @@ const getOperationSpec$7 = {
28586
28797
  runId
28587
28798
  ],
28588
28799
  headerParameters: [accept],
28589
- serializer: serializer$b
28800
+ serializer: serializer$c
28590
28801
  };
28591
28802
  const cancelOperationSpec$1 = {
28592
28803
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel",
@@ -28606,7 +28817,7 @@ const cancelOperationSpec$1 = {
28606
28817
  runId
28607
28818
  ],
28608
28819
  headerParameters: [accept],
28609
- serializer: serializer$b
28820
+ serializer: serializer$c
28610
28821
  };
28611
28822
 
28612
28823
  /*
@@ -28638,7 +28849,7 @@ class ActivityRunsImpl {
28638
28849
  }
28639
28850
  }
28640
28851
  // Operation Specifications
28641
- const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28852
+ const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
28642
28853
  const queryByPipelineRunOperationSpec = {
28643
28854
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns",
28644
28855
  httpMethod: "POST",
@@ -28661,7 +28872,7 @@ const queryByPipelineRunOperationSpec = {
28661
28872
  ],
28662
28873
  headerParameters: [accept, contentType],
28663
28874
  mediaType: "json",
28664
- serializer: serializer$a
28875
+ serializer: serializer$b
28665
28876
  };
28666
28877
 
28667
28878
  /*
@@ -28749,7 +28960,7 @@ class TriggersImpl {
28749
28960
  * @param options The options parameters.
28750
28961
  */
28751
28962
  _listByFactory(resourceGroupName, factoryName, options) {
28752
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$5);
28963
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$6);
28753
28964
  }
28754
28965
  /**
28755
28966
  * Query triggers.
@@ -28770,7 +28981,7 @@ class TriggersImpl {
28770
28981
  * @param options The options parameters.
28771
28982
  */
28772
28983
  createOrUpdate(resourceGroupName, factoryName, triggerName, trigger, options) {
28773
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, triggerName, trigger, options }, createOrUpdateOperationSpec$5);
28984
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, triggerName, trigger, options }, createOrUpdateOperationSpec$6);
28774
28985
  }
28775
28986
  /**
28776
28987
  * Gets a trigger.
@@ -28780,7 +28991,7 @@ class TriggersImpl {
28780
28991
  * @param options The options parameters.
28781
28992
  */
28782
28993
  get(resourceGroupName, factoryName, triggerName, options) {
28783
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, triggerName, options }, getOperationSpec$6);
28994
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, triggerName, options }, getOperationSpec$7);
28784
28995
  }
28785
28996
  /**
28786
28997
  * Deletes a trigger.
@@ -28790,7 +29001,7 @@ class TriggersImpl {
28790
29001
  * @param options The options parameters.
28791
29002
  */
28792
29003
  delete(resourceGroupName, factoryName, triggerName, options) {
28793
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, triggerName, options }, deleteOperationSpec$5);
29004
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, triggerName, options }, deleteOperationSpec$6);
28794
29005
  }
28795
29006
  /**
28796
29007
  * Subscribe event trigger to events.
@@ -28804,7 +29015,7 @@ class TriggersImpl {
28804
29015
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28805
29016
  return this.client.sendOperationRequest(args, spec);
28806
29017
  });
28807
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29018
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28808
29019
  var _a;
28809
29020
  let currentRawResponse = undefined;
28810
29021
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -28823,9 +29034,13 @@ class TriggersImpl {
28823
29034
  }
28824
29035
  };
28825
29036
  });
28826
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, triggerName, options }, subscribeToEventsOperationSpec);
28827
- const poller = new coreLro.LroEngine(lro, {
28828
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29037
+ const lro = createLroSpec({
29038
+ sendOperationFn,
29039
+ args: { resourceGroupName, factoryName, triggerName, options },
29040
+ spec: subscribeToEventsOperationSpec
29041
+ });
29042
+ const poller = yield coreLro.createHttpPoller(lro, {
29043
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28829
29044
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
28830
29045
  });
28831
29046
  yield poller.poll();
@@ -28867,7 +29082,7 @@ class TriggersImpl {
28867
29082
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28868
29083
  return this.client.sendOperationRequest(args, spec);
28869
29084
  });
28870
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29085
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28871
29086
  var _a;
28872
29087
  let currentRawResponse = undefined;
28873
29088
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -28886,9 +29101,13 @@ class TriggersImpl {
28886
29101
  }
28887
29102
  };
28888
29103
  });
28889
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, triggerName, options }, unsubscribeFromEventsOperationSpec);
28890
- const poller = new coreLro.LroEngine(lro, {
28891
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29104
+ const lro = createLroSpec({
29105
+ sendOperationFn,
29106
+ args: { resourceGroupName, factoryName, triggerName, options },
29107
+ spec: unsubscribeFromEventsOperationSpec
29108
+ });
29109
+ const poller = yield coreLro.createHttpPoller(lro, {
29110
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28892
29111
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
28893
29112
  });
28894
29113
  yield poller.poll();
@@ -28920,7 +29139,7 @@ class TriggersImpl {
28920
29139
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28921
29140
  return this.client.sendOperationRequest(args, spec);
28922
29141
  });
28923
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29142
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28924
29143
  var _a;
28925
29144
  let currentRawResponse = undefined;
28926
29145
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -28939,9 +29158,13 @@ class TriggersImpl {
28939
29158
  }
28940
29159
  };
28941
29160
  });
28942
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, triggerName, options }, startOperationSpec);
28943
- const poller = new coreLro.LroEngine(lro, {
28944
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29161
+ const lro = createLroSpec({
29162
+ sendOperationFn,
29163
+ args: { resourceGroupName, factoryName, triggerName, options },
29164
+ spec: startOperationSpec
29165
+ });
29166
+ const poller = yield coreLro.createHttpPoller(lro, {
29167
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28945
29168
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
28946
29169
  });
28947
29170
  yield poller.poll();
@@ -28973,7 +29196,7 @@ class TriggersImpl {
28973
29196
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28974
29197
  return this.client.sendOperationRequest(args, spec);
28975
29198
  });
28976
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29199
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28977
29200
  var _a;
28978
29201
  let currentRawResponse = undefined;
28979
29202
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -28992,9 +29215,13 @@ class TriggersImpl {
28992
29215
  }
28993
29216
  };
28994
29217
  });
28995
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, triggerName, options }, stopOperationSpec);
28996
- const poller = new coreLro.LroEngine(lro, {
28997
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29218
+ const lro = createLroSpec({
29219
+ sendOperationFn,
29220
+ args: { resourceGroupName, factoryName, triggerName, options },
29221
+ spec: stopOperationSpec
29222
+ });
29223
+ const poller = yield coreLro.createHttpPoller(lro, {
29224
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28998
29225
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
28999
29226
  });
29000
29227
  yield poller.poll();
@@ -29022,12 +29249,12 @@ class TriggersImpl {
29022
29249
  * @param options The options parameters.
29023
29250
  */
29024
29251
  _listByFactoryNext(resourceGroupName, factoryName, nextLink, options) {
29025
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$5);
29252
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$6);
29026
29253
  }
29027
29254
  }
29028
29255
  // Operation Specifications
29029
- const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
29030
- const listByFactoryOperationSpec$5 = {
29256
+ const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
29257
+ const listByFactoryOperationSpec$6 = {
29031
29258
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers",
29032
29259
  httpMethod: "GET",
29033
29260
  responses: {
@@ -29046,7 +29273,7 @@ const listByFactoryOperationSpec$5 = {
29046
29273
  factoryName
29047
29274
  ],
29048
29275
  headerParameters: [accept],
29049
- serializer: serializer$9
29276
+ serializer: serializer$a
29050
29277
  };
29051
29278
  const queryByFactoryOperationSpec$2 = {
29052
29279
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers",
@@ -29069,9 +29296,9 @@ const queryByFactoryOperationSpec$2 = {
29069
29296
  ],
29070
29297
  headerParameters: [accept, contentType],
29071
29298
  mediaType: "json",
29072
- serializer: serializer$9
29299
+ serializer: serializer$a
29073
29300
  };
29074
- const createOrUpdateOperationSpec$5 = {
29301
+ const createOrUpdateOperationSpec$6 = {
29075
29302
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}",
29076
29303
  httpMethod: "PUT",
29077
29304
  responses: {
@@ -29097,9 +29324,9 @@ const createOrUpdateOperationSpec$5 = {
29097
29324
  ifMatch
29098
29325
  ],
29099
29326
  mediaType: "json",
29100
- serializer: serializer$9
29327
+ serializer: serializer$a
29101
29328
  };
29102
- const getOperationSpec$6 = {
29329
+ const getOperationSpec$7 = {
29103
29330
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}",
29104
29331
  httpMethod: "GET",
29105
29332
  responses: {
@@ -29120,9 +29347,9 @@ const getOperationSpec$6 = {
29120
29347
  triggerName
29121
29348
  ],
29122
29349
  headerParameters: [accept, ifNoneMatch],
29123
- serializer: serializer$9
29350
+ serializer: serializer$a
29124
29351
  };
29125
- const deleteOperationSpec$5 = {
29352
+ const deleteOperationSpec$6 = {
29126
29353
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}",
29127
29354
  httpMethod: "DELETE",
29128
29355
  responses: {
@@ -29141,7 +29368,7 @@ const deleteOperationSpec$5 = {
29141
29368
  triggerName
29142
29369
  ],
29143
29370
  headerParameters: [accept],
29144
- serializer: serializer$9
29371
+ serializer: serializer$a
29145
29372
  };
29146
29373
  const subscribeToEventsOperationSpec = {
29147
29374
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents",
@@ -29172,7 +29399,7 @@ const subscribeToEventsOperationSpec = {
29172
29399
  triggerName
29173
29400
  ],
29174
29401
  headerParameters: [accept],
29175
- serializer: serializer$9
29402
+ serializer: serializer$a
29176
29403
  };
29177
29404
  const getEventSubscriptionStatusOperationSpec = {
29178
29405
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus",
@@ -29194,7 +29421,7 @@ const getEventSubscriptionStatusOperationSpec = {
29194
29421
  triggerName
29195
29422
  ],
29196
29423
  headerParameters: [accept],
29197
- serializer: serializer$9
29424
+ serializer: serializer$a
29198
29425
  };
29199
29426
  const unsubscribeFromEventsOperationSpec = {
29200
29427
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents",
@@ -29225,7 +29452,7 @@ const unsubscribeFromEventsOperationSpec = {
29225
29452
  triggerName
29226
29453
  ],
29227
29454
  headerParameters: [accept],
29228
- serializer: serializer$9
29455
+ serializer: serializer$a
29229
29456
  };
29230
29457
  const startOperationSpec = {
29231
29458
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start",
@@ -29248,7 +29475,7 @@ const startOperationSpec = {
29248
29475
  triggerName
29249
29476
  ],
29250
29477
  headerParameters: [accept],
29251
- serializer: serializer$9
29478
+ serializer: serializer$a
29252
29479
  };
29253
29480
  const stopOperationSpec = {
29254
29481
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop",
@@ -29271,9 +29498,9 @@ const stopOperationSpec = {
29271
29498
  triggerName
29272
29499
  ],
29273
29500
  headerParameters: [accept],
29274
- serializer: serializer$9
29501
+ serializer: serializer$a
29275
29502
  };
29276
- const listByFactoryNextOperationSpec$5 = {
29503
+ const listByFactoryNextOperationSpec$6 = {
29277
29504
  path: "{nextLink}",
29278
29505
  httpMethod: "GET",
29279
29506
  responses: {
@@ -29292,7 +29519,7 @@ const listByFactoryNextOperationSpec$5 = {
29292
29519
  factoryName
29293
29520
  ],
29294
29521
  headerParameters: [accept],
29295
- serializer: serializer$9
29522
+ serializer: serializer$a
29296
29523
  };
29297
29524
 
29298
29525
  /*
@@ -29345,7 +29572,7 @@ class TriggerRunsImpl {
29345
29572
  }
29346
29573
  }
29347
29574
  // Operation Specifications
29348
- const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
29575
+ const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
29349
29576
  const rerunOperationSpec = {
29350
29577
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun",
29351
29578
  httpMethod: "POST",
@@ -29365,7 +29592,7 @@ const rerunOperationSpec = {
29365
29592
  triggerName
29366
29593
  ],
29367
29594
  headerParameters: [accept],
29368
- serializer: serializer$8
29595
+ serializer: serializer$9
29369
29596
  };
29370
29597
  const cancelOperationSpec = {
29371
29598
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel",
@@ -29386,7 +29613,7 @@ const cancelOperationSpec = {
29386
29613
  triggerName
29387
29614
  ],
29388
29615
  headerParameters: [accept],
29389
- serializer: serializer$8
29616
+ serializer: serializer$9
29390
29617
  };
29391
29618
  const queryByFactoryOperationSpec$1 = {
29392
29619
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns",
@@ -29409,7 +29636,7 @@ const queryByFactoryOperationSpec$1 = {
29409
29636
  ],
29410
29637
  headerParameters: [accept, contentType],
29411
29638
  mediaType: "json",
29412
- serializer: serializer$8
29639
+ serializer: serializer$9
29413
29640
  };
29414
29641
 
29415
29642
  /*
@@ -29499,7 +29726,7 @@ class DataFlowsImpl {
29499
29726
  * @param options The options parameters.
29500
29727
  */
29501
29728
  createOrUpdate(resourceGroupName, factoryName, dataFlowName, dataFlow, options) {
29502
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, dataFlowName, dataFlow, options }, createOrUpdateOperationSpec$4);
29729
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, dataFlowName, dataFlow, options }, createOrUpdateOperationSpec$5);
29503
29730
  }
29504
29731
  /**
29505
29732
  * Gets a data flow.
@@ -29509,7 +29736,7 @@ class DataFlowsImpl {
29509
29736
  * @param options The options parameters.
29510
29737
  */
29511
29738
  get(resourceGroupName, factoryName, dataFlowName, options) {
29512
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, dataFlowName, options }, getOperationSpec$5);
29739
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, dataFlowName, options }, getOperationSpec$6);
29513
29740
  }
29514
29741
  /**
29515
29742
  * Deletes a data flow.
@@ -29519,7 +29746,7 @@ class DataFlowsImpl {
29519
29746
  * @param options The options parameters.
29520
29747
  */
29521
29748
  delete(resourceGroupName, factoryName, dataFlowName, options) {
29522
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, dataFlowName, options }, deleteOperationSpec$4);
29749
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, dataFlowName, options }, deleteOperationSpec$5);
29523
29750
  }
29524
29751
  /**
29525
29752
  * Lists data flows.
@@ -29528,7 +29755,7 @@ class DataFlowsImpl {
29528
29755
  * @param options The options parameters.
29529
29756
  */
29530
29757
  _listByFactory(resourceGroupName, factoryName, options) {
29531
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$4);
29758
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$5);
29532
29759
  }
29533
29760
  /**
29534
29761
  * ListByFactoryNext
@@ -29538,12 +29765,12 @@ class DataFlowsImpl {
29538
29765
  * @param options The options parameters.
29539
29766
  */
29540
29767
  _listByFactoryNext(resourceGroupName, factoryName, nextLink, options) {
29541
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$4);
29768
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$5);
29542
29769
  }
29543
29770
  }
29544
29771
  // Operation Specifications
29545
- const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
29546
- const createOrUpdateOperationSpec$4 = {
29772
+ const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
29773
+ const createOrUpdateOperationSpec$5 = {
29547
29774
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}",
29548
29775
  httpMethod: "PUT",
29549
29776
  responses: {
@@ -29569,9 +29796,9 @@ const createOrUpdateOperationSpec$4 = {
29569
29796
  ifMatch
29570
29797
  ],
29571
29798
  mediaType: "json",
29572
- serializer: serializer$7
29799
+ serializer: serializer$8
29573
29800
  };
29574
- const getOperationSpec$5 = {
29801
+ const getOperationSpec$6 = {
29575
29802
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}",
29576
29803
  httpMethod: "GET",
29577
29804
  responses: {
@@ -29591,9 +29818,9 @@ const getOperationSpec$5 = {
29591
29818
  dataFlowName
29592
29819
  ],
29593
29820
  headerParameters: [accept, ifNoneMatch],
29594
- serializer: serializer$7
29821
+ serializer: serializer$8
29595
29822
  };
29596
- const deleteOperationSpec$4 = {
29823
+ const deleteOperationSpec$5 = {
29597
29824
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}",
29598
29825
  httpMethod: "DELETE",
29599
29826
  responses: {
@@ -29612,9 +29839,9 @@ const deleteOperationSpec$4 = {
29612
29839
  dataFlowName
29613
29840
  ],
29614
29841
  headerParameters: [accept],
29615
- serializer: serializer$7
29842
+ serializer: serializer$8
29616
29843
  };
29617
- const listByFactoryOperationSpec$4 = {
29844
+ const listByFactoryOperationSpec$5 = {
29618
29845
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows",
29619
29846
  httpMethod: "GET",
29620
29847
  responses: {
@@ -29633,9 +29860,9 @@ const listByFactoryOperationSpec$4 = {
29633
29860
  factoryName
29634
29861
  ],
29635
29862
  headerParameters: [accept],
29636
- serializer: serializer$7
29863
+ serializer: serializer$8
29637
29864
  };
29638
- const listByFactoryNextOperationSpec$4 = {
29865
+ const listByFactoryNextOperationSpec$5 = {
29639
29866
  path: "{nextLink}",
29640
29867
  httpMethod: "GET",
29641
29868
  responses: {
@@ -29654,7 +29881,7 @@ const listByFactoryNextOperationSpec$4 = {
29654
29881
  factoryName
29655
29882
  ],
29656
29883
  headerParameters: [accept],
29657
- serializer: serializer$7
29884
+ serializer: serializer$8
29658
29885
  };
29659
29886
 
29660
29887
  /*
@@ -29747,7 +29974,7 @@ class DataFlowDebugSessionImpl {
29747
29974
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29748
29975
  return this.client.sendOperationRequest(args, spec);
29749
29976
  });
29750
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29977
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29751
29978
  var _a;
29752
29979
  let currentRawResponse = undefined;
29753
29980
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -29766,9 +29993,13 @@ class DataFlowDebugSessionImpl {
29766
29993
  }
29767
29994
  };
29768
29995
  });
29769
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, request, options }, createOperationSpec);
29770
- const poller = new coreLro.LroEngine(lro, {
29771
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29996
+ const lro = createLroSpec({
29997
+ sendOperationFn,
29998
+ args: { resourceGroupName, factoryName, request, options },
29999
+ spec: createOperationSpec
30000
+ });
30001
+ const poller = yield coreLro.createHttpPoller(lro, {
30002
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29772
30003
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
29773
30004
  });
29774
30005
  yield poller.poll();
@@ -29815,7 +30046,7 @@ class DataFlowDebugSessionImpl {
29815
30046
  * @param options The options parameters.
29816
30047
  */
29817
30048
  delete(resourceGroupName, factoryName, request, options) {
29818
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, request, options }, deleteOperationSpec$3);
30049
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, request, options }, deleteOperationSpec$4);
29819
30050
  }
29820
30051
  /**
29821
30052
  * Execute a data flow debug command.
@@ -29829,7 +30060,7 @@ class DataFlowDebugSessionImpl {
29829
30060
  const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29830
30061
  return this.client.sendOperationRequest(args, spec);
29831
30062
  });
29832
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
30063
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29833
30064
  var _a;
29834
30065
  let currentRawResponse = undefined;
29835
30066
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -29848,9 +30079,13 @@ class DataFlowDebugSessionImpl {
29848
30079
  }
29849
30080
  };
29850
30081
  });
29851
- const lro = new LroImpl(sendOperation, { resourceGroupName, factoryName, request, options }, executeCommandOperationSpec);
29852
- const poller = new coreLro.LroEngine(lro, {
29853
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
30082
+ const lro = createLroSpec({
30083
+ sendOperationFn,
30084
+ args: { resourceGroupName, factoryName, request, options },
30085
+ spec: executeCommandOperationSpec
30086
+ });
30087
+ const poller = yield coreLro.createHttpPoller(lro, {
30088
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29854
30089
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
29855
30090
  });
29856
30091
  yield poller.poll();
@@ -29882,7 +30117,7 @@ class DataFlowDebugSessionImpl {
29882
30117
  }
29883
30118
  }
29884
30119
  // Operation Specifications
29885
- const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
30120
+ const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
29886
30121
  const createOperationSpec = {
29887
30122
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/createDataFlowDebugSession",
29888
30123
  httpMethod: "POST",
@@ -29913,7 +30148,7 @@ const createOperationSpec = {
29913
30148
  ],
29914
30149
  headerParameters: [accept, contentType],
29915
30150
  mediaType: "json",
29916
- serializer: serializer$6
30151
+ serializer: serializer$7
29917
30152
  };
29918
30153
  const queryByFactoryOperationSpec = {
29919
30154
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryDataFlowDebugSessions",
@@ -29934,7 +30169,7 @@ const queryByFactoryOperationSpec = {
29934
30169
  factoryName
29935
30170
  ],
29936
30171
  headerParameters: [accept],
29937
- serializer: serializer$6
30172
+ serializer: serializer$7
29938
30173
  };
29939
30174
  const addDataFlowOperationSpec = {
29940
30175
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/addDataFlowToDebugSession",
@@ -29957,9 +30192,9 @@ const addDataFlowOperationSpec = {
29957
30192
  ],
29958
30193
  headerParameters: [accept, contentType],
29959
30194
  mediaType: "json",
29960
- serializer: serializer$6
30195
+ serializer: serializer$7
29961
30196
  };
29962
- const deleteOperationSpec$3 = {
30197
+ const deleteOperationSpec$4 = {
29963
30198
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/deleteDataFlowDebugSession",
29964
30199
  httpMethod: "POST",
29965
30200
  responses: {
@@ -29978,7 +30213,7 @@ const deleteOperationSpec$3 = {
29978
30213
  ],
29979
30214
  headerParameters: [accept, contentType],
29980
30215
  mediaType: "json",
29981
- serializer: serializer$6
30216
+ serializer: serializer$7
29982
30217
  };
29983
30218
  const executeCommandOperationSpec = {
29984
30219
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/executeDataFlowDebugCommand",
@@ -30010,7 +30245,7 @@ const executeCommandOperationSpec = {
30010
30245
  ],
30011
30246
  headerParameters: [accept, contentType],
30012
30247
  mediaType: "json",
30013
- serializer: serializer$6
30248
+ serializer: serializer$7
30014
30249
  };
30015
30250
  const queryByFactoryNextOperationSpec = {
30016
30251
  path: "{nextLink}",
@@ -30031,7 +30266,7 @@ const queryByFactoryNextOperationSpec = {
30031
30266
  factoryName
30032
30267
  ],
30033
30268
  headerParameters: [accept],
30034
- serializer: serializer$6
30269
+ serializer: serializer$7
30035
30270
  };
30036
30271
 
30037
30272
  /*
@@ -30119,7 +30354,7 @@ class ManagedVirtualNetworksImpl {
30119
30354
  * @param options The options parameters.
30120
30355
  */
30121
30356
  _listByFactory(resourceGroupName, factoryName, options) {
30122
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$3);
30357
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$4);
30123
30358
  }
30124
30359
  /**
30125
30360
  * Creates or updates a managed Virtual Network.
@@ -30136,7 +30371,7 @@ class ManagedVirtualNetworksImpl {
30136
30371
  managedVirtualNetworkName,
30137
30372
  managedVirtualNetwork,
30138
30373
  options
30139
- }, createOrUpdateOperationSpec$3);
30374
+ }, createOrUpdateOperationSpec$4);
30140
30375
  }
30141
30376
  /**
30142
30377
  * Gets a managed Virtual Network.
@@ -30146,7 +30381,7 @@ class ManagedVirtualNetworksImpl {
30146
30381
  * @param options The options parameters.
30147
30382
  */
30148
30383
  get(resourceGroupName, factoryName, managedVirtualNetworkName, options) {
30149
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, managedVirtualNetworkName, options }, getOperationSpec$4);
30384
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, managedVirtualNetworkName, options }, getOperationSpec$5);
30150
30385
  }
30151
30386
  /**
30152
30387
  * ListByFactoryNext
@@ -30156,12 +30391,12 @@ class ManagedVirtualNetworksImpl {
30156
30391
  * @param options The options parameters.
30157
30392
  */
30158
30393
  _listByFactoryNext(resourceGroupName, factoryName, nextLink, options) {
30159
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$3);
30394
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$4);
30160
30395
  }
30161
30396
  }
30162
30397
  // Operation Specifications
30163
- const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
30164
- const listByFactoryOperationSpec$3 = {
30398
+ const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
30399
+ const listByFactoryOperationSpec$4 = {
30165
30400
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks",
30166
30401
  httpMethod: "GET",
30167
30402
  responses: {
@@ -30180,9 +30415,9 @@ const listByFactoryOperationSpec$3 = {
30180
30415
  factoryName
30181
30416
  ],
30182
30417
  headerParameters: [accept],
30183
- serializer: serializer$5
30418
+ serializer: serializer$6
30184
30419
  };
30185
- const createOrUpdateOperationSpec$3 = {
30420
+ const createOrUpdateOperationSpec$4 = {
30186
30421
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}",
30187
30422
  httpMethod: "PUT",
30188
30423
  responses: {
@@ -30208,9 +30443,9 @@ const createOrUpdateOperationSpec$3 = {
30208
30443
  ifMatch
30209
30444
  ],
30210
30445
  mediaType: "json",
30211
- serializer: serializer$5
30446
+ serializer: serializer$6
30212
30447
  };
30213
- const getOperationSpec$4 = {
30448
+ const getOperationSpec$5 = {
30214
30449
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}",
30215
30450
  httpMethod: "GET",
30216
30451
  responses: {
@@ -30230,9 +30465,9 @@ const getOperationSpec$4 = {
30230
30465
  managedVirtualNetworkName
30231
30466
  ],
30232
30467
  headerParameters: [accept, ifNoneMatch],
30233
- serializer: serializer$5
30468
+ serializer: serializer$6
30234
30469
  };
30235
- const listByFactoryNextOperationSpec$3 = {
30470
+ const listByFactoryNextOperationSpec$4 = {
30236
30471
  path: "{nextLink}",
30237
30472
  httpMethod: "GET",
30238
30473
  responses: {
@@ -30251,7 +30486,7 @@ const listByFactoryNextOperationSpec$3 = {
30251
30486
  factoryName
30252
30487
  ],
30253
30488
  headerParameters: [accept],
30254
- serializer: serializer$5
30489
+ serializer: serializer$6
30255
30490
  };
30256
30491
 
30257
30492
  /*
@@ -30341,7 +30576,7 @@ class ManagedPrivateEndpointsImpl {
30341
30576
  * @param options The options parameters.
30342
30577
  */
30343
30578
  _listByFactory(resourceGroupName, factoryName, managedVirtualNetworkName, options) {
30344
- return this.client.sendOperationRequest({ resourceGroupName, factoryName, managedVirtualNetworkName, options }, listByFactoryOperationSpec$2);
30579
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, managedVirtualNetworkName, options }, listByFactoryOperationSpec$3);
30345
30580
  }
30346
30581
  /**
30347
30582
  * Creates or updates a managed private endpoint.
@@ -30360,7 +30595,7 @@ class ManagedPrivateEndpointsImpl {
30360
30595
  managedPrivateEndpointName,
30361
30596
  managedPrivateEndpoint,
30362
30597
  options
30363
- }, createOrUpdateOperationSpec$2);
30598
+ }, createOrUpdateOperationSpec$3);
30364
30599
  }
30365
30600
  /**
30366
30601
  * Gets a managed private endpoint.
@@ -30377,7 +30612,7 @@ class ManagedPrivateEndpointsImpl {
30377
30612
  managedVirtualNetworkName,
30378
30613
  managedPrivateEndpointName,
30379
30614
  options
30380
- }, getOperationSpec$3);
30615
+ }, getOperationSpec$4);
30381
30616
  }
30382
30617
  /**
30383
30618
  * Deletes a managed private endpoint.
@@ -30394,7 +30629,7 @@ class ManagedPrivateEndpointsImpl {
30394
30629
  managedVirtualNetworkName,
30395
30630
  managedPrivateEndpointName,
30396
30631
  options
30397
- }, deleteOperationSpec$2);
30632
+ }, deleteOperationSpec$3);
30398
30633
  }
30399
30634
  /**
30400
30635
  * ListByFactoryNext
@@ -30411,12 +30646,12 @@ class ManagedPrivateEndpointsImpl {
30411
30646
  managedVirtualNetworkName,
30412
30647
  nextLink,
30413
30648
  options
30414
- }, listByFactoryNextOperationSpec$2);
30649
+ }, listByFactoryNextOperationSpec$3);
30415
30650
  }
30416
30651
  }
30417
30652
  // Operation Specifications
30418
- const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
30419
- const listByFactoryOperationSpec$2 = {
30653
+ const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
30654
+ const listByFactoryOperationSpec$3 = {
30420
30655
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints",
30421
30656
  httpMethod: "GET",
30422
30657
  responses: {
@@ -30436,9 +30671,9 @@ const listByFactoryOperationSpec$2 = {
30436
30671
  managedVirtualNetworkName
30437
30672
  ],
30438
30673
  headerParameters: [accept],
30439
- serializer: serializer$4
30674
+ serializer: serializer$5
30440
30675
  };
30441
- const createOrUpdateOperationSpec$2 = {
30676
+ const createOrUpdateOperationSpec$3 = {
30442
30677
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}",
30443
30678
  httpMethod: "PUT",
30444
30679
  responses: {
@@ -30465,9 +30700,9 @@ const createOrUpdateOperationSpec$2 = {
30465
30700
  ifMatch
30466
30701
  ],
30467
30702
  mediaType: "json",
30468
- serializer: serializer$4
30703
+ serializer: serializer$5
30469
30704
  };
30470
- const getOperationSpec$3 = {
30705
+ const getOperationSpec$4 = {
30471
30706
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}",
30472
30707
  httpMethod: "GET",
30473
30708
  responses: {
@@ -30488,9 +30723,9 @@ const getOperationSpec$3 = {
30488
30723
  managedPrivateEndpointName
30489
30724
  ],
30490
30725
  headerParameters: [accept, ifNoneMatch],
30491
- serializer: serializer$4
30726
+ serializer: serializer$5
30492
30727
  };
30493
- const deleteOperationSpec$2 = {
30728
+ const deleteOperationSpec$3 = {
30494
30729
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}",
30495
30730
  httpMethod: "DELETE",
30496
30731
  responses: {
@@ -30510,9 +30745,9 @@ const deleteOperationSpec$2 = {
30510
30745
  managedPrivateEndpointName
30511
30746
  ],
30512
30747
  headerParameters: [accept],
30513
- serializer: serializer$4
30748
+ serializer: serializer$5
30514
30749
  };
30515
- const listByFactoryNextOperationSpec$2 = {
30750
+ const listByFactoryNextOperationSpec$3 = {
30516
30751
  path: "{nextLink}",
30517
30752
  httpMethod: "GET",
30518
30753
  responses: {
@@ -30532,6 +30767,252 @@ const listByFactoryNextOperationSpec$2 = {
30532
30767
  managedVirtualNetworkName
30533
30768
  ],
30534
30769
  headerParameters: [accept],
30770
+ serializer: serializer$5
30771
+ };
30772
+
30773
+ /*
30774
+ * Copyright (c) Microsoft Corporation.
30775
+ * Licensed under the MIT License.
30776
+ *
30777
+ * Code generated by Microsoft (R) AutoRest Code Generator.
30778
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
30779
+ */
30780
+ /// <reference lib="esnext.asynciterable" />
30781
+ /** Class containing CredentialOperations operations. */
30782
+ class CredentialOperationsImpl {
30783
+ /**
30784
+ * Initialize a new instance of the class CredentialOperations class.
30785
+ * @param client Reference to the service client
30786
+ */
30787
+ constructor(client) {
30788
+ this.client = client;
30789
+ }
30790
+ /**
30791
+ * List credentials.
30792
+ * @param resourceGroupName The resource group name.
30793
+ * @param factoryName The factory name.
30794
+ * @param options The options parameters.
30795
+ */
30796
+ listByFactory(resourceGroupName, factoryName, options) {
30797
+ const iter = this.listByFactoryPagingAll(resourceGroupName, factoryName, options);
30798
+ return {
30799
+ next() {
30800
+ return iter.next();
30801
+ },
30802
+ [Symbol.asyncIterator]() {
30803
+ return this;
30804
+ },
30805
+ byPage: (settings) => {
30806
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
30807
+ throw new Error("maxPageSize is not supported by this operation.");
30808
+ }
30809
+ return this.listByFactoryPagingPage(resourceGroupName, factoryName, options, settings);
30810
+ }
30811
+ };
30812
+ }
30813
+ listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
30814
+ return tslib.__asyncGenerator(this, arguments, function* listByFactoryPagingPage_1() {
30815
+ let result;
30816
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
30817
+ if (!continuationToken) {
30818
+ result = yield tslib.__await(this._listByFactory(resourceGroupName, factoryName, options));
30819
+ let page = result.value || [];
30820
+ continuationToken = result.nextLink;
30821
+ setContinuationToken(page, continuationToken);
30822
+ yield yield tslib.__await(page);
30823
+ }
30824
+ while (continuationToken) {
30825
+ result = yield tslib.__await(this._listByFactoryNext(resourceGroupName, factoryName, continuationToken, options));
30826
+ continuationToken = result.nextLink;
30827
+ let page = result.value || [];
30828
+ setContinuationToken(page, continuationToken);
30829
+ yield yield tslib.__await(page);
30830
+ }
30831
+ });
30832
+ }
30833
+ listByFactoryPagingAll(resourceGroupName, factoryName, options) {
30834
+ return tslib.__asyncGenerator(this, arguments, function* listByFactoryPagingAll_1() {
30835
+ var e_1, _a;
30836
+ try {
30837
+ for (var _b = tslib.__asyncValues(this.listByFactoryPagingPage(resourceGroupName, factoryName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
30838
+ const page = _c.value;
30839
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
30840
+ }
30841
+ }
30842
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
30843
+ finally {
30844
+ try {
30845
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
30846
+ }
30847
+ finally { if (e_1) throw e_1.error; }
30848
+ }
30849
+ });
30850
+ }
30851
+ /**
30852
+ * List credentials.
30853
+ * @param resourceGroupName The resource group name.
30854
+ * @param factoryName The factory name.
30855
+ * @param options The options parameters.
30856
+ */
30857
+ _listByFactory(resourceGroupName, factoryName, options) {
30858
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, options }, listByFactoryOperationSpec$2);
30859
+ }
30860
+ /**
30861
+ * Creates or updates a credential.
30862
+ * @param resourceGroupName The resource group name.
30863
+ * @param factoryName The factory name.
30864
+ * @param credentialName Credential name
30865
+ * @param credential Credential resource definition.
30866
+ * @param options The options parameters.
30867
+ */
30868
+ createOrUpdate(resourceGroupName, factoryName, credentialName, credential, options) {
30869
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, credentialName, credential, options }, createOrUpdateOperationSpec$2);
30870
+ }
30871
+ /**
30872
+ * Gets a credential.
30873
+ * @param resourceGroupName The resource group name.
30874
+ * @param factoryName The factory name.
30875
+ * @param credentialName Credential name
30876
+ * @param options The options parameters.
30877
+ */
30878
+ get(resourceGroupName, factoryName, credentialName, options) {
30879
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, credentialName, options }, getOperationSpec$3);
30880
+ }
30881
+ /**
30882
+ * Deletes a credential.
30883
+ * @param resourceGroupName The resource group name.
30884
+ * @param factoryName The factory name.
30885
+ * @param credentialName Credential name
30886
+ * @param options The options parameters.
30887
+ */
30888
+ delete(resourceGroupName, factoryName, credentialName, options) {
30889
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, credentialName, options }, deleteOperationSpec$2);
30890
+ }
30891
+ /**
30892
+ * ListByFactoryNext
30893
+ * @param resourceGroupName The resource group name.
30894
+ * @param factoryName The factory name.
30895
+ * @param nextLink The nextLink from the previous successful call to the ListByFactory method.
30896
+ * @param options The options parameters.
30897
+ */
30898
+ _listByFactoryNext(resourceGroupName, factoryName, nextLink, options) {
30899
+ return this.client.sendOperationRequest({ resourceGroupName, factoryName, nextLink, options }, listByFactoryNextOperationSpec$2);
30900
+ }
30901
+ }
30902
+ // Operation Specifications
30903
+ const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
30904
+ const listByFactoryOperationSpec$2 = {
30905
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials",
30906
+ httpMethod: "GET",
30907
+ responses: {
30908
+ 200: {
30909
+ bodyMapper: CredentialListResponse
30910
+ },
30911
+ default: {
30912
+ bodyMapper: CloudError
30913
+ }
30914
+ },
30915
+ queryParameters: [apiVersion],
30916
+ urlParameters: [
30917
+ $host,
30918
+ subscriptionId,
30919
+ resourceGroupName,
30920
+ factoryName
30921
+ ],
30922
+ headerParameters: [accept],
30923
+ serializer: serializer$4
30924
+ };
30925
+ const createOrUpdateOperationSpec$2 = {
30926
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}",
30927
+ httpMethod: "PUT",
30928
+ responses: {
30929
+ 200: {
30930
+ bodyMapper: ManagedIdentityCredentialResource
30931
+ },
30932
+ default: {
30933
+ bodyMapper: CloudError
30934
+ }
30935
+ },
30936
+ requestBody: credential,
30937
+ queryParameters: [apiVersion],
30938
+ urlParameters: [
30939
+ $host,
30940
+ subscriptionId,
30941
+ resourceGroupName,
30942
+ factoryName,
30943
+ credentialName
30944
+ ],
30945
+ headerParameters: [
30946
+ accept,
30947
+ contentType,
30948
+ ifMatch
30949
+ ],
30950
+ mediaType: "json",
30951
+ serializer: serializer$4
30952
+ };
30953
+ const getOperationSpec$3 = {
30954
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}",
30955
+ httpMethod: "GET",
30956
+ responses: {
30957
+ 200: {
30958
+ bodyMapper: ManagedIdentityCredentialResource
30959
+ },
30960
+ 304: {},
30961
+ default: {
30962
+ bodyMapper: CloudError
30963
+ }
30964
+ },
30965
+ queryParameters: [apiVersion],
30966
+ urlParameters: [
30967
+ $host,
30968
+ subscriptionId,
30969
+ resourceGroupName,
30970
+ factoryName,
30971
+ credentialName
30972
+ ],
30973
+ headerParameters: [accept, ifNoneMatch],
30974
+ serializer: serializer$4
30975
+ };
30976
+ const deleteOperationSpec$2 = {
30977
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}",
30978
+ httpMethod: "DELETE",
30979
+ responses: {
30980
+ 200: {},
30981
+ 204: {},
30982
+ default: {
30983
+ bodyMapper: CloudError
30984
+ }
30985
+ },
30986
+ queryParameters: [apiVersion],
30987
+ urlParameters: [
30988
+ $host,
30989
+ subscriptionId,
30990
+ resourceGroupName,
30991
+ factoryName,
30992
+ credentialName
30993
+ ],
30994
+ headerParameters: [accept],
30995
+ serializer: serializer$4
30996
+ };
30997
+ const listByFactoryNextOperationSpec$2 = {
30998
+ path: "{nextLink}",
30999
+ httpMethod: "GET",
31000
+ responses: {
31001
+ 200: {
31002
+ bodyMapper: CredentialListResponse
31003
+ },
31004
+ default: {
31005
+ bodyMapper: CloudError
31006
+ }
31007
+ },
31008
+ urlParameters: [
31009
+ $host,
31010
+ nextLink,
31011
+ subscriptionId,
31012
+ resourceGroupName,
31013
+ factoryName
31014
+ ],
31015
+ headerParameters: [accept],
30535
31016
  serializer: serializer$4
30536
31017
  };
30537
31018
 
@@ -31143,7 +31624,7 @@ class DataFactoryManagementClient extends coreClient__namespace.ServiceClient {
31143
31624
  requestContentType: "application/json; charset=utf-8",
31144
31625
  credential: credentials
31145
31626
  };
31146
- const packageDetails = `azsdk-js-arm-datafactory/10.10.2`;
31627
+ const packageDetails = `azsdk-js-arm-datafactory/11.0.0`;
31147
31628
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
31148
31629
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
31149
31630
  : `${packageDetails}`;
@@ -31194,6 +31675,7 @@ class DataFactoryManagementClient extends coreClient__namespace.ServiceClient {
31194
31675
  this.dataFlowDebugSession = new DataFlowDebugSessionImpl(this);
31195
31676
  this.managedVirtualNetworks = new ManagedVirtualNetworksImpl(this);
31196
31677
  this.managedPrivateEndpoints = new ManagedPrivateEndpointsImpl(this);
31678
+ this.credentialOperations = new CredentialOperationsImpl(this);
31197
31679
  this.privateEndPointConnections = new PrivateEndPointConnectionsImpl(this);
31198
31680
  this.privateEndpointConnection = new PrivateEndpointConnectionImpl(this);
31199
31681
  this.privateLinkResources = new PrivateLinkResourcesImpl(this);