HubArgs

data class HubArgs(val description: Output<String>? = null, val hubId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val routingVpcs: Output<List<RoutingVPCArgs>>? = null) : ConvertibleToJava<HubArgs>

Creates a new Network Connectivity Center hub in the specified project. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun HubArgs(description: Output<String>? = null, hubId: Output<String>? = null, labels: Output<Map<String, String>>? = null, name: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null, routingVpcs: Output<List<RoutingVPCArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): HubArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

An optional description of the hub.

Link copied to clipboard
val hubId: Output<String>? = null

Required. A unique identifier for the hub.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional labels in key:value format. For more information about labels, see Requirements for labels.

Link copied to clipboard
val name: Output<String>? = null

Immutable. The name of the hub. Hub names must be unique. They use the following form: projects/{project_number}/locations/global/hubs/{hub_id}

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Link copied to clipboard
val routingVpcs: Output<List<RoutingVPCArgs>>? = null

The VPC networks associated with this hub's spokes. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.