update_tier1_gateway
Partially update a Tier-1 gateway, change its Tier-0 connection or enable route advertisement without affecting other settings.
Instructions
[WRITE] Partially update an existing Tier-1 gateway via PATCH.
Only the fields you pass change; omitted fields keep their current values. Use get_tier1_gateway first to inspect current config. Typical uses: relink the gateway to a different Tier-0, or enable route advertisement on a gateway created without it. Re-applying identical values is harmless. Returns the updated gateway dict; on failure returns {"error", "hint"}. Recorded in the audit log (~/.vmware/audit.db).
Args: tier1_id: Tier-1 gateway ID to update, as returned by list_tier1_gateways. display_name: New display name. Optional. tier0_path: New parent Tier-0 policy path, e.g. "/infra/tier-0s/". Optional. route_advertisement: Comma-separated advertisement types. Valid values: TIER1_CONNECTED, TIER1_STATIC_ROUTES, TIER1_NAT, TIER1_LB_VIP, TIER1_LB_SNAT, TIER1_DNS_FORWARDER_IP, TIER1_IPSEC_LOCAL_ENDPOINT. target: NSX Manager name from config.yaml. Uses the default target if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| tier1_id | Yes | ||
| tier0_path | No | ||
| display_name | No | ||
| route_advertisement | No |