import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Operator Control Assignments in Oracle Cloud Infrastructure Operator Access Control service. * * Lists all Operator Control Assignments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOperatorControlAssignments = oci.operatoraccesscontrol.getControlAssignments({ * compartmentId: compartmentId, * operatorControlName: testOperatorControl.name, * resourceName: operatorControlAssignmentResourceName, * resourceType: operatorControlAssignmentResourceType, * state: operatorControlAssignmentState, * }); * ``` */ export declare function getControlAssignments(args: GetControlAssignmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getControlAssignments. */ export interface GetControlAssignmentsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; filters?: inputs.OperatorAccessControl.GetControlAssignmentsFilter[]; /** * A filter to return OperatorControl that match the given operatorControlName. */ operatorControlName?: string; /** * A filter to return only resources that match the given ResourceName. */ resourceName?: string; /** * A filter to return only lists of resources that match the entire given service type. */ resourceType?: string; /** * A filter to return only resources whose lifecycleState matches the given OperatorControlAssignment lifecycleState. */ state?: string; } /** * A collection of values returned by getControlAssignments. */ export interface GetControlAssignmentsResult { /** * The OCID of the comparment that contains the operator control assignment. */ readonly compartmentId: string; readonly filters?: outputs.OperatorAccessControl.GetControlAssignmentsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of operator_control_assignment_collection. */ readonly operatorControlAssignmentCollections: outputs.OperatorAccessControl.GetControlAssignmentsOperatorControlAssignmentCollection[]; readonly operatorControlName?: string; /** * Name of the target resource. */ readonly resourceName?: string; /** * resourceType for which the OperatorControlAssignment is applicable */ readonly resourceType?: string; /** * The current lifcycle state of the OperatorControl. */ readonly state?: string; } /** * This data source provides the list of Operator Control Assignments in Oracle Cloud Infrastructure Operator Access Control service. * * Lists all Operator Control Assignments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOperatorControlAssignments = oci.operatoraccesscontrol.getControlAssignments({ * compartmentId: compartmentId, * operatorControlName: testOperatorControl.name, * resourceName: operatorControlAssignmentResourceName, * resourceType: operatorControlAssignmentResourceType, * state: operatorControlAssignmentState, * }); * ``` */ export declare function getControlAssignmentsOutput(args: GetControlAssignmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getControlAssignments. */ export interface GetControlAssignmentsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return OperatorControl that match the given operatorControlName. */ operatorControlName?: pulumi.Input; /** * A filter to return only resources that match the given ResourceName. */ resourceName?: pulumi.Input; /** * A filter to return only lists of resources that match the entire given service type. */ resourceType?: pulumi.Input; /** * A filter to return only resources whose lifecycleState matches the given OperatorControlAssignment lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getControlAssignments.d.ts.map