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 Named Credentials in Oracle Cloud Infrastructure Management Agent service. * * A list of Management Agent Data Sources for the given Management Agent Id. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamedCredentials = oci.managementagent.getNamedCredentials({ * managementAgentId: testManagementAgent.id, * ids: [namedCredentialId], * names: [namedCredentialName], * states: [namedCredentialState], * types: [namedCredentialType], * }); * ``` */ export declare function getNamedCredentials(args: GetNamedCredentialsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamedCredentials. */ export interface GetNamedCredentialsArgs { filters?: inputs.ManagementAgent.GetNamedCredentialsFilter[]; /** * Filter list for these Named credentials identifiers (ocid) values. */ ids?: string[]; /** * The ManagementAgentID of the agent from which the named credentials are associated. */ managementAgentId: string; /** * Filter list for these name items. */ names?: string[]; /** * Filter list to return only Management Agents in the particular lifecycle state. */ states?: string[]; /** * Filter list for these type values. */ types?: string[]; } /** * A collection of values returned by getNamedCredentials. */ export interface GetNamedCredentialsResult { readonly filters?: outputs.ManagementAgent.GetNamedCredentialsFilter[]; /** * Identifier for Named Credential. */ readonly ids?: string[]; /** * The Management Agent parent resource to associated with this named credential. This is the ManagementAgent resource OCID. */ readonly managementAgentId: string; /** * The list of named_credential_collection. */ readonly namedCredentialCollections: outputs.ManagementAgent.GetNamedCredentialsNamedCredentialCollection[]; /** * Name of the property */ readonly names?: string[]; /** * The current state of the named credential */ readonly states?: string[]; /** * The type of the Named Credential. */ readonly types?: string[]; } /** * This data source provides the list of Named Credentials in Oracle Cloud Infrastructure Management Agent service. * * A list of Management Agent Data Sources for the given Management Agent Id. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamedCredentials = oci.managementagent.getNamedCredentials({ * managementAgentId: testManagementAgent.id, * ids: [namedCredentialId], * names: [namedCredentialName], * states: [namedCredentialState], * types: [namedCredentialType], * }); * ``` */ export declare function getNamedCredentialsOutput(args: GetNamedCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamedCredentials. */ export interface GetNamedCredentialsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * Filter list for these Named credentials identifiers (ocid) values. */ ids?: pulumi.Input[] | undefined>; /** * The ManagementAgentID of the agent from which the named credentials are associated. */ managementAgentId: pulumi.Input; /** * Filter list for these name items. */ names?: pulumi.Input[] | undefined>; /** * Filter list to return only Management Agents in the particular lifecycle state. */ states?: pulumi.Input[] | undefined>; /** * Filter list for these type values. */ types?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getNamedCredentials.d.ts.map