Console API
  1. Instances
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
      GET
    • Create
      POST
    • Rename
      PUT
    • Delete
      DELETE
    • Manage tags
      POST
  • Security group
    • Security Group List
    • Security Group Detail
    • Rule Types
    • Create Security Group
    • Create Rule
    • Apply to private ip
    • Delete Rule
    • Delete security group
    • Manage tag
  • 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. Instances

Security Group

Developing
GET
/api/v1/vmware/vpc/{vpc_id}/compute/instance/{instance_id}/security-group

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
instance_id
string 
required
Query Params
page
string 
required
Example:
1
page_size
string 
required
Example:
25
Header Params
Authorization
string 
required
Example:
Bearer xxxxx
OrgId
string 
required
Example:
cd37c4a6-4103-469d-a3c7-a183fe212345
Pragma
string 
required
Example:
no-cache
Sec-GPC
string 
required
Example:
1

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//compute/instance//security-group?page=1&page_size=25' \
--header 'Authorization: Bearer xxxxx' \
--header 'OrgId: cd37c4a6-4103-469d-a3c7-a183fe212345' \
--header 'Pragma: no-cache' \
--header 'Sec-GPC: 1'

Responses

🟢200Success
application/json
Body
data
array [object {7}] 
required
id
string 
optional
name
string 
optional
display_name
string 
optional
created_at
string 
optional
edge_gateway
null 
optional
is_vdc_group
boolean 
optional
status
string 
optional
total
integer 
required
Example
{
    "data": [
        {
            "id": "0b604a4d-647f-432d-8736-ddf7de2b4dee",
            "name": "mm-x3ybvpcm",
            "display_name": "SSH_VP_HAN",
            "created_at": "2021-11-08T13:12:04",
            "edge_gateway": null,
            "is_vdc_group": true,
            "status": "REALIZED"
        }
    ],
    "total": 1
}
Modified at 22 days ago
Previous
Detail
Next
Create instance
Built with