UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

118 lines 4.13 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { networkingCreateNetwork } from "../funcs/networkingCreateNetwork.js"; import { networkingCreatePrivateLinkEndpoint } from "../funcs/networkingCreatePrivateLinkEndpoint.js"; import { networkingDeleteNetwork } from "../funcs/networkingDeleteNetwork.js"; import { networkingDeletePrivateLinkEndpoint } from "../funcs/networkingDeletePrivateLinkEndpoint.js"; import { networkingListNetworks } from "../funcs/networkingListNetworks.js"; import { networkingListPrivateLinkEndpoints } from "../funcs/networkingListPrivateLinkEndpoints.js"; import { networkingReadNetwork } from "../funcs/networkingReadNetwork.js"; import { networkingReadPrivateLinkEndpoint } from "../funcs/networkingReadPrivateLinkEndpoint.js"; import { networkingUpdateNetwork } from "../funcs/networkingUpdateNetwork.js"; import { networkingUpdatePrivateLinkEndpoint } from "../funcs/networkingUpdatePrivateLinkEndpoint.js"; import { networkingUpdateStaticIps } from "../funcs/networkingUpdateStaticIps.js"; import { ClientSDK } from "../lib/sdks.js"; import { unwrapAsync } from "../types/fp.js"; export class Networking extends ClientSDK { /** * List Secure Compute networks * * @remarks * Allows to list Secure Compute networks. */ async listNetworks(request, options) { return unwrapAsync(networkingListNetworks(this, request, options)); } /** * Create a Secure Compute network * * @remarks * Allows to create a Secure Compute network. */ async createNetwork(request, options) { return unwrapAsync(networkingCreateNetwork(this, request, options)); } /** * Delete a Secure Compute network * * @remarks * Allows to delete a Secure Compute network. */ async deleteNetwork(request, options) { return unwrapAsync(networkingDeleteNetwork(this, request, options)); } /** * Update a Secure Compute network * * @remarks * Allows to update a Secure Compute network. */ async updateNetwork(request, options) { return unwrapAsync(networkingUpdateNetwork(this, request, options)); } /** * Read a Secure Compute network * * @remarks * Allows to read a Secure Compute network. */ async readNetwork(request, options) { return unwrapAsync(networkingReadNetwork(this, request, options)); } /** * Create a PrivateLink endpoint * * @remarks * Creates a PrivateLink endpoint for a project. */ async createPrivateLinkEndpoint(request, options) { return unwrapAsync(networkingCreatePrivateLinkEndpoint(this, request, options)); } /** * List PrivateLink endpoints * * @remarks * Lists all PrivateLink endpoints for a project. */ async listPrivateLinkEndpoints(request, options) { return unwrapAsync(networkingListPrivateLinkEndpoints(this, request, options)); } /** * Read a PrivateLink endpoint * * @remarks * Reads a single PrivateLink endpoint. */ async readPrivateLinkEndpoint(request, options) { return unwrapAsync(networkingReadPrivateLinkEndpoint(this, request, options)); } /** * Delete a PrivateLink endpoint * * @remarks * Deletes a PrivateLink endpoint. */ async deletePrivateLinkEndpoint(request, options) { return unwrapAsync(networkingDeletePrivateLinkEndpoint(this, request, options)); } /** * Update a PrivateLink endpoint * * @remarks * Updates a PrivateLink endpoint (name, privateDns). */ async updatePrivateLinkEndpoint(request, options) { return unwrapAsync(networkingUpdatePrivateLinkEndpoint(this, request, options)); } /** * Configures Static IPs for a project * * @remarks * Allows configuring Static IPs for a project */ async updateStaticIps(request, options) { return unwrapAsync(networkingUpdateStaticIps(this, request, options)); } } //# sourceMappingURL=networking.js.map