Update Security Policy
Updates an existing managed SecurityPolicy upon validation on SecurityPolicy fields.Returns the updated SecurityPolicy or RestEntity which wraps the newly created SecurityPolicy.
Request
URI
PUT
https://{api_host}/iaas-proxy-provider/api/services/{serviceId}/network/security-policies/{id}
COPY
Path Parameters
string
serviceId
Required
The ID of the IaaS service as registered in the Component Registry service.
string
id
Required
the id of the SecurityPolicy to be updated
Request Body
the SecurityPolicy to be updated
securityPolicy of type(s) application/json
Required
{
"internal": false,
"name": "string",
"tenantId": "string",
"securityPolicyTypeId": "string",
"description": "string",
"externalId": "string",
"id": "string",
"extensionData": {
"entries": [
{
"key": "string"
}
]
}
}
boolean
internal
Optional
internal
string
name
Optional
name
string
tenantId
Optional
tenantId
string
securityPolicyTypeId
Optional
securityPolicyTypeId
string
description
Optional
description
string
externalId
Optional
externalId
string
id
Optional
id
Responses
200
The security policy is updated.
Returns securityPolicy of type(s) */*
{
"internal": false,
"name": "string",
"tenantId": "string",
"securityPolicyTypeId": "string",
"description": "string",
"externalId": "string",
"id": "string",
"extensionData": {
"entries": [
{
"key": "string"
}
]
}
}
boolean
internal
Optional
internal
string
name
Optional
name
string
tenantId
Optional
tenantId
string
securityPolicyTypeId
Optional
securityPolicyTypeId
string
description
Optional
description
string
externalId
Optional
externalId
string
id
Optional
id