Create Security Group

Create Security Group

Create and save a SecurityGroup upon validation on SecurityGroup fields

Request
URI
POST
https:///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
AllOf
This class requires all of the following:
{
    "name": "string",
    "tenantId": "string",
    "description": "string",
    "externalId": "string",
    "id": "string",
    "extensionData": {
        "entries": [
            {
                "key": "string"
            }
        ]
    },
    "internal": "boolean",
    "ipAddressCollection": [
        "string"
    ],
    "machineIdCollection": [
        "string"
    ],
    "securityGroupTypeId": "string"
}
Responses
200

successful operation

Returns securityGroup of type(s) */*
AllOf
This class requires all of the following:
{
    "name": "string",
    "tenantId": "string",
    "description": "string",
    "externalId": "string",
    "id": "string",
    "extensionData": {
        "entries": [
            {
                "key": "string"
            }
        ]
    },
    "internal": "boolean",
    "ipAddressCollection": [
        "string"
    ],
    "machineIdCollection": [
        "string"
    ],
    "securityGroupTypeId": "string"
}

201

The security group is created.

Returns securityGroup of type(s) */*
AllOf
This class requires all of the following:
{
    "name": "string",
    "tenantId": "string",
    "description": "string",
    "externalId": "string",
    "id": "string",
    "extensionData": {
        "entries": [
            {
                "key": "string"
            }
        ]
    },
    "internal": "boolean",
    "ipAddressCollection": [
        "string"
    ],
    "machineIdCollection": [
        "string"
    ],
    "securityGroupTypeId": "string"
}