@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
69 lines • 2.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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",
* });
* ```
*/
export declare function getGroups(args: GetGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupsResult>;
/**
* A collection of arguments for invoking getGroups.
*/
export interface GetGroupsArgs {
/**
* The parent resource under which to list all Groups. Must be of the form identitysources/{identity_source_id} for external- identity-mapped groups or customers/{customer_id} for Google Groups.
*/
parent: string;
}
/**
* A collection of values returned by getGroups.
*/
export interface GetGroupsResult {
/**
* The list of groups under the provided customer or namespace. Structure is documented below.
*/
readonly groups: outputs.cloudidentity.GetGroupsGroup[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly parent: string;
}
/**
* 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",
* });
* ```
*/
export declare function getGroupsOutput(args: GetGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupsResult>;
/**
* A collection of arguments for invoking getGroups.
*/
export interface GetGroupsOutputArgs {
/**
* The parent resource under which to list all Groups. Must be of the form identitysources/{identity_source_id} for external- identity-mapped groups or customers/{customer_id} for Google Groups.
*/
parent: pulumi.Input<string>;
}
//# sourceMappingURL=getGroups.d.ts.map