HubState constructor
- Input<
String?> ? createTime, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
bool?> ? exportPsc, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? name, - Input<
String?> ? policyMode, - Input<
String?> ? presetTopology, - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
List< ? routingVpcs,HubRoutingVpc> ?> - Input<
String?> ? state, - Input<
String?> ? uniqueId, - Input<
String?> ? updateTime,
Creates a new HubState.
createTime Output only. The time the hub was created.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
description An optional description of the hub.
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
exportPsc 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.
labels Optional labels in key:value format. For more information about labels, see Requirements for labels.
name Immutable. The name of the hub. Hub names must be unique. They use the following form: projects/{project_number}/locations/global/hubs/{hub_id}
policyMode Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policyMode defaults to PRESET.
presetTopology 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.
project The ID of the project in which the resource belongs.
pulumiLabels The combination of labels configured directly on the resource
routingVpcs The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
state Output only. The current lifecycle state of this hub.
uniqueId Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
updateTime Output only. The time the hub was last updated.
Implementation
const HubState({
this.createTime,
this.deletionPolicy,
this.description,
this.effectiveLabels,
this.exportPsc,
this.labels,
this.name,
this.policyMode,
this.presetTopology,
this.project,
this.pulumiLabels,
this.routingVpcs,
this.state,
this.uniqueId,
this.updateTime,
});