Class HostState
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class HostState : ResourceArgs
Constructors
View SourceHostState()
Declaration
public HostState()
Properties
View SourceCluster
The ID of the Compute Cluster this host should
be added to. This should not be set if datacenter is set. Conflicts with:
cluster.
Declaration
public Input<string> Cluster { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ClusterManaged
Can be set to true if compute cluster
membership will be managed through the compute_cluster resource rather
than thehost resource. Conflicts with: cluster.
Declaration
public Input<bool> ClusterManaged { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Connected
If set to false then the host will be disconected.
Default is false.
Declaration
public Input<bool> Connected { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Datacenter
The ID of the datacenter this host should
be added to. This should not be set if cluster is set.
Declaration
public Input<string> Datacenter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Force
If set to true then it will force the host to be added, even
if the host is already connected to a different vSphere instance. Default is false
Declaration
public Input<bool> Force { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Hostname
FQDN or IP address of the host to be added.
Declaration
public Input<string> Hostname { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
License
The license key that will be applied to the host. The license key is expected to be present in vSphere.
Declaration
public Input<string> License { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Lockdown
Set the lockdown state of the host. Valid options are
disabled, normal, and strict. Default is disabled.
Declaration
public Input<string> Lockdown { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Maintenance
Set the management state of the host. Default is false.
Declaration
public Input<bool> Maintenance { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Password
Password that will be used by vSphere to authenticate to the host.
Declaration
public Input<string> Password { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Thumbprint
Host's certificate SHA-1 thumbprint. If not set the the CA that signed the host's certificate should be trusted. If the CA is not trusted and no thumbprint is set then the operation will fail.
Declaration
public Input<string> Thumbprint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Username
Username that will be used by vSphere to authenticate to the host.
Declaration
public Input<string> Username { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |