Service Fabric Delete
Deletes a Service Fabric application resource.
Delete a Service Fabric application resource with the specified name.
Request
Method | Request URI |
---|---|
DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}?api-version=2017-07-01-preview |
Parameters
Name | Type | Required | Location |
---|---|---|---|
subscriptionId | string | Yes | Path |
resourceGroupName | string | Yes | Path |
clusterName | string | Yes | Path |
applicationName | string | Yes | Path |
api-version | string | Yes | Query |
subscriptionId
Type: string
Required: Yes
The customer subscription identifier.
resourceGroupName
Type: string
Required: Yes
The name of the resource group.
clusterName
Type: string
Required: Yes
The name of the cluster resource.
applicationName
Type: string
Required: Yes
The name of the application resource.
api-version
Type: string
Required: Yes
Default: 2017-07-01-preview
The version of the Service Fabric resource provider API. This is a required parameter and it's value must be "2017-07-01-preview" for this specification.
Responses
HTTP Status Code | Description | Response Schema |
---|---|---|
202 (Accepted) | The request was accepted and the operation will complete asynchronously. |
|
204 (NoContent) | The resource was not found. |
|
All other status codes | The detailed error response. |
ErrorModel |
Examples
Delete an application
Request
DELETE https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp?api-version=2017-07-01-preview
202 Response
Headers
Retry-After: 10
Location: http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2017-07-01-preview
Body
The response body is empty.