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 Platform Configurations in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the Platform Configurations in the specified compartment. * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPlatformConfigurations = oci.fleetappsmanagement.getPlatformConfigurations({ * compartmentId: compartmentId, * compartmentIdInSubtree: platformConfigurationCompartmentIdInSubtree === "true", * configCategory: platformConfigurationConfigCategory, * displayName: platformConfigurationDisplayName, * id: platformConfigurationId, * state: platformConfigurationState, * type: platformConfigurationType, * }); * ``` */ export declare function getPlatformConfigurations(args?: GetPlatformConfigurationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPlatformConfigurations. */ export interface GetPlatformConfigurationsArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: string; /** * If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel. */ compartmentIdInSubtree?: boolean; /** * Config Category */ configCategory?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.FleetAppsManagement.GetPlatformConfigurationsFilter[]; /** * Unique identifier or OCID for listing a single Platform Configuration by id. Either compartmentId or id must be provided. */ id?: string; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; /** * A filter to return Platform Configurations whose type matches the given type. */ type?: string; } /** * A collection of values returned by getPlatformConfigurations. */ export interface GetPlatformConfigurationsResult { /** * Compartment OCID */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; /** * Category of configuration */ readonly configCategory?: 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; readonly filters?: outputs.FleetAppsManagement.GetPlatformConfigurationsFilter[]; /** * The OCID of the resource. */ readonly id?: string; /** * The list of platform_configuration_collection. */ readonly platformConfigurationCollections: outputs.FleetAppsManagement.GetPlatformConfigurationsPlatformConfigurationCollection[]; /** * The current state of the PlatformConfiguration. */ readonly state?: string; /** * The type of the configuration. */ readonly type?: string; } /** * This data source provides the list of Platform Configurations in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the Platform Configurations in the specified compartment. * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPlatformConfigurations = oci.fleetappsmanagement.getPlatformConfigurations({ * compartmentId: compartmentId, * compartmentIdInSubtree: platformConfigurationCompartmentIdInSubtree === "true", * configCategory: platformConfigurationConfigCategory, * displayName: platformConfigurationDisplayName, * id: platformConfigurationId, * state: platformConfigurationState, * type: platformConfigurationType, * }); * ``` */ export declare function getPlatformConfigurationsOutput(args?: GetPlatformConfigurationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPlatformConfigurations. */ export interface GetPlatformConfigurationsOutputArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: pulumi.Input; /** * If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel. */ compartmentIdInSubtree?: pulumi.Input; /** * Config Category */ configCategory?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique identifier or OCID for listing a single Platform Configuration by id. Either compartmentId or id must be provided. */ id?: pulumi.Input; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; /** * A filter to return Platform Configurations whose type matches the given type. */ type?: pulumi.Input; } //# sourceMappingURL=getPlatformConfigurations.d.ts.map