1.1
1.1
scpcli vpc nat-gateway create
--subnet_id <value>
--publicip_id <value>
[--description <value>]
[--tags <value>]
Description
Create NAT Gateway.
State ACTIVE (CURRENT)
| Version | Supported Until |
|---|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| subnet_id required | string | Subnet CIDR | - |
| publicip_id required | string | PublicIP ID | - |
| description optional | string | NAT Gateway Description | - |
| tags optional | array | Tag List | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|---|---|
| id | NAT Gateway ID | |
| account_id | Account ID | |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | NAT Gateway Description | |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| name | NAT Gateway Name | |
| nat_gateway_ip_address | NAT Gateway IP Address | |
| publicip_id | PublicIP ID | |
| state | NAT Gateway State | |
| subnet_cidr | Subnet Cidr | |
| subnet_id | Subnet Id | |
| subnet_name | Subnet Name | |
| vpc_id | VPC Id | |
| vpc_name | VPC Name |