@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
138 lines • 4.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about an instance server.
*/
/** @deprecated scaleway.index/getinstanceserver.getInstanceServer has been deprecated in favor of scaleway.instance/getserver.getServer */
export declare function getInstanceServer(args?: GetInstanceServerArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceServerResult>;
/**
* A collection of arguments for invoking getInstanceServer.
*/
export interface GetInstanceServerArgs {
/**
* The server name. Only one of `name` and `serverId` should be specified.
*/
name?: string;
/**
* The ID of the project the instance server is associated with.
*/
projectId?: string;
/**
* The server id. Only one of `name` and `serverId` should be specified.
*/
serverId?: string;
/**
* `zone`) The zone in which the server exists.
*/
zone?: string;
}
/**
* A collection of values returned by getInstanceServer.
*/
export interface GetInstanceServerResult {
/**
* The [additional volumes](https://developers.scaleway.com/en/products/instance/api/#volumes-7e8a39)
* attached to the server.
*/
readonly additionalVolumeIds: string[];
readonly adminPasswordEncryptionSshKeyId: string;
readonly bootType: string;
readonly bootscriptId: string;
/**
* The cloud init script associated with this server.
*/
readonly cloudInit: string;
/**
* True if dynamic IP in enable on the server.
*/
readonly enableDynamicIp: boolean;
readonly filesystems: outputs.GetInstanceServerFilesystem[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The UUID and the label of the base image used by the server.
*/
readonly image: string;
readonly ipId: string;
readonly ipIds: string[];
readonly name?: string;
/**
* The ID of the organization the server is associated with.
*/
readonly organizationId: string;
/**
* The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the server is attached to.
*/
readonly placementGroupId: string;
/**
* True when the placement group policy is respected.
*/
readonly placementGroupPolicyRespected: boolean;
/**
* The list of private IPs of the server.
*/
readonly privateIps: outputs.GetInstanceServerPrivateIp[];
readonly privateNetworks: outputs.GetInstanceServerPrivateNetwork[];
readonly projectId?: string;
readonly protected: boolean;
/**
* The list of public IPs of the server
*/
readonly publicIps: outputs.GetInstanceServerPublicIp[];
readonly replaceOnTypeChange: boolean;
readonly rootVolumes: outputs.GetInstanceServerRootVolume[];
/**
* The [security group](https://developers.scaleway.com/en/products/instance/api/#security-groups-8d7f89) the server is attached to.
*/
readonly securityGroupId: string;
readonly serverId?: string;
/**
* The state of the server. Possible values are: `started`, `stopped` or `standby`.
*/
readonly state: string;
/**
* The tags associated with the server.
*/
readonly tags: string[];
/**
* The commercial type of the server.
* You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
*/
readonly type: string;
/**
* The user data associated with the server.
*/
readonly userData: {
[key: string]: string;
};
readonly zone?: string;
}
/**
* Gets information about an instance server.
*/
/** @deprecated scaleway.index/getinstanceserver.getInstanceServer has been deprecated in favor of scaleway.instance/getserver.getServer */
export declare function getInstanceServerOutput(args?: GetInstanceServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceServerResult>;
/**
* A collection of arguments for invoking getInstanceServer.
*/
export interface GetInstanceServerOutputArgs {
/**
* The server name. Only one of `name` and `serverId` should be specified.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the project the instance server is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* The server id. Only one of `name` and `serverId` should be specified.
*/
serverId?: pulumi.Input<string | undefined>;
/**
* `zone`) The zone in which the server exists.
*/
zone?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getInstanceServer.d.ts.map