import * as pulumi from "@pulumi/pulumi"; /** * Creates a new Network Connectivity Center hub in the specified project. */ 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; /** * Optional. Unique id for the Hub to create. */ readonly hubId: pulumi.Output; /** * User-defined labels. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Immutable. The name of a Hub resource. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. 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 if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally 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). */ readonly requestId: pulumi.Output; /** * A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead. * * @deprecated Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead. */ 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. */ createTime?: pulumi.Input; /** * Short description of the hub resource. */ description?: pulumi.Input; /** * Optional. Unique id for the Hub to create. */ hubId?: pulumi.Input; /** * User-defined labels. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Immutable. The name of a Hub resource. */ name?: pulumi.Input; project?: pulumi.Input; /** * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. 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 if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally 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). */ requestId?: pulumi.Input; /** * Time when the Hub was updated. */ updateTime?: pulumi.Input; }