UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

77 lines (76 loc) 1.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const example = scm.getService({ * id: "1234-56-789", * }); * ``` */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>; /** * A collection of arguments for invoking getService. */ export interface GetServiceArgs { /** * The Id param. */ id: string; } /** * A collection of values returned by getService. */ export interface GetServiceResult { /** * The Description param. String length must not exceed 1023 characters. */ readonly description: string; /** * The Id param. */ readonly id: string; /** * Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters. */ readonly name: string; /** * The Protocol param. */ readonly protocol: outputs.GetServiceProtocol; /** * Tags for service object. List must contain at most 64 elements. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters. */ readonly tags: string[]; readonly tfid: string; } /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const example = scm.getService({ * id: "1234-56-789", * }); * ``` */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceResult>; /** * A collection of arguments for invoking getService. */ export interface GetServiceOutputArgs { /** * The Id param. */ id: pulumi.Input<string>; }