vcd.ClonedVapp
Explore with Pulumi AI
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:
- Source
Id string - The ID of the source to use.
- Source
Type string - The type of the source to use: one of
template
orvapp
. - Cloned
Vapp stringId - Delete
Source bool - A boolean value of
true
orfalse
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
- Power
On 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
- Source
Id string - The ID of the source to use.
- Source
Type string - The type of the source to use: one of
template
orvapp
. - Cloned
Vapp stringId - Delete
Source bool - A boolean value of
true
orfalse
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
- Power
On 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
- source
Id String - The ID of the source to use.
- source
Type String - The type of the source to use: one of
template
orvapp
. - cloned
Vapp StringId - delete
Source Boolean - A boolean value of
true
orfalse
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
- power
On 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 string - The ID of the source to use.
- source
Type string - The type of the source to use: one of
template
orvapp
. - cloned
Vapp stringId - delete
Source boolean - A boolean value of
true
orfalse
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
- power
On 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
orvapp
. - cloned_
vapp_ strid - delete_
source bool - A boolean value of
true
orfalse
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
- source
Id String - The ID of the source to use.
- source
Type String - The type of the source to use: one of
template
orvapp
. - cloned
Vapp StringId - delete
Source Boolean - A boolean value of
true
orfalse
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
- power
On 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.
- Status
Text string - (Computed) The vApp status as text.
- Vm
Lists 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.
- Status
Text string - (Computed) The vApp status as text.
- Vm
Lists []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.
- status
Text String - (Computed) The vApp status as text.
- vm
Lists 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.
- status
Text string - (Computed) The vApp status as text.
- vm
Lists 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.
- status
Text String - (Computed) The vApp status as text.
- vm
Lists 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.
- Cloned
Vapp stringId - Delete
Source bool - A boolean value of
true
orfalse
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
- Power
On bool - A boolean value stating if this vApp should be powered on. Default is
false
. - Source
Id string - The ID of the source to use.
- Source
Type string - The type of the source to use: one of
template
orvapp
. - Status double
- (Computed) The vApp status as a numeric code.
- Status
Text string - (Computed) The vApp status as text.
- Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Lists List<string> - (Computed) The list of VM names included in this vApp, in alphabetic order.
- Cloned
Vapp stringId - Delete
Source bool - A boolean value of
true
orfalse
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
- Power
On bool - A boolean value stating if this vApp should be powered on. Default is
false
. - Source
Id string - The ID of the source to use.
- Source
Type string - The type of the source to use: one of
template
orvapp
. - Status float64
- (Computed) The vApp status as a numeric code.
- Status
Text string - (Computed) The vApp status as text.
- Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Lists []string - (Computed) The list of VM names included in this vApp, in alphabetic order.
- cloned
Vapp StringId - delete
Source Boolean - A boolean value of
true
orfalse
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
- power
On Boolean - A boolean value stating if this vApp should be powered on. Default is
false
. - source
Id String - The ID of the source to use.
- source
Type String - The type of the source to use: one of
template
orvapp
. - status Double
- (Computed) The vApp status as a numeric code.
- status
Text String - (Computed) The vApp status as text.
- vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Lists List<String> - (Computed) The list of VM names included in this vApp, in alphabetic order.
- cloned
Vapp stringId - delete
Source boolean - A boolean value of
true
orfalse
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
- power
On boolean - A boolean value stating if this vApp should be powered on. Default is
false
. - source
Id string - The ID of the source to use.
- source
Type string - The type of the source to use: one of
template
orvapp
. - status number
- (Computed) The vApp status as a numeric code.
- status
Text string - (Computed) The vApp status as text.
- vdc string
- The name of VDC to use, optional if defined at provider level
- vm
Lists string[] - (Computed) The list of VM names included in this vApp, in alphabetic order.
- cloned_
vapp_ strid - delete_
source bool - A boolean value of
true
orfalse
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
orvapp
. - 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.
- cloned
Vapp StringId - delete
Source Boolean - A boolean value of
true
orfalse
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
- power
On Boolean - A boolean value stating if this vApp should be powered on. Default is
false
. - source
Id String - The ID of the source to use.
- source
Type String - The type of the source to use: one of
template
orvapp
. - status Number
- (Computed) The vApp status as a numeric code.
- status
Text String - (Computed) The vApp status as text.
- vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Lists 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.