@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>
68 lines • 2.25 kB
JavaScript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import { networkingCreateNetwork } from "../funcs/networkingCreateNetwork.js";
import { networkingDeleteNetwork } from "../funcs/networkingDeleteNetwork.js";
import { networkingListNetworks } from "../funcs/networkingListNetworks.js";
import { networkingReadNetwork } from "../funcs/networkingReadNetwork.js";
import { networkingUpdateNetwork } from "../funcs/networkingUpdateNetwork.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));
}
/**
* 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