@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.
- package/CHANGELOG.md +38 -7
- package/dist/index.js +837 -355
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/credentialOperationsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialOperationsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialOperationsCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/credentialOperationsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialOperationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialOperationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialOperationsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/credentialOperationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialOperationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialOperationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialOperationsGetSample.js +40 -0
- package/dist-esm/samples-dev/credentialOperationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialOperationsListByFactorySample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialOperationsListByFactorySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialOperationsListByFactorySample.js +53 -0
- package/dist-esm/samples-dev/credentialOperationsListByFactorySample.js.map +1 -0
- package/dist-esm/src/dataFactoryManagementClient.d.ts +2 -1
- package/dist-esm/src/dataFactoryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/dataFactoryManagementClient.js +3 -2
- package/dist-esm/src/dataFactoryManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +170 -33
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +30 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +11 -6
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +239 -86
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +20 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/credentialOperations.d.ts +63 -0
- package/dist-esm/src/operations/credentialOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/credentialOperations.js +251 -0
- package/dist-esm/src/operations/credentialOperations.js.map +1 -0
- package/dist-esm/src/operations/dataFlowDebugSession.d.ts +3 -3
- package/dist-esm/src/operations/dataFlowDebugSession.d.ts.map +1 -1
- package/dist-esm/src/operations/dataFlowDebugSession.js +18 -10
- package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts +2 -2
- package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts.map +1 -1
- package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js +10 -6
- package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist-esm/src/operations/integrationRuntimes.d.ts +3 -3
- package/dist-esm/src/operations/integrationRuntimes.d.ts.map +1 -1
- package/dist-esm/src/operations/integrationRuntimes.js +18 -10
- package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
- package/dist-esm/src/operations/triggers.d.ts +5 -5
- package/dist-esm/src/operations/triggers.d.ts.map +1 -1
- package/dist-esm/src/operations/triggers.js +34 -18
- package/dist-esm/src/operations/triggers.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/credentialOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/credentialOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/integrationRuntimeObjectMetadata.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/integrationRuntimeObjectMetadata.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/integrationRuntimes.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/integrationRuntimes.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/triggers.d.ts +5 -5
- package/dist-esm/src/operationsInterfaces/triggers.d.ts.map +1 -1
- package/dist-esm/test/datafactory_examples.spec.js +31 -0
- package/dist-esm/test/datafactory_examples.spec.js.map +1 -1
- package/package.json +4 -4
- package/review/arm-datafactory.api.md +129 -15
- package/src/dataFactoryManagementClient.ts +5 -1
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +196 -39
- package/src/models/mappers.ts +262 -95
- package/src/models/parameters.ts +24 -0
- package/src/operations/credentialOperations.ts +341 -0
- package/src/operations/dataFlowDebugSession.ts +32 -22
- package/src/operations/index.ts +1 -0
- package/src/operations/integrationRuntimeObjectMetadata.ts +19 -12
- package/src/operations/integrationRuntimes.ts +28 -21
- package/src/operations/triggers.ts +50 -40
- package/src/operationsInterfaces/credentialOperations.ts +75 -0
- package/src/operationsInterfaces/dataFlowDebugSession.ts +5 -5
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/integrationRuntimeObjectMetadata.ts +3 -3
- package/src/operationsInterfaces/integrationRuntimes.ts +4 -4
- package/src/operationsInterfaces/triggers.ts +7 -7
- package/types/arm-datafactory.d.ts +210 -16
|
@@ -13,8 +13,12 @@ import * as coreClient from "@azure/core-client";
|
|
|
13
13
|
import * as Mappers from "../models/mappers";
|
|
14
14
|
import * as Parameters from "../models/parameters";
|
|
15
15
|
import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
|
|
16
|
+
import {
|
|
17
|
+
SimplePollerLike,
|
|
18
|
+
OperationState,
|
|
19
|
+
createHttpPoller
|
|
20
|
+
} from "@azure/core-lro";
|
|
21
|
+
import { createLroSpec } from "../lroImpl";
|
|
18
22
|
import {
|
|
19
23
|
TriggerResource,
|
|
20
24
|
TriggersListByFactoryNextOptionalParams,
|
|
@@ -244,8 +248,8 @@ export class TriggersImpl implements Triggers {
|
|
|
244
248
|
triggerName: string,
|
|
245
249
|
options?: TriggersSubscribeToEventsOptionalParams
|
|
246
250
|
): Promise<
|
|
247
|
-
|
|
248
|
-
|
|
251
|
+
SimplePollerLike<
|
|
252
|
+
OperationState<TriggersSubscribeToEventsResponse>,
|
|
249
253
|
TriggersSubscribeToEventsResponse
|
|
250
254
|
>
|
|
251
255
|
> {
|
|
@@ -255,7 +259,7 @@ export class TriggersImpl implements Triggers {
|
|
|
255
259
|
): Promise<TriggersSubscribeToEventsResponse> => {
|
|
256
260
|
return this.client.sendOperationRequest(args, spec);
|
|
257
261
|
};
|
|
258
|
-
const
|
|
262
|
+
const sendOperationFn = async (
|
|
259
263
|
args: coreClient.OperationArguments,
|
|
260
264
|
spec: coreClient.OperationSpec
|
|
261
265
|
) => {
|
|
@@ -288,13 +292,16 @@ export class TriggersImpl implements Triggers {
|
|
|
288
292
|
};
|
|
289
293
|
};
|
|
290
294
|
|
|
291
|
-
const lro =
|
|
292
|
-
|
|
293
|
-
{ resourceGroupName, factoryName, triggerName, options },
|
|
294
|
-
subscribeToEventsOperationSpec
|
|
295
|
-
);
|
|
296
|
-
const poller =
|
|
297
|
-
|
|
295
|
+
const lro = createLroSpec({
|
|
296
|
+
sendOperationFn,
|
|
297
|
+
args: { resourceGroupName, factoryName, triggerName, options },
|
|
298
|
+
spec: subscribeToEventsOperationSpec
|
|
299
|
+
});
|
|
300
|
+
const poller = await createHttpPoller<
|
|
301
|
+
TriggersSubscribeToEventsResponse,
|
|
302
|
+
OperationState<TriggersSubscribeToEventsResponse>
|
|
303
|
+
>(lro, {
|
|
304
|
+
restoreFrom: options?.resumeFrom,
|
|
298
305
|
intervalInMs: options?.updateIntervalInMs
|
|
299
306
|
});
|
|
300
307
|
await poller.poll();
|
|
@@ -355,8 +362,8 @@ export class TriggersImpl implements Triggers {
|
|
|
355
362
|
triggerName: string,
|
|
356
363
|
options?: TriggersUnsubscribeFromEventsOptionalParams
|
|
357
364
|
): Promise<
|
|
358
|
-
|
|
359
|
-
|
|
365
|
+
SimplePollerLike<
|
|
366
|
+
OperationState<TriggersUnsubscribeFromEventsResponse>,
|
|
360
367
|
TriggersUnsubscribeFromEventsResponse
|
|
361
368
|
>
|
|
362
369
|
> {
|
|
@@ -366,7 +373,7 @@ export class TriggersImpl implements Triggers {
|
|
|
366
373
|
): Promise<TriggersUnsubscribeFromEventsResponse> => {
|
|
367
374
|
return this.client.sendOperationRequest(args, spec);
|
|
368
375
|
};
|
|
369
|
-
const
|
|
376
|
+
const sendOperationFn = async (
|
|
370
377
|
args: coreClient.OperationArguments,
|
|
371
378
|
spec: coreClient.OperationSpec
|
|
372
379
|
) => {
|
|
@@ -399,13 +406,16 @@ export class TriggersImpl implements Triggers {
|
|
|
399
406
|
};
|
|
400
407
|
};
|
|
401
408
|
|
|
402
|
-
const lro =
|
|
403
|
-
|
|
404
|
-
{ resourceGroupName, factoryName, triggerName, options },
|
|
405
|
-
unsubscribeFromEventsOperationSpec
|
|
406
|
-
);
|
|
407
|
-
const poller =
|
|
408
|
-
|
|
409
|
+
const lro = createLroSpec({
|
|
410
|
+
sendOperationFn,
|
|
411
|
+
args: { resourceGroupName, factoryName, triggerName, options },
|
|
412
|
+
spec: unsubscribeFromEventsOperationSpec
|
|
413
|
+
});
|
|
414
|
+
const poller = await createHttpPoller<
|
|
415
|
+
TriggersUnsubscribeFromEventsResponse,
|
|
416
|
+
OperationState<TriggersUnsubscribeFromEventsResponse>
|
|
417
|
+
>(lro, {
|
|
418
|
+
restoreFrom: options?.resumeFrom,
|
|
409
419
|
intervalInMs: options?.updateIntervalInMs
|
|
410
420
|
});
|
|
411
421
|
await poller.poll();
|
|
@@ -446,14 +456,14 @@ export class TriggersImpl implements Triggers {
|
|
|
446
456
|
factoryName: string,
|
|
447
457
|
triggerName: string,
|
|
448
458
|
options?: TriggersStartOptionalParams
|
|
449
|
-
): Promise<
|
|
459
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
450
460
|
const directSendOperation = async (
|
|
451
461
|
args: coreClient.OperationArguments,
|
|
452
462
|
spec: coreClient.OperationSpec
|
|
453
463
|
): Promise<void> => {
|
|
454
464
|
return this.client.sendOperationRequest(args, spec);
|
|
455
465
|
};
|
|
456
|
-
const
|
|
466
|
+
const sendOperationFn = async (
|
|
457
467
|
args: coreClient.OperationArguments,
|
|
458
468
|
spec: coreClient.OperationSpec
|
|
459
469
|
) => {
|
|
@@ -486,13 +496,13 @@ export class TriggersImpl implements Triggers {
|
|
|
486
496
|
};
|
|
487
497
|
};
|
|
488
498
|
|
|
489
|
-
const lro =
|
|
490
|
-
|
|
491
|
-
{ resourceGroupName, factoryName, triggerName, options },
|
|
492
|
-
startOperationSpec
|
|
493
|
-
);
|
|
494
|
-
const poller =
|
|
495
|
-
|
|
499
|
+
const lro = createLroSpec({
|
|
500
|
+
sendOperationFn,
|
|
501
|
+
args: { resourceGroupName, factoryName, triggerName, options },
|
|
502
|
+
spec: startOperationSpec
|
|
503
|
+
});
|
|
504
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
505
|
+
restoreFrom: options?.resumeFrom,
|
|
496
506
|
intervalInMs: options?.updateIntervalInMs
|
|
497
507
|
});
|
|
498
508
|
await poller.poll();
|
|
@@ -533,14 +543,14 @@ export class TriggersImpl implements Triggers {
|
|
|
533
543
|
factoryName: string,
|
|
534
544
|
triggerName: string,
|
|
535
545
|
options?: TriggersStopOptionalParams
|
|
536
|
-
): Promise<
|
|
546
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
537
547
|
const directSendOperation = async (
|
|
538
548
|
args: coreClient.OperationArguments,
|
|
539
549
|
spec: coreClient.OperationSpec
|
|
540
550
|
): Promise<void> => {
|
|
541
551
|
return this.client.sendOperationRequest(args, spec);
|
|
542
552
|
};
|
|
543
|
-
const
|
|
553
|
+
const sendOperationFn = async (
|
|
544
554
|
args: coreClient.OperationArguments,
|
|
545
555
|
spec: coreClient.OperationSpec
|
|
546
556
|
) => {
|
|
@@ -573,13 +583,13 @@ export class TriggersImpl implements Triggers {
|
|
|
573
583
|
};
|
|
574
584
|
};
|
|
575
585
|
|
|
576
|
-
const lro =
|
|
577
|
-
|
|
578
|
-
{ resourceGroupName, factoryName, triggerName, options },
|
|
579
|
-
stopOperationSpec
|
|
580
|
-
);
|
|
581
|
-
const poller =
|
|
582
|
-
|
|
586
|
+
const lro = createLroSpec({
|
|
587
|
+
sendOperationFn,
|
|
588
|
+
args: { resourceGroupName, factoryName, triggerName, options },
|
|
589
|
+
spec: stopOperationSpec
|
|
590
|
+
});
|
|
591
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
592
|
+
restoreFrom: options?.resumeFrom,
|
|
583
593
|
intervalInMs: options?.updateIntervalInMs
|
|
584
594
|
});
|
|
585
595
|
await poller.poll();
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
ManagedIdentityCredentialResource,
|
|
12
|
+
CredentialOperationsListByFactoryOptionalParams,
|
|
13
|
+
CredentialOperationsCreateOrUpdateOptionalParams,
|
|
14
|
+
CredentialOperationsCreateOrUpdateResponse,
|
|
15
|
+
CredentialOperationsGetOptionalParams,
|
|
16
|
+
CredentialOperationsGetResponse,
|
|
17
|
+
CredentialOperationsDeleteOptionalParams
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
21
|
+
/** Interface representing a CredentialOperations. */
|
|
22
|
+
export interface CredentialOperations {
|
|
23
|
+
/**
|
|
24
|
+
* List credentials.
|
|
25
|
+
* @param resourceGroupName The resource group name.
|
|
26
|
+
* @param factoryName The factory name.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listByFactory(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
factoryName: string,
|
|
32
|
+
options?: CredentialOperationsListByFactoryOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<ManagedIdentityCredentialResource>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates or updates a credential.
|
|
36
|
+
* @param resourceGroupName The resource group name.
|
|
37
|
+
* @param factoryName The factory name.
|
|
38
|
+
* @param credentialName Credential name
|
|
39
|
+
* @param credential Credential resource definition.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
createOrUpdate(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
factoryName: string,
|
|
45
|
+
credentialName: string,
|
|
46
|
+
credential: ManagedIdentityCredentialResource,
|
|
47
|
+
options?: CredentialOperationsCreateOrUpdateOptionalParams
|
|
48
|
+
): Promise<CredentialOperationsCreateOrUpdateResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Gets a credential.
|
|
51
|
+
* @param resourceGroupName The resource group name.
|
|
52
|
+
* @param factoryName The factory name.
|
|
53
|
+
* @param credentialName Credential name
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
get(
|
|
57
|
+
resourceGroupName: string,
|
|
58
|
+
factoryName: string,
|
|
59
|
+
credentialName: string,
|
|
60
|
+
options?: CredentialOperationsGetOptionalParams
|
|
61
|
+
): Promise<CredentialOperationsGetResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Deletes a credential.
|
|
64
|
+
* @param resourceGroupName The resource group name.
|
|
65
|
+
* @param factoryName The factory name.
|
|
66
|
+
* @param credentialName Credential name
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
delete(
|
|
70
|
+
resourceGroupName: string,
|
|
71
|
+
factoryName: string,
|
|
72
|
+
credentialName: string,
|
|
73
|
+
options?: CredentialOperationsDeleteOptionalParams
|
|
74
|
+
): Promise<void>;
|
|
75
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
11
|
import {
|
|
12
12
|
DataFlowDebugSessionInfo,
|
|
13
13
|
DataFlowDebugSessionQueryByFactoryOptionalParams,
|
|
@@ -51,8 +51,8 @@ export interface DataFlowDebugSession {
|
|
|
51
51
|
request: CreateDataFlowDebugSessionRequest,
|
|
52
52
|
options?: DataFlowDebugSessionCreateOptionalParams
|
|
53
53
|
): Promise<
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
SimplePollerLike<
|
|
55
|
+
OperationState<DataFlowDebugSessionCreateResponse>,
|
|
56
56
|
DataFlowDebugSessionCreateResponse
|
|
57
57
|
>
|
|
58
58
|
>;
|
|
@@ -108,8 +108,8 @@ export interface DataFlowDebugSession {
|
|
|
108
108
|
request: DataFlowDebugCommandRequest,
|
|
109
109
|
options?: DataFlowDebugSessionExecuteCommandOptionalParams
|
|
110
110
|
): Promise<
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
SimplePollerLike<
|
|
112
|
+
OperationState<DataFlowDebugSessionExecuteCommandResponse>,
|
|
113
113
|
DataFlowDebugSessionExecuteCommandResponse
|
|
114
114
|
>
|
|
115
115
|
>;
|
|
@@ -23,6 +23,7 @@ export * from "./dataFlows";
|
|
|
23
23
|
export * from "./dataFlowDebugSession";
|
|
24
24
|
export * from "./managedVirtualNetworks";
|
|
25
25
|
export * from "./managedPrivateEndpoints";
|
|
26
|
+
export * from "./credentialOperations";
|
|
26
27
|
export * from "./privateEndPointConnections";
|
|
27
28
|
export * from "./privateEndpointConnection";
|
|
28
29
|
export * from "./privateLinkResources";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
10
|
import {
|
|
11
11
|
IntegrationRuntimeObjectMetadataRefreshOptionalParams,
|
|
12
12
|
IntegrationRuntimeObjectMetadataRefreshResponse,
|
|
@@ -29,8 +29,8 @@ export interface IntegrationRuntimeObjectMetadata {
|
|
|
29
29
|
integrationRuntimeName: string,
|
|
30
30
|
options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams
|
|
31
31
|
): Promise<
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
SimplePollerLike<
|
|
33
|
+
OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>,
|
|
34
34
|
IntegrationRuntimeObjectMetadataRefreshResponse
|
|
35
35
|
>
|
|
36
36
|
>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
11
|
import {
|
|
12
12
|
IntegrationRuntimeResource,
|
|
13
13
|
IntegrationRuntimesListByFactoryOptionalParams,
|
|
@@ -198,8 +198,8 @@ export interface IntegrationRuntimes {
|
|
|
198
198
|
integrationRuntimeName: string,
|
|
199
199
|
options?: IntegrationRuntimesStartOptionalParams
|
|
200
200
|
): Promise<
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
SimplePollerLike<
|
|
202
|
+
OperationState<IntegrationRuntimesStartResponse>,
|
|
203
203
|
IntegrationRuntimesStartResponse
|
|
204
204
|
>
|
|
205
205
|
>;
|
|
@@ -228,7 +228,7 @@ export interface IntegrationRuntimes {
|
|
|
228
228
|
factoryName: string,
|
|
229
229
|
integrationRuntimeName: string,
|
|
230
230
|
options?: IntegrationRuntimesStopOptionalParams
|
|
231
|
-
): Promise<
|
|
231
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
232
232
|
/**
|
|
233
233
|
* Stops a ManagedReserved type integration runtime.
|
|
234
234
|
* @param resourceGroupName The resource group name.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
11
|
import {
|
|
12
12
|
TriggerResource,
|
|
13
13
|
TriggersListByFactoryOptionalParams,
|
|
@@ -110,8 +110,8 @@ export interface Triggers {
|
|
|
110
110
|
triggerName: string,
|
|
111
111
|
options?: TriggersSubscribeToEventsOptionalParams
|
|
112
112
|
): Promise<
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
SimplePollerLike<
|
|
114
|
+
OperationState<TriggersSubscribeToEventsResponse>,
|
|
115
115
|
TriggersSubscribeToEventsResponse
|
|
116
116
|
>
|
|
117
117
|
>;
|
|
@@ -154,8 +154,8 @@ export interface Triggers {
|
|
|
154
154
|
triggerName: string,
|
|
155
155
|
options?: TriggersUnsubscribeFromEventsOptionalParams
|
|
156
156
|
): Promise<
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
SimplePollerLike<
|
|
158
|
+
OperationState<TriggersUnsubscribeFromEventsResponse>,
|
|
159
159
|
TriggersUnsubscribeFromEventsResponse
|
|
160
160
|
>
|
|
161
161
|
>;
|
|
@@ -184,7 +184,7 @@ export interface Triggers {
|
|
|
184
184
|
factoryName: string,
|
|
185
185
|
triggerName: string,
|
|
186
186
|
options?: TriggersStartOptionalParams
|
|
187
|
-
): Promise<
|
|
187
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
188
188
|
/**
|
|
189
189
|
* Starts a trigger.
|
|
190
190
|
* @param resourceGroupName The resource group name.
|
|
@@ -210,7 +210,7 @@ export interface Triggers {
|
|
|
210
210
|
factoryName: string,
|
|
211
211
|
triggerName: string,
|
|
212
212
|
options?: TriggersStopOptionalParams
|
|
213
|
-
): Promise<
|
|
213
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
214
214
|
/**
|
|
215
215
|
* Stops a trigger.
|
|
216
216
|
* @param resourceGroupName The resource group name.
|