import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a Network Connectivity Center spoke. */ 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; readonly location: pulumi.Output; /** * Immutable. The name of a Spoke 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; /** * Optional. Unique id for the Spoke to create. */ readonly spokeId: 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. */ createTime?: pulumi.Input; /** * Short description of the spoke resource */ description?: pulumi.Input; /** * The resource URL of the hub resource that the spoke is attached to */ hub?: pulumi.Input; /** * User-defined labels. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The URIs of linked interconnect attachment resources */ linkedInterconnectAttachments?: pulumi.Input[]>; /** * The URIs of linked Router appliance resources */ linkedRouterApplianceInstances?: pulumi.Input[]>; /** * The URIs of linked VPN tunnel resources */ linkedVpnTunnels?: pulumi.Input[]>; location?: pulumi.Input; /** * Immutable. The name of a Spoke 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; /** * Optional. Unique id for the Spoke to create. */ spokeId?: pulumi.Input; /** * The time when the Spoke was updated. */ updateTime?: pulumi.Input; }