Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions docs/reference/replicated-cli-network-update.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# replicated network update

Update network settings.

### Synopsis

The 'update' command allows you to update various settings of a test network.

You can either specify the network ID directly or provide the network name, and the command will resolve the corresponding network ID.

Network Policies are currently a beta feature, and network reporting is currently an alpha feature.

```
replicated network update [ID_OR_NAME] [flags]
```

### Examples

```
# Update a network using its ID
replicated network update <network-id> --policy airgap

# Update a network using its name
replicated network update <network-name> --policy airgap

# Update using --id or --name flags
replicated network update --id <network-id> --policy airgap
replicated network update --name <network-name> --policy airgap

# Enable report collection on a network
replicated network update <network-id> --collect-report

# Disable report collection on a network
replicated network update <network-id> --collect-report=false

# Update both policy and report collection on a network
replicated network update <network-id> --policy airgap --collect-report
```

### Options

```
-h, --help help for update
--id string id of the network to update (when name is not provided)
--name string Name of the network to update.
--output string The output format to use. One of: json|table|wide (default "table")
--policy string Update network policy setting
```

### Options inherited from parent commands

```
--app string The app slug or app id to use in all calls
--debug Enable debug output
--token string The API token to use to access your app in the Vendor API
```

### SEE ALSO

* [replicated network](replicated-cli-network) - Manage test networks for VMs and Clusters

1 change: 1 addition & 0 deletions docs/reference/replicated-cli-network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ replicated network ls

* [replicated](replicated) - Manage your Commercial Software Distribution Lifecycle using Replicated
* [replicated network ls](replicated-cli-network-ls) - List test networks
* [replicated network update](replicated-cli-network-update) - Update network settings.

1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ const sidebars = {
'reference/replicated-cli-logout',
'reference/replicated-cli-network',
'reference/replicated-cli-network-ls',
'reference/replicated-cli-network-update',
'reference/replicated-cli-registry',
'reference/replicated-cli-registry-add',
'reference/replicated-cli-registry-add-dockerhub',
Expand Down