Assign Machines To Security Group
Add a list of machines to a security group
Request
URI
POST
https://{api_host}/iaas-proxy-provider/api/services/{serviceId}/network/security-groups/{id}/machines
COPY
Path Parameters
string
serviceId
Required
The ID of the IaaS service as registered in the component registry service.
string
id
Required
The id that identifies the Security Group to add machine(s) to.
Request Body
The list of external virtualMachineIds to be assigned to the security group. The collection of virtualMachineIds is interpreted by the network and security platform.For example, for NSX-v, this would be a collection of vSphere morefs and for NSX-T this is a collection of vSphere machine UUIDs
Array of string of type(s) application/json
Optional
[
{}
]
Responses
201
The machines are successfully assigned to the security group.
Operation doesn't return any data structure
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