import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides a datasource to retrieve an IAM Entity by its external identifier. Entities are used in authorization policies (e.g. user, role, cluster). * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Get entity by ext_id * const example = nutanix.getIamEntityV2({ * extId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * }); * export const entityName = example.then(example => example.name); * ``` * */ export declare function getIamEntityV2(args: GetIamEntityV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIamEntityV2. */ export interface GetIamEntityV2Args { /** * External identifier of the IAM Entity. */ extId: string; } /** * A collection of values returned by getIamEntityV2. */ export interface GetIamEntityV2Result { /** * List of attributes for the Entity (used in authorization policy filters). */ readonly attributeLists: outputs.GetIamEntityV2AttributeList[]; /** * Client that created the entity. */ readonly clientName: string; /** * User or Service that created the Entity. */ readonly createdBy: string; /** * Creation time of the Entity. */ readonly createdTime: string; /** * Description of the Entity. */ readonly description: string; /** * Display name of the entity's attribute. */ readonly displayName: string; /** * External identifier of the attribute. */ readonly extId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Whether logical AND is supported for attributes. Indicates whether the entity supports scoping using multiple attributes which will result in a logical AND. */ readonly isLogicalAndSupportedForAttributes: boolean; /** * Last updated time of the Entity. */ readonly lastUpdatedTime: string; /** * HATEOAS links for the attribute (each with `href` and `rel`). */ readonly links: outputs.GetIamEntityV2Link[]; /** * Name of the entity's attribute used in Authorization Policy filters. */ readonly name: string; /** * Search URL for the Entity. URL provided by the client to search the entities. */ readonly searchUrl: string; /** * Tenant identifier for the attribute. */ readonly tenantId: string; } /** * Provides a datasource to retrieve an IAM Entity by its external identifier. Entities are used in authorization policies (e.g. user, role, cluster). * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Get entity by ext_id * const example = nutanix.getIamEntityV2({ * extId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * }); * export const entityName = example.then(example => example.name); * ``` * */ export declare function getIamEntityV2Output(args: GetIamEntityV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIamEntityV2. */ export interface GetIamEntityV2OutputArgs { /** * External identifier of the IAM Entity. */ extId: pulumi.Input; } //# sourceMappingURL=getIamEntityV2.d.ts.map