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.

Create a DpmHostOverride Resource

def DpmHostOverride(resource_name, opts=None, compute_cluster_id=None, dpm_automation_level=None, dpm_enabled=None, host_system_id=None, __props__=None);
name string
The unique name of the resource.
args DpmHostOverrideArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DpmHostOverrideArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DpmHostOverrideArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DpmHostOverride Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The DpmHostOverride resource accepts the following input properties:

ComputeClusterId string

The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.

HostSystemId string

The managed object ID of the host.

DpmAutomationLevel string

The automation level for host power operations on this host. Can be one of manual or automated. Default: manual.

DpmEnabled bool

Enable DPM support for this host. Default: false.

ComputeClusterId string

The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.

HostSystemId string

The managed object ID of the host.

DpmAutomationLevel string

The automation level for host power operations on this host. Can be one of manual or automated. Default: manual.

DpmEnabled bool

Enable DPM support for this host. Default: false.

computeClusterId string

The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.

hostSystemId string

The managed object ID of the host.

dpmAutomationLevel string

The automation level for host power operations on this host. Can be one of manual or automated. Default: manual.

dpmEnabled boolean

Enable DPM support for this host. Default: false.

compute_cluster_id str

The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.

host_system_id str

The managed object ID of the host.

dpm_automation_level str

The automation level for host power operations on this host. Can be one of manual or automated. Default: manual.

dpm_enabled bool

Enable DPM support for this host. Default: false.

Outputs

All input properties are implicitly available as output properties. Additionally, the DpmHostOverride resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing DpmHostOverride Resource

Get an existing DpmHostOverride resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DpmHostOverrideState, opts?: CustomResourceOptions): DpmHostOverride
static get(resource_name, id, opts=None, compute_cluster_id=None, dpm_automation_level=None, dpm_enabled=None, host_system_id=None, __props__=None);
func GetDpmHostOverride(ctx *Context, name string, id IDInput, state *DpmHostOverrideState, opts ...ResourceOption) (*DpmHostOverride, error)
public static DpmHostOverride Get(string name, Input<string> id, DpmHostOverrideState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

ComputeClusterId string

The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.

DpmAutomationLevel string

The automation level for host power operations on this host. Can be one of manual or automated. Default: manual.

DpmEnabled bool

Enable DPM support for this host. Default: false.

HostSystemId string

The managed object ID of the host.

ComputeClusterId string

The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.

DpmAutomationLevel string

The automation level for host power operations on this host. Can be one of manual or automated. Default: manual.

DpmEnabled bool

Enable DPM support for this host. Default: false.

HostSystemId string

The managed object ID of the host.

computeClusterId string

The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.

dpmAutomationLevel string

The automation level for host power operations on this host. Can be one of manual or automated. Default: manual.

dpmEnabled boolean

Enable DPM support for this host. Default: false.

hostSystemId string

The managed object ID of the host.

compute_cluster_id str

The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.

dpm_automation_level str

The automation level for host power operations on this host. Can be one of manual or automated. Default: manual.

dpm_enabled bool

Enable DPM support for this host. Default: false.

host_system_id str

The managed object ID of the host.

Package Details

Repository
https://github.com/pulumi/pulumi-vsphere
License
Apache-2.0
Notes
This Pulumi package is based on the vsphere Terraform Provider.