Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi
published on Tuesday, Mar 17, 2026 by Pulumi
Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi
published on Tuesday, Mar 17, 2026 by Pulumi
Gets information about an Azure Private Link connection for an Aiven service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const main = aiven.getAzurePrivatelink({
project: exampleProject.project,
serviceName: exampleKafka.serviceName,
});
import pulumi
import pulumi_aiven as aiven
main = aiven.get_azure_privatelink(project=example_project["project"],
service_name=example_kafka["serviceName"])
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.LookupAzurePrivatelink(ctx, &aiven.LookupAzurePrivatelinkArgs{
Project: exampleProject.Project,
ServiceName: exampleKafka.ServiceName,
}, 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 main = Aiven.GetAzurePrivatelink.Invoke(new()
{
Project = exampleProject.Project,
ServiceName = exampleKafka.ServiceName,
});
});
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.GetAzurePrivatelinkArgs;
import java.util.List;
import java.util.ArrayList;
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 main = AivenFunctions.getAzurePrivatelink(GetAzurePrivatelinkArgs.builder()
.project(exampleProject.project())
.serviceName(exampleKafka.serviceName())
.build());
}
}
variables:
main:
fn::invoke:
function: aiven:getAzurePrivatelink
arguments:
project: ${exampleProject.project}
serviceName: ${exampleKafka.serviceName}
Using getAzurePrivatelink
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 getAzurePrivatelink(args: GetAzurePrivatelinkArgs, opts?: InvokeOptions): Promise<GetAzurePrivatelinkResult>
function getAzurePrivatelinkOutput(args: GetAzurePrivatelinkOutputArgs, opts?: InvokeOptions): Output<GetAzurePrivatelinkResult>def get_azure_privatelink(project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAzurePrivatelinkResult
def get_azure_privatelink_output(project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAzurePrivatelinkResult]func LookupAzurePrivatelink(ctx *Context, args *LookupAzurePrivatelinkArgs, opts ...InvokeOption) (*LookupAzurePrivatelinkResult, error)
func LookupAzurePrivatelinkOutput(ctx *Context, args *LookupAzurePrivatelinkOutputArgs, opts ...InvokeOption) LookupAzurePrivatelinkResultOutput> Note: This function is named LookupAzurePrivatelink in the Go SDK.
public static class GetAzurePrivatelink
{
public static Task<GetAzurePrivatelinkResult> InvokeAsync(GetAzurePrivatelinkArgs args, InvokeOptions? opts = null)
public static Output<GetAzurePrivatelinkResult> Invoke(GetAzurePrivatelinkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAzurePrivatelinkResult> getAzurePrivatelink(GetAzurePrivatelinkArgs args, InvokeOptions options)
public static Output<GetAzurePrivatelinkResult> getAzurePrivatelink(GetAzurePrivatelinkArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getAzurePrivatelink:getAzurePrivatelink
arguments:
# arguments dictionaryThe following arguments are supported:
- Project string
- 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.
- Service
Name string - 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.
- Project string
- 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.
- Service
Name string - 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.
- project String
- 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.
- service
Name String - 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.
- project string
- 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.
- service
Name string - 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.
- project str
- 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.
- service_
name str - 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.
- project String
- 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.
- service
Name String - 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.
getAzurePrivatelink Result
The following output properties are available:
- Azure
Service stringAlias - The Azure Private Link service alias.
- Azure
Service stringId - The Azure Private Link service ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Message string
- Printable result of the Azure Private Link request.
- Project string
- 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.
- Service
Name string - 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.
- State string
- The state of the Private Link resource.
- User
Subscription List<string>Ids - A list of allowed subscription IDs. Maximum length:
16.
- Azure
Service stringAlias - The Azure Private Link service alias.
- Azure
Service stringId - The Azure Private Link service ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Message string
- Printable result of the Azure Private Link request.
- Project string
- 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.
- Service
Name string - 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.
- State string
- The state of the Private Link resource.
- User
Subscription []stringIds - A list of allowed subscription IDs. Maximum length:
16.
- azure
Service StringAlias - The Azure Private Link service alias.
- azure
Service StringId - The Azure Private Link service ID.
- id String
- The provider-assigned unique ID for this managed resource.
- message String
- Printable result of the Azure Private Link request.
- project String
- 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.
- service
Name String - 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.
- state String
- The state of the Private Link resource.
- user
Subscription List<String>Ids - A list of allowed subscription IDs. Maximum length:
16.
- azure
Service stringAlias - The Azure Private Link service alias.
- azure
Service stringId - The Azure Private Link service ID.
- id string
- The provider-assigned unique ID for this managed resource.
- message string
- Printable result of the Azure Private Link request.
- project string
- 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.
- service
Name string - 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.
- state string
- The state of the Private Link resource.
- user
Subscription string[]Ids - A list of allowed subscription IDs. Maximum length:
16.
- azure_
service_ stralias - The Azure Private Link service alias.
- azure_
service_ strid - The Azure Private Link service ID.
- id str
- The provider-assigned unique ID for this managed resource.
- message str
- Printable result of the Azure Private Link request.
- project str
- 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.
- service_
name str - 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.
- state str
- The state of the Private Link resource.
- user_
subscription_ Sequence[str]ids - A list of allowed subscription IDs. Maximum length:
16.
- azure
Service StringAlias - The Azure Private Link service alias.
- azure
Service StringId - The Azure Private Link service ID.
- id String
- The provider-assigned unique ID for this managed resource.
- message String
- Printable result of the Azure Private Link request.
- project String
- 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.
- service
Name String - 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.
- state String
- The state of the Private Link resource.
- user
Subscription List<String>Ids - A list of allowed subscription IDs. Maximum length:
16.
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.51.0
published on Tuesday, Mar 17, 2026 by Pulumi
published on Tuesday, Mar 17, 2026 by Pulumi
