{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update an existing partner attachment, send a `PATCH` request to\n`/v2/partner_network_connect/attachments/{pa_id}` with a JSON object containing the\nfields to be updated.\n","properties":{"path":{"type":"object","properties":{"pa_id":{"type":"string","minimum":1,"examples":["4de7ac8b-495b-4884-9a69-1050c6793cd6"],"description":"A unique identifier for a partner attachment."}},"required":["pa_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/partner_attachment_updatable"}},"required":["path"],"additionalProperties":false,"definitions":{"partner_attachment_updatable":{"anyOf":[{"title":"Name","required":["name"],"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9\\-\\.]+$","description":"The name of the partner attachment. Must be unique and may only contain alphanumeric characters, dashes, and periods.","examples":["env.prod-partner-network-connect"]}}},{"title":"VPC IDs","type":"object","required":["vpc_ids"],"properties":{"vpc_ids":{"type":"array","items":{"type":"string"},"minItems":1,"description":"An array of VPCs IDs.","examples":[["c140286f-e6ce-4131-8b7b-df4590ce8d6a","994a2735-dc84-11e8-80bc-3cfdfea9fba1"]]}}},{"title":"BGP","type":"object","properties":{"bgp":{"type":"object","description":"BGP configurations","required":["local_router_ip","peer_router_ip","peer_router_asn","auth_key"],"properties":{"local_router_ip":{"type":"string","description":"IP of the DO router","examples":["169.254.0.1/29"]},"peer_router_ip":{"type":"string","description":"IP of the NaaS provider router","examples":["169.254.0.6/29"]},"peer_router_asn":{"type":"integer","description":"ASN of the peer router","examples":[64532]},"auth_key":{"type":"string","description":"BGP Auth Key","examples":["0xsNnb1pwQlowdoMySEfWwk4I"]}}}}}]}}},"name":"Update an existing partner attachment","id":"digitalocean.partnerattachments_patch","example":{"path":{"pa_id":"4de7ac8b-495b-4884-9a69-1050c6793cd6"}},"maxRequests":1,"summary":false}}