Skip to content

Commit

Permalink
[Microsoft.ApiManagement][2020-06-01-preview] Change Network Status r…
Browse files Browse the repository at this point in the history
…esponse contract (#10331)

* Change Network Status response contract

* Update examples for network status contract
  • Loading branch information
RupengLiu authored Sep 21, 2020
1 parent 2f3e5b1 commit ce56492
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,23 @@
"type": "string",
"format": "date-time",
"description": "The date when the resource connectivity status last Changed from success to failure or vice-versa. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
},
"resourceType": {
"type": "string",
"description": "Resource Type."
},
"isOptional": {
"type": "boolean",
"description": "Whether this is optional."
}
},
"required": [
"name",
"status",
"lastUpdated",
"lastStatusChange"
"lastStatusChange",
"resourceType",
"isOptional"
],
"description": "Details about connectivity to a resource."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,77 +20,99 @@
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:43.6997938Z",
"lastStatusChange": "2019-01-24T21:47:53.851895Z"
"lastStatusChange": "2019-01-24T21:47:53.851895Z",
"resourceType": "BlobStorage",
"isOptional": false
},
{
"name": "apimgmtsttgzqxxxxxcrsc.file.core.windows.net",
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:44.0439771Z",
"lastStatusChange": "2019-05-02T21:22:50.6835366Z"
"lastStatusChange": "2019-05-02T21:22:50.6835366Z",
"resourceType": "FileStorage",
"isOptional": true
},
{
"name": "apimgmtsttgzqxxxxxcrsc.queue.core.windows.net",
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:44.8564232Z",
"lastStatusChange": "2019-05-02T20:53:26.6260794Z"
"lastStatusChange": "2019-05-02T20:53:26.6260794Z",
"resourceType": "Queue",
"isOptional": true
},
{
"name": "apimgmtsttgzqxxxxxcrsc.table.core.windows.net",
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:44.0439771Z",
"lastStatusChange": "2019-05-02T20:53:21.6729263Z"
"lastStatusChange": "2019-05-02T20:53:21.6729263Z",
"resourceType": "TableStorage",
"isOptional": true
},
{
"name": "ftmrcxxx.database.windows.net",
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:44.1845483Z",
"lastStatusChange": "2019-05-02T21:02:00.9466899Z"
"lastStatusChange": "2019-05-02T21:02:00.9466899Z",
"resourceType": "SQLDatabase",
"isOptional": false
},
{
"name": "https://prod3.metrics.nsatc.net:1886/RecoveryService",
"status": "failure",
"error": "Failed to connect to https://prod3.metrics.nsatc.net:1886/RecoveryService with error Unable to connect to the remote server",
"lastUpdated": "2019-12-18T12:04:30.1214083Z",
"lastStatusChange": "2019-01-24T22:00:04.2450462Z"
"lastStatusChange": "2019-01-24T22:00:04.2450462Z",
"resourceType": "Metrics",
"isOptional": false
},
{
"name": "https://westeurope.prod.warm.ingestion.msftcloudes.com",
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:43.8251399Z",
"lastStatusChange": "2019-12-18T11:14:43.3860126Z"
"lastStatusChange": "2019-12-18T11:14:43.3860126Z",
"resourceType": "Monitoring",
"isOptional": true
},
{
"name": "LocalGatewayRedis",
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:50.6376685Z",
"lastStatusChange": "2019-12-18T11:14:44.4966742Z"
"lastStatusChange": "2019-12-18T11:14:44.4966742Z",
"resourceType": "InternalCache",
"isOptional": false
},
{
"name": "prod.warmpath.msftcloudes.com",
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:44.4345454Z",
"lastStatusChange": "2019-05-08T00:09:58.031766Z"
"lastStatusChange": "2019-05-08T00:09:58.031766Z",
"resourceType": "Monitoring",
"isOptional": true
},
{
"name": "Scm",
"status": "success",
"error": "",
"lastUpdated": "2019-12-18T12:04:58.4815899Z",
"lastStatusChange": "2019-12-18T11:24:48.4795085Z"
"lastStatusChange": "2019-12-18T11:24:48.4795085Z",
"resourceType": "SourceControl",
"isOptional": true
},
{
"name": "smtpi-db3.msn.com:25028",
"status": "failure",
"error": "Connection smtpi-db3.msn.com:25028 failed with Error Unable to connect to the remote server",
"lastUpdated": "2019-12-18T12:04:30.1526431Z",
"lastStatusChange": "2019-12-18T11:23:05.7709057Z"
"lastStatusChange": "2019-12-18T11:23:05.7709057Z",
"resourceType": "Email",
"isOptional": true
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,54 @@
"status": "success",
"error": "",
"lastUpdated": "2018-06-13T22:41:07.3844516Z",
"lastStatusChange": "2018-06-13T20:31:06.6590782Z"
"lastStatusChange": "2018-06-13T20:31:06.6590782Z",
"resourceType": "BlobStorage",
"isOptional": false
},
{
"name": "apimgmtst6mtxxxxxxxx.file.core.windows.net",
"status": "success",
"error": "",
"lastUpdated": "2018-06-13T22:41:08.6657305Z",
"lastStatusChange": "2018-06-13T20:31:06.8934611Z"
"lastStatusChange": "2018-06-13T20:31:06.8934611Z",
"resourceType": "FileStorage",
"isOptional": true
},
{
"name": "apimgmtst6mtxxxxxxxx.table.core.windows.net",
"status": "success",
"error": "",
"lastUpdated": "2018-06-13T22:41:08.7594708Z",
"lastStatusChange": "2018-06-13T20:31:06.7529128Z"
"lastStatusChange": "2018-06-13T20:31:06.7529128Z",
"resourceType": "TableStorage",
"isOptional": true
},
{
"name": "https://prod3.metrics.nsatc.net:1886/RecoveryService",
"status": "success",
"error": "",
"lastUpdated": "2018-06-13T22:41:08.6969746Z",
"lastStatusChange": "2018-06-13T20:31:07.1125257Z"
"lastStatusChange": "2018-06-13T20:31:07.1125257Z",
"resourceType": "Metrics",
"isOptional": false
},
{
"name": "n20fxxx.database.windows.net",
"status": "success",
"error": "",
"lastUpdated": "2018-06-13T22:41:09.5094848Z",
"lastStatusChange": "2018-06-13T20:31:07.0968711Z"
"lastStatusChange": "2018-06-13T20:31:07.0968711Z",
"resourceType": "SQLDatabase",
"isOptional": false
},
{
"name": "Scm",
"status": "success",
"error": "",
"lastUpdated": "2018-06-13T22:41:29.4358865Z",
"lastStatusChange": "2018-06-13T20:41:09.8627827Z"
"lastStatusChange": "2018-06-13T20:41:09.8627827Z",
"resourceType": "SourceControl",
"isOptional": true
}
]
}
Expand Down

0 comments on commit ce56492

Please sign in to comment.