import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the ability to associate a route table for a subnet in Oracle Cloud Infrastructure Core service. * * Attaches the specified `route table` to the specified `subnet`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRouteTableAttachment = new oci.core.RouteTableAttachment("test_route_table_attachment", { * subnetId: testSubnet.id, * routeTableId: testRouteTable.id, * }); * ``` * * ## Import * * Route Table Attachment can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Core/routeTableAttachment:RouteTableAttachment test_route_table_attachment "{subnetId}/{routeTableId}" * ``` */ export declare class RouteTableAttachment extends pulumi.CustomResource { /** * Get an existing RouteTableAttachment 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RouteTableAttachmentState, opts?: pulumi.CustomResourceOptions): RouteTableAttachment; /** * Returns true if the given object is an instance of RouteTableAttachment. 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 RouteTableAttachment; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. */ readonly routeTableId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. */ readonly subnetId: pulumi.Output; /** * Create a RouteTableAttachment 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: RouteTableAttachmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RouteTableAttachment resources. */ export interface RouteTableAttachmentState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. */ routeTableId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. */ subnetId?: pulumi.Input; } /** * The set of arguments for constructing a RouteTableAttachment resource. */ export interface RouteTableAttachmentArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. */ routeTableId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. */ subnetId: pulumi.Input; } //# sourceMappingURL=routeTableAttachment.d.ts.map