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 Assets in Oracle Cloud Infrastructure Cloud Bridge service. * * Returns a list of assets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAssets = oci.cloudbridge.getAssets({ * compartmentId: compartmentId, * assetClassName: assetAssetClassName, * assetClassVersion: assetAssetClassVersion, * assetId: testAsset.id, * assetType: assetAssetType, * displayName: assetDisplayName, * externalAssetKey: assetExternalAssetKey, * inventoryId: testInventory.id, * sourceKey: assetSourceKey, * state: assetState, * }); * ``` */ export declare function getAssets(args: GetAssetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAssets. */ export interface GetAssetsArgs { /** * The name of the asset class. */ assetClassName?: string; /** * The version of the asset class. */ assetClassVersion?: string; /** * Unique asset identifier. */ assetId?: string; /** * The type of asset. */ assetType?: string; /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; /** * External asset key. */ externalAssetKey?: string; filters?: inputs.CloudBridge.GetAssetsFilter[]; /** * Unique Inventory identifier. */ inventoryId?: string; /** * Source key from where the assets originate. */ sourceKey?: string; /** * A filter to return only assets whose lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getAssets. */ export interface GetAssetsResult { /** * The class name of the asset. */ readonly assetClassName?: string; /** * The version of the asset class. */ readonly assetClassVersion?: string; /** * The list of asset_collection. */ readonly assetCollections: outputs.CloudBridge.GetAssetsAssetCollection[]; readonly assetId?: string; /** * The type of asset. */ readonly assetType?: string; /** * The OCID of the compartment to which an asset belongs to. */ readonly compartmentId: string; /** * Asset display name. */ readonly displayName?: string; /** * The key of the asset from the external environment. */ readonly externalAssetKey?: string; readonly filters?: outputs.CloudBridge.GetAssetsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Inventory ID to which an asset belongs to. */ readonly inventoryId?: string; /** * The source key that the asset belongs to. */ readonly sourceKey?: string; /** * The current state of the asset. */ readonly state?: string; } /** * This data source provides the list of Assets in Oracle Cloud Infrastructure Cloud Bridge service. * * Returns a list of assets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAssets = oci.cloudbridge.getAssets({ * compartmentId: compartmentId, * assetClassName: assetAssetClassName, * assetClassVersion: assetAssetClassVersion, * assetId: testAsset.id, * assetType: assetAssetType, * displayName: assetDisplayName, * externalAssetKey: assetExternalAssetKey, * inventoryId: testInventory.id, * sourceKey: assetSourceKey, * state: assetState, * }); * ``` */ export declare function getAssetsOutput(args: GetAssetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAssets. */ export interface GetAssetsOutputArgs { /** * The name of the asset class. */ assetClassName?: pulumi.Input; /** * The version of the asset class. */ assetClassVersion?: pulumi.Input; /** * Unique asset identifier. */ assetId?: pulumi.Input; /** * The type of asset. */ assetType?: pulumi.Input; /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; /** * External asset key. */ externalAssetKey?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique Inventory identifier. */ inventoryId?: pulumi.Input; /** * Source key from where the assets originate. */ sourceKey?: pulumi.Input; /** * A filter to return only assets whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getAssets.d.ts.map