Share via


Provision security solution (PUT)

 

Updated: July 12, 2016

Provisions a security solution, such as a WAF or NGFW, and configures it to send logs via Azure Security Center

Request

Method

Request Uri

PUT

https://<endpoint>/subscriptions/{id}/resourceGroups/{resourceGroup}/providers/microsoft.Security/securitySolutions/{solutionName}?api-version={api-version}

Request Uri Parameters

Parameter

Description

subscriptionId

The subscription id

resourceGroup

The name of the resource group of the security solution

solutionName

The name of the deployment of the security solution

Api-version

The version of the Security RP protocol used for this request

Request Headers

Common request headers only.

Request body

{ "properties": 
                { 
             "taskId":"/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourceGroups/app11/providers/Microsoft.Security/tasks/81153e39-6d7b-65b5-490a-611ea9635d27",
             "template:"Microsoft.Template" 
                } 
            } 

Request Body Parameters

Parameter

Description

taskId

The ID of the task that the provision was started from

templateId

The template of the gallery item of the deployment

Response

Status code

If successful, the operation returns HTTP status code of 202 (Accepted). If not, the operation returns HTTP status code of 400 (Bad request).

Response Body

                    { 
"properties": { 
 "taskId":"/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourceGroups/app11/providers/Microsoft.Security/tasks/81153e39-6d7b-65b5-490a-611ea9635d27", 
 "template":"Microsoft.Template" 
} 
} 

See Also

Security Solutions
Security Resource Provider REST API Reference