import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * DataObject data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Replace the ID with the UUID of the SCM Data Object you want to find. * const scmDataObjectGet = scm.getDataObject({ * id: "b1398675-254e-4eff-8050-007ef2f9c0a1", * }); * export const scmDataObjectDetails = scmDataObjectGet.then(scmDataObjectGet => scmDataObjectGet.patternType); * ``` */ export declare function getDataObject(args: GetDataObjectArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDataObject. */ export interface GetDataObjectArgs { /** * The device in which the resource is defined */ device?: string; folder?: string; /** * The UUID of the data object */ id: string; name?: string; snippet?: string; } /** * A collection of values returned by getDataObject. */ export interface GetDataObjectResult { readonly description: string; /** * The device in which the resource is defined */ readonly device: string; readonly disableOverride: string; readonly folder: string; /** * The UUID of the data object */ readonly id: string; readonly name: string; readonly patternType: outputs.GetDataObjectPatternType; readonly snippet: string; readonly tfid: string; } /** * DataObject data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Replace the ID with the UUID of the SCM Data Object you want to find. * const scmDataObjectGet = scm.getDataObject({ * id: "b1398675-254e-4eff-8050-007ef2f9c0a1", * }); * export const scmDataObjectDetails = scmDataObjectGet.then(scmDataObjectGet => scmDataObjectGet.patternType); * ``` */ export declare function getDataObjectOutput(args: GetDataObjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDataObject. */ export interface GetDataObjectOutputArgs { /** * The device in which the resource is defined */ device?: pulumi.Input; folder?: pulumi.Input; /** * The UUID of the data object */ id: pulumi.Input; name?: pulumi.Input; snippet?: pulumi.Input; } //# sourceMappingURL=getDataObject.d.ts.map