Skip to content

Commit 6d0de25

Browse files
Merge pull request #268549 from sarkar-rajarshi/rsarkar/bugfix-remove-events
[ACS JobRouter] Remove events that are not yet published
2 parents f071b86 + 665c6b1 commit 6d0de25

File tree

1 file changed

+0
-98
lines changed

1 file changed

+0
-98
lines changed

articles/communication-services/how-tos/router-sdk/subscribe-events.md

Lines changed: 0 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,13 @@ dotnet run
128128
| [`RouterJobUnassigned`](#microsoftcommunicationrouterjobunassigned) | `Job` | An already assigned job has been unassigned from a worker |
129129
| [`RouterJobWaitingForActivation`](#microsoftcommunicationrouterjobwaitingforactivation) | `Job` | A scheduled job's requested scheduled time has arrived, Router is waiting on contoso to act on the job |
130130
| [`RouterJobSchedulingFailed`](#microsoftcommunicationrouterjobschedulingfailed) | `Job` | A scheduled job was requested however, Router failed to create one |
131-
| [`RouterJobDeleted`](#microsoftcommunicationrouterjobdeleted) | `Job` | A job has been deleted |
132131
| [`RouterWorkerOfferIssued`](#microsoftcommunicationrouterworkerofferissued) | `Worker` | A job was offered to a worker |
133132
| [`RouterWorkerOfferAccepted`](#microsoftcommunicationrouterworkerofferaccepted) | `Worker` | An offer to a worker was accepted |
134133
| [`RouterWorkerOfferDeclined`](#microsoftcommunicationrouterworkerofferdeclined) | `Worker` | An offer to a worker was declined |
135134
| [`RouterWorkerOfferRevoked`](#microsoftcommunicationrouterworkerofferrevoked) | `Worker` | An offer to a worker was revoked |
136135
| [`RouterWorkerOfferExpired`](#microsoftcommunicationrouterworkerofferexpired) | `Worker` | An offer to a worker has expired |
137136
| [`RouterWorkerRegistered`](#microsoftcommunicationrouterworkerregistered) | `Worker` | A worker has been registered (status changed from inactive/draining to active) |
138137
| [`RouterWorkerDeregistered`](#microsoftcommunicationrouterworkerderegistered) | `Worker` | A worker has been deregistered (status changed from active to inactive/draining) |
139-
| [`RouterWorkerDeleted`](#microsoftcommunicationrouterworkerdeleted) | `Worker` | A worker has been deleted |
140138

141139
### Microsoft.Communication.RouterJobReceived
142140

@@ -813,44 +811,6 @@ dotnet run
813811
| failureReason | `string` |✔️ | | System determined
814812
| priority| `int` |❌ | | Based on user input while creating a job
815813

816-
### Microsoft.Communication.RouterJobDeleted
817-
818-
[Back to Event Catalog](#events-catalog)
819-
820-
```json
821-
{
822-
"id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e",
823-
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
824-
"subject": "job/{job-id}/channel/{channel-id}",
825-
"data": {
826-
"jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712",
827-
"channelReference": "test-abc",
828-
"channelId": "FooVoiceChannelId",
829-
"labels": {
830-
"Locale": "en-us",
831-
"Segment": "Enterprise",
832-
"Token": "FooToken"
833-
},
834-
"tags": {
835-
"Locale": "en-us",
836-
"Segment": "Enterprise",
837-
"Token": "FooToken"
838-
},
839-
"queueId": ""
840-
},
841-
"eventType": "Microsoft.Communication.RouterJobDeleted",
842-
"dataVersion": "1.0",
843-
"metadataVersion": "1",
844-
"eventTime": "2022-02-17T00:55:25.1736293Z"
845-
}
846-
```
847-
848-
#### Attribute list
849-
850-
| Attribute | Type | Nullable |Description | Notes |
851-
|:--------- |:-----:|:-------:|-------------|-------|
852-
| jobId| `string` ||
853-
854814
## Worker Events
855815

856816
### Microsoft.Communication.RouterWorkerOfferIssued
@@ -1145,64 +1105,6 @@ dotnet run
11451105
|:--------- |:-----:|:-------:|-------------|-------|
11461106
| workerId | `string` ||
11471107

1148-
### Microsoft.Communication.RouterWorkerDeleted
1149-
1150-
[Back to Event Catalog](#events-catalog)
1151-
1152-
```json
1153-
{
1154-
"id": "1027db4a-17fe-4a7f-ae67-276c3120a29f",
1155-
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
1156-
"subject": "worker/{worker-id}",
1157-
"data": {
1158-
"workerId": "worker3",
1159-
"totalCapacity": 100,
1160-
"queueAssignments": [
1161-
{
1162-
"id": "MyQueueId2",
1163-
"name": "Queue 3",
1164-
"labels": {
1165-
"Language": "en",
1166-
"Product": "Office",
1167-
"Geo": "NA"
1168-
}
1169-
}
1170-
],
1171-
"labels": {
1172-
"x": "111",
1173-
"y": "111"
1174-
},
1175-
"channelConfigurations": [
1176-
{
1177-
"channelId": "FooVoiceChannelId",
1178-
"capacityCostPerJob": 10,
1179-
"maxNumberOfJobs": 5
1180-
}
1181-
],
1182-
"tags": {
1183-
"Locale": "en-us",
1184-
"Segment": "Enterprise",
1185-
"Token": "FooToken"
1186-
}
1187-
},
1188-
"eventType": "Microsoft.Communication.RouterWorkerDeleted",
1189-
"dataVersion": "1.0",
1190-
"metadataVersion": "1",
1191-
"eventTime": "2022-02-17T00:55:25.1736293Z"
1192-
}
1193-
```
1194-
1195-
#### Attribute list
1196-
1197-
| Attribute | Type | Nullable | Description | Notes |
1198-
|:--------- |:-----:|:-------:|-------------|-------|
1199-
| workerId | `string` ||
1200-
| totalCapacity | `int` ||
1201-
| queueAssignments | `List<QueueDetails>` ||
1202-
| labels | `Dictionary<string, object>` | ✔️ | | Based on user input
1203-
| channelConfigurations| `List<ChannelConfiguration>` ||
1204-
| tags | `Dictionary<string, object>` | ✔️ | | Based on user input
1205-
12061108
## Model Definitions
12071109

12081110
### QueueDetails

0 commit comments

Comments
 (0)