@azure/eventgrid 5.1.0-beta.1 → 5.1.1

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 (59) hide show
  1. package/dist/index.js +1730 -942
  2. package/dist/index.js.map +1 -1
  3. package/dist-esm/src/consumer.js.map +1 -1
  4. package/dist-esm/src/cryptoHelpers.browser.js.map +1 -1
  5. package/dist-esm/src/eventGridAuthenticationPolicy.js.map +1 -1
  6. package/dist-esm/src/eventGridClient.js.map +1 -1
  7. package/dist-esm/src/generateSharedAccessSignature.js.map +1 -1
  8. package/dist-esm/src/generated/generatedClientContext.js +1 -1
  9. package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
  10. package/dist-esm/src/generated/models/index.js.map +1 -1
  11. package/dist-esm/src/generated/models/mappers.js +1742 -441
  12. package/dist-esm/src/generated/models/mappers.js.map +1 -1
  13. package/dist-esm/src/index.js +0 -1
  14. package/dist-esm/src/index.js.map +1 -1
  15. package/dist-esm/src/models.js.map +1 -1
  16. package/dist-esm/src/predicates.js.map +1 -1
  17. package/dist-esm/src/tracing.js +1 -1
  18. package/dist-esm/src/tracing.js.map +1 -1
  19. package/dist-esm/src/util.js.map +1 -1
  20. package/package.json +11 -15
  21. package/types/eventgrid.d.ts +705 -203
  22. package/dist-esm/src/cadl-generated/EventGridClient.js +0 -41
  23. package/dist-esm/src/cadl-generated/EventGridClient.js.map +0 -1
  24. package/dist-esm/src/cadl-generated/api/EventGridContext.js +0 -10
  25. package/dist-esm/src/cadl-generated/api/EventGridContext.js.map +0 -1
  26. package/dist-esm/src/cadl-generated/api/index.js +0 -5
  27. package/dist-esm/src/cadl-generated/api/index.js.map +0 -1
  28. package/dist-esm/src/cadl-generated/api/operations.js +0 -198
  29. package/dist-esm/src/cadl-generated/api/operations.js.map +0 -1
  30. package/dist-esm/src/cadl-generated/index.js +0 -4
  31. package/dist-esm/src/cadl-generated/index.js.map +0 -1
  32. package/dist-esm/src/cadl-generated/logger.js +0 -5
  33. package/dist-esm/src/cadl-generated/logger.js.map +0 -1
  34. package/dist-esm/src/cadl-generated/models/index.js +0 -4
  35. package/dist-esm/src/cadl-generated/models/index.js.map +0 -1
  36. package/dist-esm/src/cadl-generated/models/models.js +0 -4
  37. package/dist-esm/src/cadl-generated/models/models.js.map +0 -1
  38. package/dist-esm/src/cadl-generated/models/options.js +0 -4
  39. package/dist-esm/src/cadl-generated/models/options.js.map +0 -1
  40. package/dist-esm/src/cadl-generated/rest/clientDefinitions.js +0 -4
  41. package/dist-esm/src/cadl-generated/rest/clientDefinitions.js.map +0 -1
  42. package/dist-esm/src/cadl-generated/rest/eventGridClient.js +0 -38
  43. package/dist-esm/src/cadl-generated/rest/eventGridClient.js.map +0 -1
  44. package/dist-esm/src/cadl-generated/rest/index.js +0 -12
  45. package/dist-esm/src/cadl-generated/rest/index.js.map +0 -1
  46. package/dist-esm/src/cadl-generated/rest/isUnexpected.js +0 -75
  47. package/dist-esm/src/cadl-generated/rest/isUnexpected.js.map +0 -1
  48. package/dist-esm/src/cadl-generated/rest/models.js +0 -4
  49. package/dist-esm/src/cadl-generated/rest/models.js.map +0 -1
  50. package/dist-esm/src/cadl-generated/rest/outputModels.js +0 -4
  51. package/dist-esm/src/cadl-generated/rest/outputModels.js.map +0 -1
  52. package/dist-esm/src/cadl-generated/rest/parameters.js +0 -4
  53. package/dist-esm/src/cadl-generated/rest/parameters.js.map +0 -1
  54. package/dist-esm/src/cadl-generated/rest/responses.js +0 -4
  55. package/dist-esm/src/cadl-generated/rest/responses.js.map +0 -1
  56. package/dist-esm/src/eventGridClientV2.js +0 -147
  57. package/dist-esm/src/eventGridClientV2.js.map +0 -1
  58. package/dist-esm/src/eventGridV2PublishBinaryMode.js +0 -63
  59. package/dist-esm/src/eventGridV2PublishBinaryMode.js.map +0 -1
@@ -1,25 +1,11 @@
1
1
  import { AzureKeyCredential } from '@azure/core-auth';
2
2
  import { AzureSASCredential } from '@azure/core-auth';
3
- import { ClientOptions } from '@azure-rest/core-client';
4
3
  import { CommonClientOptions } from '@azure/core-client';
5
- import { ErrorModel } from '@azure-rest/core-client';
6
4
  import { KeyCredential } from '@azure/core-auth';
7
5
  import { OperationOptions } from '@azure/core-client';
8
- import { OperationOptions as OperationRestOptions } from '@azure-rest/core-client';
9
6
  import { SASCredential } from '@azure/core-auth';
10
7
  import { TokenCredential } from '@azure/core-auth';
11
8
 
12
- export declare interface AcknowledgeCloudEventsOptions extends OperationRestOptions {
13
- }
14
-
15
- /** The result of the Acknowledge operation. */
16
- export declare interface AcknowledgeResult {
17
- /** Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description). */
18
- failedLockTokens: FailedLockToken[];
19
- /** Array of lock tokens for the successfully acknowledged cloud events. */
20
- succeededLockTokens: string[];
21
- }
22
-
23
9
  /** Schema of common properties of all chat events */
24
10
  export declare interface AcsChatEventBase {
25
11
  /** The communication identifier of the target user */
@@ -178,6 +164,10 @@ export declare type AcsChatThreadCreatedWithUserEventData = AcsChatThreadEventBa
178
164
  properties: {
179
165
  [propertyName: string]: any;
180
166
  };
167
+ /** The thread metadata */
168
+ metadata: {
169
+ [propertyName: string]: string;
170
+ };
181
171
  /** The list of properties of participants who are part of the thread */
182
172
  participants: AcsChatThreadParticipant[];
183
173
  };
@@ -196,6 +186,10 @@ export declare interface AcsChatThreadParticipant {
196
186
  displayName: string;
197
187
  /** The communication identifier of the user */
198
188
  participantCommunicationIdentifier: CommunicationIdentifierModel;
189
+ /** The metadata of the user */
190
+ metadata: {
191
+ [propertyName: string]: string;
192
+ };
199
193
  }
200
194
 
201
195
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event. */
@@ -204,6 +198,10 @@ export declare type AcsChatThreadPropertiesUpdatedPerUserEventData = AcsChatThre
204
198
  editedByCommunicationIdentifier: CommunicationIdentifierModel;
205
199
  /** The time at which the properties of the thread were updated */
206
200
  editTime: string;
201
+ /** The thread metadata */
202
+ metadata: {
203
+ [propertyName: string]: string;
204
+ };
207
205
  /** The updated thread properties */
208
206
  properties: {
209
207
  [propertyName: string]: any;
@@ -258,6 +256,8 @@ export declare interface AcsEmailDeliveryReportStatusDetails {
258
256
  export declare interface AcsEmailEngagementTrackingReportReceivedEventData {
259
257
  /** The Sender Email Address */
260
258
  sender: string;
259
+ /** The Recipient Email Address */
260
+ recipient: string;
261
261
  /** The Id of the email that has been sent */
262
262
  messageId: string;
263
263
  /** The time at which the user interacted with the email */
@@ -340,6 +340,370 @@ export declare interface AcsRecordingStorageInfo {
340
340
  recordingChunks: AcsRecordingChunkInfo[];
341
341
  }
342
342
 
343
+ /** Router Channel Configuration */
344
+ export declare interface AcsRouterChannelConfiguration {
345
+ /** Channel ID for Router Job */
346
+ channelId: string;
347
+ /** Capacity Cost Per Job for Router Job */
348
+ capacityCostPerJob: number;
349
+ /** Max Number of Jobs for Router Job */
350
+ maxNumberOfJobs: number;
351
+ }
352
+
353
+ /** Router Communication Error */
354
+ export declare interface AcsRouterCommunicationError {
355
+ /** Router Communication Error Code */
356
+ code: string;
357
+ /** Router Communication Error Message */
358
+ message: string;
359
+ /** Router Communication Error Target */
360
+ target: string;
361
+ /** Router Communication Inner Error */
362
+ innererror: AcsRouterCommunicationError;
363
+ /** List of Router Communication Errors */
364
+ details: AcsRouterCommunicationError[];
365
+ }
366
+
367
+ /** Schema of common properties of all Router events */
368
+ export declare interface AcsRouterEventData {
369
+ /** Router Event Job ID */
370
+ jobId: string;
371
+ /** Router Event Channel Reference */
372
+ channelReference: string;
373
+ /** Router Event Channel ID */
374
+ channelId: string;
375
+ }
376
+
377
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobCancelled event */
378
+ export declare type AcsRouterJobCancelledEventData = AcsRouterJobEventData & {
379
+ /** Router Job Note */
380
+ note: string;
381
+ /** Router Job Disposition Code */
382
+ dispositionCode: string;
383
+ };
384
+
385
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClassificationFailed event */
386
+ export declare type AcsRouterJobClassificationFailedEventData = AcsRouterJobEventData & {
387
+ /** Router Job Classification Policy Id */
388
+ classificationPolicyId: string;
389
+ /** Router Job Classification Failed Errors */
390
+ errors: AcsRouterCommunicationError[];
391
+ };
392
+
393
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClassified event */
394
+ export declare type AcsRouterJobClassifiedEventData = AcsRouterJobEventData & {
395
+ /** Router Job Queue Info */
396
+ queueDetails: AcsRouterQueueDetails;
397
+ /** Router Job Classification Policy Id */
398
+ classificationPolicyId: string;
399
+ /** Router Job Priority */
400
+ priority: number;
401
+ /** Router Job Attached Worker Selector */
402
+ attachedWorkerSelectors: AcsRouterWorkerSelector[];
403
+ };
404
+
405
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClosed event */
406
+ export declare type AcsRouterJobClosedEventData = AcsRouterJobEventData & {
407
+ /** Router Job Closed Assignment Id */
408
+ assignmentId: string;
409
+ /** Router Job Closed Worker Id */
410
+ workerId: string;
411
+ /** Router Job Closed Disposition Code */
412
+ dispositionCode: string;
413
+ };
414
+
415
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobCompleted event */
416
+ export declare type AcsRouterJobCompletedEventData = AcsRouterJobEventData & {
417
+ /** Router Job Completed Assignment Id */
418
+ assignmentId: string;
419
+ /** Router Job Completed Worker Id */
420
+ workerId: string;
421
+ };
422
+
423
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobDeleted event */
424
+ export declare type AcsRouterJobDeletedEventData = AcsRouterJobEventData & {};
425
+
426
+ /** Schema of common properties of all Router Job events */
427
+ export declare type AcsRouterJobEventData = AcsRouterEventData & {
428
+ /** Router Job events Queue Id */
429
+ queueId: string;
430
+ /** Router Job events Labels */
431
+ labels: {
432
+ [propertyName: string]: string;
433
+ };
434
+ /** Router Jobs events Tags */
435
+ tags: {
436
+ [propertyName: string]: string;
437
+ };
438
+ };
439
+
440
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobExceptionTriggered event */
441
+ export declare type AcsRouterJobExceptionTriggeredEventData = AcsRouterJobEventData & {
442
+ /** Router Job Exception Triggered Rule Key */
443
+ ruleKey: string;
444
+ /** Router Job Exception Triggered Rule Id */
445
+ exceptionRuleId: string;
446
+ };
447
+
448
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobQueued event */
449
+ export declare type AcsRouterJobQueuedEventData = AcsRouterJobEventData & {
450
+ /** Router Job Priority */
451
+ priority: number;
452
+ /** Router Job Queued Attached Worker Selector */
453
+ attachedWorkerSelectors: AcsRouterWorkerSelector[];
454
+ /** Router Job Queued Requested Worker Selector */
455
+ requestedWorkerSelectors: AcsRouterWorkerSelector[];
456
+ };
457
+
458
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobReceived event */
459
+ export declare type AcsRouterJobReceivedEventData = AcsRouterJobEventData & {
460
+ /** Router Job Received Job Status */
461
+ jobStatus?: AcsRouterJobStatus;
462
+ /** Router Job Classification Policy Id */
463
+ classificationPolicyId?: string;
464
+ /** Router Job Priority */
465
+ priority?: number;
466
+ /** Router Job Received Requested Worker Selectors */
467
+ requestedWorkerSelectors?: AcsRouterWorkerSelector[];
468
+ /** Router Job Received Scheduled Time in UTC */
469
+ scheduledOn?: string;
470
+ /** Unavailable For Matching for Router Job Received */
471
+ unavailableForMatching: boolean;
472
+ };
473
+
474
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobSchedulingFailed event */
475
+ export declare type AcsRouterJobSchedulingFailedEventData = AcsRouterJobEventData & {
476
+ /** Router Job Priority */
477
+ priority: number;
478
+ /** Router Job Scheduling Failed Attached Worker Selector Expired */
479
+ expiredAttachedWorkerSelectors: AcsRouterWorkerSelector[];
480
+ /** Router Job Scheduling Failed Requested Worker Selector Expired */
481
+ expiredRequestedWorkerSelectors: AcsRouterWorkerSelector[];
482
+ /** Router Job Scheduling Failed Scheduled Time in UTC */
483
+ scheduledOn: string;
484
+ /** Router Job Scheduling Failed Reason */
485
+ failureReason: string;
486
+ };
487
+
488
+ /**
489
+ * Defines values for AcsRouterJobStatus. \
490
+ * {@link KnownAcsRouterJobStatus} can be used interchangeably with AcsRouterJobStatus,
491
+ * this enum contains the known values that the service supports.
492
+ * ### Known values supported by the service
493
+ * **PendingClassification** \
494
+ * **Queued** \
495
+ * **Assigned** \
496
+ * **Completed** \
497
+ * **Closed** \
498
+ * **Cancelled** \
499
+ * **ClassificationFailed** \
500
+ * **Created** \
501
+ * **PendingSchedule** \
502
+ * **Scheduled** \
503
+ * **ScheduleFailed** \
504
+ * **WaitingForActivation**
505
+ */
506
+ export declare type AcsRouterJobStatus = string;
507
+
508
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobUnassigned event */
509
+ export declare type AcsRouterJobUnassignedEventData = AcsRouterJobEventData & {
510
+ /** Router Job Unassigned Assignment Id */
511
+ assignmentId: string;
512
+ /** Router Job Unassigned Worker Id */
513
+ workerId: string;
514
+ };
515
+
516
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWaitingForActivation event */
517
+ export declare type AcsRouterJobWaitingForActivationEventData = AcsRouterJobEventData & {
518
+ /** Router Job Waiting For Activation Priority */
519
+ priority?: number;
520
+ /** Router Job Waiting For Activation Worker Selector Expired */
521
+ expiredAttachedWorkerSelectors?: AcsRouterWorkerSelector[];
522
+ /** Router Job Waiting For Activation Requested Worker Selector Expired */
523
+ expiredRequestedWorkerSelectors?: AcsRouterWorkerSelector[];
524
+ /** Router Job Waiting For Activation Scheduled Time in UTC */
525
+ scheduledOn?: string;
526
+ /** Router Job Waiting For Activation Unavailable For Matching */
527
+ unavailableForMatching: boolean;
528
+ };
529
+
530
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWorkerSelectorsExpired event */
531
+ export declare type AcsRouterJobWorkerSelectorsExpiredEventData = AcsRouterJobEventData & {
532
+ /** Router Job Worker Selectors Expired Requested Worker Selectors */
533
+ expiredRequestedWorkerSelectors: AcsRouterWorkerSelector[];
534
+ /** Router Job Worker Selectors Expired Attached Worker Selectors */
535
+ expiredAttachedWorkerSelectors: AcsRouterWorkerSelector[];
536
+ };
537
+
538
+ /**
539
+ * Defines values for AcsRouterLabelOperator. \
540
+ * {@link KnownAcsRouterLabelOperator} can be used interchangeably with AcsRouterLabelOperator,
541
+ * this enum contains the known values that the service supports.
542
+ * ### Known values supported by the service
543
+ * **Equal**: = \
544
+ * **NotEqual**: != \
545
+ * **Greater**: > \
546
+ * **Less**: < \
547
+ * **GreaterThanOrEqual**: >= \
548
+ * **LessThanOrEqual**: <=
549
+ */
550
+ export declare type AcsRouterLabelOperator = string;
551
+
552
+ /** Router Queue Details */
553
+ export declare interface AcsRouterQueueDetails {
554
+ /** Router Queue Id */
555
+ id: string;
556
+ /** Router Queue Name */
557
+ name: string;
558
+ /** Router Queue Labels */
559
+ labels: {
560
+ [propertyName: string]: string;
561
+ };
562
+ }
563
+
564
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerDeleted event */
565
+ export declare type AcsRouterWorkerDeletedEventData = AcsRouterWorkerEventData & {};
566
+
567
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerDeregistered event */
568
+ export declare interface AcsRouterWorkerDeregisteredEventData {
569
+ /** Router Worker Deregistered Worker Id */
570
+ workerId: string;
571
+ }
572
+
573
+ /** Schema of common properties of all Router Worker events */
574
+ export declare type AcsRouterWorkerEventData = AcsRouterEventData & {
575
+ /** Router Worker events Worker Id */
576
+ workerId: string;
577
+ };
578
+
579
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferAccepted event */
580
+ export declare type AcsRouterWorkerOfferAcceptedEventData = AcsRouterWorkerEventData & {
581
+ /** Router Worker Offer Accepted Queue Id */
582
+ queueId: string;
583
+ /** Router Worker Offer Accepted Offer Id */
584
+ offerId: string;
585
+ /** Router Worker Offer Accepted Assignment Id */
586
+ assignmentId: string;
587
+ /** Router Worker Offer Accepted Job Priority */
588
+ jobPriority: number;
589
+ /** Router Worker Offer Accepted Worker Labels */
590
+ workerLabels: {
591
+ [propertyName: string]: string;
592
+ };
593
+ /** Router Worker Offer Accepted Worker Tags */
594
+ workerTags: {
595
+ [propertyName: string]: string;
596
+ };
597
+ /** Router Worker Offer Accepted Job Labels */
598
+ jobLabels: {
599
+ [propertyName: string]: string;
600
+ };
601
+ /** Router Worker Offer Accepted Job Tags */
602
+ jobTags: {
603
+ [propertyName: string]: string;
604
+ };
605
+ };
606
+
607
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferDeclined event */
608
+ export declare type AcsRouterWorkerOfferDeclinedEventData = AcsRouterWorkerEventData & {
609
+ /** Router Worker Offer Declined Queue Id */
610
+ queueId: string;
611
+ /** Router Worker Offer Declined Offer Id */
612
+ offerId: string;
613
+ };
614
+
615
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferExpired event */
616
+ export declare type AcsRouterWorkerOfferExpiredEventData = AcsRouterWorkerEventData & {
617
+ /** Router Worker Offer Expired Queue Id */
618
+ queueId: string;
619
+ /** Router Worker Offer Expired Offer Id */
620
+ offerId: string;
621
+ };
622
+
623
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferIssued event */
624
+ export declare type AcsRouterWorkerOfferIssuedEventData = AcsRouterWorkerEventData & {
625
+ /** Router Worker Offer Issued Queue Id */
626
+ queueId: string;
627
+ /** Router Worker Offer Issued Offer Id */
628
+ offerId: string;
629
+ /** Router Worker Offer Issued Job Priority */
630
+ jobPriority: number;
631
+ /** Router Worker Offer Issued Worker Labels */
632
+ workerLabels: {
633
+ [propertyName: string]: string;
634
+ };
635
+ /** Router Worker Offer Issued Time in UTC */
636
+ offeredOn: string;
637
+ /** Router Worker Offer Issued Expiration Time in UTC */
638
+ expiresOn: string;
639
+ /** Router Worker Offer Issued Worker Tags */
640
+ workerTags: {
641
+ [propertyName: string]: string;
642
+ };
643
+ /** Router Worker Offer Issued Job Labels */
644
+ jobLabels: {
645
+ [propertyName: string]: string;
646
+ };
647
+ /** Router Worker Offer Issued Job Tags */
648
+ jobTags: {
649
+ [propertyName: string]: string;
650
+ };
651
+ };
652
+
653
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferRevoked event */
654
+ export declare type AcsRouterWorkerOfferRevokedEventData = AcsRouterWorkerEventData & {
655
+ /** Router Worker Offer Revoked Queue Id */
656
+ queueId: string;
657
+ /** Router Worker Offer Revoked Offer Id */
658
+ offerId: string;
659
+ };
660
+
661
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerRegistered event */
662
+ export declare interface AcsRouterWorkerRegisteredEventData {
663
+ /** Router Worker Registered Worker Id */
664
+ workerId: string;
665
+ /** Router Worker Registered Queue Info */
666
+ queueAssignments: AcsRouterQueueDetails[];
667
+ /** Router Worker Registered Channel Configuration */
668
+ channelConfigurations: AcsRouterChannelConfiguration[];
669
+ /** Router Worker Register Total Capacity */
670
+ totalCapacity: number;
671
+ /** Router Worker Registered Labels */
672
+ labels: {
673
+ [propertyName: string]: string;
674
+ };
675
+ /** Router Worker Registered Tags */
676
+ tags: {
677
+ [propertyName: string]: string;
678
+ };
679
+ }
680
+
681
+ /** Router Job Worker Selector */
682
+ export declare interface AcsRouterWorkerSelector {
683
+ /** Router Job Worker Selector Key */
684
+ key: string;
685
+ /** Router Job Worker Selector Label Operator */
686
+ labelOperator: AcsRouterLabelOperator;
687
+ /** Router Job Worker Selector Value */
688
+ labelValue: any;
689
+ /** Router Job Worker Selector Time to Live in Seconds */
690
+ ttlSeconds: number;
691
+ /** Router Job Worker Selector State */
692
+ state: AcsRouterWorkerSelectorState;
693
+ /** Router Job Worker Selector Expiration Time */
694
+ expirationTime: string;
695
+ }
696
+
697
+ /**
698
+ * Defines values for AcsRouterWorkerSelectorState. \
699
+ * {@link KnownAcsRouterWorkerSelectorState} can be used interchangeably with AcsRouterWorkerSelectorState,
700
+ * this enum contains the known values that the service supports.
701
+ * ### Known values supported by the service
702
+ * **active**: Router Job Worker Selector is Active \
703
+ * **expired**: Router Job Worker Selector has Expire
704
+ */
705
+ export declare type AcsRouterWorkerSelectorState = string;
706
+
343
707
  /** Schema for details of a delivery attempt */
344
708
  export declare interface AcsSmsDeliveryAttempt {
345
709
  /** TimeStamp when delivery was attempted */
@@ -592,6 +956,22 @@ export declare interface AppConfigurationKeyValueModifiedEventData {
592
956
  syncToken: string;
593
957
  }
594
958
 
959
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.SnapshotCreated event. */
960
+ export declare type AppConfigurationSnapshotCreatedEventData = AppConfigurationSnapshotEventData & {};
961
+
962
+ /** Schema of common properties of snapshot events */
963
+ export declare interface AppConfigurationSnapshotEventData {
964
+ /** The name of the snapshot. */
965
+ name: string;
966
+ /** The etag representing the new state of the snapshot. */
967
+ etag: string;
968
+ /** The sync token representing the server state after the event. */
969
+ syncToken: string;
970
+ }
971
+
972
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.SnapshotModified event. */
973
+ export declare type AppConfigurationSnapshotModifiedEventData = AppConfigurationSnapshotEventData & {};
974
+
595
975
  /** Detail of action on the app. */
596
976
  export declare interface AppEventTypeDetail {
597
977
  /** Type of action of the operation. */
@@ -632,14 +1012,6 @@ export { AzureKeyCredential }
632
1012
 
633
1013
  export { AzureSASCredential }
634
1014
 
635
- /** Properties of the Event Broker operation. */
636
- export declare interface BrokerProperties {
637
- /** The token of the lock on the event. */
638
- lockToken: string;
639
- /** The attempt count for delivering the event. */
640
- deliveryCount: number;
641
- }
642
-
643
1015
  /**
644
1016
  * An event in the Cloud Event 1.0 schema.
645
1017
  */
@@ -680,10 +1052,6 @@ export declare interface CloudEvent<T> {
680
1052
  * Additional context attributes for the event. The Cloud Event specification refers to these as "extension attributes".
681
1053
  */
682
1054
  extensionAttributes?: Record<string, unknown>;
683
- /**
684
- * The version of the CloudEvents specification which the event uses.
685
- */
686
- specversion?: string | "1.0";
687
1055
  }
688
1056
 
689
1057
  /**
@@ -845,6 +1213,18 @@ export declare type ContainerRegistryImageDeletedEventData = ContainerRegistryEv
845
1213
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImagePushed event. */
846
1214
  export declare type ContainerRegistryImagePushedEventData = ContainerRegistryEventData & {};
847
1215
 
1216
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnded event */
1217
+ export declare type ContainerServiceClusterSupportEndedEventData = ContainerServiceClusterSupportEventData & {};
1218
+
1219
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnding event */
1220
+ export declare type ContainerServiceClusterSupportEndingEventData = ContainerServiceClusterSupportEventData & {};
1221
+
1222
+ /** Schema of common properties of cluster support events */
1223
+ export declare interface ContainerServiceClusterSupportEventData {
1224
+ /** The Kubernetes version of the ManagedCluster resource */
1225
+ kubernetesVersion: string;
1226
+ }
1227
+
848
1228
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NewKubernetesVersionAvailable event */
849
1229
  export declare interface ContainerServiceNewKubernetesVersionAvailableEventData {
850
1230
  /** The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource */
@@ -857,6 +1237,21 @@ export declare interface ContainerServiceNewKubernetesVersionAvailableEventData
857
1237
  latestPreviewKubernetesVersion: string;
858
1238
  }
859
1239
 
1240
+ /** Schema of common properties of node pool rolling events */
1241
+ export declare interface ContainerServiceNodePoolRollingEventData {
1242
+ /** The name of the node pool in the ManagedCluster resource */
1243
+ nodePoolName: string;
1244
+ }
1245
+
1246
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingFailed event */
1247
+ export declare type ContainerServiceNodePoolRollingFailedEventData = ContainerServiceNodePoolRollingEventData & {};
1248
+
1249
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingStarted event */
1250
+ export declare type ContainerServiceNodePoolRollingStartedEventData = ContainerServiceNodePoolRollingEventData & {};
1251
+
1252
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingSucceeded event */
1253
+ export declare type ContainerServiceNodePoolRollingSucceededEventData = ContainerServiceNodePoolRollingEventData & {};
1254
+
860
1255
  /** Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyCompleted event. */
861
1256
  export declare interface DataBoxCopyCompletedEventData {
862
1257
  /** Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated. */
@@ -996,97 +1391,6 @@ export declare interface DeviceTwinMetadata {
996
1391
  lastUpdated: string;
997
1392
  }
998
1393
 
999
- /**
1000
- * Event Grid Client
1001
- */
1002
- export declare class EventGridClient {
1003
- private _client;
1004
- /** Azure Messaging EventGrid Client */
1005
- constructor(endpoint: string, credential: AzureKeyCredential, options?: EventGridClientOptions);
1006
- /**
1007
- * Publish Single Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200
1008
- * status code with an empty JSON object in response. Otherwise, the server can return various error codes.
1009
- * For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message
1010
- * is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for
1011
- * internal server error.
1012
- *
1013
- * @param event - Event to publish
1014
- * @param topicName - Topic to publish the event
1015
- * @param options - Options to publish
1016
- *
1017
- */
1018
- publishCloudEvent<T>(event: CloudEvent<T>, topicName: string, options?: PublishCloudEventOptions): Promise<PublishResultOutput>;
1019
- /**
1020
- * Publish Batch Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200
1021
- * status code with an empty JSON object in response. Otherwise, the server can return various error codes.
1022
- * For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message
1023
- * is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for
1024
- * internal server error.
1025
- *
1026
- * @param events - Events to publish
1027
- * @param topicName - Topic to publish the event
1028
- * @param options - Options to publish
1029
- *
1030
- */
1031
- publishCloudEvents<T>(events: CloudEvent<T>[], topicName: string, options?: PublishCloudEventsOptions): Promise<PublishResultOutput>;
1032
- /**
1033
- * Receive Batch of Cloud Events from the Event Subscription.
1034
- *
1035
- * @param topicName - Topic to receive
1036
- * @param eventSubscriptionName - Name of the Event Subscription
1037
- * @param options - Options to receive
1038
- *
1039
- */
1040
- receiveCloudEvents<T>(topicName: string, eventSubscriptionName: string, options?: ReceiveCloudEventsOptions): Promise<ReceiveResult<T>>;
1041
- /**
1042
- * Acknowledge batch of Cloud Events. The server responds with an HTTP 200 status code if at least one
1043
- * event is successfully acknowledged. The response body will include the set of successfully acknowledged
1044
- * lockTokens, along with other failed lockTokens with their corresponding error information. Successfully
1045
- * acknowledged events will no longer be available to any consumer.
1046
- *
1047
- * @param lockTokens - Lock Tokens
1048
- * @param topicName - Topic Name
1049
- * @param eventSubscriptionName - Name of the Event Subscription
1050
- * @param options - Options to Acknowledge
1051
- *
1052
- */
1053
- acknowledgeCloudEvents(lockTokens: string[], topicName: string, eventSubscriptionName: string, options?: AcknowledgeCloudEventsOptions): Promise<AcknowledgeResult>;
1054
- /**
1055
- * Release batch of Cloud Events. The server responds with an HTTP 200 status code if at least one event is
1056
- * successfully released. The response body will include the set of successfully released lockTokens, along
1057
- * with other failed lockTokens with their corresponding error information.
1058
- *
1059
- * @param lockTokens - Lock Tokens
1060
- * @param topicName - Topic Name
1061
- * @param eventSubscriptionName - Name of the Event Subscription
1062
- * @param options - Options to release
1063
- *
1064
- */
1065
- releaseCloudEvents(lockTokens: string[], topicName: string, eventSubscriptionName: string, options?: ReleaseCloudEventsOptions): Promise<ReleaseResult>;
1066
- /**
1067
- * Reject batch of Cloud Events.
1068
- *
1069
- * @param lockTokens - Lock Tokens
1070
- * @param topicName - Topic Name
1071
- * @param eventSubscriptionName - Name of the Event Subscription
1072
- * @param options - Options to reject
1073
- *
1074
- */
1075
- rejectCloudEvents(lockTokens: string[], topicName: string, eventSubscriptionName: string, options?: RejectCloudEventsOptions): Promise<RejectResult>;
1076
- /**
1077
- * Renew lock for batch of Cloud Events.
1078
- *
1079
- * @param lockTokens - Lock Tokens
1080
- * @param topicName - Topic Name
1081
- * @param eventSubscriptionName - Name of the Event Subscription
1082
- * @param options - Options to renew
1083
- */
1084
- renewCloudEventLocks(lockTokens: string[], topicName: string, eventSubscriptionName: string, options?: RenewCloudEventLocksOptions): Promise<RenewCloudEventLocksResult>;
1085
- }
1086
-
1087
- export declare interface EventGridClientOptions extends ClientOptions {
1088
- }
1089
-
1090
1394
  /**
1091
1395
  * EventGridDeserializer is used to aid in processing events delivered by EventGrid. It can deserialize a JSON encoded payload
1092
1396
  * of either a single event or batch of events as well as be used to convert the result of `JSON.parse` into an
@@ -1161,6 +1465,80 @@ export declare interface EventGridEvent<T> {
1161
1465
  data: T;
1162
1466
  }
1163
1467
 
1468
+ /** Event data for Microsoft.EventGrid.MQTTClientCreatedOrUpdated event. */
1469
+ export declare type EventGridMqttClientCreatedOrUpdatedEventData = EventGridMqttClientEventData & {
1470
+ /** Configured state of the client. The value could be Enabled or Disabled */
1471
+ state: EventGridMqttClientState;
1472
+ /** Time the client resource is created based on the provider's UTC time. */
1473
+ createdOn: string;
1474
+ /** Time the client resource is last updated based on the provider's UTC time. If the client resource was never updated, this value is identical to the value of the 'createdOn' property. */
1475
+ updatedOn: string;
1476
+ /** The key-value attributes that are assigned to the client resource. */
1477
+ attributes: {
1478
+ [propertyName: string]: string;
1479
+ };
1480
+ };
1481
+
1482
+ /** Event data for Microsoft.EventGrid.MQTTClientDeleted event. */
1483
+ export declare type EventGridMqttClientDeletedEventData = EventGridMqttClientEventData & {};
1484
+
1485
+ /**
1486
+ * Defines values for EventGridMqttClientDisconnectionReason. \
1487
+ * {@link KnownEventGridMqttClientDisconnectionReason} can be used interchangeably with EventGridMqttClientDisconnectionReason,
1488
+ * this enum contains the known values that the service supports.
1489
+ * ### Known values supported by the service
1490
+ * **ClientAuthenticationError**: The client got disconnected for any authentication reasons (for example, certificate expired, client got disabled, or client configuration changed). \
1491
+ * **ClientAuthorizationError**: The client got disconnected for any authorization reasons (for example, because of a change in the configuration of topic spaces, permission bindings, or client groups). \
1492
+ * **ClientError**: The client sent a bad request or used one of the unsupported features that resulted in a connection termination by the service. \
1493
+ * **ClientInitiatedDisconnect**: The client initiates a graceful disconnect through a DISCONNECT packet for MQTT or a close frame for MQTT over WebSocket. \
1494
+ * **ConnectionLost**: The client-server connection is lost. (EXCHANGE ONLINE PROTECTION). \
1495
+ * **IpForbidden**: The client's IP address is blocked by IP filter or Private links configuration. \
1496
+ * **QuotaExceeded**: The client exceeded one or more of the throttling limits that resulted in a connection termination by the service. \
1497
+ * **ServerError**: The connection got terminated due to an unexpected server error. \
1498
+ * **ServerInitiatedDisconnect**: The server initiates a graceful disconnect for any operational reason. \
1499
+ * **SessionOverflow**: The client's queue for unacknowledged QoS1 messages reached its limit, which resulted in a connection termination by the server. \
1500
+ * **SessionTakenOver**: The client reconnected with the same authentication name, which resulted in the termination of the previous connection.
1501
+ */
1502
+ export declare type EventGridMqttClientDisconnectionReason = string;
1503
+
1504
+ /** Schema of the Data property of an EventGridEvent for MQTT Client state changes. */
1505
+ export declare interface EventGridMqttClientEventData {
1506
+ /** Unique identifier for the MQTT client that the client presents to the service for authentication. This case-sensitive string can be up to 128 characters long, and supports UTF-8 characters. */
1507
+ clientAuthenticationName: string;
1508
+ /** Name of the client resource in the Event Grid namespace. */
1509
+ clientName: string;
1510
+ /** Name of the Event Grid namespace where the MQTT client was created or updated. */
1511
+ namespaceName: string;
1512
+ }
1513
+
1514
+ /** Event data for Microsoft.EventGrid.MQTTClientSessionConnected event. */
1515
+ export declare type EventGridMqttClientSessionConnectedEventData = EventGridMqttClientEventData & {
1516
+ /** Unique identifier for the MQTT client's session. This case-sensitive string can be up to 128 characters long, and supports UTF-8 characters. */
1517
+ clientSessionName: string;
1518
+ /** A number that helps indicate order of MQTT client session connected or disconnected events. Latest event will have a sequence number that is higher than the previous event. */
1519
+ sequenceNumber: number;
1520
+ };
1521
+
1522
+ /** Event data for Microsoft.EventGrid.MQTTClientSessionDisconnected event. */
1523
+ export declare type EventGridMqttClientSessionDisconnectedEventData = EventGridMqttClientEventData & {
1524
+ /** Unique identifier for the MQTT client's session. This case-sensitive string can be up to 128 characters long, and supports UTF-8 characters. */
1525
+ clientSessionName: string;
1526
+ /** A number that helps indicate order of MQTT client session connected or disconnected events. Latest event will have a sequence number that is higher than the previous event. */
1527
+ sequenceNumber: number;
1528
+ /** Reason for the disconnection of the MQTT client's session. The value could be one of the values in the disconnection reasons table. */
1529
+ disconnectionReason: EventGridMqttClientDisconnectionReason;
1530
+ };
1531
+
1532
+ /**
1533
+ * Defines values for EventGridMqttClientState. \
1534
+ * {@link KnownEventGridMqttClientState} can be used interchangeably with EventGridMqttClientState,
1535
+ * this enum contains the known values that the service supports.
1536
+ * ### Known values supported by the service
1537
+ * **Enabled** \
1538
+ * **Disabled**
1539
+ */
1540
+ export declare type EventGridMqttClientState = string;
1541
+
1164
1542
  /**
1165
1543
  * Client class for publishing events to the Event Grid Service.
1166
1544
  */
@@ -1237,14 +1615,6 @@ export declare interface EventHubCaptureFileCreatedEventData {
1237
1615
  lastEnqueueTime: string;
1238
1616
  }
1239
1617
 
1240
- /** Failed LockToken information. */
1241
- export declare interface FailedLockToken {
1242
- /** The lock token of an entry in the request. */
1243
- lockToken: string;
1244
- /** Error information of the failed operation result for the lock token in the request. */
1245
- error: ErrorModel;
1246
- }
1247
-
1248
1618
  /**
1249
1619
  * Generate a shared access signature, which allows a client to send events to an Event Grid Topic or Domain for a limited period of time. This
1250
1620
  * function may only be called when the EventGridPublisherClient was constructed with a KeyCredential instance.
@@ -1773,6 +2143,46 @@ export declare interface KeyVaultSecretNewVersionCreatedEventData {
1773
2143
  exp: number;
1774
2144
  }
1775
2145
 
2146
+ /** Known values of {@link AcsRouterJobStatus} that the service accepts. */
2147
+ export declare const enum KnownAcsRouterJobStatus {
2148
+ PendingClassification = "PendingClassification",
2149
+ Queued = "Queued",
2150
+ Assigned = "Assigned",
2151
+ Completed = "Completed",
2152
+ Closed = "Closed",
2153
+ Cancelled = "Cancelled",
2154
+ ClassificationFailed = "ClassificationFailed",
2155
+ Created = "Created",
2156
+ PendingSchedule = "PendingSchedule",
2157
+ Scheduled = "Scheduled",
2158
+ ScheduleFailed = "ScheduleFailed",
2159
+ WaitingForActivation = "WaitingForActivation"
2160
+ }
2161
+
2162
+ /** Known values of {@link AcsRouterLabelOperator} that the service accepts. */
2163
+ export declare const enum KnownAcsRouterLabelOperator {
2164
+ /** = */
2165
+ Equal = "Equal",
2166
+ /** != */
2167
+ NotEqual = "NotEqual",
2168
+ /** > */
2169
+ Greater = "Greater",
2170
+ /** < */
2171
+ Less = "Less",
2172
+ /** >= */
2173
+ GreaterThanOrEqual = "GreaterThanOrEqual",
2174
+ /** <= */
2175
+ LessThanOrEqual = "LessThanOrEqual"
2176
+ }
2177
+
2178
+ /** Known values of {@link AcsRouterWorkerSelectorState} that the service accepts. */
2179
+ export declare const enum KnownAcsRouterWorkerSelectorState {
2180
+ /** Router Job Worker Selector is Active */
2181
+ Active = "active",
2182
+ /** Router Job Worker Selector has Expire */
2183
+ Expired = "expired"
2184
+ }
2185
+
1776
2186
  /** Known values of {@link AppAction} that the service accepts. */
1777
2187
  export declare const enum KnownAppAction {
1778
2188
  /** Web app was restarted. */
@@ -1805,6 +2215,38 @@ export declare const enum KnownAsyncStatus {
1805
2215
  Failed = "Failed"
1806
2216
  }
1807
2217
 
2218
+ /** Known values of {@link EventGridMqttClientDisconnectionReason} that the service accepts. */
2219
+ export declare const enum KnownEventGridMqttClientDisconnectionReason {
2220
+ /** The client got disconnected for any authentication reasons (for example, certificate expired, client got disabled, or client configuration changed). */
2221
+ ClientAuthenticationError = "ClientAuthenticationError",
2222
+ /** The client got disconnected for any authorization reasons (for example, because of a change in the configuration of topic spaces, permission bindings, or client groups). */
2223
+ ClientAuthorizationError = "ClientAuthorizationError",
2224
+ /** The client sent a bad request or used one of the unsupported features that resulted in a connection termination by the service. */
2225
+ ClientError = "ClientError",
2226
+ /** The client initiates a graceful disconnect through a DISCONNECT packet for MQTT or a close frame for MQTT over WebSocket. */
2227
+ ClientInitiatedDisconnect = "ClientInitiatedDisconnect",
2228
+ /** The client-server connection is lost. (EXCHANGE ONLINE PROTECTION). */
2229
+ ConnectionLost = "ConnectionLost",
2230
+ /** The client's IP address is blocked by IP filter or Private links configuration. */
2231
+ IpForbidden = "IpForbidden",
2232
+ /** The client exceeded one or more of the throttling limits that resulted in a connection termination by the service. */
2233
+ QuotaExceeded = "QuotaExceeded",
2234
+ /** The connection got terminated due to an unexpected server error. */
2235
+ ServerError = "ServerError",
2236
+ /** The server initiates a graceful disconnect for any operational reason. */
2237
+ ServerInitiatedDisconnect = "ServerInitiatedDisconnect",
2238
+ /** The client's queue for unacknowledged QoS1 messages reached its limit, which resulted in a connection termination by the server. */
2239
+ SessionOverflow = "SessionOverflow",
2240
+ /** The client reconnected with the same authentication name, which resulted in the termination of the previous connection. */
2241
+ SessionTakenOver = "SessionTakenOver"
2242
+ }
2243
+
2244
+ /** Known values of {@link EventGridMqttClientState} that the service accepts. */
2245
+ export declare const enum KnownEventGridMqttClientState {
2246
+ Enabled = "Enabled",
2247
+ Disabled = "Disabled"
2248
+ }
2249
+
1808
2250
  /** Known values of {@link StampKind} that the service accepts. */
1809
2251
  export declare const enum KnownStampKind {
1810
2252
  /** App Service Plan is running on a public stamp. */
@@ -2482,8 +2924,6 @@ export declare interface MicrosoftTeamsUserIdentifierModel {
2482
2924
  cloud?: CommunicationCloudEnvironmentModel;
2483
2925
  }
2484
2926
 
2485
- export { OperationRestOptions }
2486
-
2487
2927
  /** A phone number. */
2488
2928
  export declare interface PhoneNumberIdentifierModel {
2489
2929
  /** The phone number in E.164 format. */
@@ -2544,43 +2984,6 @@ export declare interface PolicyInsightsPolicyStateDeletedEventData {
2544
2984
  complianceReasonCode: string;
2545
2985
  }
2546
2986
 
2547
- export declare interface PublishCloudEventOptions extends OperationRestOptions {
2548
- /** binary mode */
2549
- binaryMode?: boolean;
2550
- /** content type */
2551
- contentType?: string;
2552
- }
2553
-
2554
- export declare interface PublishCloudEventsOptions extends OperationRestOptions {
2555
- /** content type */
2556
- contentType?: string;
2557
- }
2558
-
2559
- /** The result of the Publish operation. */
2560
- export declare interface PublishResultOutput {
2561
- }
2562
-
2563
- export declare interface ReceiveCloudEventsOptions extends OperationRestOptions {
2564
- /** Max Events count to be received. Minimum value is 1, while maximum value is 100 events. If not specified, the default value is 1. */
2565
- maxEvents?: number;
2566
- /** Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds. */
2567
- maxWaitTime?: number;
2568
- }
2569
-
2570
- /** Receive operation details per Cloud Event. */
2571
- export declare interface ReceiveDetails<T> {
2572
- /** The Event Broker details. */
2573
- brokerProperties: BrokerProperties;
2574
- /** Cloud Event details. */
2575
- event: CloudEvent<T>;
2576
- }
2577
-
2578
- /** Details of the Receive operation response. */
2579
- export declare interface ReceiveResult<T> {
2580
- /** Array of receive responses, one per cloud event. */
2581
- value: ReceiveDetails<T>[];
2582
- }
2583
-
2584
2987
  /**
2585
2988
  * Defines values for RecordingChannelType. \
2586
2989
  * {@link KnownRecordingChannelType} can be used interchangeably with RecordingChannelType,
@@ -2612,45 +3015,6 @@ export declare type RecordingContentType = string;
2612
3015
  */
2613
3016
  export declare type RecordingFormatType = string;
2614
3017
 
2615
- export declare interface RejectCloudEventsOptions extends OperationRestOptions {
2616
- }
2617
-
2618
- /** The result of the Reject operation. */
2619
- export declare interface RejectResult {
2620
- /** Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description). */
2621
- failedLockTokens: FailedLockToken[];
2622
- /** Array of lock tokens for the successfully rejected cloud events. */
2623
- succeededLockTokens: string[];
2624
- }
2625
-
2626
- export declare interface ReleaseCloudEventsOptions extends OperationRestOptions {
2627
- /** Release cloud events with the specified delay in seconds. */
2628
- releaseDelayInSeconds?: ReleaseDelay;
2629
- }
2630
-
2631
- /** Supported delays for release operation. */
2632
- /** "0", "10", "60", "600", "3600" */
2633
- export declare type ReleaseDelay = string;
2634
-
2635
- /** The result of the Release operation. */
2636
- export declare interface ReleaseResult {
2637
- /** Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description). */
2638
- failedLockTokens: FailedLockToken[];
2639
- /** Array of lock tokens for the successfully released cloud events. */
2640
- succeededLockTokens: string[];
2641
- }
2642
-
2643
- export declare interface RenewCloudEventLocksOptions extends OperationRestOptions {
2644
- }
2645
-
2646
- /** The result of the RenewLock operation. */
2647
- export declare interface RenewCloudEventLocksResult {
2648
- /** Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description). */
2649
- failedLockTokens: FailedLockToken[];
2650
- /** Array of lock tokens for the successfully renewed locks. */
2651
- succeededLockTokens: string[];
2652
- }
2653
-
2654
3018
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionCancel event. This is raised when a resource action operation is canceled. */
2655
3019
  export declare interface ResourceActionCancelEventData {
2656
3020
  /** The tenant ID of the resource. */
@@ -2843,6 +3207,72 @@ export declare interface ResourceHttpRequest {
2843
3207
  url: string;
2844
3208
  }
2845
3209
 
3210
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated event. */
3211
+ export declare type ResourceNotificationsHealthResourcesAnnotatedEventData = ResourceNotificationsResourceUpdatedEventData & {};
3212
+
3213
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged event. */
3214
+ export declare type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData = ResourceNotificationsResourceUpdatedEventData & {};
3215
+
3216
+ /** details of operational info */
3217
+ export declare interface ResourceNotificationsOperationalDetails {
3218
+ /** Date and Time when resource was updated */
3219
+ resourceEventTime: string;
3220
+ }
3221
+
3222
+ /** Describes the schema of the properties under resource info which are common across all ARN system topic delete events */
3223
+ export declare interface ResourceNotificationsResourceDeletedDetails {
3224
+ /** id of the resource for which the event is being emitted */
3225
+ id: string;
3226
+ /** name of the resource for which the event is being emitted */
3227
+ name: string;
3228
+ /** the type of the resource for which the event is being emitted */
3229
+ type: string;
3230
+ }
3231
+
3232
+ /** Describes the schema of the common properties across all ARN system topic delete events */
3233
+ export declare interface ResourceNotificationsResourceDeletedEventData {
3234
+ /** resourceInfo details for delete event */
3235
+ resourceDetails: ResourceNotificationsResourceDeletedDetails;
3236
+ /** details about operational info */
3237
+ operationalDetails: ResourceNotificationsOperationalDetails;
3238
+ }
3239
+
3240
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.Resources.CreatedOrUpdated event. */
3241
+ export declare type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData = ResourceNotificationsResourceUpdatedEventData & {};
3242
+
3243
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.Resources.Deleted event. */
3244
+ export declare type ResourceNotificationsResourceManagementDeletedEventData = ResourceNotificationsResourceDeletedEventData & {};
3245
+
3246
+ /** Describes the schema of the properties under resource info which are common across all ARN system topic events */
3247
+ export declare interface ResourceNotificationsResourceUpdatedDetails {
3248
+ /** id of the resource for which the event is being emitted */
3249
+ id: string;
3250
+ /** name of the resource for which the event is being emitted */
3251
+ name: string;
3252
+ /** the type of the resource for which the event is being emitted */
3253
+ type: string;
3254
+ /** the location of the resource for which the event is being emitted */
3255
+ location: string;
3256
+ /** the tags on the resource for which the event is being emitted */
3257
+ tags: {
3258
+ [propertyName: string]: string;
3259
+ };
3260
+ /** properties in the payload of the resource for which the event is being emitted */
3261
+ properties: {
3262
+ [propertyName: string]: any;
3263
+ };
3264
+ }
3265
+
3266
+ /** Describes the schema of the common properties across all ARN system topic events */
3267
+ export declare interface ResourceNotificationsResourceUpdatedEventData {
3268
+ /** resourceInfo details for update event */
3269
+ resourceDetails: ResourceNotificationsResourceUpdatedDetails;
3270
+ /** details about operational info */
3271
+ operationalDetails: ResourceNotificationsOperationalDetails;
3272
+ /** api version of the resource properties bag */
3273
+ apiVersion: string;
3274
+ }
3275
+
2846
3276
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteCancel event. This is raised when a resource create or update operation is canceled. */
2847
3277
  export declare interface ResourceWriteCancelEventData {
2848
3278
  /** The tenant ID of the resource. */
@@ -3634,6 +4064,78 @@ export declare interface SystemEventNameToEventData {
3634
4064
  "Microsoft.ApiManagement.GatewayAPIRemoved": ApiManagementGatewayApiRemovedEventData;
3635
4065
  /** An interface for the event data of a "Microsoft.HealthcareApis.DicomImageUpdated" event. */
3636
4066
  "Microsoft.HealthcareApis.DicomImageUpdated": HealthcareDicomImageUpdatedEventData;
4067
+ /** An interface for the event data of a "Microsoft.ContainerService.ClusterSupportEnded" event. */
4068
+ "Microsoft.ContainerService.ClusterSupportEnded": ContainerServiceClusterSupportEndedEventData;
4069
+ /** An interface for the event data of a "Microsoft.ContainerService.ClusterSupportEnding" event. */
4070
+ "Microsoft.ContainerService.ClusterSupportEnding": ContainerServiceClusterSupportEndingEventData;
4071
+ /** An interface for the event data of a "Microsoft.ContainerService.NodePoolRollingStarted" event. */
4072
+ "Microsoft.ContainerService.NodePoolRollingStarted": ContainerServiceNodePoolRollingStartedEventData;
4073
+ /** An interface for the event data of a "Microsoft.ContainerService.NodePoolRollingSucceeded" event. */
4074
+ "Microsoft.ContainerService.NodePoolRollingSucceeded": ContainerServiceNodePoolRollingSucceededEventData;
4075
+ /** An interface for the event data of a "Microsoft.ContainerService.NodePoolRollingFailed" event. */
4076
+ "Microsoft.ContainerService.NodePoolRollingFailed": ContainerServiceNodePoolRollingFailedEventData;
4077
+ /** An interface for the event data of a "Microsoft.EventGrid.MQTTClientCreatedOrUpdated" event. */
4078
+ "Microsoft.EventGrid.MQTTClientCreatedOrUpdated": EventGridMqttClientCreatedOrUpdatedEventData;
4079
+ /** An interface for the event data of a "Microsoft.EventGrid.MQTTClientDeleted" event. */
4080
+ "Microsoft.EventGrid.MQTTClientDeleted": EventGridMqttClientDeletedEventData;
4081
+ /** An interface for the event data of a "Microsoft.EventGrid.MQTTClientSessionConnected" event. */
4082
+ "Microsoft.EventGrid.MQTTClientSessionConnected": EventGridMqttClientSessionConnectedEventData;
4083
+ /** An interface for the event data of a "Microsoft.EventGrid.MQTTClientSessionDisconnected" event. */
4084
+ "Microsoft.EventGrid.MQTTClientSessionDisconnected": EventGridMqttClientSessionDisconnectedEventData;
4085
+ /** An interface for the event data of a "Microsoft.AppConfiguration.SnapshotCreated" event. */
4086
+ "Microsoft.AppConfiguration.SnapshotCreated": AppConfigurationSnapshotCreatedEventData;
4087
+ /** An interface for the event data of a "Microsoft.AppConfiguration.SnapshotModified" event. */
4088
+ "Microsoft.AppConfiguration.SnapshotModified": AppConfigurationSnapshotModifiedEventData;
4089
+ /** An interface for the event data of a "Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged" event. */
4090
+ "Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged": ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData;
4091
+ /** An interface for the event data of a "Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated" event. */
4092
+ "Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated": ResourceNotificationsHealthResourcesAnnotatedEventData;
4093
+ /** An interface for the event data of a "Microsoft.Communication.RouterWorkerDeregistered" event. */
4094
+ "Microsoft.Communication.RouterWorkerDeregistered": AcsRouterWorkerDeregisteredEventData;
4095
+ /** An interface for the event data of a "Microsoft.Communication.RouterWorkerRegistered" event. */
4096
+ "Microsoft.Communication.RouterWorkerRegistered": AcsRouterWorkerRegisteredEventData;
4097
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobCancelled" event. */
4098
+ "Microsoft.Communication.RouterJobCancelled": AcsRouterJobCancelledEventData;
4099
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobClassificationFailed" event. */
4100
+ "Microsoft.Communication.RouterJobClassificationFailed": AcsRouterJobClassificationFailedEventData;
4101
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobClassified" event. */
4102
+ "Microsoft.Communication.RouterJobClassified": AcsRouterJobClassifiedEventData;
4103
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobClosed" event. */
4104
+ "Microsoft.Communication.RouterJobClosed": AcsRouterJobClosedEventData;
4105
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobCompleted" event. */
4106
+ "Microsoft.Communication.RouterJobCompleted": AcsRouterJobCompletedEventData;
4107
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobDeleted" event. */
4108
+ "Microsoft.Communication.RouterJobDeleted": AcsRouterJobDeletedEventData;
4109
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobExceptionTriggered" event. */
4110
+ "Microsoft.Communication.RouterJobExceptionTriggered": AcsRouterJobExceptionTriggeredEventData;
4111
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobQueued" event. */
4112
+ "Microsoft.Communication.RouterJobQueued": AcsRouterJobQueuedEventData;
4113
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobReceived" event. */
4114
+ "Microsoft.Communication.RouterJobReceived": AcsRouterJobReceivedEventData;
4115
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobSchedulingFailed" event. */
4116
+ "Microsoft.Communication.RouterJobSchedulingFailed": AcsRouterJobSchedulingFailedEventData;
4117
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobUnassigned" event. */
4118
+ "Microsoft.Communication.RouterJobUnassigned": AcsRouterJobUnassignedEventData;
4119
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobWaitingForActivation" event. */
4120
+ "Microsoft.Communication.RouterJobWaitingForActivation": AcsRouterJobWaitingForActivationEventData;
4121
+ /** An interface for the event data of a "Microsoft.Communication.RouterJobWorkerSelectorsExpire" event. */
4122
+ "Microsoft.Communication.RouterJobWorkerSelectorsExpire": AcsRouterJobWorkerSelectorsExpiredEventData;
4123
+ /** An interface for the event data of a "Microsoft.Communication.RouterWorkerDeleted" event. */
4124
+ "Microsoft.Communication.RouterWorkerDeleted": AcsRouterWorkerDeletedEventData;
4125
+ /** An interface for the event data of a "Microsoft.Communication.RouterWorkerOfferAccepted" event. */
4126
+ "Microsoft.Communication.RouterWorkerOfferAccepted": AcsRouterWorkerOfferAcceptedEventData;
4127
+ /** An interface for the event data of a "Microsoft.Communication.RouterWorkerOfferDeclined" event. */
4128
+ "Microsoft.Communication.RouterWorkerOfferDeclined": AcsRouterWorkerOfferDeclinedEventData;
4129
+ /** An interface for the event data of a "Microsoft.Communication.RouterWorkerOfferExpired" event. */
4130
+ "Microsoft.Communication.RouterWorkerOfferExpired": AcsRouterWorkerOfferExpiredEventData;
4131
+ /** An interface for the event data of a "Microsoft.Communication.RouterWorkerOfferIssued" event. */
4132
+ "Microsoft.Communication.RouterWorkerOfferIssued": AcsRouterWorkerOfferIssuedEventData;
4133
+ /** An interface for the event data of a "Microsoft.Communication.RouterWorkerOfferRevoked" event. */
4134
+ "Microsoft.Communication.RouterWorkerOfferRevoked": AcsRouterWorkerOfferRevokedEventData;
4135
+ /** An interface for the event data of a "Microsoft.ResourceNotifications.Resources.CreatedOrUpdated" event. */
4136
+ "Microsoft.ResourceNotifications.Resources.CreatedOrUpdated": ResourceNotificationsResourceManagementCreatedOrUpdatedEventData;
4137
+ /** An interface for the event data of a "Microsoft.ResourceNotifications.Resources.Deleted" event. */
4138
+ "Microsoft.ResourceNotifications.Resources.Deleted": ResourceNotificationsResourceManagementDeletedEventData;
3637
4139
  }
3638
4140
 
3639
4141
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Web.AppServicePlanUpdated event. */