{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new Site WAN.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/magic_identifier"},"site_id":{"$ref":"#/definitions/magic_identifier"}},"required":["account_id","site_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/magic_wans_add_single_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"magic_identifier":{"description":"Identifier","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"magic_wans_add_single_request":{"type":"object","properties":{"health_check_rate":{"description":"Magic WAN health check rate for tunnels created on this link. The default value is `mid`.","type":"string","default":"mid","enum":["low","mid","high"],"examples":["low"]},"load_balance_inner_flows":{"type":"boolean","default":true},"name":{"type":"string"},"physport":{"$ref":"#/definitions/magic_port"},"priority":{"type":"integer"},"provisioned_download_kbps":{"description":"Provisioned download rate of the WAN circuit in kilobits per second.","type":"integer","maximum":1000000000,"minimum":1,"examples":[500]},"provisioned_upload_kbps":{"description":"Provisioned upload rate of the WAN circuit in kilobits per second.","type":"integer","maximum":1000000000,"minimum":1,"examples":[100]},"static_addressing":{"$ref":"#/definitions/magic_wan_static_addressing_create_request"},"vlan_tag":{"$ref":"#/definitions/magic_vlan_tag"}},"required":["physport"]},"magic_port":{"type":"integer","examples":[1]},"magic_wan_static_addressing_create_request":{"description":"Static addressing configuration for a WAN. Omit to use DHCP. Submit secondary_address when the site is in high availability mode.","type":"object","properties":{"address":{"$ref":"#/definitions/magic_cidr"},"gateway_address":{"$ref":"#/definitions/magic_ip-address"},"secondary_address":{"$ref":"#/definitions/magic_cidr"},"secondary_gateway_address":{"description":"Gateway address for the secondary connector of a high availability site.","type":"string","examples":["192.0.2.1"]}},"required":["address","gateway_address"]},"magic_vlan_tag":{"description":"VLAN ID. Use zero for untagged.","type":"integer","examples":[42]},"magic_cidr":{"description":"A valid CIDR notation representing an IP range.","type":"string","examples":["192.0.2.0/24"]},"magic_ip-address":{"description":"A valid IPv4 address.","type":"string","examples":["192.0.2.1"]}}},"name":"Create a new Site WAN","id":"cloudflare.magic-site-wans-create-wan","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","site_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"physport":1}},"maxRequests":1,"summary":false}}