HubArgs class
The set of arguments for Hub. The set of arguments for Hub.
Constructors
-
HubArgs({Input<
String?> ? deletionPolicy, Input<String?> ? description, Input<bool?> ? exportPsc, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<String?> ? policyMode, Input<String?> ? presetTopology, Input<String?> ? project}) -
Creates a new HubArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of the hub.exportPscWhether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.labelsOptional labels in key:value format. For more information about labels, see Requirements for labels.nameImmutable. The name of the hub. Hub names must be unique. They use the following form:projects/{project_number}/locations/global/hubs/{hub_id}policyModeOptional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.presetTopologyOptional. The topology implemented in this hub. Currently, this field is only used when policyMode = PRESET. The available preset topologies are MESH and STAR. If presetTopology is unspecified and policyMode = PRESET, the presetTopology defaults to MESH. When policyMode = CUSTOM, the presetTopology is set to PRESET_TOPOLOGY_UNSPECIFIED.projectThe ID of the project in which the resource belongs.const -
HubArgs.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 the hub.
final
-
exportPsc
→ Input<
bool?> ? -
Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Optional labels in key:value format. For more information about labels, see Requirements for labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
name
→ Input<
String?> ? -
Immutable. The name of the hub. Hub names must be unique. They use the following form:
projects/{project_number}/locations/global/hubs/{hub_id}final -
policyMode
→ Input<
String?> ? -
Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
Possible values are:
CUSTOM,PRESET.final -
presetTopology
→ Input<
String?> ? -
Optional. The topology implemented in this hub. Currently, this field is only used when policyMode = PRESET. The available preset topologies are MESH and STAR. If presetTopology is unspecified and policyMode = PRESET, the presetTopology defaults to MESH. When policyMode = CUSTOM, the presetTopology is set to PRESET_TOPOLOGY_UNSPECIFIED.
Possible values are:
MESH,STAR,HYBRID_INSPECTION.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
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