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
new DpmHostOverride(name: string, args: DpmHostOverrideArgs, opts?: CustomResourceOptions);def DpmHostOverride(resource_name, opts=None, compute_cluster_id=None, dpm_automation_level=None, dpm_enabled=None, host_system_id=None, __props__=None);func NewDpmHostOverride(ctx *Context, name string, args DpmHostOverrideArgs, opts ...ResourceOption) (*DpmHostOverride, error)public DpmHostOverride(string name, DpmHostOverrideArgs args, CustomResourceOptions? opts = null)- 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:
- Compute
Cluster stringId The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
- Host
System stringId The managed object ID of the host.
- Dpm
Automation stringLevel The automation level for host power operations on this host. Can be one of
manualorautomated. Default:manual.- Dpm
Enabled bool Enable DPM support for this host. Default:
false.
- Compute
Cluster stringId The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
- Host
System stringId The managed object ID of the host.
- Dpm
Automation stringLevel The automation level for host power operations on this host. Can be one of
manualorautomated. Default:manual.- Dpm
Enabled bool Enable DPM support for this host. Default:
false.
- compute
Cluster stringId The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
- host
System stringId The managed object ID of the host.
- dpm
Automation stringLevel The automation level for host power operations on this host. Can be one of
manualorautomated. Default:manual.- dpm
Enabled boolean Enable DPM support for this host. Default:
false.
- compute_
cluster_ strid The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
- host_
system_ strid The managed object ID of the host.
- dpm_
automation_ strlevel The automation level for host power operations on this host. Can be one of
manualorautomated. 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:
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): DpmHostOverridestatic 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:
- Compute
Cluster stringId The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
- Dpm
Automation stringLevel The automation level for host power operations on this host. Can be one of
manualorautomated. Default:manual.- Dpm
Enabled bool Enable DPM support for this host. Default:
false.- Host
System stringId The managed object ID of the host.
- Compute
Cluster stringId The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
- Dpm
Automation stringLevel The automation level for host power operations on this host. Can be one of
manualorautomated. Default:manual.- Dpm
Enabled bool Enable DPM support for this host. Default:
false.- Host
System stringId The managed object ID of the host.
- compute
Cluster stringId The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
- dpm
Automation stringLevel The automation level for host power operations on this host. Can be one of
manualorautomated. Default:manual.- dpm
Enabled boolean Enable DPM support for this host. Default:
false.- host
System stringId The managed object ID of the host.
- compute_
cluster_ strid The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
- dpm_
automation_ strlevel The automation level for host power operations on this host. Can be one of
manualorautomated. Default:manual.- dpm_
enabled bool Enable DPM support for this host. Default:
false.- host_
system_ strid 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
vsphereTerraform Provider.