import * as pulumi from "@pulumi/pulumi"; /** * Creates a new Hub in a given project and location. */ export declare class Hub extends pulumi.CustomResource { /** * Get an existing Hub 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): Hub; /** * Returns true if the given object is an instance of Hub. 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 Hub; /** * Time when the Hub was created. */ readonly createTime: pulumi.Output; /** * Short description of the hub resource. */ readonly description: pulumi.Output; /** * User-defined labels. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Immutable. The name of a Hub resource. */ readonly name: pulumi.Output; /** * A list of the URIs of all attached spokes */ readonly spokes: pulumi.Output; /** * The current lifecycle state of this Hub. */ readonly state: pulumi.Output; /** * Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id. */ readonly uniqueId: pulumi.Output; /** * Time when the Hub was updated. */ readonly updateTime: pulumi.Output; /** * Create a Hub 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: HubArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Hub resource. */ export interface HubArgs { /** * Time when the Hub was created. */ readonly createTime?: pulumi.Input; /** * Short description of the hub resource. */ readonly description?: pulumi.Input; readonly hubsId: pulumi.Input; /** * User-defined labels. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Immutable. The name of a Hub resource. */ readonly name?: pulumi.Input; readonly projectsId: pulumi.Input; /** * Time when the Hub was updated. */ readonly updateTime?: pulumi.Input; }