Class FileState
Inherited Members
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 FileState : ResourceArgs
Constructors
View SourceFileState()
Declaration
public FileState()
Properties
View SourceCreateDirectories
Create directories in destination_file
path parameter if any missing for copy operation.
Declaration
public Input<bool> CreateDirectories { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Datacenter
The name of a datacenter in which the file will be uploaded to.
Declaration
public Input<string> Datacenter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Datastore
The name of the datastore in which to upload the file to.
Declaration
public Input<string> Datastore { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DestinationFile
The path to where the file should be uploaded or copied to on vSphere.
Declaration
public Input<string> DestinationFile { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceDatacenter
The name of a datacenter in which the file will be copied from. Forces a new resource if changed.
Declaration
public Input<string> SourceDatacenter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceDatastore
The name of the datastore in which file will be copied from. Forces a new resource if changed.
Declaration
public Input<string> SourceDatastore { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceFile
The path to the file being uploaded from the host to vSphere or copied within vSphere. Forces a new resource if changed.
Declaration
public Input<string> SourceFile { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |