Class FolderArgs
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class FolderArgs : ResourceArgs
Constructors
View SourceFolderArgs()
Declaration
public FolderArgs()
Properties
View SourceCustomAttributes
Map of custom attribute ids to attribute value strings to set for folder. See [here][docs-setting-custom-attributes] for a reference on how to set values for custom attributes.
Declaration
public InputMap<string> CustomAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
DatacenterId
The ID of the datacenter the folder will be created in. Required for all folder types except for datacenter folders. Forces a new resource if changed.
Declaration
public Input<string> DatacenterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Path
The path of the folder to be created. This is relative to
the root of the type of folder you are creating, and the supplied datacenter.
For example, given a default datacenter of default-dc, a folder of type
vm (denoting a virtual machine folder), and a supplied folder of
test-folder, the resulting path would be
/default-dc/vm/test-folder.
Declaration
public Input<string> Path { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
The IDs of any tags to attach to this resource.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Type
The type of folder to create. Allowed options are
datacenter for datacenter folders, host for host and cluster folders,
vm for virtual machine folders, datastore for datastore folders, and
network for network folders. Forces a new resource if changed.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |