UNPKG

@serve.zone/api

Version:

The `@serve.zone/api` module is a robust and versatile API client, designed to facilitate seamless communication with various cloud resources managed by the Cloudly platform. This API client extends a rich set of functionalities, offering developers a com

23 lines (22 loc) 1.04 kB
import * as plugins from './plugins.js'; import type { CloudlyApiClient } from './classes.cloudlyapiclient.js'; export declare class Service implements plugins.servezoneInterfaces.data.IService { static getServices(cloudlyClientRef: CloudlyApiClient): Promise<Service[]>; static getServiceById(cloudlyClientRef: CloudlyApiClient, serviceIdArg: string): Promise<Service>; /** * creates a new service */ static createService(cloudlyClientRef: CloudlyApiClient, serviceDataArg: Partial<plugins.servezoneInterfaces.data.IService['data']>): Promise<Service>; cloudlyClientRef: CloudlyApiClient; id: string; data: plugins.servezoneInterfaces.data.IService['data']; constructor(cloudlyClientRef: CloudlyApiClient); /** * The service has a secret bundle. * This function essentially returns the secret bundle as a flat object. * In other words, it resolves secret groups and */ getSecretBundleAsFlatObject(environmentArg?: string): Promise<{ [key: string]: string; }>; }