import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Service data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Data source to look up a single service by its ID. * const scmServiceTcpDs = scm.getService({ * id: "ff135641-6735-4d7d-85c6-3401bba9dee8", * }); * export const serviceDetailsTcp = scmServiceTcpDs; * // Data source to look up a single service by its ID. * const scmServiceUdpDs = scm.getService({ * id: "e087b703-aede-437e-853e-b11576f6dcbe", * }); * export const serviceDetailsUdp = scmServiceUdpDs; * ``` */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getService. */ export interface GetServiceArgs { /** * The device in which the resource is defined */ device?: string; folder?: string; /** * The UUID of the service */ id: string; name?: string; snippet?: string; } /** * A collection of values returned by getService. */ export interface GetServiceResult { readonly description: string; /** * The device in which the resource is defined */ readonly device: string; readonly folder: string; /** * The UUID of the service */ readonly id: string; readonly name: string; readonly protocol: outputs.GetServiceProtocol; readonly snippet: string; readonly tags: string[]; readonly tfid: string; } /** * Service data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Data source to look up a single service by its ID. * const scmServiceTcpDs = scm.getService({ * id: "ff135641-6735-4d7d-85c6-3401bba9dee8", * }); * export const serviceDetailsTcp = scmServiceTcpDs; * // Data source to look up a single service by its ID. * const scmServiceUdpDs = scm.getService({ * id: "e087b703-aede-437e-853e-b11576f6dcbe", * }); * export const serviceDetailsUdp = scmServiceUdpDs; * ``` */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getService. */ export interface GetServiceOutputArgs { /** * The device in which the resource is defined */ device?: pulumi.Input; folder?: pulumi.Input; /** * The UUID of the service */ id: pulumi.Input; name?: pulumi.Input; snippet?: pulumi.Input; } //# sourceMappingURL=getService.d.ts.map