Remove Network Security Group from Network Interface
The Remove Network Security Group from Network Interface operation removes the association of Network Security Group from the selected Network Interface.
Request
The Remove Network Security Group from Network Interface request is specified as follows. Replace <subscription-id> with your subscription ID, <cloudservice-name> with the name of the cloud service, <deployment-name> with the name of the deployment, <role-name> with the name of the Virtual Machine, <network-interface-name> with the name of the network interface on which association will be removed, and <network-security-group-name> with name of the Network Security Group.
Method |
Request URI |
---|---|
DELETE |
https://management.core.windows.net/<subscription-id>/services/ hostedservices/<cloudservice-name>/deployments/<deployment-name>/roles/<role-name>/networkinterfaces/<network-interface-name>/networksecuritygroups /<network-security-group-name> |
URI Parameters
None.
Request Headers
The following table describes the request headers.
Request Header |
Description |
---|---|
x-ms-version |
Required. Specifies the version of the operation to use for this request. The value of this header must be set to 2015-04-01 or higher. |
Request Body
None.
Response
The response includes an HTTP status code, a set of response headers, and a response body.
Status Code
A successful operation returns status code 202 (Accepted).
Response Headers
The response for this operation includes the following headers. The response may also include additional standard HTTP headers.
Response Header |
Description |
---|---|
x-ms-request-id |
A value that uniquely identifies a request made against the management service. |
Response Body
None.