From 8ded9fae228ed5efe5f464ba5da0cd53d603639e Mon Sep 17 00:00:00 2001 From: dzeliar <99731857+dzeliar@users.noreply.github.com> Date: Thu, 22 Jun 2023 17:01:47 +0200 Subject: [PATCH] remove getSipConfiguration example and update description (#24533) --- .../communicationservicessiprouting.json | 7 +-- .../examples/GetSipConfiguration.json | 45 ------------------- .../examples/TestRoutesWithNumber.json | 2 +- 3 files changed, 3 insertions(+), 51 deletions(-) delete mode 100644 specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/examples/GetSipConfiguration.json diff --git a/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json b/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json index f1bcdf1c2d57..95fad5fe5f1a 100644 --- a/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json +++ b/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json @@ -48,9 +48,6 @@ } }, "x-ms-examples": { - "Get SIP configuration for resource": { - "$ref": "./examples/GetSipConfiguration.json" - }, "Get SIP configuration for resource with Trunk Health expand": { "$ref": "./examples/GetSipConfigurationWithExpand.json" } @@ -452,7 +449,7 @@ } }, "DomainPatch": { - "description": "Represents Domain that will be validated and used.\r\nMap key is domain.", + "description": "Represents Domain that will be used.\r\nMap key is domain.", "type": "object", "properties": { "enabled": { @@ -466,7 +463,7 @@ "type": "object", "properties": { "domains": { - "description": "Domains that will be validated and used.\r\nMap key is domain.", + "description": "Domains that will be used.\r\nMap key is domain.", "type": "object", "additionalProperties": { "$ref": "#/definitions/DomainPatch" diff --git a/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/examples/GetSipConfiguration.json b/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/examples/GetSipConfiguration.json deleted file mode 100644 index e680ca8ae5c0..000000000000 --- a/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/examples/GetSipConfiguration.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2023-04-01-preview", - "endpoint": "https://resourcename.communication.azure.com" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "domains": { - "xyz.biz": { - "enabled": true - }, - "abc.biz": { - "enabled": true - } - }, - "trunks": { - "vendor.xyz.biz": { - "sipSignalingPort": 5061, - "enabled": true - }, - "vendor.abc.biz": { - "sipSignalingPort": 5061, - "enabled": true - } - }, - "routes": [ - { - "name": "LocalRoute", - "numberPattern": "^\\+1[0-9]{10}$" - }, - { - "name": "VendorXYZ", - "description": "External route XYZ", - "numberPattern": "^\\+?\\d+$", - "trunks": [ - "vendor.xyz.biz" - ] - } - ] - } - } - } -} diff --git a/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/examples/TestRoutesWithNumber.json b/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/examples/TestRoutesWithNumber.json index 5a1fa34a201a..3da179dc2619 100644 --- a/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/examples/TestRoutesWithNumber.json +++ b/specification/communication/data-plane/SipRouting/preview/2023-04-01-preview/examples/TestRoutesWithNumber.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2023-04-01-preview", - "endpoint": "https://resourcename.communication.azure.com/", + "endpoint": "https://resourcename.communication.azure.com", "targetPhoneNumber": "+14251234567", "sipConfiguration": { "domains": {