Console API
  1. Security group
Console API
  • User
    • User Info
      GET
  • Tenant / Regions
    • Get Regions & Tenant info
      GET
    • Get Tenant Info
      GET
  • VPC
    • Get VPC List
      GET
    • Rename VPC
      PUT
  • Images
    • Get images
      GET
  • Flavors
    • Get flavors
      GET
  • Storage Policy
    • List
      GET
  • Instances
    • List
      GET
    • Detail
      GET
    • Security Group
      GET
    • Create instance
      POST
    • Power off
      POST
    • Reboot
      POST
    • Power on
      POST
    • Terminate
      POST
    • Resize
      POST
    • Lock Termination
      POST
    • Rename
      POST
    • Manage tag
      POST
  • Subnet
    • List
    • Create
    • Rename
    • Delete
    • Manage tags
  • Security group
    • Security Group List
      GET
    • Security Group Detail
      GET
    • Rule Types
      GET
    • Create Security Group
      POST
    • Create Rule
      POST
    • Apply to private ip
      POST
    • Delete Rule
      POST
    • Delete security group
      DELETE
    • Manage tag
      POST
  • Floating IP
    • List
    • Allocate
    • Connect to instance
    • Disconnect
    • Release
    • Manage tag
  • Activity Logs
    • List
  • Tags
    • Lists
  • Iam
    • Add user to user group
    • Get all user groups
    • Create user group
    • Update user group
    • Get roles
    • Get user vpcs
  • Billing
    • Bill
      • Get bills by date
      • Get Bills by paging
      • Bill Info
      • Bill service types
  • Project
    • Get projects
  • S3
    • Get bucket policy
    • List buckets
    • Get s3 service enabled
  1. Security group

Security Group Detail

Developing
GET
/api/v1/vmware/vpc/{vpc_id}security-group/{security_group_id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
vpc_id
string 
required
security_group_id
string 
required
Header Params
OrgId
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/vmware/vpc/security-group/' \
--header 'OrgId;'

Responses

🟢200Success
application/json
Body
item
object 
required
id
string 
required
firewall_group_id
string 
required
edge_gateway_id
string 
required
name
string 
required
display_name
string 
required
type
string 
required
created_at
string 
required
status
string 
required
ip_addresses
string 
required
rules
array [object {3}] 
required
rules
array [object {13}] 
required
source_firewall
object 
required
source_ips
array[string]
required
source_any
array[string]
required
id
string 
required
action
string 
required
enabled
boolean 
required
name
string 
required
description
string 
required
created_at
string 
required
port
null 
required
status
string 
required
sources
null 
required
firewall_rule_id
string 
required
ip_address_list
array [object {3}] 
required
ip_address
string 
required
vm_name
string 
required
status
string 
required
firewall_info
object 
required
rule_count
integer 
required
ip_address_count
integer 
required
Example
{
    "item": {
        "id": "56be9054-69a4-47e4-be72-16ab58acb1d0",
        "firewall_group_id": "a4fcaa451cbb4ed3a8e1ff7e923f6390",
        "edge_gateway_id": "fb410b57180a45c0ba02e240088ceec7",
        "name": "default",
        "display_name": "Default security group",
        "type": "IP_SET",
        "created_at": "2024-01-02T13:57:22",
        "status": "REALIZED",
        "ip_addresses": "[\"10.155.194.147\", \"10.155.194.147\", \"10.155.194.223\", \"10.155.194.44\"]",
        "rules": [
            {
                "id": "9f5f9cf3-c4d6-4db6-a1cf-1f920ff7f8b7",
                "action": "ALLOW",
                "enabled": true
            },
            {
                "id": "c5b13d56-57fe-435e-981e-cfbc85e94dad",
                "action": "ALLOW",
                "enabled": true
            }
        ]
    },
    "rules": [
        {
            "source_firewall": {
                "name": "default",
                "ip_addresses": [
                    "10.155.194.147",
                    "10.155.194.147",
                    "10.155.194.223",
                    "10.155.194.44"
                ]
            },
            "source_ips": [],
            "source_any": [],
            "id": "9f5f9cf3-c4d6-4db6-a1cf-1f920ff7f8b7",
            "action": "ALLOW",
            "enabled": true,
            "name": "6d54d92a-b583-4cef-a3b7-8098bcbb548e",
            "description": "",
            "created_at": "2024-01-02T13:57:26",
            "port": null,
            "status": "REALIZED",
            "sources": null,
            "firewall_rule_id": "6d54d92ab5834cefa3b78098bcbb548e"
        },
        {
            "source_firewall": {
                "name": "default",
                "ip_addresses": [
                    "10.155.194.147",
                    "10.155.194.147",
                    "10.155.194.223",
                    "10.155.194.44"
                ]
            },
            "source_ips": [],
            "source_any": [],
            "id": "c5b13d56-57fe-435e-981e-cfbc85e94dad",
            "action": "ALLOW",
            "enabled": true,
            "name": "df411138-8ab2-43ba-9229-3c899cdce096",
            "description": "",
            "created_at": "2024-01-02T13:57:26",
            "port": null,
            "status": "REALIZED",
            "sources": null,
            "firewall_rule_id": "df4111388ab243ba92293c899cdce096"
        }
    ],
    "ip_address_list": [
        {
            "ip_address": "10.155.194.44",
            "vm_name": "vm-24010294556",
            "status": "SUCCESS"
        },
        {
            "ip_address": "10.155.194.223",
            "vm_name": "vm-24010294556",
            "status": "SUCCESS"
        },
        {
            "ip_address": "10.155.194.147",
            "vm_name": "vm-24011025449-202411",
            "status": "SUCCESS"
        }
    ],
    "firewall_info": {
        "rule_count": 2,
        "ip_address_count": 3
    }
}
Modified at 2024-01-22 10:33:01
Previous
Security Group List
Next
Rule Types
Built with