Delete Network Resource

Deletes the network resource.

Deletes the network resource identified by the name.

Request

Method Request URI
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkName}?api-version=2018-07-01-preview

Parameters

Name Type Required Location
subscriptionId string Yes Path
resourceGroupName string Yes Path
networkName string Yes Path
api-version string Yes Query

subscriptionId

Type: string
Required: Yes

The customer subscription identifier


resourceGroupName

Type: string
Required: Yes

Azure resource group name


networkName

Type: string
Required: Yes

The identity of the network.


api-version

Type: string
Required: Yes
Default: 2018-07-01-preview

The version of the API. This parameter is required and its value must be 2018-07-01-preview.

Responses

HTTP Status Code Description Response Schema
200 (OK) OK
204 (NoContent) No Content - the specified network was not found.
All other status codes Error
ErrorModel

Examples

NetworkDelete

This example shows how to delete an existing network resource. If the network resource exists and is deleted successfully, an empty response with 200 status code is returned. If the network resource does not exit, an empty response with 204 status code is returned.

Request

DELETE https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows?api-version=2018-07-01-preview

200 Response

Body

The response body is empty.

204 Response

Body

The response body is empty.