import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details about a Network Connectivity Center hub. */ export declare function getHub(args: GetHubArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetHubArgs { hubId: string; project?: string; } export interface GetHubResult { /** * The time the hub was created. */ readonly createTime: string; /** * An optional description of the hub. */ readonly description: string; /** * Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). */ readonly labels: { [key: string]: 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}` */ readonly name: string; /** * The route tables that belong to this hub. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` This field is read-only. Network Connectivity Center automatically populates it based on the route tables nested under the hub. */ readonly routeTables: string[]; /** * 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. */ readonly routingVpcs: outputs.networkconnectivity.v1.RoutingVPCResponse[]; /** * A summary of the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason. */ readonly spokeSummary: outputs.networkconnectivity.v1.SpokeSummaryResponse; /** * The current lifecycle state of this hub. */ readonly state: string; /** * 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. */ readonly uniqueId: string; /** * The time the hub was last updated. */ readonly updateTime: string; } /** * Gets details about a Network Connectivity Center hub. */ export declare function getHubOutput(args: GetHubOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetHubOutputArgs { hubId: pulumi.Input; project?: pulumi.Input; }