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 the spoke was created. */ readonly createTime: pulumi.Output; /** * An optional description of the spoke. */ readonly description: pulumi.Output; /** * Optional. The name of the group that this spoke is associated with. */ readonly group: pulumi.Output; /** * Immutable. The name of the hub that this spoke is attached to. */ readonly hub: pulumi.Output; /** * 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: pulumi.Output<{ [key: string]: string; }>; /** * VLAN attachments that are associated with the spoke. */ readonly linkedInterconnectAttachments: pulumi.Output; /** * Router appliance instances that are associated with the spoke. */ readonly linkedRouterApplianceInstances: pulumi.Output; /** * Optional. VPC network that is associated with the spoke. */ readonly linkedVpcNetwork: pulumi.Output; /** * VPN tunnels that are associated with the spoke. */ readonly linkedVpnTunnels: pulumi.Output; readonly location: pulumi.Output; /** * 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: pulumi.Output; readonly project: pulumi.Output; /** * The reasons for current state of the spoke. Only present when the spoke is in the `INACTIVE` state. */ readonly reasons: pulumi.Output; /** * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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; /** * Required. Unique id for the spoke to create. */ readonly spokeId: pulumi.Output; /** * The type of resource associated with the spoke. */ readonly spokeType: pulumi.Output; /** * The current lifecycle state of this spoke. */ readonly state: pulumi.Output; /** * 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: pulumi.Output; /** * The time the spoke was last 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 { /** * An optional description of the spoke. */ description?: pulumi.Input; /** * Optional. The name of the group that this spoke is associated with. */ group?: pulumi.Input; /** * Immutable. The name of the hub that this spoke is attached to. */ hub?: pulumi.Input; /** * 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). */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * VLAN attachments that are associated with the spoke. */ linkedInterconnectAttachments?: pulumi.Input; /** * Router appliance instances that are associated with the spoke. */ linkedRouterApplianceInstances?: pulumi.Input; /** * Optional. VPC network that is associated with the spoke. */ linkedVpcNetwork?: pulumi.Input; /** * VPN tunnels that are associated with the spoke. */ linkedVpnTunnels?: pulumi.Input; location?: pulumi.Input; /** * Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}` */ 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 knows 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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; /** * Required. Unique id for the spoke to create. */ spokeId: pulumi.Input; }