UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

163 lines (162 loc) 5.9 kB
import * as pulumi from "@pulumi/pulumi"; /** * Manages a propagation resource under the route table for ER service within HuaweiCloud. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pulumi from "@huaweicloudos/pulumi"; * * const config = new pulumi.Config(); * const instanceId = config.requireObject("instanceId"); * const routeTableId = config.requireObject("routeTableId"); * const attachmentId = config.requireObject("attachmentId"); * const test = new huaweicloud.er.Propagation("test", { * instanceId: instanceId, * routeTableId: routeTableId, * attachmentId: attachmentId, * }); * ``` * * ## Import * * Propagations can be imported using their `id` and the related `instance_id` and `route_table_id`, separated by slashes (/), e.g. bash * * ```sh * $ pulumi import huaweicloud:Er/propagation:Propagation test <instance_id>/<route_table_id>/<id> * ``` */ export declare class Propagation extends pulumi.CustomResource { /** * Get an existing Propagation 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<pulumi.ID>, state?: PropagationState, opts?: pulumi.CustomResourceOptions): Propagation; /** * Returns true if the given object is an instance of Propagation. 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 Propagation; /** * Specifies the ID of the attachment corresponding to the propagation. * Changing this parameter will create a new resource. */ readonly attachmentId: pulumi.Output<string>; /** * The type of the attachment corresponding to the propagation. */ readonly attachmentType: pulumi.Output<string>; /** * The creation time. */ readonly createdAt: pulumi.Output<string>; /** * Specifies the ID of the ER instance to which the route table and the * attachment belongs. * Changing this parameter will create a new resource. */ readonly instanceId: pulumi.Output<string>; /** * Specifies the region where the ER instance and route table are located. * If omitted, the provider-level region will be used. Changing this parameter will create a new resource. */ readonly region: pulumi.Output<string>; /** * Specifies the ID of the route table to which the propagation * belongs. * Changing this parameter will create a new resource. */ readonly routeTableId: pulumi.Output<string>; /** * The current status of the propagation. */ readonly status: pulumi.Output<string>; /** * The latest update time. */ readonly updatedAt: pulumi.Output<string>; /** * Create a Propagation 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: PropagationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Propagation resources. */ export interface PropagationState { /** * Specifies the ID of the attachment corresponding to the propagation. * Changing this parameter will create a new resource. */ attachmentId?: pulumi.Input<string>; /** * The type of the attachment corresponding to the propagation. */ attachmentType?: pulumi.Input<string>; /** * The creation time. */ createdAt?: pulumi.Input<string>; /** * Specifies the ID of the ER instance to which the route table and the * attachment belongs. * Changing this parameter will create a new resource. */ instanceId?: pulumi.Input<string>; /** * Specifies the region where the ER instance and route table are located. * If omitted, the provider-level region will be used. Changing this parameter will create a new resource. */ region?: pulumi.Input<string>; /** * Specifies the ID of the route table to which the propagation * belongs. * Changing this parameter will create a new resource. */ routeTableId?: pulumi.Input<string>; /** * The current status of the propagation. */ status?: pulumi.Input<string>; /** * The latest update time. */ updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a Propagation resource. */ export interface PropagationArgs { /** * Specifies the ID of the attachment corresponding to the propagation. * Changing this parameter will create a new resource. */ attachmentId: pulumi.Input<string>; /** * Specifies the ID of the ER instance to which the route table and the * attachment belongs. * Changing this parameter will create a new resource. */ instanceId: pulumi.Input<string>; /** * Specifies the region where the ER instance and route table are located. * If omitted, the provider-level region will be used. Changing this parameter will create a new resource. */ region?: pulumi.Input<string>; /** * Specifies the ID of the route table to which the propagation * belongs. * Changing this parameter will create a new resource. */ routeTableId: pulumi.Input<string>; }