UNPKG

@pulumi/openstack

Version:

A Pulumi package for creating and managing OpenStack cloud resources.

121 lines (120 loc) 3.01 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the ID of an available workflow. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const workflow1 = openstack.WorkflowWorkflowV2({ * name: "workflow_1", * }); * ``` */ export declare function workflowWorkflowV2(args?: WorkflowWorkflowV2Args, opts?: pulumi.InvokeOptions): Promise<WorkflowWorkflowV2Result>; /** * A collection of arguments for invoking WorkflowWorkflowV2. */ export interface WorkflowWorkflowV2Args { /** * The name of the workflow. */ name?: string; /** * The namespace of the workflow. */ namespace?: string; /** * The id of the project to retrieve the workflow. * Requires admin privileges. */ projectId?: string; /** * The region in which to obtain the V2 Workflow client. */ region?: string; } /** * A collection of values returned by WorkflowWorkflowV2. */ export interface WorkflowWorkflowV2Result { /** * The date the workflow was created. */ readonly createdAt: string; /** * The workflow definition in Mistral v2 DSL. */ readonly definition: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A set of input parameters required for workflow execution. */ readonly input: string; /** * See Argument Reference above. */ readonly name: string; /** * See Argument Reference above. */ readonly namespace: string; /** * See Argument Reference above. */ readonly projectId: string; /** * See Argument Reference above. */ readonly region: string; /** * Scope (private or public). */ readonly scope: string; /** * A set of string tags for the workflow. */ readonly tags: string[]; } /** * Use this data source to get the ID of an available workflow. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const workflow1 = openstack.WorkflowWorkflowV2({ * name: "workflow_1", * }); * ``` */ export declare function workflowWorkflowV2Output(args?: WorkflowWorkflowV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<WorkflowWorkflowV2Result>; /** * A collection of arguments for invoking WorkflowWorkflowV2. */ export interface WorkflowWorkflowV2OutputArgs { /** * The name of the workflow. */ name?: pulumi.Input<string>; /** * The namespace of the workflow. */ namespace?: pulumi.Input<string>; /** * The id of the project to retrieve the workflow. * Requires admin privileges. */ projectId?: pulumi.Input<string>; /** * The region in which to obtain the V2 Workflow client. */ region?: pulumi.Input<string>; }