import * as pulumi from "@pulumi/pulumi"; /** * Approves a Google Private Service Connect connection to an Aiven service with an associated endpoint IP. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const approve = new aiven.GcpPrivatelinkConnectionApproval("approve", { * project: exampleProject.project, * serviceName: exampleKafka.serviceName, * userIpAddress: "10.0.0.100", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/gcpPrivatelinkConnectionApproval:GcpPrivatelinkConnectionApproval main PROJECT/SERVICE_NAME * ``` */ export declare class GcpPrivatelinkConnectionApproval extends pulumi.CustomResource { /** * Get an existing GcpPrivatelinkConnectionApproval 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?: GcpPrivatelinkConnectionApprovalState, opts?: pulumi.CustomResourceOptions): GcpPrivatelinkConnectionApproval; /** * Returns true if the given object is an instance of GcpPrivatelinkConnectionApproval. 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 GcpPrivatelinkConnectionApproval; /** * Aiven internal ID for the private link connection. */ readonly privatelinkConnectionId: pulumi.Output; /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * The Google Private Service Connect connection ID. */ readonly pscConnectionId: pulumi.Output; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly serviceName: pulumi.Output; /** * The state of the connection. */ readonly state: pulumi.Output; /** * The Private Service Connect connection user IP address. */ readonly userIpAddress: pulumi.Output; /** * Create a GcpPrivatelinkConnectionApproval 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: GcpPrivatelinkConnectionApprovalArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GcpPrivatelinkConnectionApproval resources. */ export interface GcpPrivatelinkConnectionApprovalState { /** * Aiven internal ID for the private link connection. */ privatelinkConnectionId?: pulumi.Input; /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * The Google Private Service Connect connection ID. */ pscConnectionId?: pulumi.Input; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ serviceName?: pulumi.Input; /** * The state of the connection. */ state?: pulumi.Input; /** * The Private Service Connect connection user IP address. */ userIpAddress?: pulumi.Input; } /** * The set of arguments for constructing a GcpPrivatelinkConnectionApproval resource. */ export interface GcpPrivatelinkConnectionApprovalArgs { /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * The Google Private Service Connect connection ID. */ pscConnectionId?: pulumi.Input; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; /** * The Private Service Connect connection user IP address. */ userIpAddress: pulumi.Input; } //# sourceMappingURL=gcpPrivatelinkConnectionApproval.d.ts.map