Create Security Group
Create and save a SecurityGroup upon validation on SecurityGroup fields
Request
URI
POST
https://{api_host}/iaas-proxy-provider/api/services/{serviceId}/network/security-groups
COPY
Path Parameters
string
serviceId
Required
The ID of the IaaS service as registered in the Component Registry service.
Request Body
The SecurityGroup to be created and saved.
securityGroup of type(s) application/json
Required
{
"name": "string",
"tenantId": "string",
"description": "string",
"externalId": "string",
"id": "string",
"extensionData": {
"entries": [
{
"key": "string"
}
]
},
"internal": false,
"ipAddressCollection": [
"string"
],
"machineIdCollection": [
"string"
],
"securityGroupTypeId": "string"
}
Responses
200
successful operation
Returns securityGroup of type(s) */*
This response body class contains all of the following: networkObject , InlinesecurityGroup1
{
"name": "string",
"tenantId": "string",
"description": "string",
"externalId": "string",
"id": "string",
"extensionData": {
"entries": [
{
"key": "string"
}
]
},
"internal": false,
"ipAddressCollection": [
"string"
],
"machineIdCollection": [
"string"
],
"securityGroupTypeId": "string"
}
201
The security group is created.
Returns securityGroup of type(s) */*
This response body class contains all of the following: networkObject , InlinesecurityGroup1
{
"name": "string",
"tenantId": "string",
"description": "string",
"externalId": "string",
"id": "string",
"extensionData": {
"entries": [
{
"key": "string"
}
]
},
"internal": false,
"ipAddressCollection": [
"string"
],
"machineIdCollection": [
"string"
],
"securityGroupTypeId": "string"
}
On This Page
Security Operations
POST
Allocate Security Group
POST
Assign Machines To Security Group
POST
Assign Security Polices To Security Group
POST
Create Security Group
POST
Deallocate Component
DELETE
Delete Security Group
POST
Get Security Group Allocation Constraint
GET
Get Security Group Policy
GET
List Security Group
GET
List Security Group For Tenant
PUT
Update Security Group