HostGroupArgs class

The set of arguments for HostGroup. The set of arguments for HostGroup.

Constructors

HostGroupArgs({Input<String?>? deletionPolicy, Input<String?>? description, required Input<List<String>> hosts, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? name, required Input<String> osType, Input<String?>? project, required Input<String> type})
Creates a new HostGroupArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. hosts The list of hosts associated with the host group labels Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }. location Location (region) of the Host Group. name The resource name of the Host Group. Needs to be unique per location. osType The OS type of the host group. It indicates the type of operating system project The ID of the project in which the resource belongs. type Type of the host group.
const
HostGroupArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
An optional description of this resource.
final
hashCode → int
The hash code for this object.
no setterinherited
hosts → Input<List<String>>
The list of hosts associated with the host group
final
labels → Input<Map<String, String>?>?
Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }.
final
location → Input<String>
Location (region) of the Host Group.
final
name → Input<String?>?
The resource name of the Host Group. Needs to be unique per location.
final
osType → Input<String>
The OS type of the host group. It indicates the type of operating system used by all of the hosts in the HostGroup. All hosts in a HostGroup must be of the same OS type. This can be set only when creating a HostGroup. Possible values are: LINUX, WINDOWS, ESXI.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String>
Type of the host group. Possible values are: ISCSI_INITIATOR.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited