{ "components": { "parameters": { "v1FieldFilter": { "description": "Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details.", "in": "query", "name": "filter", "schema": { "type": "string" } }, "v1LabelSelector": { "description": "Filter resources by labels.", "in": "query", "name": "label_selector", "schema": { "type": "string" } }, "v1NetworkAreaID": { "description": "The identifier (ID) of a STACKIT Network Area.", "in": "path", "name": "areaId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v1NetworkID": { "description": "The identifier (ID) of a STACKIT Network.", "in": "path", "name": "networkId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v1NetworkRangeID": { "description": "The identifier (ID) of a STACKIT Network Range.", "in": "path", "name": "networkRangeId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v1OrganizationID": { "description": "The identifier (ID) of a STACKIT Organization.", "in": "path", "name": "organizationId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v1ProjectID": { "description": "The identifier (ID) of a STACKIT Project.", "in": "path", "name": "projectId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v1Region": { "description": "The STACKIT Region of the resources.", "in": "path", "name": "region", "required": true, "schema": { "$ref": "#/components/schemas/v1RegionName" } }, "v1RouteID": { "description": "The identifier (ID) of a STACKIT Route.", "in": "path", "name": "routeId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v1VPCID": { "description": "The unique identifier (ID) of the target STACKIT VPC in the request path.", "in": "path", "name": "vpcId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v1VolumeID": { "description": "The identifier (ID) of a STACKIT Volume.", "in": "path", "name": "volumeId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v2EffectiveRoute": { "description": "Return only effective routes.", "in": "query", "name": "effective", "schema": { "default": false, "example": true, "type": "boolean" } }, "v2PrefixListID": { "description": "The identifier (ID) of a STACKIT Prefix List.", "in": "path", "name": "prefixListId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } }, "v2RoutingTableID": { "description": "The identifier (ID) of a STACKIT Routing Table.", "in": "path", "name": "routingTableId", "required": true, "schema": { "$ref": "#/components/schemas/v1UUID" } } }, "responses": { "BadRequest": { "content": { "application/json": { "examples": { "InvalidAffinityGroupPolicy": { "value": { "code": 400, "msg": "The affinity group policy is not supported" } }, "InvalidBootDeviceSize": { "value": { "code": 400, "msg": "boot device size is not valid or missing" } }, "InvalidMachineType": { "value": { "code": 400, "msg": "machine type is not valid" } }, "InvalidParameter": { "value": { "code": 400, "msg": "request body has an error: doesn't match schema: Error at \"/name\": value must be a string" } }, "InvalidPublicKey": { "value": { "code": 400, "msg": "invalid pubkey" } }, "InvalidUUID": { "value": { "code": 400, "msg": "invalid uuid" } } }, "schema": { "$ref": "#/components/schemas/v1Error" } } }, "description": "A bad request." }, "Conflict": { "content": { "application/json": { "example": { "code": 409, "msg": "Conflict" }, "schema": { "$ref": "#/components/schemas/v1Error" } } }, "description": "A conflict has occurred." }, "FailedDependency": { "content": { "application/json": { "example": { "code": 424, "msg": "region not enabled" }, "schema": { "$ref": "#/components/schemas/v1Error" } } }, "description": "The region of the vpc is not enabled." }, "Forbidden": { "content": { "application/json": { "example": { "code": 403, "msg": "Forbidden" }, "schema": { "$ref": "#/components/schemas/v1Error" } } }, "description": "A request which was forbidden." }, "InternalServerError": { "content": { "application/json": { "example": { "code": 500, "msg": "internal server error" }, "schema": { "$ref": "#/components/schemas/v1Error" } } }, "description": "Internal Server Error, returns a 500 if something is broken on IaaS API Side." }, "NotFound": { "content": { "application/json": { "examples": { "AreaNotFound": { "value": { "code": 404, "msg": "area not found" } }, "KeypairNotFound": { "value": { "code": 404, "msg": "keypair not found" } }, "NetworkNotFound": { "value": { "code": 404, "msg": "network not found" } }, "NetworkRangeNotFound": { "value": { "code": 404, "msg": "network range not found" } }, "OrganizationNotFound": { "value": { "code": 404, "msg": "organization not found" } }, "ProjectNotFound": { "value": { "code": 404, "msg": "project not found" } }, "RequestNotFound": { "value": { "code": 404, "msg": "request not found" } }, "RouteNotFound": { "value": { "code": 404, "msg": "route not found" } } }, "schema": { "$ref": "#/components/schemas/v1Error" } } }, "description": "The object was not found." }, "Unauthorized": { "content": { "application/json": { "example": { "code": 401, "msg": "Unauthorized" }, "schema": { "$ref": "#/components/schemas/v1Error" } } }, "description": "A request which was not authorized." }, "UpdateAccepted": { "description": "An update was accepted." } }, "schemas": { "v1CIDR": { "description": "Classless Inter-Domain Routing (CIDR).", "example": "192.168.0.0/24", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\/(3[0-2]|2[0-9]|1[0-9]|[0-9]))$|^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(\\/((1(1[0-9]|2[0-8]))|([0-9][0-9])|([0-9])))?$", "type": "string" }, "v1CIDRv6": { "description": "Classless Inter-Domain Routing (CIDR) for IPv6.", "example": "2001:0db8:85a3:0800::/56", "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(\\/((1(1[0-9]|2[0-8]))|([0-9][0-9])|([0-9])))?$", "type": "string" }, "v1CreatedAt": { "description": "Date-time when resource was created.", "example": "2017-07-21T17:32:28Z", "format": "date-time", "type": "string" }, "v1DHCP": { "description": "Enable or disable DHCP for a network.", "example": true, "type": "boolean" }, "v1Description": { "description": "Description Object. Allows string up to 255 Characters.", "example": "cool description dude. Wanna play some Snakeybus?", "maxLength": 255, "type": "string" }, "v1DynamicRoutes": { "default": true, "description": "A config setting for a routing table which allows propagation of dynamic routes to this routing table.", "type": "boolean" }, "v1Error": { "description": "Error with HTTP error code and an error message.", "properties": { "code": { "example": 404, "format": "int64", "type": "integer", "x-stackit-logging": true }, "msg": { "$ref": "#/components/schemas/v1ErrorMessage" } }, "required": [ "code", "msg" ], "type": "object" }, "v1ErrorMessage": { "description": "An error message.", "example": "Project not found", "type": "string" }, "v1GenericName": { "description": "The name for a General Object. Matches Names and also UUIDs.", "example": "objectName26", "maxLength": 127, "pattern": "^[A-Za-z0-9]+([ /._-]*[A-Za-z0-9]+)*$", "type": "string" }, "v1IPv6": { "description": "String that represents an IPv6 address.", "example": "2001:db8:0:8d3:0:8a2e:70:7344", "pattern": "^\\s*((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$", "type": "string" }, "v1Labels": { "description": "Object that represents the labels as key-value pairs of a resource.\nKey constraints: - May contain an optional domain prefix separated by a slash (`/`). - Domain prefix must be less than or equal to 250 characters. - Domain prefix must ba a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - Length (excluding the domain prefix) must be between 1 and 63 characters. - Must begin and end with an alphanumerical character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use.\nValue constraints: - Must be less than or equal to 63 characters long (can be empty). - If not empty it must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between.\nA resource can have a maximum of 64 labels. Reserved labels are excluded from this count. Providing a `null` value for a key will remove that key.", "example": { "key": "value" }, "format": "json", "type": "object" }, "v1NetworkRangeDefaultPrefixLengthIPv4": { "description": "The default prefix length for network ranges in the VPC.", "example": 25, "format": "int64", "maximum": 29, "minimum": 24, "type": "integer" }, "v1NetworkRangeMaxPrefixLengthIPv4": { "description": "The maximal prefix length for network ranges in the VPC.", "example": 29, "format": "int64", "maximum": 29, "minimum": 24, "type": "integer" }, "v1NetworkRangeMinPrefixLengthIPv4": { "description": "The minimal prefix length for network ranges in the VPC.", "example": 24, "format": "int64", "maximum": 29, "minimum": 8, "type": "integer" }, "v1NetworkRangePrefixLengthIPv6": { "description": "The ipv6 prefix lengths for subnets or network ranges in the VPC.", "example": 64, "format": "int64", "maximum": 128, "minimum": 0, "type": "integer" }, "v1RegionName": { "description": "Name of the region.", "example": "eu01", "type": "string" }, "v1RegionalVPC": { "description": "The basic properties of a regional VPC.", "properties": { "ipv4": { "$ref": "#/components/schemas/v1RegionalVPCIPv4" }, "status": { "allOf": [ { "$ref": "#/components/schemas/v1ResourceState" } ], "readOnly": true } }, "required": [ "status" ], "type": "object" }, "v1RegionalVPCIPv4": { "description": "The regional IPv4 config of a VPC.", "properties": { "defaultNameservers": { "items": { "$ref": "#/components/schemas/v2IPv4" }, "maxItems": 3, "type": "array", "x-stackit-logging": true } }, "required": [ "defaultNameservers" ], "type": "object" }, "v1RegionalVPCListResponse": { "description": "Regional VPC list response.", "properties": { "regions": { "additionalProperties": { "$ref": "#/components/schemas/v1RegionalVPC" }, "example": { "eu01": { "ipv4": { "defaultNameservers": [ "10.1.1.10" ] }, "status": "CREATED" }, "eu02": { "ipv4": { "defaultNameservers": [ "10.1.2.10" ] }, "status": "CREATED" } }, "maxProperties": 100, "type": "object", "x-stackit-logging": true } }, "required": [ "regions" ], "type": "object" }, "v1ResourceState": { "description": "The state of a resource object.\nPossible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.", "example": "CREATING", "type": "string" }, "v1Routed": { "description": "Shows if the network is routed and therefore accessible from other networks.", "example": true, "type": "boolean" }, "v1SystemRoutes": { "default": true, "description": "A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.", "type": "boolean" }, "v1UUID": { "description": "Universally Unique Identifier (UUID).", "example": "d61a8564-c8dd-4ffb-bc15-143e7d0c85ed", "format": "uuid", "maxLength": 36, "minLength": 36, "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", "type": "string" }, "v1UpdateDynamicRoutes": { "description": "The update config setting for a routing table which allows propagation of dynamic routes to this routing table.", "type": "boolean" }, "v1UpdateSystemRoutes": { "description": "The update config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.", "type": "boolean" }, "v1UpdateVPCNetworkRangeIPv4": { "description": "Contains the IPv4 properties of a VPC network range update.", "properties": { "defaultPrefixLen": { "$ref": "#/components/schemas/v1NetworkRangeDefaultPrefixLengthIPv4" }, "description": { "$ref": "#/components/schemas/v1Description" }, "ipVersion": { "description": "The IP version of the network range being updated.", "enum": [ "ipv4" ], "type": "string", "x-stackit-logging": true }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "maxPrefixLen": { "$ref": "#/components/schemas/v1NetworkRangeMaxPrefixLengthIPv4" }, "minPrefixLen": { "$ref": "#/components/schemas/v1NetworkRangeMinPrefixLengthIPv4" }, "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv4" } }, "required": [ "ipVersion" ], "type": "object" }, "v1UpdateVPCNetworkRangeRequest": { "description": "Object that represents the request body for a VPC network range update.", "discriminator": { "mapping": { "ipv4": "#/components/schemas/v1UpdateVPCNetworkRangeIPv4" }, "propertyName": "ipVersion" }, "oneOf": [ { "$ref": "#/components/schemas/v1UpdateVPCNetworkRangeIPv4" } ], "type": "object" }, "v1UpdatedAt": { "description": "Date-time when resource was last updated.", "example": "2017-07-21T17:32:28Z", "format": "date-time", "type": "string" }, "v1VPC": { "description": "Object that represents a VPC. Filterable Fields: `name`.", "properties": { "createdAt": { "$ref": "#/components/schemas/v1CreatedAt" }, "description": { "$ref": "#/components/schemas/v1Description" }, "id": { "$ref": "#/components/schemas/v1UUID" }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "allOf": [ { "$ref": "#/components/schemas/v1GenericName" } ], "x-oapi-codegen-extra-tags": { "expr": "name" } }, "projectId": { "$ref": "#/components/schemas/v1UUID" }, "updatedAt": { "$ref": "#/components/schemas/v1UpdatedAt" } }, "required": [ "id", "projectId", "createdAt", "updatedAt", "name", "description", "labels" ], "type": "object" }, "v1VPCCreate": { "description": "Object that represents a create VPC request.", "properties": { "description": { "$ref": "#/components/schemas/v1Description" }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "$ref": "#/components/schemas/v1GenericName" } }, "required": [ "name" ], "type": "object" }, "v1VPCList": { "description": "A list of VPCs.", "items": { "$ref": "#/components/schemas/v1VPC" }, "type": "array" }, "v1VPCListResponse": { "description": "VPC list response.", "properties": { "items": { "$ref": "#/components/schemas/v1VPCList" } }, "required": [ "items" ], "type": "object" }, "v1VPCUpdate": { "description": "Object that represents a update VPC request.", "properties": { "description": { "$ref": "#/components/schemas/v1Description" }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "$ref": "#/components/schemas/v1GenericName" } }, "type": "object" }, "v2AllRouteList": { "description": "A list of all routes.", "items": { "$ref": "#/components/schemas/v2AnyRoute" }, "type": "array" }, "v2AllRouteListResponse": { "description": "All routes list response.", "properties": { "items": { "$ref": "#/components/schemas/v2AllRouteList" } }, "required": [ "items" ], "type": "object" }, "v2AnyRoute": { "description": "Object that represents route of any type.", "discriminator": { "mapping": { "dynamic": "#/components/schemas/v2AnyRouteDynamic", "service": "#/components/schemas/v2AnyRouteService", "static": "#/components/schemas/v2AnyRouteStatic", "system": "#/components/schemas/v2AnyRouteSystem" }, "propertyName": "type" }, "oneOf": [ { "$ref": "#/components/schemas/v2AnyRouteStatic" }, { "$ref": "#/components/schemas/v2AnyRouteDynamic" }, { "$ref": "#/components/schemas/v2AnyRouteSystem" }, { "$ref": "#/components/schemas/v2AnyRouteService" } ], "type": "object" }, "v2AnyRouteBase": { "description": "Object that represents common route properties. Filterable Fields: `type`.", "properties": { "destination": { "$ref": "#/components/schemas/v2RouteDestination" }, "type": { "allOf": [ { "$ref": "#/components/schemas/v2RouteType" } ], "x-oapi-codegen-extra-tags": { "expr": "type" } } }, "required": [ "destination", "type" ], "type": "object" }, "v2AnyRouteDynamic": { "allOf": [ { "$ref": "#/components/schemas/v2AnyRouteBase" }, { "properties": { "source": { "$ref": "#/components/schemas/v2AnyRouteSource" } }, "type": "object" } ], "description": "Object representing route of type dynamic." }, "v2AnyRouteService": { "allOf": [ { "$ref": "#/components/schemas/v2AnyRouteBase" }, { "properties": { "source": { "$ref": "#/components/schemas/v2AnyRouteSource" } }, "type": "object" } ], "description": "Object representing route of type service." }, "v2AnyRouteSource": { "description": "Object that represents the source information for any route.", "properties": { "id": { "anyOf": [ { "$ref": "#/components/schemas/v1UUID" }, { "$ref": "#/components/schemas/v1GenericName" } ], "description": "The identifier of the source that created this route." }, "type": { "description": "The origin of the route.", "type": "string", "x-stackit-logging": true } }, "required": [ "type" ], "type": "object" }, "v2AnyRouteStatic": { "allOf": [ { "$ref": "#/components/schemas/v2AnyRouteBase" }, { "properties": { "createdAt": { "allOf": [ { "$ref": "#/components/schemas/v1CreatedAt" } ], "readOnly": true }, "error": { "description": "Displays an error message with the reason why the route is invalid. Invalid routes are not applied and therefore not considered in the routing. A route can become invalid on creation and during its life-cycle.", "type": "string" }, "id": { "$ref": "#/components/schemas/v1UUID" }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "nexthop": { "$ref": "#/components/schemas/v2StaticRouteNexthop" }, "updatedAt": { "allOf": [ { "$ref": "#/components/schemas/v1UpdatedAt" } ], "readOnly": true } }, "required": [ "id", "nexthop", "createdAt" ], "type": "object" } ], "description": "Object that represents route of type static." }, "v2AnyRouteSystem": { "allOf": [ { "$ref": "#/components/schemas/v2AnyRouteBase" } ], "description": "Object representing route of type system." }, "v2CIDRv4": { "description": "IPv4 Classless Inter-Domain Routing (CIDR).", "example": "192.168.0.0/24", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\/(3[0-2]|2[0-9]|1[0-9]|[0-9]))$", "type": "string" }, "v2CreateNetwork": { "description": "Object that represents the request body for a network create.", "properties": { "description": { "$ref": "#/components/schemas/v1Description" }, "dhcp": { "allOf": [ { "$ref": "#/components/schemas/v1DHCP" } ], "default": true }, "ipv4": { "$ref": "#/components/schemas/v2CreateNetworkIPv4" }, "ipv6": { "$ref": "#/components/schemas/v2CreateNetworkIPv6" }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "$ref": "#/components/schemas/v1GenericName" }, "routed": { "$ref": "#/components/schemas/v1Routed" }, "routingTableId": { "$ref": "#/components/schemas/v1UUID" }, "vpcId": { "allOf": [ { "$ref": "#/components/schemas/v1UUID" } ], "description": "The identifier (ID) of a STACKIT VPC." } }, "required": [ "name" ], "type": "object" }, "v2CreateNetworkIPv4": { "description": "The create request for an IPv4 network.", "oneOf": [ { "$ref": "#/components/schemas/v2CreateNetworkIPv4WithPrefix" }, { "$ref": "#/components/schemas/v2CreateNetworkIPv4WithPrefixLength" } ], "type": "object" }, "v2CreateNetworkIPv4WithPrefix": { "description": "The create request for an IPv4 network with a specified prefix.", "properties": { "gateway": { "$ref": "#/components/schemas/v2NetworkGatewayIPv4" }, "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv4" }, "prefix": { "allOf": [ { "$ref": "#/components/schemas/v2CIDRv4" } ], "x-oapi-codegen-extra-tags": { "validate": "required" } }, "vpcNetworkRangeId": { "$ref": "#/components/schemas/v1UUID" } }, "required": [ "prefix" ], "type": "object" }, "v2CreateNetworkIPv4WithPrefixLength": { "description": "The create request for an IPv4 network with a wanted prefix length.", "properties": { "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv4" }, "prefixLength": { "example": 24, "format": "int64", "maximum": 29, "minimum": 8, "type": "integer", "x-oapi-codegen-extra-tags": { "validate": "required" }, "x-stackit-logging": true }, "vpcNetworkRangeId": { "$ref": "#/components/schemas/v1UUID" } }, "required": [ "prefixLength" ], "type": "object" }, "v2CreateNetworkIPv6": { "description": "The create request for an IPv6 network.", "oneOf": [ { "$ref": "#/components/schemas/v2CreateNetworkIPv6WithPrefix" }, { "$ref": "#/components/schemas/v2CreateNetworkIPv6WithPrefixLength" } ], "type": "object" }, "v2CreateNetworkIPv6WithPrefix": { "description": "The create request for an IPv6 network with a specified prefix.", "properties": { "gateway": { "$ref": "#/components/schemas/v2NetworkGatewayIPv6" }, "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv6" }, "prefix": { "$ref": "#/components/schemas/v1CIDRv6" }, "vpcNetworkRangeId": { "$ref": "#/components/schemas/v1UUID" } }, "required": [ "prefix" ], "type": "object" }, "v2CreateNetworkIPv6WithPrefixLength": { "description": "The create request for an IPv6 network with a wanted prefix length.", "properties": { "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv6" }, "prefixLength": { "example": 64, "format": "int64", "maximum": 128, "minimum": 56, "type": "integer", "x-stackit-logging": true }, "vpcNetworkRangeId": { "$ref": "#/components/schemas/v1UUID" } }, "required": [ "prefixLength" ], "type": "object" }, "v2CreateRoutes": { "description": "Object represents a request to add network routes.", "properties": { "items": { "$ref": "#/components/schemas/v2RouteList" } }, "required": [ "items" ], "type": "object" }, "v2IPv4": { "description": "String that represents an IPv4 address.", "example": "10.1.2.10", "pattern": "^\\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\\s*$", "type": "string" }, "v2NameserversIPv4": { "description": "A list containing DNS Servers/Nameservers for IPv4.", "example": [ "10.20.30.40", "50.60.70.80" ], "items": { "$ref": "#/components/schemas/v2IPv4" }, "maxItems": 3, "type": "array" }, "v2NameserversIPv6": { "description": "A list containing DNS Servers/Nameservers for IPv6.", "example": [ "2001:4860:4860::8888", "2001:4860:4860::8844" ], "items": { "$ref": "#/components/schemas/v1IPv6" }, "maxItems": 3, "type": "array" }, "v2Network": { "description": "Object that represents a network. If no routing table is specified, the default routing table is used.", "properties": { "createdAt": { "allOf": [ { "$ref": "#/components/schemas/v1CreatedAt" } ], "readOnly": true }, "description": { "$ref": "#/components/schemas/v1Description" }, "dhcp": { "$ref": "#/components/schemas/v1DHCP" }, "id": { "$ref": "#/components/schemas/v1UUID" }, "ipv4": { "$ref": "#/components/schemas/v2NetworkIPv4" }, "ipv6": { "$ref": "#/components/schemas/v2NetworkIPv6" }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "example": "My network", "type": "string", "x-stackit-logging": true }, "routed": { "$ref": "#/components/schemas/v1Routed" }, "routingTableId": { "$ref": "#/components/schemas/v1UUID" }, "status": { "$ref": "#/components/schemas/v1ResourceState" }, "updatedAt": { "allOf": [ { "$ref": "#/components/schemas/v1UpdatedAt" } ], "readOnly": true }, "vpcId": { "allOf": [ { "$ref": "#/components/schemas/v1UUID" } ], "description": "The identifier (ID) of a STACKIT VPC." } }, "required": [ "id", "name", "status" ], "type": "object" }, "v2NetworkGatewayIPv4": { "description": "The IPv4 gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.", "example": "10.1.2.1", "nullable": true, "pattern": "^\\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\\s*$", "type": "string" }, "v2NetworkGatewayIPv6": { "description": "The IPv6 gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.", "example": "2001:db8:0:8d3:0:8a2e:70:1", "nullable": true, "pattern": "^\\s*((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$", "type": "string" }, "v2NetworkIPv4": { "description": "Object that represents the IPv4 part of a network.", "properties": { "gateway": { "$ref": "#/components/schemas/v2NetworkGatewayIPv4" }, "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv4" }, "prefixes": { "example": [ "10.10.0.0/16" ], "items": { "$ref": "#/components/schemas/v2CIDRv4" }, "type": "array", "x-stackit-logging": true }, "publicIp": { "allOf": [ { "$ref": "#/components/schemas/v2IPv4" } ], "readOnly": true }, "vpcNetworkRangeId": { "$ref": "#/components/schemas/v1UUID" } }, "required": [ "prefixes" ], "type": "object" }, "v2NetworkIPv6": { "description": "Object that represents the IPv6 part of a network.", "properties": { "gateway": { "$ref": "#/components/schemas/v2NetworkGatewayIPv6" }, "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv6" }, "prefixes": { "example": [ "2001:4860:4860::/64" ], "items": { "$ref": "#/components/schemas/v1CIDRv6" }, "type": "array", "x-stackit-logging": true }, "vpcNetworkRangeId": { "$ref": "#/components/schemas/v1UUID" } }, "required": [ "prefixes" ], "type": "object" }, "v2NetworkList": { "description": "A list of networks.", "items": { "$ref": "#/components/schemas/v2Network" }, "type": "array" }, "v2NetworkListResponse": { "description": "Network list response.", "properties": { "items": { "$ref": "#/components/schemas/v2NetworkList" } }, "required": [ "items" ], "type": "object" }, "v2PrefixList": { "description": "Object that represents a prefix list.", "properties": { "createdAt": { "allOf": [ { "$ref": "#/components/schemas/v1CreatedAt" } ], "readOnly": true }, "description": { "$ref": "#/components/schemas/v1Description" }, "ethertype": { "description": "The IP version of this prefix list.\nPossible values: `ipv4`, `ipv6`.", "example": "ipv4", "type": "string", "x-extensible-enum": [ "ipv4", "ipv6" ], "x-stackit-logging": true }, "id": { "allOf": [ { "$ref": "#/components/schemas/v1UUID" } ], "readOnly": true }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "maxEntries": { "description": "Maximum number of entries this prefix list can hold.", "example": 128, "format": "int", "maximum": 65535, "minimum": 1, "type": "integer", "x-stackit-logging": true }, "name": { "$ref": "#/components/schemas/v1GenericName" }, "type": { "default": "custom", "description": "Indicates the type of prefix list. Managed prefix lists are created by the provider and cannot be modified or deleted by users.\nPossible values: `custom`, `managed`.", "example": "custom", "readOnly": true, "type": "string", "x-extensible-enum": [ "custom", "managed" ], "x-stackit-logging": true }, "updatedAt": { "allOf": [ { "$ref": "#/components/schemas/v1UpdatedAt" } ], "readOnly": true } }, "required": [ "id", "name", "ethertype", "maxEntries" ], "type": "object" }, "v2PrefixListList": { "description": "A list of prefix lists.", "items": { "$ref": "#/components/schemas/v2PrefixList" }, "type": "array" }, "v2PrefixListListResponse": { "description": "Prefix list response.", "properties": { "items": { "$ref": "#/components/schemas/v2PrefixListList" } }, "required": [ "items" ], "type": "object" }, "v2Route": { "description": "Object represents a network route.", "properties": { "createdAt": { "allOf": [ { "$ref": "#/components/schemas/v1CreatedAt" } ], "readOnly": true }, "destination": { "discriminator": { "mapping": { "cidrv4": "#/components/schemas/v2RouteDestinationCIDRv4", "cidrv6": "#/components/schemas/v2RouteDestinationCIDRv6", "prefixlist": "#/components/schemas/v2RouteDestinationPrefixList" }, "propertyName": "type" }, "oneOf": [ { "$ref": "#/components/schemas/v2RouteDestinationCIDRv4" }, { "$ref": "#/components/schemas/v2RouteDestinationCIDRv6" }, { "$ref": "#/components/schemas/v2RouteDestinationPrefixList" } ], "properties": { "type": { "$ref": "#/components/schemas/v2RouteDestinationType" } }, "required": [ "type" ], "type": "object", "x-stackit-logging": true }, "id": { "allOf": [ { "$ref": "#/components/schemas/v1UUID" } ], "readOnly": true }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "nexthop": { "discriminator": { "mapping": { "blackhole": "#/components/schemas/v2RouteNexthopBlackhole", "internet": "#/components/schemas/v2RouteNexthopInternet", "ipv4": "#/components/schemas/v2RouteNexthopIPv4", "ipv6": "#/components/schemas/v2RouteNexthopIPv6" }, "propertyName": "type" }, "oneOf": [ { "$ref": "#/components/schemas/v2RouteNexthopIPv4" }, { "$ref": "#/components/schemas/v2RouteNexthopIPv6" }, { "$ref": "#/components/schemas/v2RouteNexthopInternet" }, { "$ref": "#/components/schemas/v2RouteNexthopBlackhole" } ], "properties": { "type": { "type": "string", "x-stackit-logging": true } }, "required": [ "type" ], "type": "object", "x-stackit-logging": true }, "updatedAt": { "allOf": [ { "$ref": "#/components/schemas/v1UpdatedAt" } ], "readOnly": true } }, "required": [ "id", "destination", "nexthop", "createdAt" ], "type": "object" }, "v2RouteDestination": { "description": "Object representing the destination for a route.", "discriminator": { "mapping": { "cidrv4": "#/components/schemas/v2RouteDestinationCIDRv4", "cidrv6": "#/components/schemas/v2RouteDestinationCIDRv6" }, "propertyName": "type" }, "oneOf": [ { "$ref": "#/components/schemas/v2RouteDestinationCIDRv4" }, { "$ref": "#/components/schemas/v2RouteDestinationCIDRv6" } ], "properties": { "type": { "$ref": "#/components/schemas/v2RouteDestinationType" } }, "required": [ "type" ], "type": "object" }, "v2RouteDestinationCIDRv4": { "description": "IPv4 Classless Inter-Domain Routing (CIDR) Object.", "properties": { "type": { "enum": [ "cidrv4" ], "example": "cidrv4", "type": "string", "x-stackit-logging": true }, "value": { "description": "An CIDRv4 string.", "example": "192.168.0.0/24", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\/(3[0-2]|2[0-9]|1[0-9]|[0-9]))$", "type": "string", "x-stackit-logging": true } }, "required": [ "type", "value" ], "type": "object" }, "v2RouteDestinationCIDRv6": { "description": "IPv6 Classless Inter-Domain Routing (CIDR) Object.", "properties": { "type": { "enum": [ "cidrv6" ], "example": "cidrv6", "type": "string", "x-stackit-logging": true }, "value": { "description": "An CIDRv6 string.", "example": "2001:0db8:85a3:0800::/56", "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(\\/((1(1[0-9]|2[0-8]))|([0-9][0-9])|([0-9])))?$", "type": "string", "x-stackit-logging": true } }, "required": [ "type", "value" ], "type": "object" }, "v2RouteDestinationPrefixList": { "description": "Prefix List destination reference object.", "properties": { "type": { "enum": [ "prefixlist" ], "example": "prefixlist", "type": "string", "x-stackit-logging": true }, "value": { "$ref": "#/components/schemas/v1UUID" } }, "required": [ "type", "value" ], "type": "object" }, "v2RouteDestinationType": { "description": "Possible values: `cidrv4`, `cidrv6`, `prefixlist`.", "example": "cidrv4", "type": "string" }, "v2RouteList": { "description": "A list of routes.", "items": { "$ref": "#/components/schemas/v2Route" }, "type": "array" }, "v2RouteListResponse": { "description": "Route list response.", "properties": { "items": { "$ref": "#/components/schemas/v2RouteList" } }, "required": [ "items" ], "type": "object" }, "v2RouteNexthopBlackhole": { "description": "Object that represents a blackhole route.", "properties": { "type": { "enum": [ "blackhole" ], "example": "blackhole", "type": "string", "x-stackit-logging": true } }, "required": [ "type" ], "type": "object" }, "v2RouteNexthopIPv4": { "description": "Object that represents an IPv4 address.", "properties": { "type": { "enum": [ "ipv4" ], "example": "ipv4", "type": "string", "x-stackit-logging": true }, "value": { "description": "An IPv4 address.", "example": "10.1.2.10", "pattern": "^\\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\\s*$", "type": "string", "x-stackit-logging": true } }, "required": [ "type", "value" ], "type": "object" }, "v2RouteNexthopIPv6": { "description": "Object that represents an IPv6 address.", "properties": { "type": { "enum": [ "ipv6" ], "example": "ipv6", "type": "string", "x-stackit-logging": true }, "value": { "description": "An IPv6 address.", "example": "2001:db8:0:8d3:0:8a2e:70:7344", "pattern": "^\\s*((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$", "type": "string", "x-stackit-logging": true } }, "required": [ "type", "value" ], "type": "object" }, "v2RouteNexthopInternet": { "description": "Object that represents a route to the internet.", "properties": { "type": { "enum": [ "internet" ], "example": "internet", "type": "string", "x-stackit-logging": true } }, "required": [ "type" ], "type": "object" }, "v2RouteType": { "description": "The type of the route.\nPossible values: `STATIC`, `DYNAMIC`, `SYSTEM`, `SERVICE`.", "example": "STATIC", "type": "string" }, "v2RoutingTable": { "description": "An object representing a routing table. Filterable Fields: `dynamicRoutes`, `systemRoutes`.", "properties": { "createdAt": { "allOf": [ { "$ref": "#/components/schemas/v1CreatedAt" } ], "readOnly": true }, "default": { "default": true, "description": "This is the default routing table. It can't be deleted and is used if the user does not specify it otherwise.", "readOnly": true, "type": "boolean", "x-stackit-logging": true }, "description": { "$ref": "#/components/schemas/v1Description" }, "dynamicRoutes": { "$ref": "#/components/schemas/v1DynamicRoutes" }, "id": { "allOf": [ { "$ref": "#/components/schemas/v1UUID" } ], "readOnly": true }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "$ref": "#/components/schemas/v1GenericName" }, "systemRoutes": { "$ref": "#/components/schemas/v1SystemRoutes" }, "updatedAt": { "allOf": [ { "$ref": "#/components/schemas/v1UpdatedAt" } ], "readOnly": true } }, "required": [ "id", "name" ], "type": "object" }, "v2RoutingTableList": { "description": "A list of routing tables.", "items": { "$ref": "#/components/schemas/v2RoutingTable" }, "type": "array" }, "v2RoutingTableListResponse": { "description": "Routing table response.", "properties": { "items": { "$ref": "#/components/schemas/v2RoutingTableList" } }, "required": [ "items" ], "type": "object" }, "v2StaticRouteNexthop": { "description": "Object representing the nexthop for a static route.", "discriminator": { "mapping": { "blackhole": "#/components/schemas/v2RouteNexthopBlackhole", "internet": "#/components/schemas/v2RouteNexthopInternet", "ipv4": "#/components/schemas/v2RouteNexthopIPv4", "ipv6": "#/components/schemas/v2RouteNexthopIPv6" }, "propertyName": "type" }, "oneOf": [ { "$ref": "#/components/schemas/v2RouteNexthopIPv4" }, { "$ref": "#/components/schemas/v2RouteNexthopIPv6" }, { "$ref": "#/components/schemas/v2RouteNexthopInternet" }, { "$ref": "#/components/schemas/v2RouteNexthopBlackhole" } ], "properties": { "type": { "$ref": "#/components/schemas/v2StaticRouteNexthopType" } }, "required": [ "type" ], "type": "object" }, "v2StaticRouteNexthopType": { "description": "Possible values: `ipv4`, `ipv6`, `internet`, `blackhole`.", "example": "ipv4", "type": "string" }, "v2UpdateNetworkBody": { "description": "Object that represents the request body for a network update.", "properties": { "description": { "$ref": "#/components/schemas/v1Description" }, "dhcp": { "$ref": "#/components/schemas/v1DHCP" }, "ipv4": { "$ref": "#/components/schemas/v2UpdateNetworkIPv4" }, "ipv6": { "$ref": "#/components/schemas/v2UpdateNetworkIPv6" }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "$ref": "#/components/schemas/v1GenericName" }, "routed": { "$ref": "#/components/schemas/v1Routed" }, "routingTableId": { "$ref": "#/components/schemas/v1UUID" } }, "type": "object" }, "v2UpdateNetworkIPv4": { "description": "The config object for a IPv4 network update.", "properties": { "gateway": { "$ref": "#/components/schemas/v2NetworkGatewayIPv4" }, "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv4" } }, "type": "object" }, "v2UpdateNetworkIPv6": { "description": "The config object for a IPv6 network update.", "properties": { "gateway": { "$ref": "#/components/schemas/v2NetworkGatewayIPv6" }, "nameservers": { "$ref": "#/components/schemas/v2NameserversIPv6" } }, "type": "object" }, "v2UpdateRoute": { "description": "Object that represents the request body for a route update.", "properties": { "labels": { "$ref": "#/components/schemas/v1Labels" } }, "type": "object" }, "v2UpdateRoutingTable": { "description": "Object that represents the request body for a routing table update.", "properties": { "description": { "$ref": "#/components/schemas/v1Description" }, "dynamicRoutes": { "$ref": "#/components/schemas/v1UpdateDynamicRoutes" }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "$ref": "#/components/schemas/v1GenericName" }, "systemRoutes": { "$ref": "#/components/schemas/v1UpdateSystemRoutes" } }, "type": "object" }, "v3BaseNetworkRange": { "description": "Contains the common properties of a VPC network range.", "properties": { "createdAt": { "allOf": [ { "$ref": "#/components/schemas/v1CreatedAt" } ], "readOnly": true }, "description": { "$ref": "#/components/schemas/v1Description" }, "id": { "allOf": [ { "$ref": "#/components/schemas/v1UUID" } ], "readOnly": true }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "status": { "$ref": "#/components/schemas/v1ResourceState" }, "updatedAt": { "allOf": [ { "$ref": "#/components/schemas/v1UpdatedAt" } ], "readOnly": true } }, "required": [ "id", "createdAt", "updatedAt" ], "type": "object" }, "v3NetworkRange": { "description": "A VPC network range.", "discriminator": { "mapping": { "ipv4": "#/components/schemas/v3NetworkRangeIPv4", "ipv6": "#/components/schemas/v3NetworkRangeIPv6" }, "propertyName": "ipVersion" }, "oneOf": [ { "$ref": "#/components/schemas/v3NetworkRangeIPv4" }, { "$ref": "#/components/schemas/v3NetworkRangeIPv6" } ] }, "v3NetworkRangeIPv4": { "allOf": [ { "$ref": "#/components/schemas/v3BaseNetworkRange" }, { "properties": { "defaultPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangeDefaultPrefixLengthIPv4" } ], "default": 25, "x-oapi-codegen-extra-tags": { "expr": "defaultPrefixLen" } }, "ipVersion": { "enum": [ "ipv4" ], "example": "ipv4", "type": "string", "x-stackit-logging": true }, "maxPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangeMaxPrefixLengthIPv4" } ], "default": 29, "x-oapi-codegen-extra-tags": { "expr": "maxPrefixLen" } }, "minPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangeMinPrefixLengthIPv4" } ], "default": 24, "x-oapi-codegen-extra-tags": { "expr": "minPrefixLen" } }, "nameservers": { "allOf": [ { "$ref": "#/components/schemas/v2NameserversIPv4" } ], "x-oapi-codegen-extra-tags": { "expr": "nameservers" } }, "prefix": { "allOf": [ { "$ref": "#/components/schemas/v1CIDR" } ], "x-oapi-codegen-extra-tags": { "expr": "prefix" } } }, "required": [ "ipVersion", "prefix" ], "type": "object", "x-stackit-logging": true } ], "description": "Contains the IPv4 properties of a VPC network range." }, "v3NetworkRangeIPv4Request": { "description": "Contains the IPv4 properties of a VPC network range request. Filterable Fields: `defaultPrefixLen`, `maxPrefixLen`, `minPrefixLen`, `nameservers`, `prefix`.", "properties": { "defaultPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangeDefaultPrefixLengthIPv4" } ], "default": 25, "x-oapi-codegen-extra-tags": { "expr": "defaultPrefixLen" } }, "description": { "$ref": "#/components/schemas/v1Description" }, "ipVersion": { "enum": [ "ipv4" ], "example": "ipv4", "type": "string", "x-stackit-logging": true }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "maxPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangeMaxPrefixLengthIPv4" } ], "default": 29, "x-oapi-codegen-extra-tags": { "expr": "maxPrefixLen" } }, "minPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangeMinPrefixLengthIPv4" } ], "default": 24, "x-oapi-codegen-extra-tags": { "expr": "minPrefixLen" } }, "nameservers": { "allOf": [ { "$ref": "#/components/schemas/v2NameserversIPv4" } ], "x-oapi-codegen-extra-tags": { "expr": "nameservers" } }, "prefix": { "allOf": [ { "$ref": "#/components/schemas/v1CIDR" } ], "x-oapi-codegen-extra-tags": { "expr": "prefix" } } }, "required": [ "ipVersion", "prefix" ], "type": "object" }, "v3NetworkRangeIPv6": { "allOf": [ { "$ref": "#/components/schemas/v3BaseNetworkRange" }, { "properties": { "defaultPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangePrefixLengthIPv6" } ], "x-oapi-codegen-extra-tags": { "expr": "defaultPrefixLen" } }, "ipVersion": { "enum": [ "ipv6" ], "example": "ipv6", "type": "string", "x-stackit-logging": true }, "maxPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangePrefixLengthIPv6" } ], "x-oapi-codegen-extra-tags": { "expr": "maxPrefixLen" } }, "minPrefixLen": { "allOf": [ { "$ref": "#/components/schemas/v1NetworkRangePrefixLengthIPv6" } ], "x-oapi-codegen-extra-tags": { "expr": "minPrefixLen" } }, "nameservers": { "allOf": [ { "$ref": "#/components/schemas/v2NameserversIPv6" } ], "x-oapi-codegen-extra-tags": { "expr": "nameservers" } }, "prefix": { "allOf": [ { "$ref": "#/components/schemas/v1CIDRv6" } ], "x-oapi-codegen-extra-tags": { "expr": "prefix" } } }, "required": [ "ipVersion", "prefix" ], "type": "object", "x-stackit-logging": true } ], "description": "Contains the IPv6 properties of a VPC network range." }, "v3NetworkRangeList": { "description": "A list of VPC network ranges.", "items": { "$ref": "#/components/schemas/v3NetworkRange" }, "maxItems": 64, "minItems": 1, "type": "array" }, "v3NetworkRangeListResponse": { "description": "VPC Network Range list response.", "properties": { "items": { "$ref": "#/components/schemas/v3NetworkRangeList" } }, "required": [ "items" ], "type": "object" }, "v3NetworkRangeRequest": { "description": "The request body of a VPC network range.", "discriminator": { "mapping": { "ipv4": "#/components/schemas/v3NetworkRangeIPv4Request" }, "propertyName": "ipVersion" }, "oneOf": [ { "$ref": "#/components/schemas/v3NetworkRangeIPv4Request" } ] }, "v3RoutingTable": { "description": "An object representing a VPC routing table. Filterable Fields: `createdAt`, `dynamicRoutes`, `name`, `systemRoutes`, `updatedAt`.", "properties": { "createdAt": { "allOf": [ { "$ref": "#/components/schemas/v1CreatedAt" } ], "readOnly": true, "x-oapi-codegen-extra-tags": { "expr": "createdAt" } }, "description": { "$ref": "#/components/schemas/v1Description" }, "dynamicRoutes": { "$ref": "#/components/schemas/v1DynamicRoutes" }, "id": { "allOf": [ { "$ref": "#/components/schemas/v1UUID" } ], "readOnly": true }, "labels": { "$ref": "#/components/schemas/v1Labels" }, "name": { "allOf": [ { "$ref": "#/components/schemas/v1GenericName" } ], "x-oapi-codegen-extra-tags": { "expr": "name" } }, "systemRoutes": { "$ref": "#/components/schemas/v1SystemRoutes" }, "updatedAt": { "allOf": [ { "$ref": "#/components/schemas/v1UpdatedAt" } ], "readOnly": true, "x-oapi-codegen-extra-tags": { "expr": "updatedAt" } } }, "required": [ "id", "name" ], "type": "object" }, "v3RoutingTableList": { "description": "A list of VPC routing tables.", "items": { "$ref": "#/components/schemas/v3RoutingTable" }, "type": "array" }, "v3RoutingTableListResponse": { "description": "VPC Routing table response.", "properties": { "items": { "$ref": "#/components/schemas/v3RoutingTableList" } }, "required": [ "items" ], "type": "object" } } }, "info": { "contact": { "email": "stackit-iaas@mail.schwarz", "name": "STACKIT IaaS Teams", "url": "https://support.stackit.cloud/servicedesk" }, "description": "This API allows you to create and modify IaaS resources.", "termsOfService": "https://stackit.de/en/imprint", "title": "STACKIT IaaS API", "version": "2alpha1" }, "openapi": "3.0.1", "paths": { "/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables": { "get": { "description": "Get a list of all routing tables in a network area.", "operationId": "V2alpha1ListRoutingTablesOfArea", "parameters": [ { "$ref": "#/components/parameters/v1LabelSelector" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2RoutingTableListResponse" } } }, "description": "List all routing tables." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all routing tables in a network area.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1OrganizationID" }, { "$ref": "#/components/parameters/v1NetworkAreaID" }, { "$ref": "#/components/parameters/v1Region" } ], "post": { "description": "Create a new routing table in an existing network area.", "operationId": "V2alpha1AddRoutingTableToArea", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2RoutingTable" } } }, "description": "Request an addition of a routing table to an area.", "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2RoutingTable" } } }, "description": "Adding routing table was successful." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Create new routing table in a network area.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.create" ], "implicit-actions": null } } }, "/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}": { "delete": { "description": "Delete a routing table of a network area.", "operationId": "V2alpha1DeleteRoutingTableFromArea", "responses": { "204": { "description": "Delete request for the routing table has been accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Delete a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.delete" ], "implicit-actions": null } }, "get": { "description": "Get details about a routing table defined in a network area.", "operationId": "V2alpha1GetRoutingTableOfArea", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2RoutingTable" } } }, "description": "Show routing table details." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get details about a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1OrganizationID" }, { "$ref": "#/components/parameters/v1NetworkAreaID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" } ], "patch": { "description": "Update a routing table defined in a network area.", "operationId": "V2alpha1UpdateRoutingTableOfArea", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2UpdateRoutingTable" } } }, "description": "Request an update of a routing table.", "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2RoutingTable" } } }, "description": "Update request for routing table successful." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.update" ], "implicit-actions": null } } }, "/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/all-routes": { "get": { "description": "Get a list of all routes in a routing table including system, dynamic, service and static routes.", "operationId": "V2alpha1ListAllRoutesOfRoutingTable", "parameters": [ { "$ref": "#/components/parameters/v1FieldFilter" }, { "$ref": "#/components/parameters/v2EffectiveRoute" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2AllRouteListResponse" } } }, "description": "List all routes of a routing table including system, dynamic, service and static routes." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all routes of a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.all-route.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1OrganizationID" }, { "$ref": "#/components/parameters/v1NetworkAreaID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" } ] }, "/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/networks": { "get": { "description": "Get a list of all networks in a routing table of a network area.", "operationId": "V2alpha1ListNetworksOfRoutingTable", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2NetworkListResponse" } } }, "description": "List all routing table networks." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all networks in a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.network.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1OrganizationID" }, { "$ref": "#/components/parameters/v1NetworkAreaID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" } ] }, "/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes": { "get": { "description": "Get a list of all routes in a routing table of a network area.", "operationId": "V2alpha1ListRoutesOfRoutingTable", "parameters": [ { "$ref": "#/components/parameters/v1LabelSelector" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2RouteListResponse" } } }, "description": "List all routing table routes." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all routes in a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.route.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1OrganizationID" }, { "$ref": "#/components/parameters/v1NetworkAreaID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" } ], "post": { "description": "Create new routes in an existing routing table of a network area.", "operationId": "V2alpha1AddRoutesToRoutingTable", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2CreateRoutes" } } }, "description": "Request an addition of routes to a routing table.", "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2RouteListResponse" } } }, "description": "Adding routes to routing table was successful." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Create new routes in a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.route.create" ], "implicit-actions": null } } }, "/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes/{routeId}": { "delete": { "description": "Delete a route in an existing routing table of a network area.", "operationId": "V2alpha1DeleteRouteFromRoutingTable", "responses": { "204": { "description": "Delete request for the route has been accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Delete a route in a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.route.delete" ], "implicit-actions": null } }, "get": { "description": "Get details about a route defined in a routing table of a network area.", "operationId": "V2alpha1GetRouteOfRoutingTable", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2Route" } } }, "description": "Show the details of a route in a routing table." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get details about a route of a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.route.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1OrganizationID" }, { "$ref": "#/components/parameters/v1NetworkAreaID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" }, { "$ref": "#/components/parameters/v1RouteID" } ], "patch": { "description": "Update a route defined in a routing table of a network area.", "operationId": "V2alpha1UpdateRouteOfRoutingTable", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2UpdateRoute" } } }, "description": "Request an update of a route in a routing table.", "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2Route" } } }, "description": "Update request for route successful." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update a route of a routing table.", "tags": [ "Area" ], "x-viewer-permissions": { "actions": [ "iaas.network-area.rt.route.update" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/regions/{region}/networks": { "get": { "description": "Get a list of all networks inside a project.", "operationId": "V2alpha1ListNetworks", "parameters": [ { "$ref": "#/components/parameters/v1LabelSelector" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2NetworkListResponse" } } }, "description": "List all networks of a project." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all networks inside a project.", "tags": [ "Network" ], "x-viewer-permissions": { "actions": [ "iaas.network.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1Region" } ], "post": { "description": "Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost.", "operationId": "V2alpha1CreateNetwork", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2CreateNetwork" } } }, "description": "Request a network creation.", "required": true }, "responses": { "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2Network" } } }, "description": "Network create has been accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Create new network.", "tags": [ "Network" ], "x-viewer-permissions": { "actions": [ "iaas.network.create" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/regions/{region}/networks/{networkId}": { "delete": { "description": "Delete a network. If the network is still in use, the deletion will fail.", "operationId": "V2alpha1DeleteNetwork", "responses": { "202": { "description": "Delete request for network has been accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Delete network.", "tags": [ "Network" ], "x-viewer-permissions": { "actions": [ "iaas.network.delete" ], "implicit-actions": null } }, "get": { "description": "Get details about a network of a project.", "operationId": "V2alpha1GetNetwork", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2Network" } } }, "description": "Show network details." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get network details.", "tags": [ "Network" ], "x-viewer-permissions": { "actions": [ "iaas.network.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v1NetworkID" } ], "patch": { "description": "Update the settings of a network inside a project.", "operationId": "V2alpha1PartialUpdateNetwork", "requestBody": { "content": { "application/json": { "example": { "ipv4": { "nameservers": [ "10.1.2.10" ] }, "name": "My Network" }, "schema": { "$ref": "#/components/schemas/v2UpdateNetworkBody" } } }, "description": "Request an update of a network.", "required": true }, "responses": { "202": { "$ref": "#/components/responses/UpdateAccepted" }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update network settings.", "tags": [ "Network" ], "x-viewer-permissions": { "actions": [ "iaas.network.update" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/regions/{region}/prefix-lists": { "get": { "description": "Get a list of all prefix lists inside a project.", "operationId": "V2alpha1ListPrefixLists", "parameters": [ { "$ref": "#/components/parameters/v1LabelSelector" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2PrefixListListResponse" } } }, "description": "List all prefix lists of a project." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all prefix lists inside a project.", "tags": [ "Prefix List" ], "x-viewer-permissions": { "actions": [ "iaas.prefix-list.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1Region" } ] }, "/v2alpha1/projects/{projectId}/regions/{region}/prefix-lists/{prefixListId}": { "get": { "description": "Get details about a prefix list of a project.", "operationId": "V2alpha1GetPrefixList", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2PrefixList" } } }, "description": "Show prefix list details." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get prefix list details.", "tags": [ "Prefix List" ], "x-viewer-permissions": { "actions": [ "iaas.prefix-list.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2PrefixListID" } ] }, "/v2alpha1/projects/{projectId}/regions/{region}/volumes/{volumeId}/retype": { "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v1VolumeID" } ], "post": { "description": "Update the performanceClass of a block device volume. This request can only be performend once in 7 days if the requested performanceClass is slower compared to the current one. Upgrades to faster performanceClasses are always allowed. This operation is async can take a few minutes to complete.", "operationId": "V2alpha1RetypeVolume", "requestBody": { "content": { "application/json": { "schema": { "properties": { "performanceClass": { "$ref": "#/components/schemas/v1GenericName" } }, "required": [ "performanceClass" ], "type": "object" } } }, "description": "Request a volume retype." }, "responses": { "202": { "description": "Volume retype request accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update the performanceClass of a volume.", "tags": [ "Volumes" ], "x-viewer-permissions": { "actions": [ "iaas.volume.retype" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs": { "get": { "description": "List all visible VPCs of this project. To list shared VPCs from other projects of the organization use the `List all shared VPCs` endpoint.", "operationId": "V2alpha1ListVPCs", "parameters": [ { "$ref": "#/components/parameters/v1LabelSelector" }, { "$ref": "#/components/parameters/v1FieldFilter" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1VPCListResponse" } } }, "description": "Get a list of all VPCs." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List project VPCs.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" } ], "post": { "description": "Create a new VPC in a project.", "operationId": "V2alpha1CreateVPC", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1VPCCreate" } } }, "description": "Request a VPC creation.", "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1VPC" } } }, "description": "VPC has been successfully created." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Create a new VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.create" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}": { "delete": { "description": "Delete an existing VPC in a project.", "operationId": "V2alpha1DeleteVPC", "responses": { "204": { "description": "VPC has been deleted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Delete a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.delete" ], "implicit-actions": null } }, "get": { "description": "Get details about a VPC in a project.", "operationId": "V2alpha1GetVPC", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1VPC" } } }, "description": "Show VPC details." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get details about a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" } ], "patch": { "description": "Update the settings of a VPC.", "operationId": "V2alpha1UpdateVPC", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1VPCUpdate" } } }, "description": "Request to update a VPC.", "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1VPC" } } }, "description": "VPC has been updated." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update VPC settings.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.update" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions": { "get": { "description": "Get a list of all configured regions in a VPC.", "operationId": "V2alpha1ListVPCRegions", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1RegionalVPCListResponse" } } }, "description": "List all configured VPC regions." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all configured regions in a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.region.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" } ] }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions/{region}": { "delete": { "description": "Delete the current configuration of a region for a VPC.", "operationId": "V2alpha1DeleteVPCRegion", "responses": { "202": { "description": "Delete request for the regional VPC has been accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Delete the regional configuration of a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.region.delete" ], "implicit-actions": null } }, "get": { "description": "Get the current configuration of a region for a VPC.", "operationId": "V2alpha1GetVPCRegion", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1RegionalVPC" } } }, "description": "Show the regional VPC configuration." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get the regional configuration of a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.region.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" }, { "$ref": "#/components/parameters/v1Region" } ], "patch": { "description": "Update the current configuration of a region for a VPC.\n\n**Example:** Update nameservers.\n\n**Request Body:**\n```json\n{\n \"ipv4\": {\n \"defaultNameservers\": [\n \"10.1.2.10\",\n \"10.1.2.11\"\n ],\n }\n}\n```\n\n**Result:**\n* `ipv4.defaultNameservers`: **Updated** as a new value was provided.", "operationId": "V2alpha1UpdateVPCRegion", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1RegionalVPC" } } }, "description": "Request an update of the regional VPC configuration.", "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1RegionalVPC" } } }, "description": "Regional VPC configuration has been updated." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update the regional configuration of a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.region.update" ], "implicit-actions": null } }, "put": { "description": "Create the configuration of a region for a VPC.", "operationId": "V2alpha1ConfigureVPCRegion", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1RegionalVPC" } } }, "description": "Request to add a new regional VPC configuration.", "required": true }, "responses": { "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1RegionalVPC" } } }, "description": "Configure VPC in a new region was accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Create the regional configuration of a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.region.create" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions/{region}/network-ranges": { "get": { "description": "Get a list of all network ranges in a VPC for this region.", "operationId": "V2alpha1ListVPCNetworkRanges", "parameters": [ { "$ref": "#/components/parameters/v1LabelSelector" }, { "$ref": "#/components/parameters/v1FieldFilter" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3NetworkRangeListResponse" } } }, "description": "List all network ranges." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all regional network ranges in a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.network-range.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" }, { "$ref": "#/components/parameters/v1Region" } ], "post": { "description": "Create a new network range in an existing VPC for this region.", "operationId": "V2alpha1CreateVPCNetworkRanges", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3NetworkRangeRequest" } } }, "description": "Request to add an additional network range to a VPC.", "required": true }, "responses": { "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3NetworkRange" } } }, "description": "Create request for a network range has been accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Create new regional network ranges in a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.network-range.create" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions/{region}/network-ranges/{networkRangeId}": { "delete": { "description": "Delete a network range of a VPC for this region, if the network range is not used anymore.", "operationId": "V2alpha1DeleteVPCNetworkRange", "responses": { "202": { "description": "Delete request for network range has been accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Delete a regional network range.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.network-range.delete" ], "implicit-actions": null } }, "get": { "description": "Get details about a network range in a VPC for this region.", "operationId": "V2alpha1GetVPCNetworkRange", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3NetworkRange" } } }, "description": "Show network range details." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get details about a regional network range.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.network-range.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v1NetworkRangeID" } ], "patch": { "description": "Update a network range of a VPC for this region.", "operationId": "V2alpha1UpdateVPCNetworkRange", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1UpdateVPCNetworkRangeRequest" } } }, "description": "Request an update of a network range.", "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3NetworkRange" } } }, "description": "Network Range has been updated." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update a regional network range.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.network-range.update" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions/{region}/routing-tables": { "get": { "description": "Get a list of all routing tables in a VPC for this region.", "operationId": "V2alpha1ListVPCRoutingTables", "parameters": [ { "$ref": "#/components/parameters/v1LabelSelector" }, { "$ref": "#/components/parameters/v1FieldFilter" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3RoutingTableListResponse" } } }, "description": "List all routing tables." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all regional routing tables in a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" }, { "$ref": "#/components/parameters/v1Region" } ], "post": { "description": "Create a new routing table in an existing VPC for this region.", "operationId": "V2alpha1AddVPCRoutingTable", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3RoutingTable" } } }, "description": "Request an addition of a routing table to a VPC.", "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3RoutingTable" } } }, "description": "Adding routing table was successful." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Create a new regional routing table in a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.create" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions/{region}/routing-tables/{routingTableId}": { "delete": { "description": "Delete a routing table of a VPC for this region.", "operationId": "V2alpha1DeleteVPCRoutingTable", "responses": { "204": { "description": "Routingtable has been deleted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Delete a regional routing table.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.delete" ], "implicit-actions": null } }, "get": { "description": "Get details about a routing table of a VPC for this region.", "operationId": "V2alpha1GetVPCRoutingTable", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3RoutingTable" } } }, "description": "Show routing table details." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get details about a regional routing table.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" } ], "patch": { "description": "Update a routing table of a VPC for this region.", "operationId": "V2alpha1UpdateVPCRoutingTable", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2UpdateRoutingTable" } } }, "description": "Request an update of a routing table.", "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v3RoutingTable" } } }, "description": "Update request for routing table successful." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update a regional routing table.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.update" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions/{region}/routing-tables/{routingTableId}/routes": { "get": { "description": "Get a list of routes in a VPC routing table including system, dynamic, service and static routes.", "operationId": "V2alpha1ListRoutesOfRoutingTableVPC", "parameters": [ { "$ref": "#/components/parameters/v1FieldFilter" }, { "$ref": "#/components/parameters/v2EffectiveRoute" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2AllRouteListResponse" } } }, "description": "List routes of a VPC routing table including system, dynamic, service and static routes." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List routes of a routing table of a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.route.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" } ] }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions/{region}/routing-tables/{routingTableId}/static-routes": { "get": { "description": "Get a list of all static routes of a VPC for this region.", "operationId": "V2alpha1ListVPCStaticRoutes", "parameters": [ { "$ref": "#/components/parameters/v1LabelSelector" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2RouteListResponse" } } }, "description": "List all static routes." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "List all regional static routes in a VPC.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.static-route.list" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" } ], "post": { "description": "Create a new static route in the VPC for this region.", "operationId": "V2alpha1AddVPCStaticRoute", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2Route" } } }, "description": "Request to add a static route to a VPC.", "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2Route" } } }, "description": "Adding static route was successful." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "409": { "$ref": "#/components/responses/Conflict" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Create new regional static route.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.static-route.create" ], "implicit-actions": null } } }, "/v2alpha1/projects/{projectId}/vpcs/{vpcId}/regions/{region}/routing-tables/{routingTableId}/static-routes/{routeId}": { "delete": { "description": "Delete a static route of a VPC for this region.", "operationId": "V2alpha1DeleteVPCStaticRoute", "responses": { "204": { "description": "Delete request for the static route has been accepted." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Delete a regional static route.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.static-route.delete" ], "implicit-actions": null } }, "get": { "description": "Get details about a static route of a VPC for this region.", "operationId": "V2alpha1GetVPCStaticRoute", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2Route" } } }, "description": "Show static route details." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Get details about a regional static route.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.static-route.get" ], "implicit-actions": null } }, "parameters": [ { "$ref": "#/components/parameters/v1ProjectID" }, { "$ref": "#/components/parameters/v1VPCID" }, { "$ref": "#/components/parameters/v1Region" }, { "$ref": "#/components/parameters/v2RoutingTableID" }, { "$ref": "#/components/parameters/v1RouteID" } ], "patch": { "description": "Update a static route of a VPC for this region.", "operationId": "V2alpha1UpdateVPCStaticRoute", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2UpdateRoute" } } }, "description": "Request an update of a static route.", "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v2Route" } } }, "description": "Update request for static route successful." }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "404": { "$ref": "#/components/responses/NotFound" }, "424": { "$ref": "#/components/responses/FailedDependency" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "summary": "Update a regional static route.", "tags": [ "VPC" ], "x-viewer-permissions": { "actions": [ "vpc.routing-table.static-route.update" ], "implicit-actions": null } } } }, "servers": [ { "description": "This API allows you to create and modify IaaS resources.", "url": "https://iaas.api.stackit.cloud" } ], "tags": [ { "description": "Generic Tag for Network Area based Service.", "name": "Area" }, { "description": "Generic Tag for Network based Service.", "name": "Network" }, { "description": "Generic Tag for Prefix List based Service.", "name": "Prefix List" }, { "description": "Generic Tag for VPC based Service.", "name": "VPC" }, { "description": "Generic Tag for Volume based Service.", "name": "Volumes" } ] }