{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To create a VPC, send a POST request to `/v2/vpcs` specifying the attributes\nin the table below in the JSON body.\n\n**Note:** If you do not currently have a VPC network in a specific datacenter\nregion, the first one that you create will be set as the default for that\nregion. The default VPC for a region cannot be changed or deleted.\n","properties":{"body":{"type":"object","allOf":[{"$ref":"#/definitions/vpc_updatable"},{"$ref":"#/definitions/vpc_create"}],"required":["name","region"]}},"required":["body"],"additionalProperties":false,"definitions":{"vpc_updatable":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9\\-\\.]+$","description":"The name of the VPC. Must be unique and may only contain alphanumeric characters, dashes, and periods.","examples":["env.prod-vpc"]},"description":{"type":"string","maxLength":255,"description":"A free-form text field for describing the VPC's purpose. It may be a maximum of 255 characters.","examples":["VPC for production environment"]}}},"vpc_create":{"type":"object","properties":{"region":{"type":"string","description":"The slug identifier for the region where the VPC will be created.","examples":["nyc1"]},"ip_range":{"type":"string","description":"The range of IP addresses in the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be smaller than `/28` nor larger than `/16`. If no IP range is specified, a `/20` network range is generated that won't conflict with other VPC networks in your account.","examples":["10.10.10.0/24"]}}}}},"name":"Create a New VPC","id":"digitalocean.vpcs_create","example":{"body":{"name":"example","region":"nyc1"}},"maxRequests":1,"summary":false}}