@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
90 lines • 2.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets information about multiple instance servers.
*
* ## Examples
*/
export declare function getServers(args?: GetServersArgs, opts?: pulumi.InvokeOptions): Promise<GetServersResult>;
/**
* A collection of arguments for invoking getServers.
*/
export interface GetServersArgs {
/**
* The server name used as filter. Servers with a name like it are listed.
*/
name?: string;
/**
* The ID of the project the server is associated with.
*/
projectId?: string;
/**
* List of tags used as filter. Servers with these exact tags are listed.
*/
tags?: string[];
/**
* `zone`) The zone in which servers exist.
*/
zone?: string;
}
/**
* A collection of values returned by getServers.
*/
export interface GetServersResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name of the server.
*/
readonly name?: string;
/**
* The organization ID the server is associated with.
*/
readonly organizationId: string;
/**
* The ID of the project the server is associated with.
*/
readonly projectId: string;
/**
* List of found servers
*/
readonly servers: outputs.instance.GetServersServer[];
/**
* The tags associated with the server.
*/
readonly tags?: string[];
/**
* The zone in which the server is.
*/
readonly zone?: string;
}
/**
* Gets information about multiple instance servers.
*
* ## Examples
*/
export declare function getServersOutput(args?: GetServersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServersResult>;
/**
* A collection of arguments for invoking getServers.
*/
export interface GetServersOutputArgs {
/**
* The server name used as filter. Servers with a name like it are listed.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the project the server is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* List of tags used as filter. Servers with these exact tags are listed.
*/
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* `zone`) The zone in which servers exist.
*/
zone?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getServers.d.ts.map