import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Fleet Resource resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a fleet resource by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFleetResource = oci.fleetappsmanagement.getFleetResource({ * fleetId: testFleet.id, * fleetResourceId: testResource.id, * }); * ``` */ export declare function getFleetResource(args: GetFleetResourceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFleetResource. */ export interface GetFleetResourceArgs { /** * Unique Fleet identifier. */ fleetId: string; /** * unique FleetResource identifier */ fleetResourceId: string; } /** * A collection of values returned by getFleetResource. */ export interface GetFleetResourceResult { /** * Resource Compartment name. */ readonly compartment: string; /** * OCID of the compartment to which the resource belongs to. */ readonly compartmentId: string; /** * Compliance State of the Resource. */ readonly complianceState: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName: string; /** * Environment Type associated with the Fleet when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet. */ readonly environmentType: string; readonly fleetId: string; readonly fleetResourceId: string; /** * The unique id of the resource. */ readonly id: string; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: string; /** * The compliance percentage. */ readonly percentCompliant: number; /** * Product associated with the resource when the resource type is fleet. Will only be returned for PRODUCT fleets that are part of a GROUP Fleet. */ readonly product: string; /** * Count of products within the resource. */ readonly productCount: number; /** * The OCID of the resource. */ readonly resourceId: string; /** * Associated region */ readonly resourceRegion: string; /** * Type of the Resource. */ readonly resourceType: string; /** * The current state of the FleetResource. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * Count of targets within the resource. */ readonly targetCount: number; /** * OCID of the tenancy to which the resource belongs to. */ readonly tenancyId: string; /** * Resource Tenancy Name. */ readonly tenancyName: string; /** * The time this resource was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Fleet Resource resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a fleet resource by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFleetResource = oci.fleetappsmanagement.getFleetResource({ * fleetId: testFleet.id, * fleetResourceId: testResource.id, * }); * ``` */ export declare function getFleetResourceOutput(args: GetFleetResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFleetResource. */ export interface GetFleetResourceOutputArgs { /** * Unique Fleet identifier. */ fleetId: pulumi.Input; /** * unique FleetResource identifier */ fleetResourceId: pulumi.Input; } //# sourceMappingURL=getFleetResource.d.ts.map