import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Profile resource in Oracle Cloud Infrastructure Optimizer service. * * Gets the specified profile's information. Uses the profile's OCID to determine which profile to retrieve. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProfile = oci.optimizer.getProfile({ * profileId: testProfileOciOptimizerProfile.id, * }); * ``` */ export declare function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProfile. */ export interface GetProfileArgs { /** * The unique OCID of the profile. */ profileId: string; } /** * A collection of values returned by getProfile. */ export interface GetProfileResult { /** * The time period over which to collect data for the recommendations, measured in number of days. */ readonly aggregationIntervalInDays: number; /** * The OCID of the tenancy. The tenancy is the root compartment. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Text describing the profile. Avoid entering confidential information. */ readonly description: string; /** * Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * The unique OCID of the profile. */ readonly id: string; /** * A list of configuration levels for each recommendation. */ readonly levelsConfigurations: outputs.Optimizer.GetProfileLevelsConfiguration[]; /** * The name assigned to the profile. Avoid entering confidential information. */ readonly name: string; readonly profileId: string; /** * The profile's current state. */ readonly state: string; readonly systemTags: { [key: string]: string; }; /** * Optional. The compartments specified in the profile override for a recommendation. */ readonly targetCompartments: outputs.Optimizer.GetProfileTargetCompartment[]; /** * Optional. The tags specified in the profile override for a recommendation. */ readonly targetTags: outputs.Optimizer.GetProfileTargetTag[]; /** * The date and time the profile was created, in the format defined by RFC3339. */ readonly timeCreated: string; /** * The date and time the profile was last updated, in the format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Profile resource in Oracle Cloud Infrastructure Optimizer service. * * Gets the specified profile's information. Uses the profile's OCID to determine which profile to retrieve. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProfile = oci.optimizer.getProfile({ * profileId: testProfileOciOptimizerProfile.id, * }); * ``` */ export declare function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProfile. */ export interface GetProfileOutputArgs { /** * The unique OCID of the profile. */ profileId: pulumi.Input; } //# sourceMappingURL=getProfile.d.ts.map