Get protected resource (GET)
Updated: July 12, 2016
Returns information about a single resource.
Request
Method |
Request Uri |
---|---|
GET |
https://<endpoint>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/microsoft.Security/securitySolutions/{securitySolution}/protectedResources/{protectedResourceName}?api-version={api-version} |
Request Uri Parameters
Parameter |
Description |
---|---|
subscriptionId |
The subscription id |
resourceGroup |
The resource group of the protected resource |
securitySolution |
The name of the security solution |
protectedResourceName |
The name of the protected resource |
Api-version |
The version of the Security RP protocol used for this request |
Request Headers
Common request headers only.
Request body
None.
Response
Status code
If successful, the operation returns HTTP status code of 202 (Accepted).
Response body
{
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourceGroups/ream-dev3arm-test1/providers/Microsoft.Security/securitySolutions/ronendev3IP4991-waf /protectedResources/IaaSWebServerTier1Arm-ream-dev3arm-test1",
"name": "IaaSWebServerTier1Arm-ream-dev3arm-test1",
"type": "Microsoft.Security/securitySolutions/protectedResources",
"properties": {
"resourceAzureId": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourceGroups/ream-dev3arm-test1/providers/Microsoft.Network/publicIPAddresses/ream-dev3arm-test1",
"taskId": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourceGroups/app11/providers/Microsoft.Security/tasks/00000000-0000-0000-0000-000000000000"
}
}
See Also
Security Solutions - Protected Resources
Security Resource Provider REST API Reference