Compute

Update Link

Updates the configuration of an existing network link. This allows you to modify how your compute instance connects to your virtual network infrastructure.

put/compute/v2/thr3/workspaces/{workspaceUUID}/links/{resourceId}

Path parameters

resourceIdstring required

Resource ID

workspaceUUIDstring required

UUID of the workspace

Request body

apiVersion'compute/v2' required

Version identifier of the API schema

kind'Link' required

The string value 'Link' that identifies the schema

Example request

{
  "apiVersion": "compute/v2",
  "kind": "Link",
  "metadata": {
    "resourceVersion": "519597875",
    "uid": "00000000-0000-0000-0000-000000000000",
    "workspace": "00000000-0000-0000-0000-000000000000"
  },
  "spec": {
    "forwardableAddresses": [
      {
        "cidr": "192.168.2.0/24",
        "mac": "00:11:22:33:44:55"
      }
    ],
    "ip": "192.168.2.100/24"
  },
  "status": {
    "gatewayIP": "192.168.1.1",
    "mac": "00:11:22:33:44:55"
  }
}

Response

The link configuration was successfully updated. The response contains the complete updated instance details reflecting the changes made.

apiVersion'compute/v2' required

Version identifier of the API schema

kind'Link' required

The string value 'Link' that identifies the schema

Example response

{
  "apiVersion": "compute/v2",
  "kind": "Link",
  "metadata": {
    "resourceVersion": "519597875",
    "uid": "00000000-0000-0000-0000-000000000000",
    "workspace": "00000000-0000-0000-0000-000000000000"
  },
  "spec": {
    "forwardableAddresses": [
      {
        "cidr": "192.168.2.0/24",
        "mac": "00:11:22:33:44:55"
      }
    ],
    "ip": "192.168.2.100/24"
  },
  "status": {
    "gatewayIP": "192.168.1.1",
    "mac": "00:11:22:33:44:55"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.