@pulumi/openstack
Version: 
A Pulumi package for creating and managing OpenStack cloud resources.
58 lines • 1.93 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.workflowWorkflowV2Output = exports.workflowWorkflowV2 = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
 * 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",
 * });
 * ```
 */
function workflowWorkflowV2(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("openstack:index/workflowWorkflowV2:WorkflowWorkflowV2", {
        "name": args.name,
        "namespace": args.namespace,
        "projectId": args.projectId,
        "region": args.region,
    }, opts);
}
exports.workflowWorkflowV2 = workflowWorkflowV2;
/**
 * 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",
 * });
 * ```
 */
function workflowWorkflowV2Output(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("openstack:index/workflowWorkflowV2:WorkflowWorkflowV2", {
        "name": args.name,
        "namespace": args.namespace,
        "projectId": args.projectId,
        "region": args.region,
    }, opts);
}
exports.workflowWorkflowV2Output = workflowWorkflowV2Output;
//# sourceMappingURL=workflowWorkflowV2.js.map