Show / Hide Table of Contents

Class FolderArgs

Inheritance
System.Object
InputArgs
ResourceArgs
FolderArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class FolderArgs : ResourceArgs

Constructors

View Source

FolderArgs()

Declaration
public FolderArgs()

Properties

View Source

CustomAttributes

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.