UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

109 lines (108 loc) 3.47 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage rds mysql endpoint public address * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.rds_mysql.EndpointPublicAddress("foo", { * domain: "mysql-38c3d4f05f6e-test-01b0-public.rds.volces.com", * eipId: "eip-rrq618fo9c00v0x58s4r6ky", * endpointId: "mysql-38c3d4f05f6e-custom-01b0", * instanceId: "mysql-38c3d4f05f6e", * }); * ``` * * ## Import * * RdsMysqlEndpointPublicAddress can be imported using the instance id, endpoint id and eip id, e.g. * * ```sh * $ pulumi import volcengine:rds_mysql/endpointPublicAddress:EndpointPublicAddress default instanceId:endpointId:eipId * ``` */ export declare class EndpointPublicAddress extends pulumi.CustomResource { /** * Get an existing EndpointPublicAddress 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?: EndpointPublicAddressState, opts?: pulumi.CustomResourceOptions): EndpointPublicAddress; /** * Returns true if the given object is an instance of EndpointPublicAddress. 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 EndpointPublicAddress; /** * The domain. */ readonly domain: pulumi.Output<string>; /** * The id of the eip. */ readonly eipId: pulumi.Output<string>; /** * The id of the endpoint. */ readonly endpointId: pulumi.Output<string>; /** * The id of mysql instance. */ readonly instanceId: pulumi.Output<string>; /** * Create a EndpointPublicAddress 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: EndpointPublicAddressArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EndpointPublicAddress resources. */ export interface EndpointPublicAddressState { /** * The domain. */ domain?: pulumi.Input<string>; /** * The id of the eip. */ eipId?: pulumi.Input<string>; /** * The id of the endpoint. */ endpointId?: pulumi.Input<string>; /** * The id of mysql instance. */ instanceId?: pulumi.Input<string>; } /** * The set of arguments for constructing a EndpointPublicAddress resource. */ export interface EndpointPublicAddressArgs { /** * The domain. */ domain?: pulumi.Input<string>; /** * The id of the eip. */ eipId: pulumi.Input<string>; /** * The id of the endpoint. */ endpointId: pulumi.Input<string>; /** * The id of mysql instance. */ instanceId: pulumi.Input<string>; }