1. Packages
  2. Vcd Provider
  3. API Docs
  4. ClonedVapp
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.ClonedVapp

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Create ClonedVapp Resource

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

    Constructor syntax

    new ClonedVapp(name: string, args: ClonedVappArgs, opts?: CustomResourceOptions);
    @overload
    def ClonedVapp(resource_name: str,
                   args: ClonedVappArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClonedVapp(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   source_id: Optional[str] = None,
                   source_type: Optional[str] = None,
                   cloned_vapp_id: Optional[str] = None,
                   delete_source: Optional[bool] = None,
                   description: Optional[str] = None,
                   name: Optional[str] = None,
                   org: Optional[str] = None,
                   power_on: Optional[bool] = None,
                   vdc: Optional[str] = None)
    func NewClonedVapp(ctx *Context, name string, args ClonedVappArgs, opts ...ResourceOption) (*ClonedVapp, error)
    public ClonedVapp(string name, ClonedVappArgs args, CustomResourceOptions? opts = null)
    public ClonedVapp(String name, ClonedVappArgs args)
    public ClonedVapp(String name, ClonedVappArgs args, CustomResourceOptions options)
    
    type: vcd:ClonedVapp
    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 ClonedVappArgs
    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 ClonedVappArgs
    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 ClonedVappArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClonedVappArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClonedVappArgs
    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 clonedVappResource = new Vcd.ClonedVapp("clonedVappResource", new()
    {
        SourceId = "string",
        SourceType = "string",
        ClonedVappId = "string",
        DeleteSource = false,
        Description = "string",
        Name = "string",
        Org = "string",
        PowerOn = false,
        Vdc = "string",
    });
    
    example, err := vcd.NewClonedVapp(ctx, "clonedVappResource", &vcd.ClonedVappArgs{
    	SourceId:     pulumi.String("string"),
    	SourceType:   pulumi.String("string"),
    	ClonedVappId: pulumi.String("string"),
    	DeleteSource: pulumi.Bool(false),
    	Description:  pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Org:          pulumi.String("string"),
    	PowerOn:      pulumi.Bool(false),
    	Vdc:          pulumi.String("string"),
    })
    
    var clonedVappResource = new ClonedVapp("clonedVappResource", ClonedVappArgs.builder()
        .sourceId("string")
        .sourceType("string")
        .clonedVappId("string")
        .deleteSource(false)
        .description("string")
        .name("string")
        .org("string")
        .powerOn(false)
        .vdc("string")
        .build());
    
    cloned_vapp_resource = vcd.ClonedVapp("clonedVappResource",
        source_id="string",
        source_type="string",
        cloned_vapp_id="string",
        delete_source=False,
        description="string",
        name="string",
        org="string",
        power_on=False,
        vdc="string")
    
    const clonedVappResource = new vcd.ClonedVapp("clonedVappResource", {
        sourceId: "string",
        sourceType: "string",
        clonedVappId: "string",
        deleteSource: false,
        description: "string",
        name: "string",
        org: "string",
        powerOn: false,
        vdc: "string",
    });
    
    type: vcd:ClonedVapp
    properties:
        clonedVappId: string
        deleteSource: false
        description: string
        name: string
        org: string
        powerOn: false
        sourceId: string
        sourceType: string
        vdc: string
    

    ClonedVapp 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 ClonedVapp resource accepts the following input properties:

    SourceId string
    The ID of the source to use.
    SourceType string
    The type of the source to use: one of template or vapp.
    ClonedVappId string
    DeleteSource bool
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    Description string
    An optional description for the vApp, up to 256 characters.
    Name string
    A unique name for the vApp
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    PowerOn bool
    A boolean value stating if this vApp should be powered on. Default is false.
    Vdc string
    The name of VDC to use, optional if defined at provider level
    SourceId string
    The ID of the source to use.
    SourceType string
    The type of the source to use: one of template or vapp.
    ClonedVappId string
    DeleteSource bool
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    Description string
    An optional description for the vApp, up to 256 characters.
    Name string
    A unique name for the vApp
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    PowerOn bool
    A boolean value stating if this vApp should be powered on. Default is false.
    Vdc string
    The name of VDC to use, optional if defined at provider level
    sourceId String
    The ID of the source to use.
    sourceType String
    The type of the source to use: one of template or vapp.
    clonedVappId String
    deleteSource Boolean
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    description String
    An optional description for the vApp, up to 256 characters.
    name String
    A unique name for the vApp
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    powerOn Boolean
    A boolean value stating if this vApp should be powered on. Default is false.
    vdc String
    The name of VDC to use, optional if defined at provider level
    sourceId string
    The ID of the source to use.
    sourceType string
    The type of the source to use: one of template or vapp.
    clonedVappId string
    deleteSource boolean
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    description string
    An optional description for the vApp, up to 256 characters.
    name string
    A unique name for the vApp
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    powerOn boolean
    A boolean value stating if this vApp should be powered on. Default is false.
    vdc string
    The name of VDC to use, optional if defined at provider level
    source_id str
    The ID of the source to use.
    source_type str
    The type of the source to use: one of template or vapp.
    cloned_vapp_id str
    delete_source bool
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    description str
    An optional description for the vApp, up to 256 characters.
    name str
    A unique name for the vApp
    org str
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    power_on bool
    A boolean value stating if this vApp should be powered on. Default is false.
    vdc str
    The name of VDC to use, optional if defined at provider level
    sourceId String
    The ID of the source to use.
    sourceType String
    The type of the source to use: one of template or vapp.
    clonedVappId String
    deleteSource Boolean
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    description String
    An optional description for the vApp, up to 256 characters.
    name String
    A unique name for the vApp
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    powerOn Boolean
    A boolean value stating if this vApp should be powered on. Default is false.
    vdc String
    The name of VDC to use, optional if defined at provider level

    Outputs

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

    Href string
    (Computed) The vApp Hyper Reference.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status double
    (Computed) The vApp status as a numeric code.
    StatusText string
    (Computed) The vApp status as text.
    VmLists List<string>
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    Href string
    (Computed) The vApp Hyper Reference.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status float64
    (Computed) The vApp status as a numeric code.
    StatusText string
    (Computed) The vApp status as text.
    VmLists []string
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    href String
    (Computed) The vApp Hyper Reference.
    id String
    The provider-assigned unique ID for this managed resource.
    status Double
    (Computed) The vApp status as a numeric code.
    statusText String
    (Computed) The vApp status as text.
    vmLists List<String>
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    href string
    (Computed) The vApp Hyper Reference.
    id string
    The provider-assigned unique ID for this managed resource.
    status number
    (Computed) The vApp status as a numeric code.
    statusText string
    (Computed) The vApp status as text.
    vmLists string[]
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    href str
    (Computed) The vApp Hyper Reference.
    id str
    The provider-assigned unique ID for this managed resource.
    status float
    (Computed) The vApp status as a numeric code.
    status_text str
    (Computed) The vApp status as text.
    vm_lists Sequence[str]
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    href String
    (Computed) The vApp Hyper Reference.
    id String
    The provider-assigned unique ID for this managed resource.
    status Number
    (Computed) The vApp status as a numeric code.
    statusText String
    (Computed) The vApp status as text.
    vmLists List<String>
    (Computed) The list of VM names included in this vApp, in alphabetic order.

    Look up Existing ClonedVapp Resource

    Get an existing ClonedVapp 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?: ClonedVappState, opts?: CustomResourceOptions): ClonedVapp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloned_vapp_id: Optional[str] = None,
            delete_source: Optional[bool] = None,
            description: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            org: Optional[str] = None,
            power_on: Optional[bool] = None,
            source_id: Optional[str] = None,
            source_type: Optional[str] = None,
            status: Optional[float] = None,
            status_text: Optional[str] = None,
            vdc: Optional[str] = None,
            vm_lists: Optional[Sequence[str]] = None) -> ClonedVapp
    func GetClonedVapp(ctx *Context, name string, id IDInput, state *ClonedVappState, opts ...ResourceOption) (*ClonedVapp, error)
    public static ClonedVapp Get(string name, Input<string> id, ClonedVappState? state, CustomResourceOptions? opts = null)
    public static ClonedVapp get(String name, Output<String> id, ClonedVappState state, CustomResourceOptions options)
    resources:  _:    type: vcd:ClonedVapp    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:
    ClonedVappId string
    DeleteSource bool
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    Description string
    An optional description for the vApp, up to 256 characters.
    Href string
    (Computed) The vApp Hyper Reference.
    Name string
    A unique name for the vApp
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    PowerOn bool
    A boolean value stating if this vApp should be powered on. Default is false.
    SourceId string
    The ID of the source to use.
    SourceType string
    The type of the source to use: one of template or vapp.
    Status double
    (Computed) The vApp status as a numeric code.
    StatusText string
    (Computed) The vApp status as text.
    Vdc string
    The name of VDC to use, optional if defined at provider level
    VmLists List<string>
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    ClonedVappId string
    DeleteSource bool
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    Description string
    An optional description for the vApp, up to 256 characters.
    Href string
    (Computed) The vApp Hyper Reference.
    Name string
    A unique name for the vApp
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    PowerOn bool
    A boolean value stating if this vApp should be powered on. Default is false.
    SourceId string
    The ID of the source to use.
    SourceType string
    The type of the source to use: one of template or vapp.
    Status float64
    (Computed) The vApp status as a numeric code.
    StatusText string
    (Computed) The vApp status as text.
    Vdc string
    The name of VDC to use, optional if defined at provider level
    VmLists []string
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    clonedVappId String
    deleteSource Boolean
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    description String
    An optional description for the vApp, up to 256 characters.
    href String
    (Computed) The vApp Hyper Reference.
    name String
    A unique name for the vApp
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    powerOn Boolean
    A boolean value stating if this vApp should be powered on. Default is false.
    sourceId String
    The ID of the source to use.
    sourceType String
    The type of the source to use: one of template or vapp.
    status Double
    (Computed) The vApp status as a numeric code.
    statusText String
    (Computed) The vApp status as text.
    vdc String
    The name of VDC to use, optional if defined at provider level
    vmLists List<String>
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    clonedVappId string
    deleteSource boolean
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    description string
    An optional description for the vApp, up to 256 characters.
    href string
    (Computed) The vApp Hyper Reference.
    name string
    A unique name for the vApp
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    powerOn boolean
    A boolean value stating if this vApp should be powered on. Default is false.
    sourceId string
    The ID of the source to use.
    sourceType string
    The type of the source to use: one of template or vapp.
    status number
    (Computed) The vApp status as a numeric code.
    statusText string
    (Computed) The vApp status as text.
    vdc string
    The name of VDC to use, optional if defined at provider level
    vmLists string[]
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    cloned_vapp_id str
    delete_source bool
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    description str
    An optional description for the vApp, up to 256 characters.
    href str
    (Computed) The vApp Hyper Reference.
    name str
    A unique name for the vApp
    org str
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    power_on bool
    A boolean value stating if this vApp should be powered on. Default is false.
    source_id str
    The ID of the source to use.
    source_type str
    The type of the source to use: one of template or vapp.
    status float
    (Computed) The vApp status as a numeric code.
    status_text str
    (Computed) The vApp status as text.
    vdc str
    The name of VDC to use, optional if defined at provider level
    vm_lists Sequence[str]
    (Computed) The list of VM names included in this vApp, in alphabetic order.
    clonedVappId String
    deleteSource Boolean
    A boolean value of true or false stating if the source entity should be deleted after creation. A source vApp can only be deleted if it is fully powered off.
    description String
    An optional description for the vApp, up to 256 characters.
    href String
    (Computed) The vApp Hyper Reference.
    name String
    A unique name for the vApp
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    powerOn Boolean
    A boolean value stating if this vApp should be powered on. Default is false.
    sourceId String
    The ID of the source to use.
    sourceType String
    The type of the source to use: one of template or vapp.
    status Number
    (Computed) The vApp status as a numeric code.
    statusText String
    (Computed) The vApp status as text.
    vdc String
    The name of VDC to use, optional if defined at provider level
    vmLists List<String>
    (Computed) The list of VM names included in this vApp, in alphabetic order.

    Package Details

    Repository
    vcd vmware/terraform-provider-vcd
    License
    Notes
    This Pulumi package is based on the vcd Terraform Provider.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware