Sha256: 7f1e24f950065b36352dc0b6f8bdec72af133d6c7aaad9d8e86c0d7499df1ec4

Contents?: true

Size: 1.54 KB

Versions: 3

Compression:

Stored size: 1.54 KB

Contents

# NatgatewayUpdate

Updates information about a Ionoscloud NAT Gateway.

```text
knife ionoscloud natgateway update (options)
```

## Available options:

### Required options:

* datacenter\_id
* natgateway\_id
* ionoscloud\_username
* ionoscloud\_password

```text
    extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
        path to the additional config file

    datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
        iD of the data center (required)

    natgateway_id: --natgateway-id NATGATEWAY_ID, -G NATGATEWAY_ID
        iD of the NAT Gateway (required)

    name: --name NAME, -n NAME
        name of the NAT gateway

    ips: --ips IP[,IP,...], -i IP[,IP,...]
        collection of public IP addresses of the NAT gateway. Should be customer reserved IP addresses in that location

    lans: --lans LAN[,LAN,...]
        collection of LANs connected to the NAT gateway. IPs must contain valid subnet mask. If user will not provide any IP then system will generate an IP with /24 subnet.

    ionoscloud_username: --username USERNAME, -u USERNAME
        your Ionoscloud username (required)

    ionoscloud_password: --password PASSWORD, -p PASSWORD
        your Ionoscloud password (required)

    ionoscloud_url: --url URL
        the Ionoscloud API URL

```
## Example

```text
knife ionoscloud natgateway update --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --natgateway-id NATGATEWAY_ID --name NAME --ips IP[,IP,...] --lans LAN[,LAN,...] --username USERNAME --password PASSWORD --url URL
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
knife-ionoscloud-6.1.1 docs/subcommands/compute-engine/natgateway_update.md
knife-ionoscloud-6.1.0 docs/subcommands/compute-engine/natgateway_update.md
knife-ionoscloud-6.0.0 docs/subcommands/natgateway_update.md