HostGroupState class
Input properties used for looking up and filtering HostGroup resources.
Constructors
-
HostGroupState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>List< ? hosts, Input<String> ?>Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? osType, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? state, Input<String?> ? type}) -
Creates a new HostGroupState.
createTimeCreate time of the host group. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.hostsThe list of hosts associated with the host grouplabelsLabels as key value pairs. Example:{ "owner": "Bob", "department": "finance", "purpose": "testing" }.locationLocation (region) of the Host Group.nameThe resource name of the Host Group. Needs to be unique per location.osTypeThe OS type of the host group. It indicates the type of operating systemprojectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcestateThe state of the Host Group.typeType of the host group.const -
HostGroupState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
Create time of the host group. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
final
-
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
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
The state of the Host Group.
final
-
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