Update Security Group

Update Security Group

Updates an existing managed SecurityGroup upon validation on SecurityGroup fields.Returns the updated SecurityGroup or RestEntity which wraps the newly created SecurityGroup.

Request
URI
PUT
https://{api_host}/iaas-proxy-provider/api/services/{serviceId}/network/security-groups/{id}
COPY
Path Parameters
string
serviceId
Required

The ID of the IaaS service as registered in the Component Registry service.

string
id
Required

the id of the SecurityGroup to be updated


Request Body

the SecurityGroup to be updated

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

The security group is updated.

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"
}