Aiven

Pulumi Official
Package maintained by Pulumi
v4.5.1 published on Friday, Apr 22, 2022 by Pulumi

getAzurePrivatelink

The Azure Privatelink resource allows the creation and management of Aiven Azure Privatelink for a services.

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = Output.Create(Aiven.GetAzurePrivatelink.InvokeAsync(new Aiven.GetAzurePrivatelinkArgs
        {
            Project = data.Aiven_project.Foo.Project,
            ServiceName = aiven_kafka.Bar.Service_name,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aiven.LookupAzurePrivatelink(ctx, &GetAzurePrivatelinkArgs{
			Project:     data.Aiven_project.Foo.Project,
			ServiceName: aiven_kafka.Bar.Service_name,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aiven as aiven

foo = aiven.get_azure_privatelink(project=data["aiven_project"]["foo"]["project"],
    service_name=aiven_kafka["bar"]["service_name"])
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const foo = aiven.getAzurePrivatelink({
    project: data.aiven_project.foo.project,
    serviceName: aiven_kafka.bar.service_name,
});

Coming soon!

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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aiven:index/getAzurePrivatelink:getAzurePrivatelink
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

ServiceName string

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

Project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

ServiceName string

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

project String

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

serviceName String

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

serviceName string

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

project str

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

service_name str

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

project String

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

serviceName String

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

getAzurePrivatelink Result

The following output properties are available:

AzureServiceAlias string

Azure Privatelink service alias

AzureServiceId string

Azure Privatelink service ID

Id string

The provider-assigned unique ID for this managed resource.

Message string

Printable result of the Azure Privatelink request

Project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

ServiceName string

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

State string

Privatelink resource state

UserSubscriptionIds List<string>

A List of allowed Subscription IDs Maximum Length: 16.

AzureServiceAlias string

Azure Privatelink service alias

AzureServiceId string

Azure Privatelink service ID

Id string

The provider-assigned unique ID for this managed resource.

Message string

Printable result of the Azure Privatelink request

Project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

ServiceName string

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

State string

Privatelink resource state

UserSubscriptionIds []string

A List of allowed Subscription IDs Maximum Length: 16.

azureServiceAlias String

Azure Privatelink service alias

azureServiceId String

Azure Privatelink service ID

id String

The provider-assigned unique ID for this managed resource.

message String

Printable result of the Azure Privatelink request

project String

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

serviceName String

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

state String

Privatelink resource state

userSubscriptionIds List

A List of allowed Subscription IDs Maximum Length: 16.

azureServiceAlias string

Azure Privatelink service alias

azureServiceId string

Azure Privatelink service ID

id string

The provider-assigned unique ID for this managed resource.

message string

Printable result of the Azure Privatelink request

project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

serviceName string

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

state string

Privatelink resource state

userSubscriptionIds string[]

A List of allowed Subscription IDs Maximum Length: 16.

azure_service_alias str

Azure Privatelink service alias

azure_service_id str

Azure Privatelink service ID

id str

The provider-assigned unique ID for this managed resource.

message str

Printable result of the Azure Privatelink request

project str

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

service_name str

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

state str

Privatelink resource state

user_subscription_ids Sequence[str]

A List of allowed Subscription IDs Maximum Length: 16.

azureServiceAlias String

Azure Privatelink service alias

azureServiceId String

Azure Privatelink service ID

id String

The provider-assigned unique ID for this managed resource.

message String

Printable result of the Azure Privatelink request

project String

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

serviceName String

Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

state String

Privatelink resource state

userSubscriptionIds List

A List of allowed Subscription IDs Maximum Length: 16.

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes

This Pulumi package is based on the aiven Terraform Provider.