Console API
  1. Floating IP
Console API
  • User
    • User Info
      GET
    • Ssh keys
      GET
  • Tenant / Regions
    • Get Regions & Tenant info
      GET
    • Get Tenant Info
      GET
  • VPC
    • Get VPC List
      GET
    • Rename VPC
      PUT
    • Create VPC
      POST
  • 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
    • Security Group Detail
    • Rule Types
    • Create Security Group
    • Create Rule
    • Apply to private ip
    • Delete Rule
    • Delete security group
    • Manage tag
  • Floating IP
    • List
      GET
    • Allocate
      POST
    • Connect to instance
      POST
    • Disconnect
      POST
    • Release
      POST
    • Manage tag
      POST
  • 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
    • Create Project
    • Detail Project
  • S3
    • Get bucket policy
    • List buckets
    • Get s3 service enabled
  • IP Access
    • API Portal Access Log
  • Metal Cloud
    • Bare Metal Servers
      • List all servers
      • Get server details
      • Get server console URL
      • Create server
      • Rename a server (Portal name)
      • Power on a server
      • Power off a server
      • Delete a server
    • Subnets
      • Get available subnets
      • Create a subnet
      • List all subnets
      • Delete a subnet
      • Update a subnet
    • Network ACLs
      • Retrieve the list of Network ACLs for a VPC
      • Get details of a specific Network ACL
      • Update a Network ACL
      • Update firewall rules for a firewall policy
      • List all firewall policies of a Network ACL
    • images
      • List images
      • List custom images
      • Register a new image
      • Get presigned upload URLs
      • Complete image upload
      • Delete an image
      • Sync an image
    • server_package
      • Get list server types. This part will be represent all server type that user can deploy We using server type name as the rule of selecting server on maas System ex. In maas we have serveral server names (H100.1, H100.2, H100.3, H100.4, H100.5, H100.6, H10
  1. Floating IP

Connect to instance

Developing
POST
/api/v1/vmware/vpc/{vpc_id}/floating-ips/associate

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Example
{
    "floating_ip": "2032a38c-ab23-4899-9a55-435d8de5bd41",
    "instance_id": "ca5c5fbb-d1f8-4982-8ceb-8e9860f5da70",
    "type": "VM",
    "floating_ip_port": "all",
    "application_port": "{\"protocol\":\"TCP\",\"port\":\"all\",\"destination_ports\":\"NaN\"}",
    "tag_ids": [
        "15c108c5-57fa-4a70-ab98-1d3a5cd6fabe"
    ]
}

Request Code 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 POST '/api/v1/vmware/vpc//floating-ips/associate' \
--header 'OrgId;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "floating_ip": "2032a38c-ab23-4899-9a55-435d8de5bd41",
    "instance_id": "ca5c5fbb-d1f8-4982-8ceb-8e9860f5da70",
    "type": "VM",
    "floating_ip_port": "all",
    "application_port": "{\"protocol\":\"TCP\",\"port\":\"all\",\"destination_ports\":\"NaN\"}",
    "tag_ids": [
        "15c108c5-57fa-4a70-ab98-1d3a5cd6fabe"
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2024-05-24 07:02:54
Previous
Allocate
Next
Disconnect
Built with