import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details about a Network Connectivity Center spoke. */ export declare function getSpoke(args: GetSpokeArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetSpokeArgs { location: string; project?: string; spokeId: string; } export interface GetSpokeResult { /** * The time the spoke was created. */ readonly createTime: string; /** * An optional description of the spoke. */ readonly description: string; /** * Optional. The name of the group that this spoke is associated with. */ readonly group: string; /** * Immutable. The name of the hub that this spoke is attached to. */ readonly hub: 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; }; /** * VLAN attachments that are associated with the spoke. */ readonly linkedInterconnectAttachments: outputs.networkconnectivity.v1.LinkedInterconnectAttachmentsResponse; /** * Router appliance instances that are associated with the spoke. */ readonly linkedRouterApplianceInstances: outputs.networkconnectivity.v1.LinkedRouterApplianceInstancesResponse; /** * Optional. VPC network that is associated with the spoke. */ readonly linkedVpcNetwork: outputs.networkconnectivity.v1.LinkedVpcNetworkResponse; /** * VPN tunnels that are associated with the spoke. */ readonly linkedVpnTunnels: outputs.networkconnectivity.v1.LinkedVpnTunnelsResponse; /** * Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}` */ readonly name: string; /** * The reasons for current state of the spoke. Only present when the spoke is in the `INACTIVE` state. */ readonly reasons: outputs.networkconnectivity.v1.StateReasonResponse[]; /** * The type of resource associated with the spoke. */ readonly spokeType: string; /** * The current lifecycle state of this spoke. */ readonly state: string; /** * The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different `unique_id`. */ readonly uniqueId: string; /** * The time the spoke was last updated. */ readonly updateTime: string; } /** * Gets details about a Network Connectivity Center spoke. */ export declare function getSpokeOutput(args: GetSpokeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetSpokeOutputArgs { location: pulumi.Input; project?: pulumi.Input; spokeId: pulumi.Input; }