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 Management Agent Install Keys in Oracle Cloud Infrastructure Management Agent service. * * Returns a list of Management Agent installed Keys. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementAgentInstallKeys = oci.managementagent.getManagementAgentInstallKeys({ * compartmentId: compartmentId, * accessLevel: managementAgentInstallKeyAccessLevel, * compartmentIdInSubtree: managementAgentInstallKeyCompartmentIdInSubtree === "true", * displayName: managementAgentInstallKeyDisplayName, * state: managementAgentInstallKeyState, * }); * ``` */ export declare function getManagementAgentInstallKeys(args: GetManagementAgentInstallKeysArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagementAgentInstallKeys. */ export interface GetManagementAgentInstallKeysArgs { /** * Value of this is always "ACCESSIBLE" and any other value is not supported. */ accessLevel?: string; /** * The OCID of the compartment to which a request will be scoped. */ compartmentId: string; /** * if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified. */ compartmentIdInSubtree?: boolean; /** * The display name for which the Key needs to be listed. */ displayName?: string; filters?: inputs.ManagementAgent.GetManagementAgentInstallKeysFilter[]; /** * Filter to return only Management Agents in the particular lifecycle state. */ state?: string; } /** * A collection of values returned by getManagementAgentInstallKeys. */ export interface GetManagementAgentInstallKeysResult { readonly accessLevel?: string; /** * Compartment Identifier */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * Management Agent Install Key Name */ readonly displayName?: string; readonly filters?: outputs.ManagementAgent.GetManagementAgentInstallKeysFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of management_agent_install_keys. */ readonly managementAgentInstallKeys: outputs.ManagementAgent.GetManagementAgentInstallKeysManagementAgentInstallKey[]; /** * Status of Key */ readonly state?: string; } /** * This data source provides the list of Management Agent Install Keys in Oracle Cloud Infrastructure Management Agent service. * * Returns a list of Management Agent installed Keys. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementAgentInstallKeys = oci.managementagent.getManagementAgentInstallKeys({ * compartmentId: compartmentId, * accessLevel: managementAgentInstallKeyAccessLevel, * compartmentIdInSubtree: managementAgentInstallKeyCompartmentIdInSubtree === "true", * displayName: managementAgentInstallKeyDisplayName, * state: managementAgentInstallKeyState, * }); * ``` */ export declare function getManagementAgentInstallKeysOutput(args: GetManagementAgentInstallKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagementAgentInstallKeys. */ export interface GetManagementAgentInstallKeysOutputArgs { /** * Value of this is always "ACCESSIBLE" and any other value is not supported. */ accessLevel?: pulumi.Input; /** * The OCID of the compartment to which a request will be scoped. */ compartmentId: pulumi.Input; /** * if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified. */ compartmentIdInSubtree?: pulumi.Input; /** * The display name for which the Key needs to be listed. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter to return only Management Agents in the particular lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getManagementAgentInstallKeys.d.ts.map