@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
66 lines • 2.06 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCockpitOutput = exports.getCockpit = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* 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",
* });
* ```
*/
function getCockpit(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getCockpit:getCockpit", {
"projectId": args.projectId,
}, opts);
}
exports.getCockpit = getCockpit;
/**
* 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",
* });
* ```
*/
function getCockpitOutput(args, opts) {
return pulumi.output(args).apply((a) => getCockpit(a, opts));
}
exports.getCockpitOutput = getCockpitOutput;
//# sourceMappingURL=getCockpit.js.map