1. Packages
  2. Vra Provider
  3. API Docs
  4. CatalogItemVroWorkflow
vra 0.13.0 published on Wednesday, May 14, 2025 by vmware

vra.CatalogItemVroWorkflow

Explore with Pulumi AI

vra logo
vra 0.13.0 published on Wednesday, May 14, 2025 by vmware

    Creates a Catalog Item resource from a vRO Workflow.

    Example Usage

    S

    The following example shows how to create a catalog item resource from a vRO Workflow:

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const catalogItemVroWorkflow = new vra.CatalogItemVroWorkflow("catalogItemVroWorkflow", {
        description: "Catalog Item [terraform-vro-workflow] created by Terraform",
        projectId: _var.project_id,
        workflowId: _var.workflow_id,
    });
    
    import pulumi
    import pulumi_vra as vra
    
    catalog_item_vro_workflow = vra.CatalogItemVroWorkflow("catalogItemVroWorkflow",
        description="Catalog Item [terraform-vro-workflow] created by Terraform",
        project_id=var["project_id"],
        workflow_id=var["workflow_id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vra.NewCatalogItemVroWorkflow(ctx, "catalogItemVroWorkflow", &vra.CatalogItemVroWorkflowArgs{
    			Description: pulumi.String("Catalog Item [terraform-vro-workflow] created by Terraform"),
    			ProjectId:   pulumi.Any(_var.Project_id),
    			WorkflowId:  pulumi.Any(_var.Workflow_id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vra = Pulumi.Vra;
    
    return await Deployment.RunAsync(() => 
    {
        var catalogItemVroWorkflow = new Vra.CatalogItemVroWorkflow("catalogItemVroWorkflow", new()
        {
            Description = "Catalog Item [terraform-vro-workflow] created by Terraform",
            ProjectId = @var.Project_id,
            WorkflowId = @var.Workflow_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.CatalogItemVroWorkflow;
    import com.pulumi.vra.CatalogItemVroWorkflowArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var catalogItemVroWorkflow = new CatalogItemVroWorkflow("catalogItemVroWorkflow", CatalogItemVroWorkflowArgs.builder()
                .description("Catalog Item [terraform-vro-workflow] created by Terraform")
                .projectId(var_.project_id())
                .workflowId(var_.workflow_id())
                .build());
    
        }
    }
    
    resources:
      catalogItemVroWorkflow:
        type: vra:CatalogItemVroWorkflow
        properties:
          description: Catalog Item [terraform-vro-workflow] created by Terraform
          projectId: ${var.project_id}
          workflowId: ${var.workflow_id}
    

    Create CatalogItemVroWorkflow Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CatalogItemVroWorkflow(name: string, args: CatalogItemVroWorkflowArgs, opts?: CustomResourceOptions);
    @overload
    def CatalogItemVroWorkflow(resource_name: str,
                               args: CatalogItemVroWorkflowArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def CatalogItemVroWorkflow(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               project_id: Optional[str] = None,
                               workflow_id: Optional[str] = None,
                               catalog_item_vro_workflow_id: Optional[str] = None,
                               description: Optional[str] = None,
                               global_: Optional[bool] = None,
                               icon_id: Optional[str] = None,
                               name: Optional[str] = None)
    func NewCatalogItemVroWorkflow(ctx *Context, name string, args CatalogItemVroWorkflowArgs, opts ...ResourceOption) (*CatalogItemVroWorkflow, error)
    public CatalogItemVroWorkflow(string name, CatalogItemVroWorkflowArgs args, CustomResourceOptions? opts = null)
    public CatalogItemVroWorkflow(String name, CatalogItemVroWorkflowArgs args)
    public CatalogItemVroWorkflow(String name, CatalogItemVroWorkflowArgs args, CustomResourceOptions options)
    
    type: vra:CatalogItemVroWorkflow
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CatalogItemVroWorkflowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CatalogItemVroWorkflowArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CatalogItemVroWorkflowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CatalogItemVroWorkflowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CatalogItemVroWorkflowArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var catalogItemVroWorkflowResource = new Vra.CatalogItemVroWorkflow("catalogItemVroWorkflowResource", new()
    {
        ProjectId = "string",
        WorkflowId = "string",
        CatalogItemVroWorkflowId = "string",
        Description = "string",
        Global = false,
        IconId = "string",
        Name = "string",
    });
    
    example, err := vra.NewCatalogItemVroWorkflow(ctx, "catalogItemVroWorkflowResource", &vra.CatalogItemVroWorkflowArgs{
    	ProjectId:                pulumi.String("string"),
    	WorkflowId:               pulumi.String("string"),
    	CatalogItemVroWorkflowId: pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	Global:                   pulumi.Bool(false),
    	IconId:                   pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    })
    
    var catalogItemVroWorkflowResource = new CatalogItemVroWorkflow("catalogItemVroWorkflowResource", CatalogItemVroWorkflowArgs.builder()
        .projectId("string")
        .workflowId("string")
        .catalogItemVroWorkflowId("string")
        .description("string")
        .global(false)
        .iconId("string")
        .name("string")
        .build());
    
    catalog_item_vro_workflow_resource = vra.CatalogItemVroWorkflow("catalogItemVroWorkflowResource",
        project_id="string",
        workflow_id="string",
        catalog_item_vro_workflow_id="string",
        description="string",
        global_=False,
        icon_id="string",
        name="string")
    
    const catalogItemVroWorkflowResource = new vra.CatalogItemVroWorkflow("catalogItemVroWorkflowResource", {
        projectId: "string",
        workflowId: "string",
        catalogItemVroWorkflowId: "string",
        description: "string",
        global: false,
        iconId: "string",
        name: "string",
    });
    
    type: vra:CatalogItemVroWorkflow
    properties:
        catalogItemVroWorkflowId: string
        description: string
        global: false
        iconId: string
        name: string
        projectId: string
        workflowId: string
    

    CatalogItemVroWorkflow Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CatalogItemVroWorkflow resource accepts the following input properties:

    ProjectId string
    ID of the project to share this catalog item with.
    WorkflowId string
    ID of the vRO workflow to publish.
    CatalogItemVroWorkflowId string
    Description string
    A human-friendly description for the catalog item.
    Global bool
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    IconId string
    ID of the icon to associate with this catalog item.
    Name string
    The name of the catalog item.
    ProjectId string
    ID of the project to share this catalog item with.
    WorkflowId string
    ID of the vRO workflow to publish.
    CatalogItemVroWorkflowId string
    Description string
    A human-friendly description for the catalog item.
    Global bool
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    IconId string
    ID of the icon to associate with this catalog item.
    Name string
    The name of the catalog item.
    projectId String
    ID of the project to share this catalog item with.
    workflowId String
    ID of the vRO workflow to publish.
    catalogItemVroWorkflowId String
    description String
    A human-friendly description for the catalog item.
    global Boolean
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    iconId String
    ID of the icon to associate with this catalog item.
    name String
    The name of the catalog item.
    projectId string
    ID of the project to share this catalog item with.
    workflowId string
    ID of the vRO workflow to publish.
    catalogItemVroWorkflowId string
    description string
    A human-friendly description for the catalog item.
    global boolean
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    iconId string
    ID of the icon to associate with this catalog item.
    name string
    The name of the catalog item.
    project_id str
    ID of the project to share this catalog item with.
    workflow_id str
    ID of the vRO workflow to publish.
    catalog_item_vro_workflow_id str
    description str
    A human-friendly description for the catalog item.
    global_ bool
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    icon_id str
    ID of the icon to associate with this catalog item.
    name str
    The name of the catalog item.
    projectId String
    ID of the project to share this catalog item with.
    workflowId String
    ID of the vRO workflow to publish.
    catalogItemVroWorkflowId String
    description String
    A human-friendly description for the catalog item.
    global Boolean
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    iconId String
    ID of the icon to associate with this catalog item.
    name String
    The name of the catalog item.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CatalogItemVroWorkflow resource produces the following output properties:

    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CreatedBy string
    The user the entity was created by.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    LastUpdatedBy string
    The user the entity was last updated by.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CreatedBy string
    The user the entity was created by.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    LastUpdatedBy string
    The user the entity was last updated by.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy String
    The user the entity was created by.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy String
    The user the entity was last updated by.
    createdAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy string
    The user the entity was created by.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy string
    The user the entity was last updated by.
    created_at str
    Date when the entity was created. The date is in ISO 8601 and UTC.
    created_by str
    The user the entity was created by.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    last_updated_by str
    The user the entity was last updated by.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy String
    The user the entity was created by.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy String
    The user the entity was last updated by.

    Look up Existing CatalogItemVroWorkflow Resource

    Get an existing CatalogItemVroWorkflow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CatalogItemVroWorkflowState, opts?: CustomResourceOptions): CatalogItemVroWorkflow
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            catalog_item_vro_workflow_id: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            description: Optional[str] = None,
            global_: Optional[bool] = None,
            icon_id: Optional[str] = None,
            last_updated_at: Optional[str] = None,
            last_updated_by: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            workflow_id: Optional[str] = None) -> CatalogItemVroWorkflow
    func GetCatalogItemVroWorkflow(ctx *Context, name string, id IDInput, state *CatalogItemVroWorkflowState, opts ...ResourceOption) (*CatalogItemVroWorkflow, error)
    public static CatalogItemVroWorkflow Get(string name, Input<string> id, CatalogItemVroWorkflowState? state, CustomResourceOptions? opts = null)
    public static CatalogItemVroWorkflow get(String name, Output<String> id, CatalogItemVroWorkflowState state, CustomResourceOptions options)
    resources:  _:    type: vra:CatalogItemVroWorkflow    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CatalogItemVroWorkflowId string
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CreatedBy string
    The user the entity was created by.
    Description string
    A human-friendly description for the catalog item.
    Global bool
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    IconId string
    ID of the icon to associate with this catalog item.
    LastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    LastUpdatedBy string
    The user the entity was last updated by.
    Name string
    The name of the catalog item.
    ProjectId string
    ID of the project to share this catalog item with.
    WorkflowId string
    ID of the vRO workflow to publish.
    CatalogItemVroWorkflowId string
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CreatedBy string
    The user the entity was created by.
    Description string
    A human-friendly description for the catalog item.
    Global bool
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    IconId string
    ID of the icon to associate with this catalog item.
    LastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    LastUpdatedBy string
    The user the entity was last updated by.
    Name string
    The name of the catalog item.
    ProjectId string
    ID of the project to share this catalog item with.
    WorkflowId string
    ID of the vRO workflow to publish.
    catalogItemVroWorkflowId String
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy String
    The user the entity was created by.
    description String
    A human-friendly description for the catalog item.
    global Boolean
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    iconId String
    ID of the icon to associate with this catalog item.
    lastUpdatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy String
    The user the entity was last updated by.
    name String
    The name of the catalog item.
    projectId String
    ID of the project to share this catalog item with.
    workflowId String
    ID of the vRO workflow to publish.
    catalogItemVroWorkflowId string
    createdAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy string
    The user the entity was created by.
    description string
    A human-friendly description for the catalog item.
    global boolean
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    iconId string
    ID of the icon to associate with this catalog item.
    lastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy string
    The user the entity was last updated by.
    name string
    The name of the catalog item.
    projectId string
    ID of the project to share this catalog item with.
    workflowId string
    ID of the vRO workflow to publish.
    catalog_item_vro_workflow_id str
    created_at str
    Date when the entity was created. The date is in ISO 8601 and UTC.
    created_by str
    The user the entity was created by.
    description str
    A human-friendly description for the catalog item.
    global_ bool
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    icon_id str
    ID of the icon to associate with this catalog item.
    last_updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    last_updated_by str
    The user the entity was last updated by.
    name str
    The name of the catalog item.
    project_id str
    ID of the project to share this catalog item with.
    workflow_id str
    ID of the vRO workflow to publish.
    catalogItemVroWorkflowId String
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy String
    The user the entity was created by.
    description String
    A human-friendly description for the catalog item.
    global Boolean
    Whether to allow this catalog to be shared with multiple projects or to restrict it to the specified project.
    iconId String
    ID of the icon to associate with this catalog item.
    lastUpdatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy String
    The user the entity was last updated by.
    name String
    The name of the catalog item.
    projectId String
    ID of the project to share this catalog item with.
    workflowId String
    ID of the vRO workflow to publish.

    Import

    To import an existing Catalog Item, use the id as in the following example:

    $ pulumi import vra:index/catalogItemVroWorkflow:CatalogItemVroWorkflow catalog_item_vro_workflow "a090b0c2-5b49-4fb5-9e69-c1b84b01c908"`
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    vra vmware/terraform-provider-vra
    License
    Notes
    This Pulumi package is based on the vra Terraform Provider.
    vra logo
    vra 0.13.0 published on Wednesday, May 14, 2025 by vmware