import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new Spoke in a given project and location. */ export declare class Spoke extends pulumi.CustomResource { /** * Get an existing Spoke resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Spoke; /** * Returns true if the given object is an instance of Spoke. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Spoke; /** * The time when the Spoke was created. */ readonly createTime: pulumi.Output; /** * Short description of the spoke resource */ readonly description: pulumi.Output; /** * The resource URL of the hub resource that the spoke is attached to */ readonly hub: pulumi.Output; /** * User-defined labels. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The URIs of linked interconnect attachment resources */ readonly linkedInterconnectAttachments: pulumi.Output; /** * The URIs of linked Router appliance resources */ readonly linkedRouterApplianceInstances: pulumi.Output; /** * The URIs of linked VPN tunnel resources */ readonly linkedVpnTunnels: pulumi.Output; /** * Immutable. The name of a Spoke resource. */ readonly name: pulumi.Output; /** * The current lifecycle state of this Hub. */ readonly state: pulumi.Output; /** * Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id. */ readonly uniqueId: pulumi.Output; /** * The time when the Spoke was updated. */ readonly updateTime: pulumi.Output; /** * Create a Spoke resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SpokeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Spoke resource. */ export interface SpokeArgs { /** * The time when the Spoke was created. */ readonly createTime?: pulumi.Input; /** * Short description of the spoke resource */ readonly description?: pulumi.Input; /** * The resource URL of the hub resource that the spoke is attached to */ readonly hub?: pulumi.Input; /** * User-defined labels. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The URIs of linked interconnect attachment resources */ readonly linkedInterconnectAttachments?: pulumi.Input[]>; /** * The URIs of linked Router appliance resources */ readonly linkedRouterApplianceInstances?: pulumi.Input[]>; /** * The URIs of linked VPN tunnel resources */ readonly linkedVpnTunnels?: pulumi.Input[]>; readonly locationsId: pulumi.Input; /** * Immutable. The name of a Spoke resource. */ readonly name?: pulumi.Input; readonly projectsId: pulumi.Input; readonly spokesId: pulumi.Input; /** * The time when the Spoke was updated. */ readonly updateTime?: pulumi.Input; }