Show / Hide Table of Contents

Class FileState

Inheritance
System.Object
InputArgs
ResourceArgs
FileState
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 FileState : ResourceArgs

Constructors

View Source

FileState()

Declaration
public FileState()

Properties

View Source

CreateDirectories

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

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

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

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

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

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

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