import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Asset resource in Oracle Cloud Infrastructure Cloud Bridge service. * * Gets an asset by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAsset = oci.cloudbridge.getAsset({ * assetId: testAssetOciCloudBridgeAsset.id, * }); * ``` */ export declare function getAsset(args: GetAssetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAsset. */ export interface GetAssetArgs { /** * Unique asset identifier. */ assetId: string; } /** * A collection of values returned by getAsset. */ export interface GetAssetResult { /** * The class name of the asset. */ readonly assetClassName: string; /** * The version of the asset class. */ readonly assetClassVersion: string; /** * The details of the asset. */ readonly assetDetails: string; readonly assetId: string; /** * List of asset source OCID. */ readonly assetSourceIds: string[]; /** * The type of asset. */ readonly assetType: string; readonly attachedEbsVolumesCosts: outputs.CloudBridge.GetAssetAttachedEbsVolumesCost[]; readonly awsEbs: outputs.CloudBridge.GetAssetAwsEb[]; readonly awsEc2costs: outputs.CloudBridge.GetAssetAwsEc2cost[]; readonly awsEc2s: outputs.CloudBridge.GetAssetAwsEc2[]; /** * The OCID of the compartment to which an asset belongs to. */ readonly compartmentId: string; /** * Compute related properties. */ readonly computes: outputs.CloudBridge.GetAssetCompute[]; /** * The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * Asset display name. */ readonly displayName: string; /** * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting. */ readonly environmentType: string; /** * The key of the asset from the external environment. */ readonly externalAssetKey: string; /** * The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * Asset OCID that is immutable on creation. */ 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; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: { [key: string]: string; }; /** * The time when the asset was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The time when the asset was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; /** * Virtual machine related properties. */ readonly vms: outputs.CloudBridge.GetAssetVm[]; /** * VMware vCenter related properties. */ readonly vmwareVcenters: outputs.CloudBridge.GetAssetVmwareVcenter[]; /** * VMware virtual machine related properties. */ readonly vmwareVms: outputs.CloudBridge.GetAssetVmwareVm[]; } /** * This data source provides details about a specific Asset resource in Oracle Cloud Infrastructure Cloud Bridge service. * * Gets an asset by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAsset = oci.cloudbridge.getAsset({ * assetId: testAssetOciCloudBridgeAsset.id, * }); * ``` */ export declare function getAssetOutput(args: GetAssetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAsset. */ export interface GetAssetOutputArgs { /** * Unique asset identifier. */ assetId: pulumi.Input; } //# sourceMappingURL=getAsset.d.ts.map