import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Named Credential resource in Oracle Cloud Infrastructure Management Agent service. * * Get Named credential details for given Id and given Management Agent. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamedCredential = oci.managementagent.getNamedCredential({ * namedCredentialId: testNamedCredentialOciManagementAgentNamedCredential.id, * }); * ``` */ export declare function getNamedCredential(args: GetNamedCredentialArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamedCredential. */ export interface GetNamedCredentialArgs { /** * Named credential ID */ namedCredentialId: string; } /** * A collection of values returned by getNamedCredential. */ export interface GetNamedCredentialResult { /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Description of the Named Credential. */ readonly description: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * Identifier for Named Credential. */ readonly id: string; /** * The Management Agent parent resource to associated with this named credential. This is the ManagementAgent resource OCID. */ readonly managementAgentId: string; /** * Name of the property */ readonly name: string; readonly namedCredentialId: string; /** * Properties for the named credential */ readonly properties: outputs.ManagementAgent.GetNamedCredentialProperty[]; /** * The current state of the named credential */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time the Named Credential was created. An RFC3339 formatted datetime string */ readonly timeCreated: string; /** * The time the Named Credential data was last updated. An RFC3339 formatted datetime string */ readonly timeUpdated: string; /** * The type of the Named Credential. */ readonly type: string; } /** * This data source provides details about a specific Named Credential resource in Oracle Cloud Infrastructure Management Agent service. * * Get Named credential details for given Id and given Management Agent. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamedCredential = oci.managementagent.getNamedCredential({ * namedCredentialId: testNamedCredentialOciManagementAgentNamedCredential.id, * }); * ``` */ export declare function getNamedCredentialOutput(args: GetNamedCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamedCredential. */ export interface GetNamedCredentialOutputArgs { /** * Named credential ID */ namedCredentialId: pulumi.Input; } //# sourceMappingURL=getNamedCredential.d.ts.map