From 8120ecc20935e39a4cd8228ebea5c9dafb2f1eee Mon Sep 17 00:00:00 2001 From: Samir Solanki Date: Tue, 24 Nov 2020 15:10:38 -0800 Subject: [PATCH] update examples --- .../apimdeletedservices.json | 6 +- .../ApiManagementServiceGetNetworkStatus.json | 113 +++++++++++------- ...mentServiceGetNetworkStatusByLocation.json | 112 +++++++++++++---- 3 files changed, 165 insertions(+), 66 deletions(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeletedservices.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeletedservices.json index 4a9f7b9f3a3f..bc575d423508 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeletedservices.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeletedservices.json @@ -42,7 +42,7 @@ "operationId": "DeletedServices_ListBySubscription", "description": "Lists all soft-deleted services available for undelete for the given subscription.", "x-ms-examples": { - "ApiManagementListRegions": { + "ApiManagementDeletedServicesListBySubscription": { "$ref": "./examples/ApiManagementDeletedServicesListBySubscription.json" } }, @@ -81,7 +81,7 @@ "operationId": "DeletedServices_GetByName", "description": "Get soft-deleted Api Management Service by name.", "x-ms-examples": { - "ApiManagementListRegions": { + "ApiManagementGetDeletedServiceByName": { "$ref": "./examples/ApiManagementGetDeletedServiceByName.json" } }, @@ -125,7 +125,7 @@ "operationId": "DeletedServices_Purge", "description": "Purges Api Management Service (deletes it with no option to undelete).", "x-ms-examples": { - "ApiManagementListRegions": { + "ApiManagementDeletedServicesPurge": { "$ref": "./examples/ApiManagementDeletedServicesPurge.json" } }, diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementServiceGetNetworkStatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementServiceGetNetworkStatus.json index af76a259d10e..ae56b27b6049 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementServiceGetNetworkStatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementServiceGetNetworkStatus.json @@ -9,110 +9,137 @@ "200": { "body": [ { - "location": "West Europe", + "location": "West US", "networkStatus": { "dnsServers": [ - "100.78.90.70" + "10.82.98.10" ], "connectivityStatus": [ { - "name": "apimgmtsttgzqxxxxxcrsc.blob.core.windows.net", + "name": "apimgmtst6xxxxxxxxxxx.blob.core.windows.net", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:43.6997938Z", - "lastStatusChange": "2019-01-24T21:47:53.851895Z", + "lastUpdated": "2020-11-24T22:55:14.7035899Z", + "lastStatusChange": "2020-11-20T07:54:55.9365931Z", "resourceType": "BlobStorage", "isOptional": false }, { - "name": "apimgmtsttgzqxxxxxcrsc.file.core.windows.net", + "name": "apimgmtst6xxxxxxxxxxx.file.core.windows.net", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:44.0439771Z", - "lastStatusChange": "2019-05-02T21:22:50.6835366Z", + "lastUpdated": "2020-11-24T22:55:41.5322463Z", + "lastStatusChange": "2020-11-20T07:54:55.9265938Z", "resourceType": "FileStorage", "isOptional": true }, { - "name": "apimgmtsttgzqxxxxxcrsc.queue.core.windows.net", + "name": "apimgmtst6xxxxxxxxxxx.queue.core.windows.net", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:44.8564232Z", - "lastStatusChange": "2019-05-02T20:53:26.6260794Z", + "lastUpdated": "2020-11-24T22:55:30.645994Z", + "lastStatusChange": "2020-11-20T07:54:55.8410477Z", "resourceType": "Queue", "isOptional": true }, { - "name": "apimgmtsttgzqxxxxxcrsc.table.core.windows.net", + "name": "apimgmtst6xxxxxxxxxxx.table.core.windows.net", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:44.0439771Z", - "lastStatusChange": "2019-05-02T20:53:21.6729263Z", + "lastUpdated": "2020-11-24T22:55:23.8789171Z", + "lastStatusChange": "2020-11-20T07:54:55.9365931Z", "resourceType": "TableStorage", - "isOptional": true + "isOptional": false }, { - "name": "ftmrcxxx.database.windows.net", + "name": "gcs.prod.monitoring.core.windows.net", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:44.1845483Z", - "lastStatusChange": "2019-05-02T21:02:00.9466899Z", - "resourceType": "SQLDatabase", - "isOptional": false + "lastUpdated": "2020-11-24T22:57:34.8666833Z", + "lastStatusChange": "2020-11-20T08:07:37.5486932Z", + "resourceType": "Monitoring", + "isOptional": true }, { - "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", - "resourceType": "Metrics", - "isOptional": false + "name": "https://gcs.ppe.warm.ingestion.monitoring.azure.com", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:56:26.1870188Z", + "lastStatusChange": "2020-11-20T07:54:56.1060523Z", + "resourceType": "Monitoring", + "isOptional": true }, { - "name": "https://westeurope.prod.warm.ingestion.msftcloudes.com", + "name": "https://global.metrics.nsatc.net/", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:43.8251399Z", - "lastStatusChange": "2019-12-18T11:14:43.3860126Z", + "lastUpdated": "2020-11-24T22:56:35.9620612Z", + "lastStatusChange": "2020-11-20T07:54:56.0510519Z", "resourceType": "Monitoring", "isOptional": true }, + { + "name": "https://login.windows.net", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:56:30.8047708Z", + "lastStatusChange": "2020-11-20T07:54:56.1060523Z", + "resourceType": "AzureActiveDirectory", + "isOptional": true + }, + { + "name": "https://prod2.metrics.nsatc.net:1886/RecoveryService", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:56:45.2095302Z", + "lastStatusChange": "2020-11-20T07:54:56.2796235Z", + "resourceType": "Metrics", + "isOptional": true + }, { "name": "LocalGatewayRedis", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:50.6376685Z", - "lastStatusChange": "2019-12-18T11:14:44.4966742Z", + "lastUpdated": "2020-11-24T22:55:15.1345836Z", + "lastStatusChange": "2020-11-20T07:54:55.9365931Z", "resourceType": "InternalCache", - "isOptional": false + "isOptional": true }, { "name": "prod.warmpath.msftcloudes.com", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:44.4345454Z", - "lastStatusChange": "2019-05-08T00:09:58.031766Z", + "lastUpdated": "2020-11-24T22:55:57.8992141Z", + "lastStatusChange": "2020-11-20T07:54:55.8410477Z", "resourceType": "Monitoring", - "isOptional": true + "isOptional": false }, { "name": "Scm", "status": "success", "error": "", - "lastUpdated": "2019-12-18T12:04:58.4815899Z", - "lastStatusChange": "2019-12-18T11:24:48.4795085Z", + "lastUpdated": "2020-11-24T23:01:24.0553684Z", + "lastStatusChange": "2019-07-20T02:25:48.7066996Z", "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", + "name": "smtpi-ch1.msn.com:25028", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:58:22.2430074Z", + "lastStatusChange": "2020-11-20T07:54:56.3510577Z", "resourceType": "Email", "isOptional": true + }, + { + "name": "zwcvuxxxx.database.windows.net", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:55:44.3582171Z", + "lastStatusChange": "2020-11-20T07:54:56.0410467Z", + "resourceType": "SQLDatabase", + "isOptional": false } ] } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json index ef8f5ba53087..2ec629c41b07 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json @@ -10,62 +10,134 @@ "200": { "body": { "dnsServers": [ - "100.78.90.70" + "10.82.98.10" ], "connectivityStatus": [ { - "name": "apimgmtst6mtxxxxxxxx.blob.core.windows.net", + "name": "apimgmtst6tnxxxxxxxxxxx.blob.core.windows.net", "status": "success", "error": "", - "lastUpdated": "2018-06-13T22:41:07.3844516Z", - "lastStatusChange": "2018-06-13T20:31:06.6590782Z", + "lastUpdated": "2020-11-24T22:55:14.7035899Z", + "lastStatusChange": "2020-11-20T07:54:55.9365931Z", "resourceType": "BlobStorage", "isOptional": false }, { - "name": "apimgmtst6mtxxxxxxxx.file.core.windows.net", + "name": "apimgmtst6tnxxxxxxxxxxx.file.core.windows.net", "status": "success", "error": "", - "lastUpdated": "2018-06-13T22:41:08.6657305Z", - "lastStatusChange": "2018-06-13T20:31:06.8934611Z", + "lastUpdated": "2020-11-24T22:55:41.5322463Z", + "lastStatusChange": "2020-11-20T07:54:55.9265938Z", "resourceType": "FileStorage", "isOptional": true }, { - "name": "apimgmtst6mtxxxxxxxx.table.core.windows.net", + "name": "apimgmtst6tnxxxxxxxxxxx.queue.core.windows.net", "status": "success", "error": "", - "lastUpdated": "2018-06-13T22:41:08.7594708Z", - "lastStatusChange": "2018-06-13T20:31:06.7529128Z", + "lastUpdated": "2020-11-24T22:55:30.645994Z", + "lastStatusChange": "2020-11-20T07:54:55.8410477Z", + "resourceType": "Queue", + "isOptional": true + }, + { + "name": "apimgmtst6tnxxxxxxxxxxx.table.core.windows.net", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:55:23.8789171Z", + "lastStatusChange": "2020-11-20T07:54:55.9365931Z", "resourceType": "TableStorage", + "isOptional": false + }, + { + "name": "gcs.prod.monitoring.core.windows.net", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:57:34.8666833Z", + "lastStatusChange": "2020-11-20T08:07:37.5486932Z", + "resourceType": "Monitoring", + "isOptional": true + }, + { + "name": "https://gcs.ppe.warm.ingestion.monitoring.azure.com", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:56:26.1870188Z", + "lastStatusChange": "2020-11-20T07:54:56.1060523Z", + "resourceType": "Monitoring", + "isOptional": true + }, + { + "name": "https://global.metrics.nsatc.net/", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:56:35.9620612Z", + "lastStatusChange": "2020-11-20T07:54:56.0510519Z", + "resourceType": "Monitoring", + "isOptional": true + }, + { + "name": "https://login.windows.net", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:56:30.8047708Z", + "lastStatusChange": "2020-11-20T07:54:56.1060523Z", + "resourceType": "AzureActiveDirectory", "isOptional": true }, { - "name": "https://prod3.metrics.nsatc.net:1886/RecoveryService", + "name": "https://prod2.metrics.nsatc.net:1886/RecoveryService", "status": "success", "error": "", - "lastUpdated": "2018-06-13T22:41:08.6969746Z", - "lastStatusChange": "2018-06-13T20:31:07.1125257Z", + "lastUpdated": "2020-11-24T22:56:45.2095302Z", + "lastStatusChange": "2020-11-20T07:54:56.2796235Z", "resourceType": "Metrics", - "isOptional": false + "isOptional": true }, { - "name": "n20fxxx.database.windows.net", + "name": "LocalGatewayRedis", "status": "success", "error": "", - "lastUpdated": "2018-06-13T22:41:09.5094848Z", - "lastStatusChange": "2018-06-13T20:31:07.0968711Z", - "resourceType": "SQLDatabase", + "lastUpdated": "2020-11-24T22:55:15.1345836Z", + "lastStatusChange": "2020-11-20T07:54:55.9365931Z", + "resourceType": "InternalCache", + "isOptional": true + }, + { + "name": "prod.warmpath.msftcloudes.com", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:55:57.8992141Z", + "lastStatusChange": "2020-11-20T07:54:55.8410477Z", + "resourceType": "Monitoring", "isOptional": false }, { "name": "Scm", "status": "success", "error": "", - "lastUpdated": "2018-06-13T22:41:29.4358865Z", - "lastStatusChange": "2018-06-13T20:41:09.8627827Z", + "lastUpdated": "2020-11-24T23:03:57.6187917Z", + "lastStatusChange": "2020-11-20T07:54:57.325384Z", "resourceType": "SourceControl", "isOptional": true + }, + { + "name": "smtpi-xxx.msn.com:25028", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:58:22.2430074Z", + "lastStatusChange": "2020-11-20T07:54:56.3510577Z", + "resourceType": "Email", + "isOptional": true + }, + { + "name": "zwcvuxxxx.database.windows.net", + "status": "success", + "error": "", + "lastUpdated": "2020-11-24T22:55:44.3582171Z", + "lastStatusChange": "2020-11-20T07:54:56.0410467Z", + "resourceType": "SQLDatabase", + "isOptional": false } ] }