import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Fetches a single entity group by its external identifier (ext_id). Use this data source when you know the entity group UUID and need its attributes. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Fetch by known ext_id * const example = nutanix.getEntityGroupV2({ * extId: "00000000-0000-0000-0000-000000000000", * }); * // Fetch entity group created by a resource * const byId = nutanix.getEntityGroupV2({ * extId: myGroup.id, * }); * ``` * */ export declare function getEntityGroupV2(args: GetEntityGroupV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEntityGroupV2. */ export interface GetEntityGroupV2Args { /** * The external identifier (UUID) of the entity group. */ extId: string; } /** * A collection of values returned by getEntityGroupV2. */ export interface GetEntityGroupV2Result { /** * Configuration of the allowed entities in the Entity Group. */ readonly allowedConfigs: outputs.GetEntityGroupV2AllowedConfig[]; /** * The timestamp when the Entity Group was created. */ readonly creationTime: string; /** * A user defined annotation for an Entity Group. */ readonly description: string; /** * Configuration of except entities in the Entity Group. */ readonly exceptConfigs: outputs.GetEntityGroupV2ExceptConfig[]; /** * A globally unique identifier of an instance that is suitable for external consumption. */ readonly extId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The timestamp when the Entity Group was last updated. */ readonly lastUpdateTime: string; /** * A HATEOAS style link for the response. */ readonly links: outputs.GetEntityGroupV2Link[]; /** * A short identifier of an Entity Group. */ readonly name: string; /** * The external identifier of the user who created the Entity Group. */ readonly ownerExtId: string; /** * Mapping of entity group to the list of policy external identifiers. */ readonly policyExtIds: string[]; /** * A globally unique identifier that represents the tenant that owns this entity. */ readonly tenantId: string; } /** * Fetches a single entity group by its external identifier (ext_id). Use this data source when you know the entity group UUID and need its attributes. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Fetch by known ext_id * const example = nutanix.getEntityGroupV2({ * extId: "00000000-0000-0000-0000-000000000000", * }); * // Fetch entity group created by a resource * const byId = nutanix.getEntityGroupV2({ * extId: myGroup.id, * }); * ``` * */ export declare function getEntityGroupV2Output(args: GetEntityGroupV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEntityGroupV2. */ export interface GetEntityGroupV2OutputArgs { /** * The external identifier (UUID) of the entity group. */ extId: pulumi.Input; } //# sourceMappingURL=getEntityGroupV2.d.ts.map