@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
87 lines (86 loc) • 2.37 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about the Scaleway Cockpit.
*
* For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const main = scaleway.getCockpit({});
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const main = scaleway.getCockpit({
* projectId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*/
export declare function getCockpit(args?: GetCockpitArgs, opts?: pulumi.InvokeOptions): Promise<GetCockpitResult>;
/**
* A collection of arguments for invoking getCockpit.
*/
export interface GetCockpitArgs {
/**
* `projectId`) The ID of the project the cockpit is associated with.
*/
projectId?: string;
}
/**
* A collection of values returned by getCockpit.
*/
export interface GetCockpitResult {
/**
* Endpoints
*/
readonly endpoints: outputs.GetCockpitEndpoint[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The ID of the current plan
*/
readonly planId: string;
readonly projectId?: string;
}
/**
* Gets information about the Scaleway Cockpit.
*
* For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const main = scaleway.getCockpit({});
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const main = scaleway.getCockpit({
* projectId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*/
export declare function getCockpitOutput(args?: GetCockpitOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCockpitResult>;
/**
* A collection of arguments for invoking getCockpit.
*/
export interface GetCockpitOutputArgs {
/**
* `projectId`) The ID of the project the cockpit is associated with.
*/
projectId?: pulumi.Input<string>;
}