Create Security Policy
Create and save a SecurityPolicy upon validation on SecurityPolicy fields
Request
URI
POST
https://{api_host}/iaas-proxy-provider/api/services/{serviceId}/network/security-policies
COPY
Path Parameters
string
serviceId
Required
The ID of the IaaS service as registered in the Component Registry service.
Request Body
The security policy object.
securityPolicy of type(s) application/json
Required
{
"name": "string",
"description": "string",
"externalId": "string",
"id": "string",
"extensionData": {
"entries": [
{
"key": "string"
}
]
},
"internal": false,
"securityPolicyTypeId": "string"
}
Responses
200
successful operation
Returns securityPolicy of type(s) */*
This response body class contains all of the following: networkObject , InlinesecurityPolicy1
{
"name": "string",
"description": "string",
"externalId": "string",
"id": "string",
"extensionData": {
"entries": [
{
"key": "string"
}
]
},
"internal": false,
"securityPolicyTypeId": "string"
}
201
The security policy is created.
Returns securityPolicy of type(s) */*
This response body class contains all of the following: networkObject , InlinesecurityPolicy1
{
"name": "string",
"description": "string",
"externalId": "string",
"id": "string",
"extensionData": {
"entries": [
{
"key": "string"
}
]
},
"internal": false,
"securityPolicyTypeId": "string"
}