@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
56 lines • 1.92 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.getSOutput = exports.getS = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Gets a list of all organizations.
* See [the official documentation](https://cloud.google.com/resource-manager/docs/creating-managing-organization)
* and [API](https://cloud.google.com/resource-manager/reference/rest/v1/organizations/search).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const example = gcp.organizations.getS({
* filter: "domain:example.com",
* });
* ```
*/
function getS(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("gcp:organizations/getS:getS", {
"filter": args.filter,
}, opts);
}
exports.getS = getS;
/**
* Gets a list of all organizations.
* See [the official documentation](https://cloud.google.com/resource-manager/docs/creating-managing-organization)
* and [API](https://cloud.google.com/resource-manager/reference/rest/v1/organizations/search).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const example = gcp.organizations.getS({
* filter: "domain:example.com",
* });
* ```
*/
function getSOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("gcp:organizations/getS:getS", {
"filter": args.filter,
}, opts);
}
exports.getSOutput = getSOutput;
//# sourceMappingURL=getS.js.map