Create Security Group

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
This request body class requires all of the following: networkObject , InlinesecurityGroup1
{
    "name": "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",
    "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",
    "description": "string",
    "externalId": "string",
    "id": "string",
    "extensionData": {
        "entries": [
            {
                "key": "string"
            }
        ]
    },
    "internal": false,
    "ipAddressCollection": [
        "string"
    ],
    "machineIdCollection": [
        "string"
    ],
    "securityGroupTypeId": "string"
}