Class DpmHostOverride
The vsphere..DpmHostOverride resource can be used to add a DPM override to a
cluster for a particular host. This allows you to control the power management
settings for individual hosts in the cluster while leaving any unspecified ones
at the default power management settings.
For more information on DPM within vSphere clusters, see this page.
NOTE: This resource requires vCenter and is not available on direct ESXi connections.
NOTE: vSphere DRS requires a vSphere Enterprise Plus license.
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public class DpmHostOverride : CustomResource
Constructors
View SourceDpmHostOverride(String, DpmHostOverrideArgs, CustomResourceOptions)
Create a DpmHostOverride resource with the given unique name, arguments, and options.
Declaration
public DpmHostOverride(string name, DpmHostOverrideArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DpmHostOverrideArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceComputeClusterId
The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
Declaration
public Output<string> ComputeClusterId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DpmAutomationLevel
The automation level for host power
operations on this host. Can be one of manual or automated. Default:
manual.
Declaration
public Output<string> DpmAutomationLevel { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DpmEnabled
Enable DPM support for this host. Default:
false.
Declaration
public Output<bool?> DpmEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
HostSystemId
The managed object ID of the host.
Declaration
public Output<string> HostSystemId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, DpmHostOverrideState, CustomResourceOptions)
Get an existing DpmHostOverride resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DpmHostOverride Get(string name, Input<string> id, DpmHostOverrideState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DpmHostOverrideState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DpmHostOverride |