Return a detailed list of ports from the provided tenant_id
| port_id_list | Array of any (Port Id List) Default: "" |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
[- {
- "created_at": "2022-01-01 00:00:00",
- "description": "port description",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "ip_address": [
- {
- "ip_address": "172.20.0.2",
- "subnet_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
], - "is_admin_state_up": true,
- "is_port_security_enabled": true,
- "name": "port_name",
- "public_ip": [
- {
- "public_ip": "100.94.5.31",
- "public_ip_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
], - "security_groups": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
], - "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]Delete a port from the provided tenant_id
| port_id required | any (port_id) ID of the Port to delete |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Return a port details from the provided tenant_id
| port_id required | any (Port Id) |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "created_at": "2022-01-01 00:00:00",
- "description": "port description",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "ip_address": [
- {
- "ip_address": "172.20.0.2",
- "subnet_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
], - "is_admin_state_up": true,
- "is_port_security_enabled": true,
- "name": "port_name",
- "public_ip": [
- {
- "public_ip": "100.94.5.31",
- "public_ip_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
], - "security_groups": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
], - "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Attach a Security Group to a Port with provided port_id, security_group_id, x-tenant-id of an specific project type
| port_id required | any (port_id) ID of the Port to attach security group |
| security_group_id required | any (security_group_id) ID of the Security Group to attach |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Detach a Security Group to a Port with provided port_id, security_group_id, x-tenant-id of an specific project type
| port_id required | any (port_id) ID of the Port to detach security group |
| security_group_id required | any (security_group_id) ID of the Security Group to detach |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Return a tenant's public ip list
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "public_ips": [
- {
- "created_at": "2022-01-01 00:00:00",
- "description": "port description",
- "error": "error",
- "external_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "port_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "public_ip": "100.94.5.31",
- "status": "created",
- "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}Delete a Public IP from the provided tenant_id
| public_ip_id required | any (Public IP ID) Id of the Public IP to delete |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Return a Public IP details
| public_ip_id required | any (Public IP ID) Id of the Public IP to retrieve |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "created_at": "2022-01-01 00:00:00",
- "description": "port description",
- "error": "error",
- "external_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "port_ip": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "project_type": "project_type",
- "public_ip": "100.94.5.31",
- "status": "created",
- "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Attach a Public IP to a Port
| public_ip_id required | any (Public IP ID) Id of the Public IP to attach port to |
| port_id required | any (Port ID) Id of the Port to attach the Public IP |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Detach a Public IP to a Port
| public_ip_id required | any (Public IP ID) Id of the Public IP to detach port to |
| port_id required | any (Port ID) Id of the Port to detach the Public IP |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Delete a rule from the provided tenant_id
| rule_id required | any (Rule ID) Id of the Rule |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Return a rule details
| rule_id required | any (Rule ID) Id of the Rule |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "created_at": "2022-01-01 00:00:00",
- "description": "Some rule description",
- "direction": "egress",
- "ethertype": "IPv4",
- "external_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "port_range_max": 8028,
- "port_range_min": 8028,
- "protocol": "tcp",
- "remote_ip_prefix": "100.94.0.0/24",
- "security_group_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "status": "created"
}Returns a list of security groups for a provided tenant_id
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "security_groups": [
- {
- "created_at": "2022-01-01 00:00:00",
- "description": "security group description",
- "error": "null",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "is_default": true,
- "name": "security_group_name",
- "project_type": "default",
- "status": "created",
- "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}Create a Security Group
| validate_quota | boolean (validateQuota) Default: true Validate the quota before creating Security Group |
| wait | boolean (wait) Default: true The request will be asynchronous. The wait parameter tells the API that you want the request to simulate synchronous behavior (to maintain endpoint compatibility). You can set an approximate timeout with the waitTimeout parameter |
| wait_timeout | integer (waitTimeout) Default: 120 the approximate time in seconds you want to wait when simulating the request as synchronous (only works with wait=true) |
| skip_default_rules | boolean (Skip Default Rules) Default: false Skip creation of default security group rules |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
required | Name (string) or Name (any) (Name) |
Description (string) or Description (any) (Description) Default: "" |
{- "description": "security group description",
- "name": "security_group_name"
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Delete a security group from the provided tenant_id
| security_group_id required | any (Security Group ID) Id of the security group to delete |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Return a security group details
| security_group_id required | any (Security Group ID) Id of the security group to detail |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "created_at": "2022-01-01 00:00:00",
- "description": "security group description",
- "error": "null",
- "external_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "is_default": true,
- "name": "security_group_name",
- "ports": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
], - "project_type": "default",
- "rules": [
- {
- "created_at": "2022-01-01 00:00:00",
- "direction": "egress",
- "error": "null",
- "ethertype": "IPv4",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "port_range_max": 8028,
- "port_range_min": 8028,
- "protocol": "tcp",
- "remote_ip_prefix": "100.94.0.0/24",
- "security_group_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "status": "created"
}
], - "status": "created",
- "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Returns a list of rules for a provided security_group_id
| security_group_id required | any (Security Group ID) Id of the Security Group |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "rules": [
- {
- "created_at": "2022-01-01 00:00:00",
- "direction": "egress",
- "ethertype": "IPv4",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "port_range_max": 8028,
- "port_range_min": 8028,
- "protocol": "tcp",
- "remote_group_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "remote_ip_prefix": "100.94.0.0/24",
- "security_group_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "status": "created"
}
]
}Create a Rule async, returning its ID. To monitor the creation progress, please check the status in the service message or implement polling.Either a remote_ip_prefix or a remote_group_id can be specified.With remote_ip_prefix, all IPs that match the criteria will be allowed.With remote_group_id, only the specified security group is allowed to communicatefollowing the specified protocol, direction and port_range_min/max
| security_group_id required | any (Security Group ID) Id of the Security Group |
| validate_quota | boolean (validateQuota) Default: true Validate the quota before creating Rule |
wait (boolean) or wait (any) (wait) Default: true The request will be asynchronous. The wait parameter tells the API that you want the request to simulate synchronous behavior (to maintain endpoint compatibility). You can set an approximate timeout with the waitTimeout parameter | |
waitTimeout (integer) or waitTimeout (any) (waitTimeout) Default: 120 the approximate time in seconds you want to wait when simulating the request as synchronous (only works with wait=true) |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
| direction required | string (Direction) Direction of the rule, either ingress or egress |
Port Range Min (integer) or Port Range Min (any) (Port Range Min) | |
Port Range Max (integer) or Port Range Max (any) (Port Range Max) | |
Protocol (string) or Protocol (any) (Protocol) | |
Remote Ip Prefix (string) or Remote Ip Prefix (any) (Remote Ip Prefix) | |
| ethertype required | string (Ethertype) Ethertype of the rule, either IPv4 or IPv6 |
Description (string) or Description (any) (Description) Description of the security group rule |
{- "description": "Some rule description",
- "direction": "egress",
- "ethertype": "IPv4",
- "port_range_max": 8028,
- "port_range_min": 8028,
- "protocol": "tcp",
- "remote_ip_prefix": "100.94.0.0/24"
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Returns a list of Subnet Pools for the current tenant's project
| _offset | integer (Items Offset) >= 0 Default: 0 Start item for pagination |
| _limit | integer (Pagination) >= 1 Default: 20 Number of items per page |
| _sort | string ( Sort) Default: "created_at:desc" Examples:
Name of the field wich the list must be ordered by ending with :asc or :desc |
| _az_id | string ( Az Id) Default: "a" |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "meta": {
- "links": {
- "next": "?_offset=30&_limit=10",
- "previous": "?_offset=10&_limit=10",
- "self": "?_offset=30&_limit=10"
}, - "page": {
- "count": 10,
- "limit": 10,
- "offset": 20,
- "total": 112
}
}, - "results": [
- {
- "cidr": "172.20.0.0/16",
- "description": "subnet pool description",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "is_default": true,
- "name": "subnet_pool_name",
- "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}Create a Subnet Pool
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
| cidr | string (Cidr) Default: "172.26.0.0/16" The CIDR notation for the subnet pool. |
| name required | string (Name) The name of the subnet pool. |
| description required | string (Description) The description for the subnet pool |
| type | string (Type) ^(pip|default)$ Default: "default" The type of subnetpool, pip or default. |
{- "cidr": "172.26.0.0/16",
- "description": "some description",
- "name": "some_subnet_pool"
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Delete one Subnet Pool by ID
| subnetpool_id required | any (subnetpoolId) Id of the Subnet Pool to delete |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get details of a specific Subnet Pool
| subnetpool_id required | any (subnetpoolId) Id of the Subnet Pool to get details |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "cidr": "172.26.0.0/16",
- "created_at": "2022-01-01T00:00:00.000000Z",
- "description": "some description",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "ip_version": 4,
- "is_default": true,
- "name": "some_subnet_pool",
- "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Booking a CIDR range from a subnetpool
| subnetpool_id required | any (subnetpoolId) Id of the Subnet Pool to get details |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
Cidr (string) or Cidr (any) (Cidr) | |
Mask (integer) or Mask (any) (Mask) |
{- "cidr": "172.26.0.0/16"
}{- "cidr": "172.26.0.0/16"
}Unbooking a CIDR range from a subnetpool
| subnetpool_id required | any (subnetpoolId) Id of the Subnet Pool to get details |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
| cidr | string (Cidr) Default: "172.26.0.0/16" The CIDR notation for the subnet pool. |
{- "cidr": "172.26.0.0/16"
}{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Delete a subnet from the provided tenant_id
| subnet_id required | any (Subnet Id) Id of the Subnet to delete |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Returns a subnet details
| subnet_id required | any (Subnet Id) Id of the Subnet to detail |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "cidr_block": "172.20.0.0/24",
- "created_at": "2022-01-01 00:00:00",
- "description": "vpc description",
- "dhcp_pools": [
- {
- "end": "172.50.0.254",
- "start": "172.50.0.2"
}
], - "dns_nameservers": [
- "8.8.8.8"
], - "gateway_ip": "172.50.0.1",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "ip_version": "4",
- "name": "vpc_name",
- "subnetpool_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "zone": "a"
}Update a subnet from the provided tenant_id
| subnet_id required | any (Subnet Id) Id of the Subnet to update |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
| dns_nameservers | Array of strings <ipvanyaddress> (Dns Nameservers) [ items <ipvanyaddress > ] Default: [] |
{- "dns_nameservers": [
- "8.8.8.8"
]
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Returns a list of VPCs for a provided tenant_id
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "vpcs": [
- {
- "created_at": "2022-01-01 00:00:00",
- "description": "DESCRIPTION",
- "error": "error",
- "external_network": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "is_default": true,
- "name": "vpc_name",
- "network_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "router_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "security_groups": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
], - "status": "created",
- "subnets": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
], - "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "updated": "2022-01-01 00:00:00"
}
]
}Delete a VPC from the provided tenant_id
| vpc_id required | any (VPC Id) ID of the VPC to delete |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Return a VPC details
| vpc_id required | any (VPC Id) ID of the VPC to detail |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "created_at": "2022-01-01 00:00:00",
- "description": "DESCRIPTION",
- "error": "error",
- "external_network": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "is_default": true,
- "name": "vpc_name",
- "network_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "router_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "security_groups": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
], - "status": "created",
- "subnets": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
], - "tenant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "updated": "2022-01-01 00:00:00"
}Returns a list of ports for a provided vpc_id and x-tenant-id. The list will be paginated, it means you can easily find what you need just setting the page number(_offset) and the quantity of items per page(_limit). The level of detail can also be set
| vpc_id required | any (vpc_id) ID of VPC to list ports |
| detailed | boolean (Detailed) Default: true |
Name of the port to list (string) or Name of the port to list (any) (Name of the port to list) Filter ports results with name | |
| _offset | integer (Page Number) >= 1 Default: 1 Page Number |
| _limit | integer (Items Per Page) >= 1 Default: 10 Items Per Page |
| port_id_list | Array of any (Port Id List) Default: "" |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "ports_simplified": [
- {
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "ip_address": [
- {
- "ip_address": "172.20.0.2",
- "subnet_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}
]
}Create a Port with provided vpc_id and x-tenant-id. You can provide a list of security_groups_id or subnets
| vpc_id required | any (vpc_id) ID of the VPC to create port |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
X-Zone (string) or X-Zone (any) (X-Zone) |
| name required | string (Name) [ 5 .. 100 ] characters |
Has Pip (boolean) or Has Pip (any) (Has Pip) Default: true | |
Has Sg (boolean) or Has Sg (any) (Has Sg) Default: true | |
| subnets | Array of strings (Subnets) Default: [] |
Array of Security Groups Id (strings) or Security Groups Id (any) (Security Groups Id) Default: [] |
{- "has_pip": true,
- "has_sg": true,
- "name": "port_name",
- "security_groups_id": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
], - "subnets": [
- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
]
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Returns a list of Public IPs for a provided vpc_id
| vpc_id required | any (Vpc ID) Id of the VPC to list the Public IPs in |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "public_ips": [
- {
- "created_at": "2022-01-01 00:00:00",
- "description": "port description",
- "error": "error",
- "external_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "port_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "public_ip": "100.94.5.31",
- "status": "created",
- "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}Create async Public IP in a VPC with provided vpc_id and x_tenant_id
| vpc_id required | any (Vpc ID) Id of the VPC to create the Public IP in |
| validate_quota | boolean (validateQuota) Default: true Validate the quota before creating the Public IP |
| wait | boolean (wait) Default: true The request will be asynchronous. The wait parameter tells the API that you want the request to simulate synchronous behavior (to maintain endpoint compatibility). You can set an approximate timeout with the waitTimeout parameter |
waitTimeout (integer) or waitTimeout (any) (waitTimeout) Default: 120 the approximate time in seconds you want to wait when simulating the request as synchronous (only works with wait=true) |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
Description (string) or Description (any) (Description) Default: "" | |
Any of string (Description) Default: "" | |
{- "description": "public_ip_description"
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Returns a list of subnets for a provided vpc_id
| vpc_id required | any (Vpc Id) Id of the VPC to list Subnets |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
{- "subnets": [
- {
- "cidr_block": "172.20.0.0/24",
- "created_at": "2022-01-01 00:00:00",
- "description": "vpc description",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "ip_version": "4",
- "name": "vpc_name",
- "subnetpool_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "updated": "2022-01-01 00:00:00",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "zone": "a"
}
]
}Create a Subnet
| vpc_id required | any (Vpc Id) Id of the VPC to create Subnet |
| x-tenant-id required | any (X-Tenant-Id) Tenant id of the project |
X-Zone (string) or X-Zone (any) (X-Zone) |
| name required | string (Name) |
Description (string) or Description (any) (Description) | |
| cidr_block required | string (Cidr Block) |
| ip_version required | integer (Ip Version) |
| dns_nameservers | Array of strings <ipvanyaddress> (Dns Nameservers) [ items <ipvanyaddress > ] Default: [] |
Subnetpool Id (string) or Subnetpool Id (any) (Subnetpool Id) |
{- "name": "subnet_name",
- "description": "some_description",
- "subnetpool_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "cidr_block": "24",
- "ip_version": 4,
- "dns_nameservers": [
- "8.8.8.8"
]
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Create a new Virtual Private Cloud (VPC).
| x-tenant-id required | string (X-Tenant-Id) Tenant id of the project |
| name required | string (Name) |
Description (string) or Description (any) (Description) |
{- "description": "Description",
- "name": "VPC Name"
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "status": "pending"
}List the NAT (Network Address Translation) Gateways from a VPC.
| vpc_id required | string (Vpc Id) |
Sort (string) or Sort (any) (Sort) Default: "name:asc" | |
| page | integer (Page) >= 1 Default: 1 |
| items_per_page | integer (Items Per Page) [ 1 .. 100 ] Default: 10 |
| x-tenant-id required | string (X-Tenant-Id) Tenant id of the project |
{- "meta": {
- "links": {
- "next": "?_offset=30&_limit=10",
- "previous": "?_offset=10&_limit=10",
- "self": "?_offset=20&_limit=10"
}, - "page": {
- "count": 10,
- "limit": 10,
- "max_items_per_page": 100,
- "offset": 20,
- "total": 112
}
}, - "result": [
- {
- "created_at": "YYYY-MM-DD HH:mm:SS",
- "description": "NatGateway description",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "name": "NatGateway Name",
- "nat_gateway_ip": "127.0.0.1",
- "status": "created",
- "updated": "YYYY-MM-DD HH:mm:SS",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "zone": "zone"
}
]
}Create a new NAT (Network Address Translation) Gateway for a specified VPC and zone.
| x-tenant-id required | string (X-Tenant-Id) Tenant id of the project |
| name required | string (Name) |
Description (string) or Description (any) (Description) | |
| zone required | string (Zone) |
| vpc_id required | string (Vpc Id) |
{- "description": "Description",
- "name": "NatGateway Name",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "zone": "a"
}{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "status": "pending"
}Delete a NAT (Network Address Translation) Gateway from a VPC.
| nat_gateway_id required | string (Nat Gateway Id) |
| x-tenant-id required | string (X-Tenant-Id) Tenant id of the project |
nullDetail a NAT (Network Address Translation) Gateway from a VPC.
| nat_gateway_id required | string (Nat Gateway Id) |
| x-tenant-id required | string (X-Tenant-Id) Tenant id of the project |
{- "created_at": "YYYY-MM-DD HH:mm:SS",
- "description": "NatGateway description",
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "name": "NatGateway Name",
- "nat_gateway_ip": "127.0.0.1",
- "status": "created",
- "updated": "YYYY-MM-DD HH:mm:SS",
- "vpc_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "zone": "zone"
}