Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
Gets information about a Google Private Service Connect connection for an Aiven service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getGcpPrivatelink({
project: "my-project",
serviceName: "foo",
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_gcp_privatelink(project="my-project",
service_name="foo")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.GetGcpPrivatelink(ctx, &aiven.LookupGcpPrivatelinkArgs{
Project: "my-project",
ServiceName: "foo",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var example = Aiven.GetGcpPrivatelink.Invoke(new()
{
Project = "my-project",
ServiceName = "foo",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetGcpPrivatelinkArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AivenFunctions.getGcpPrivatelink(GetGcpPrivatelinkArgs.builder()
.project("my-project")
.serviceName("foo")
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getGcpPrivatelink
arguments:
project: my-project
serviceName: foo
terraform {
required_providers {
aiven = {
source = "pulumi/aiven"
}
}
}
data "aiven_gcp_privatelink" "example" {
project = "my-project"
service_name = "foo"
}
Using getGcpPrivatelink
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGcpPrivatelink(args: GetGcpPrivatelinkArgs, opts?: InvokeOptions): Promise<GetGcpPrivatelinkResult>
function getGcpPrivatelinkOutput(args: GetGcpPrivatelinkOutputArgs, opts?: InvokeOutputOptions): Output<GetGcpPrivatelinkResult>def get_gcp_privatelink(project: Optional[str] = None,
service_name: Optional[str] = None,
timeouts: Optional[GetGcpPrivatelinkTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetGcpPrivatelinkResult
def get_gcp_privatelink_output(project: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetGcpPrivatelinkTimeoutsArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetGcpPrivatelinkResult]func LookupGcpPrivatelink(ctx *Context, args *LookupGcpPrivatelinkArgs, opts ...InvokeOption) (*LookupGcpPrivatelinkResult, error)
func LookupGcpPrivatelinkOutput(ctx *Context, args *LookupGcpPrivatelinkOutputArgs, opts ...InvokeOption) LookupGcpPrivatelinkResultOutput> Note: This function is named LookupGcpPrivatelink in the Go SDK.
public static class GetGcpPrivatelink
{
public static Task<GetGcpPrivatelinkResult> InvokeAsync(GetGcpPrivatelinkArgs args, InvokeOptions? opts = null)
public static Output<GetGcpPrivatelinkResult> Invoke(GetGcpPrivatelinkInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetGcpPrivatelinkResult> Invoke(GetGcpPrivatelinkInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetGcpPrivatelinkResult> getGcpPrivatelink(GetGcpPrivatelinkArgs args, InvokeOptions options)
public static Output<GetGcpPrivatelinkResult> getGcpPrivatelink(GetGcpPrivatelinkArgs args, InvokeOptions options)
public static Output<GetGcpPrivatelinkResult> getGcpPrivatelink(GetGcpPrivatelinkArgs args, InvokeOutputOptions options)
fn::invoke:
function: aiven:index/getGcpPrivatelink:getGcpPrivatelink
arguments:
# arguments dictionarydata "aiven_get_gcp_privatelink" "name" {
# arguments
}The following arguments are supported:
- Project string
- Project name.
- Service
Name string - Service name.
- Timeouts
Get
Gcp Privatelink Timeouts
- Project string
- Project name.
- Service
Name string - Service name.
- Timeouts
Get
Gcp Privatelink Timeouts
- project string
- Project name.
- service_
name string - Service name.
- timeouts object
- project String
- Project name.
- service
Name String - Service name.
- timeouts
Get
Gcp Privatelink Timeouts
- project string
- Project name.
- service
Name string - Service name.
- timeouts
Get
Gcp Privatelink Timeouts
- project str
- Project name.
- service_
name str - Service name.
- timeouts
Get
Gcp Privatelink Timeouts
- project String
- Project name.
- service
Name String - Service name.
- timeouts Property Map
getGcpPrivatelink Result
The following output properties are available:
- Google
Service stringAttachment - Google Private Service Connect service attachment.
- Id string
- Resource ID composed as:
project/service_name. - Message string
- Legacy response message retained for backward compatibility. Deprecated: This attribute is retained only for compatibility with state created by older provider versions and is no longer populated.
- Project string
- Project name.
- Service
Name string - Service name.
- State string
- The state of the Private Service Connect resource. The possible values are
active,creatinganddeleting. - Timeouts
Get
Gcp Privatelink Timeouts
- Google
Service stringAttachment - Google Private Service Connect service attachment.
- Id string
- Resource ID composed as:
project/service_name. - Message string
- Legacy response message retained for backward compatibility. Deprecated: This attribute is retained only for compatibility with state created by older provider versions and is no longer populated.
- Project string
- Project name.
- Service
Name string - Service name.
- State string
- The state of the Private Service Connect resource. The possible values are
active,creatinganddeleting. - Timeouts
Get
Gcp Privatelink Timeouts
- google_
service_ stringattachment - Google Private Service Connect service attachment.
- id string
- Resource ID composed as:
project/service_name. - message string
- Legacy response message retained for backward compatibility. Deprecated: This attribute is retained only for compatibility with state created by older provider versions and is no longer populated.
- project string
- Project name.
- service_
name string - Service name.
- state string
- The state of the Private Service Connect resource. The possible values are
active,creatinganddeleting. - timeouts object
- google
Service StringAttachment - Google Private Service Connect service attachment.
- id String
- Resource ID composed as:
project/service_name. - message String
- Legacy response message retained for backward compatibility. Deprecated: This attribute is retained only for compatibility with state created by older provider versions and is no longer populated.
- project String
- Project name.
- service
Name String - Service name.
- state String
- The state of the Private Service Connect resource. The possible values are
active,creatinganddeleting. - timeouts
Get
Gcp Privatelink Timeouts
- google
Service stringAttachment - Google Private Service Connect service attachment.
- id string
- Resource ID composed as:
project/service_name. - message string
- Legacy response message retained for backward compatibility. Deprecated: This attribute is retained only for compatibility with state created by older provider versions and is no longer populated.
- project string
- Project name.
- service
Name string - Service name.
- state string
- The state of the Private Service Connect resource. The possible values are
active,creatinganddeleting. - timeouts
Get
Gcp Privatelink Timeouts
- google_
service_ strattachment - Google Private Service Connect service attachment.
- id str
- Resource ID composed as:
project/service_name. - message str
- Legacy response message retained for backward compatibility. Deprecated: This attribute is retained only for compatibility with state created by older provider versions and is no longer populated.
- project str
- Project name.
- service_
name str - Service name.
- state str
- The state of the Private Service Connect resource. The possible values are
active,creatinganddeleting. - timeouts
Get
Gcp Privatelink Timeouts
- google
Service StringAttachment - Google Private Service Connect service attachment.
- id String
- Resource ID composed as:
project/service_name. - message String
- Legacy response message retained for backward compatibility. Deprecated: This attribute is retained only for compatibility with state created by older provider versions and is no longer populated.
- project String
- Project name.
- service
Name String - Service name.
- state String
- The state of the Private Service Connect resource. The possible values are
active,creatinganddeleting. - timeouts Property Map
Supporting Types
GetGcpPrivatelinkTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi