diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/CheckPrivateLinkServiceVisibility.json index 3f52dca01a15..f626191e5f18 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/CheckPrivateLinkServiceVisibility.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/CheckPrivateLinkServiceVisibility.json @@ -12,6 +12,7 @@ "body": { "visible": true } - } + }, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json index cb76f5990eb6..705a3ed6b3fd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -13,6 +13,7 @@ "body": { "visible": true } - } + }, + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/privateLinkService.json index 558005087c1f..3149dd2890f5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/privateLinkService.json @@ -579,6 +579,9 @@ "$ref": "#/definitions/PrivateLinkServiceVisibility" } }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -586,6 +589,10 @@ } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Check private link service visibility": { "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" @@ -638,6 +645,9 @@ "$ref": "#/definitions/PrivateLinkServiceVisibility" } }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -645,6 +655,10 @@ } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Check private link service visibility": { "$ref": "./examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json"