Create Security Policy Type
Create a security policy type
Request
URI
POST
https://{api_host}/network-service//api/security-policies/types
COPY
Request Body
Security policy type object
SecurityPolicyType
of type(s)
application/json
Required
{
"schema": [
{
"schema": {
"fields": [
{
"permissibleValues": {
"customAllowed": false
},
"displayAdvice": "string",
"columns": [
"Field Object"
],
"dataType": {
"typeId": "string"
},
"isMultiValued": false,
"description": "string",
"orderIndex": 0,
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
}
}
]
},
"lastUpdated": "string",
"schemaClassId": "string",
"createdDate": "string",
"id": "string",
"version": 0
}
],
"lastUpdated": "string",
"createdDate": "string",
"name": "string",
"serviceTypeId": "string",
"description": "string",
"id": "string",
"version": 0,
"allocationRelatedResourceTypes": [
"string"
]
}
string As date-time
As date-time
lastUpdated
Optional
lastUpdated
string As date-time
As date-time
createdDate
Optional
createdDate
string
name
Optional
name
string
serviceTypeId
Optional
serviceTypeId
string
description
Optional
description
string
id
Optional
id
integer As int64
As int64
version
Optional
version
array of
string
allocationRelatedResourceTypes
Optional
allocationRelatedResourceTypes
Responses
200
successful operation
Returns
SecurityPolicyType
of type(s)
*/*
{
"schema": [
{
"schema": {
"fields": [
{
"permissibleValues": {
"customAllowed": false
},
"displayAdvice": "string",
"columns": [
"Field Object"
],
"dataType": {
"typeId": "string"
},
"isMultiValued": false,
"description": "string",
"orderIndex": 0,
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
}
}
]
},
"lastUpdated": "string",
"schemaClassId": "string",
"createdDate": "string",
"id": "string",
"version": 0
}
],
"lastUpdated": "string",
"createdDate": "string",
"name": "string",
"serviceTypeId": "string",
"description": "string",
"id": "string",
"version": 0,
"allocationRelatedResourceTypes": [
"string"
]
}
string As date-time
As date-time
lastUpdated
Optional
lastUpdated
string As date-time
As date-time
createdDate
Optional
createdDate
string
name
Optional
name
string
serviceTypeId
Optional
serviceTypeId
string
description
Optional
description
string
id
Optional
id
integer As int64
As int64
version
Optional
version
array of
string
allocationRelatedResourceTypes
Optional
allocationRelatedResourceTypes
201
Security policy type created successfully
Returns
SecurityPolicyType
of type(s)
*/*
{
"schema": [
{
"schema": {
"fields": [
{
"permissibleValues": {
"customAllowed": false
},
"displayAdvice": "string",
"columns": [
"Field Object"
],
"dataType": {
"typeId": "string"
},
"isMultiValued": false,
"description": "string",
"orderIndex": 0,
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
}
}
]
},
"lastUpdated": "string",
"schemaClassId": "string",
"createdDate": "string",
"id": "string",
"version": 0
}
],
"lastUpdated": "string",
"createdDate": "string",
"name": "string",
"serviceTypeId": "string",
"description": "string",
"id": "string",
"version": 0,
"allocationRelatedResourceTypes": [
"string"
]
}
string As date-time
As date-time
lastUpdated
Optional
lastUpdated
string As date-time
As date-time
createdDate
Optional
createdDate
string
name
Optional
name
string
serviceTypeId
Optional
serviceTypeId
string
description
Optional
description
string
id
Optional
id
integer As int64
As int64
version
Optional
version
array of
string
allocationRelatedResourceTypes
Optional
allocationRelatedResourceTypes
Network Component Type Operations
POST
Create Load Balancer Type
POST
Create Network Type
PUT
Create Or Update Network Type
POST
Create Security Group Type
POST
Create Security Policy Type
POST
Create Security Tag Type
DELETE
Delete Load Balancer Type
DELETE
Delete Network Type
DELETE
Delete Security Group Type
DELETE
Delete Security Policy Type
DELETE
Delete Security Tag Type
GET
Get Load Balancer Type
GET
Get Network Type
GET
Get Security Group Type
GET
Get Security Policy Type
GET
Get Security Tag Type
GET
List Load Balancer Types
GET
List Network Types
GET
List Security Group Types
GET
List Security Policy Type
GET
List Security Tag Type
PUT
Update Or Create Load Balancer Type
PUT
Update Or Create Security Group Type
PUT
Update Or Create Security Policy Type
PUT
Update Or Create Security Tag Type