vSphere v4.5.0, May 24 23
vSphere v4.5.0, May 24 23
vsphere.DpmHostOverride
Explore with Pulumi AI
Create DpmHostOverride Resource
new DpmHostOverride(name: string, args: DpmHostOverrideArgs, opts?: CustomResourceOptions);
@overload
def DpmHostOverride(resource_name: str,
opts: Optional[ResourceOptions] = None,
compute_cluster_id: Optional[str] = None,
dpm_automation_level: Optional[str] = None,
dpm_enabled: Optional[bool] = None,
host_system_id: Optional[str] = None)
@overload
def DpmHostOverride(resource_name: str,
args: DpmHostOverrideArgs,
opts: Optional[ResourceOptions] = None)
func NewDpmHostOverride(ctx *Context, name string, args DpmHostOverrideArgs, opts ...ResourceOption) (*DpmHostOverride, error)
public DpmHostOverride(string name, DpmHostOverrideArgs args, CustomResourceOptions? opts = null)
public DpmHostOverride(String name, DpmHostOverrideArgs args)
public DpmHostOverride(String name, DpmHostOverrideArgs args, CustomResourceOptions options)
type: vsphere:DpmHostOverride
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args DpmHostOverrideArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args DpmHostOverrideArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- dpm
Enabled Boolean 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- dpm
Enabled Boolean 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 string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up 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
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compute_cluster_id: Optional[str] = None,
dpm_automation_level: Optional[str] = None,
dpm_enabled: Optional[bool] = None,
host_system_id: Optional[str] = None) -> DpmHostOverride
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)
public static DpmHostOverride get(String name, Output<String> id, DpmHostOverrideState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- dpm
Enabled Boolean 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- dpm_
enabled bool Enable DPM support for this host. Default:
false
.- host_
system_ strid 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
manual
orautomated
. Default:manual
.NOTE: Using this resource always implies an override, even if one of
dpm_enabled
ordpm_automation_level
is omitted. Take note of the defaults for both options.- dpm
Enabled Boolean Enable DPM support for this host. Default:
false
.- host
System StringId The managed object ID of the host.
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
vsphere
Terraform Provider.