UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

54 lines 1.79 kB
"use strict"; // *** 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.getGroupsOutput = exports.getGroups = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to get list of the Cloud Identity Groups under a customer or namespace. * * https://cloud.google.com/identity/docs/concepts/overview#groups * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const groups = gcp.cloudidentity.getGroups({ * parent: "customers/A01b123xz", * }); * ``` */ function getGroups(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:cloudidentity/getGroups:getGroups", { "parent": args.parent, }, opts); } exports.getGroups = getGroups; /** * Use this data source to get list of the Cloud Identity Groups under a customer or namespace. * * https://cloud.google.com/identity/docs/concepts/overview#groups * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const groups = gcp.cloudidentity.getGroups({ * parent: "customers/A01b123xz", * }); * ``` */ function getGroupsOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:cloudidentity/getGroups:getGroups", { "parent": args.parent, }, opts); } exports.getGroupsOutput = getGroupsOutput; //# sourceMappingURL=getGroups.js.map