import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves a `Membership`. */ export declare function getMembership(args: GetMembershipArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetMembershipArgs { groupId: string; membershipId: string; } export interface GetMembershipResult { /** * The time when the `Membership` was created. */ readonly createTime: string; /** * Delivery setting associated with the membership. */ readonly deliverySetting: string; /** * The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`. */ readonly name: string; /** * Immutable. The `EntityKey` of the member. */ readonly preferredMemberKey: outputs.cloudidentity.v1.EntityKeyResponse; /** * The `MembershipRole`s that apply to the `Membership`. If unspecified, defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain duplicate `MembershipRole`s with the same `name`. */ readonly roles: outputs.cloudidentity.v1.MembershipRoleResponse[]; /** * The type of the membership. */ readonly type: string; /** * The time when the `Membership` was last updated. */ readonly updateTime: string; } /** * Retrieves a `Membership`. */ export declare function getMembershipOutput(args: GetMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetMembershipOutputArgs { groupId: pulumi.Input; membershipId: pulumi.Input; }