Skip to content

Commit bceefdd

Browse files
osaghasojnlycklama
authored andcommitted
Changing innerError to innererror. Fix ttl examples (#26160)
* Fixing mistake in the Routerevents add on to SDK * changing ttl to ttlseconds
1 parent 3e62451 commit bceefdd

15 files changed

+26
-27
lines changed

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@
18261826
"description": "Router Communication Error Target",
18271827
"type": "string"
18281828
},
1829-
"innerError": {
1829+
"innererror": {
18301830
"description": "Router Communication Inner Error",
18311831
"$ref": "#/definitions/AcsRouterCommunicationError"
18321832
},
@@ -1893,10 +1893,9 @@
18931893
"description": "Router Job Worker Selector Value",
18941894
"type": "object"
18951895
},
1896-
"ttl": {
1897-
"description": "Router Job Worker Selector TTL",
1898-
"type": "number",
1899-
"x-ms-client-name": "timeToLive"
1896+
"ttlSeconds": {
1897+
"description": "Router Job Worker Selector Time to Live in Seconds",
1898+
"type": "number"
19001899
},
19011900
"state": {
19021901
"description": "Router Job Worker Selector State",

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classification_failed.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"code": null,
99
"message": "Classification failed due to <reason>",
1010
"target": null,
11-
"innerError": null,
11+
"innererror": null,
1212
"details": null
1313
}
1414
],

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"key": "string",
3434
"labelOperator": "equal",
3535
"value": 5,
36-
"ttl": "P3Y6M4DT12H30M5S"
36+
"ttlSeconds": "36"
3737
}
3838
]
3939
},

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
"key": "string",
2424
"labelOperator": "equal",
2525
"value": 5,
26-
"ttl": "P3Y6M4DT12H30M5S"
26+
"ttl": "40"
2727
}
2828
],
2929
"attachedWorkerSelectors": [
3030
{
3131
"key": "string",
3232
"labelOperator": "equal",
3333
"value": 5,
34-
"ttl": "P3Y6M4DT12H30M5S"
34+
"ttlSeconds": "39"
3535
}
3636
]
3737
},

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"key": "string",
2626
"labelOperator": "equal",
2727
"value": 5,
28-
"ttl": "P3Y6M4DT12H30M5S"
28+
"ttlSeconds": "36"
2929
}
3030
],
3131
"scheduledOn": "3/28/2007 7:13:50 PM +00:00",

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
"key": "string",
2424
"labelOperator": "equal",
2525
"value": 5,
26-
"ttl": "P3Y6M4DT12H30M5S"
26+
"ttlSeconds": "36"
2727
}
2828
],
2929
"attachedWorkerSelectors": [
3030
{
3131
"key": "string",
3232
"labelOperator": "equal",
3333
"value": 5,
34-
"ttl": "P3Y6M4DT12H30M5S"
34+
"ttlSeconds": "30"
3535
}
3636
],
3737
"scheduledOn": "2022-02-17T00:55:25.1736293Z",

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
"key": "string",
2424
"labelOperator": "equal",
2525
"value": 5,
26-
"ttl": "P3Y6M4DT12H30M5S"
26+
"ttlSeconds": "45"
2727
}
2828
],
2929
"attachedWorkerSelectors": [
3030
{
3131
"key": "string",
3232
"labelOperator": "equal",
3333
"value": 5,
34-
"ttl": "P3Y6M4DT12H30M5S"
34+
"ttlSeconds": "32"
3535
}
3636
],
3737
"scheduledOn": "2022-02-17T00:55:25.1736293Z",

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"key": "string",
2323
"labelOperator": "equal",
2424
"value": 5,
25-
"ttl": "P3Y6M4DT12H30M5S"
25+
"ttlSeconds": "30"
2626
}
2727
],
2828
"attachedWorkerSelectorsExpired": [
2929
{
3030
"key": "string",
3131
"labelOperator": "equal",
3232
"value": 5,
33-
"ttl": "P3Y6M4DT12H30M5S"
33+
"ttlSeconds": "35"
3434
}
3535
]
3636
},

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classification_failed.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"code": null,
99
"message": "Classification failed due to <reason>",
1010
"target": null,
11-
"innerError": null,
11+
"innererror": null,
1212
"details": null
1313
}
1414
],

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"key": "string",
3434
"labelOperator": "equal",
3535
"value": 5,
36-
"ttl": "P3Y6M4DT12H30M5S"
36+
"ttlSeconds": "36"
3737
}
3838
]
3939
},

0 commit comments

Comments
 (0)