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
{
"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"
}
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
PUT
Update Security Group