@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
92 lines (91 loc) • 2.75 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about multiple instance servers.
*
* ## Examples
*/
/** @deprecated scaleway.index/getinstanceservers.getInstanceServers has been deprecated in favor of scaleway.instance/getservers.getServers */
export declare function getInstanceServers(args?: GetInstanceServersArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceServersResult>;
/**
* A collection of arguments for invoking getInstanceServers.
*/
export interface GetInstanceServersArgs {
/**
* 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 getInstanceServers.
*/
export interface GetInstanceServersResult {
/**
* 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.GetInstanceServersServer[];
/**
* 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
*/
/** @deprecated scaleway.index/getinstanceservers.getInstanceServers has been deprecated in favor of scaleway.instance/getservers.getServers */
export declare function getInstanceServersOutput(args?: GetInstanceServersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceServersResult>;
/**
* A collection of arguments for invoking getInstanceServers.
*/
export interface GetInstanceServersOutputArgs {
/**
* The server name used as filter. Servers with a name like it are listed.
*/
name?: pulumi.Input<string>;
/**
* The ID of the project the server is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* List of tags used as filter. Servers with these exact tags are listed.
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
/**
* `zone`) The zone in which servers exist.
*/
zone?: pulumi.Input<string>;
}