import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Describes an Access Control Policy. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const testAccessControlPolicy = new nutanix.AccessControlPolicy("test", { * name: "NAME OF ACCESS CONTROL POLICY", * description: "DESCRIPTION OF THE ACCESS CONTROL POLICY", * roleReference: { * kind: "role", * uuid: "UUID of role", * }, * }); * const test = nutanix.getAccessControlPolicyOutput({ * accessControlPolicyId: testAccessControlPolicy.id, * }); * ``` * */ export declare function getAccessControlPolicy(args?: GetAccessControlPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccessControlPolicy. */ export interface GetAccessControlPolicyArgs { /** * - (Required) The UUID of an access control policy. */ accessControlPolicyId?: string; accessControlPolicyName?: string; /** * - The category values represented as a dictionary of key > list of values. */ categories?: inputs.GetAccessControlPolicyCategory[]; } /** * A collection of values returned by getAccessControlPolicy. */ export interface GetAccessControlPolicyResult { readonly accessControlPolicyId?: string; readonly accessControlPolicyName?: string; /** * The version of the API. */ readonly apiVersion: string; /** * - The category values represented as a dictionary of key > list of values. */ readonly categories: outputs.GetAccessControlPolicyCategory[]; readonly contextFilterLists: outputs.GetAccessControlPolicyContextFilterList[]; /** * - The description of the Access Control Policy. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * - The Access Control Policy kind metadata. */ readonly metadata: { [key: string]: string; }; /** * - the name(Optional). */ readonly name: string; /** * - The reference to a user. */ readonly ownerReference: { [key: string]: string; }; /** * - The reference to a project. */ readonly projectReference: { [key: string]: string; }; /** * - The reference to a role. */ readonly roleReferences: outputs.GetAccessControlPolicyRoleReference[]; /** * - The state of the Access Control Policy. */ readonly state: string; /** * - The User group(s) being assigned a given role. */ readonly userGroupReferenceLists: outputs.GetAccessControlPolicyUserGroupReferenceList[]; /** * - The User(s) being assigned a given role. */ readonly userReferenceLists: outputs.GetAccessControlPolicyUserReferenceList[]; } /** * Describes an Access Control Policy. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const testAccessControlPolicy = new nutanix.AccessControlPolicy("test", { * name: "NAME OF ACCESS CONTROL POLICY", * description: "DESCRIPTION OF THE ACCESS CONTROL POLICY", * roleReference: { * kind: "role", * uuid: "UUID of role", * }, * }); * const test = nutanix.getAccessControlPolicyOutput({ * accessControlPolicyId: testAccessControlPolicy.id, * }); * ``` * */ export declare function getAccessControlPolicyOutput(args?: GetAccessControlPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccessControlPolicy. */ export interface GetAccessControlPolicyOutputArgs { /** * - (Required) The UUID of an access control policy. */ accessControlPolicyId?: pulumi.Input; accessControlPolicyName?: pulumi.Input; /** * - The category values represented as a dictionary of key > list of values. */ categories?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getAccessControlPolicy.d.ts.map