@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
69 lines (68 loc) • 1.58 kB
TypeScript
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.getSchedule({
* id: "1234-56-789",
* });
* ```
*/
export declare function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduleResult>;
/**
* A collection of arguments for invoking getSchedule.
*/
export interface GetScheduleArgs {
/**
* The Id param.
*/
id: string;
}
/**
* A collection of values returned by getSchedule.
*/
export interface GetScheduleResult {
/**
* The Id param.
*/
readonly id: string;
/**
* Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
*/
readonly name: string;
/**
* The ScheduleType param.
*/
readonly scheduleType: outputs.GetScheduleScheduleType;
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.getSchedule({
* id: "1234-56-789",
* });
* ```
*/
export declare function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduleResult>;
/**
* A collection of arguments for invoking getSchedule.
*/
export interface GetScheduleOutputArgs {
/**
* The Id param.
*/
id: pulumi.Input<string>;
}