From fd0cd024024b97a6cd1536a75da7e909669f8fa6 Mon Sep 17 00:00:00 2001 From: Samir Solanki Date: Sun, 21 Feb 2021 14:06:24 -0800 Subject: [PATCH] Api Management fixes for Additional Properties in s360 report (#12891) * missing count property * missing count property example * product description fix * inner error * updated dns changes * revert innererror change --- .../2020-06-01-preview/apimdeployment.json | 2 +- .../2020-06-01-preview/definitions.json | 57 ++++++++++++++++++- .../ApiManagementListApiDiagnostics.json | 3 +- .../ApiManagementListApiIssueAttachments.json | 1 + .../ApiManagementListApiIssueComments.json | 1 + .../examples/ApiManagementListApiIssues.json | 1 + .../ApiManagementListDiagnostics.json | 3 +- .../ApiManagementListGatewayApis.json | 1 + .../examples/ApiManagementListGateways.json | 1 + .../examples/ApiManagementListIssues.json | 1 + ...gementListNotificationRecipientEmails.json | 1 + ...agementListNotificationRecipientUsers.json | 1 + .../ApiManagementListNotifications.json | 1 + .../examples/ApiManagementListTemplates.json | 1 + .../ApiManagementListTenantAccess.json | 1 + 15 files changed, 72 insertions(+), 4 deletions(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeployment.json index cb44776bed76..60a5e13c9c3f 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeployment.json @@ -641,7 +641,7 @@ "ApiManagementService" ], "operationId": "ApiManagementService_ApplyNetworkConfigurationUpdates", - "description": "Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated network settings.", + "description": "Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated DNS changes.", "x-ms-examples": { "ApiManagementApplyNetworkConfigurationUpdates": { "$ref": "./examples/ApiManagementApplyNetworkConfigurationUpdates.json" diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/definitions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/definitions.json index 08e4b82ae9a3..078ee095719e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/definitions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/definitions.json @@ -45,6 +45,11 @@ "description": "Page values.", "readOnly": true }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any.", @@ -1989,6 +1994,11 @@ }, "description": "Page values." }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any." @@ -2141,6 +2151,11 @@ }, "description": "Page values." }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any." @@ -2686,6 +2701,11 @@ "description": "Issue Attachment values.", "readOnly": true }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any.", @@ -2741,6 +2761,11 @@ "description": "Issue values.", "readOnly": true }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any.", @@ -2759,6 +2784,11 @@ "description": "Issue Comment values.", "readOnly": true }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any.", @@ -3135,6 +3165,11 @@ }, "description": "Page values." }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any." @@ -3217,6 +3252,11 @@ }, "description": "Page values." }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any." @@ -3958,7 +3998,7 @@ "description": { "type": "string", "description": "Product description. May include HTML formatting tags.", - "minLength": 1, + "minLength": 0, "maxLength": 1000 }, "terms": { @@ -4305,6 +4345,11 @@ }, "description": "Page values." }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any." @@ -4364,6 +4409,11 @@ }, "description": "Page values." }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any." @@ -5829,6 +5879,11 @@ "description": "Page values.", "readOnly": true }, + "count": { + "type": "integer", + "format": "int64", + "description": "Total record count number across all pages." + }, "nextLink": { "type": "string", "description": "Next page link if any.", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiDiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiDiagnostics.json index 2c32c74665a7..028007adcbca 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiDiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiDiagnostics.json @@ -53,7 +53,8 @@ } } } - ] + ], + "count": 1 } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssueAttachments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssueAttachments.json index efda0253ddde..c0670782466b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssueAttachments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssueAttachments.json @@ -22,6 +22,7 @@ } } ], + "count": 1, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssueComments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssueComments.json index 996a15abe6cb..c15992001812 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssueComments.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssueComments.json @@ -22,6 +22,7 @@ } } ], + "count": 1, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssues.json index 64b2cc085949..2639fbdda7b7 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListApiIssues.json @@ -24,6 +24,7 @@ } } ], + "count": 1, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListDiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListDiagnostics.json index b0a623a0bc7f..eb1d458bd917 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListDiagnostics.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListDiagnostics.json @@ -66,7 +66,8 @@ } } } - ] + ], + "count": 1 } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListGatewayApis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListGatewayApis.json index e94db2a0ea4d..e479e07d618b 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListGatewayApis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListGatewayApis.json @@ -27,6 +27,7 @@ } } ], + "count": 1, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListGateways.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListGateways.json index 94ab4066e519..4d8df6be65c3 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListGateways.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListGateways.json @@ -32,6 +32,7 @@ } } ], + "count": 2, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListIssues.json index 77f71015014f..a02bd7865702 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListIssues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListIssues.json @@ -23,6 +23,7 @@ } } ], + "count": 1, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json index 25bb6a21d20f..ac96a6745ef0 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json @@ -35,6 +35,7 @@ } } ], + "count": 3, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json index 77906dafa840..be7bcc1a7b8e 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json @@ -19,6 +19,7 @@ } } ], + "count": 1, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotifications.json index 45f47aa91f26..cefc35df02c1 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotifications.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListNotifications.json @@ -119,6 +119,7 @@ } } ], + "count": 7, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListTemplates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListTemplates.json index 138810fa541d..921d42036e89 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListTemplates.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListTemplates.json @@ -48,6 +48,7 @@ } } ], + "count": 1, "nextLink": "" } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListTenantAccess.json index e581fa5fa72d..e1c8ec4645ee 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListTenantAccess.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListTenantAccess.json @@ -18,6 +18,7 @@ } } ], + "count": 1, "nextLink": "" } }