Deleting a DirectLink Interface

You can delete a DirectLink interface from a DirectLink connection.

This actions removes access to the corresponding Net through the DirectLink connection.

Deleting a DirectLink Interface Using Cockpit v2

  1. Click inside the DirectLink Interfaces dashboard to make checkboxes appear.

  2. Check the box of the DirectLink interface you want to delete.
    The DirectLink interface is selected and an action menu appears.

  3. Click IconTerminate Delete.
    A confirmation dialog box appears.

  4. Click Delete.
    The DirectLink interface is deleted.

Deleting a DirectLink Interface Using OSC CLI

The DeleteDirectLinkInterface command deletes a specified DirectLink interface.

Request sample
$ osc-cli api DeleteDirectLinkInterface --profile "default" \
    --DirectLinkInterfaceId "dxvif-12345678"

This command contains the following attributes that you need to specify:

  • DirectLinkInterfaceId: The ID of the DirectLink interface you want to delete.

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

The DeleteDirectLinkInterface command returns the following elements:

  • ResponseContext: Information about the context of the response.

Result sample
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  }
}

Deleting a Private Virtual Interface Using AWS CLI

To delete a private virtual interface, use the delete-virtual-interface command following this syntax:

Request sample
$ aws directconnect delete-virtual-interface \
    --profile YOUR_PROFILE \
    --virtual-interface-id dxvif-12345678 \
    --endpoint https://directlink.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • virtual-interface-id: The ID of the private virtual interface.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The delete-virtual-interface command returns the following element:

Result sample
{
    "virtualInterfaceState": "deleting"
}

The private virtual interface is deleted.

Related Pages

Corresponding API Methods

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.