Show / Hide Table of Contents

Class GetServiceEndpointConnections

Inheritance
System.Object
GetServiceEndpointConnections
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.PrivateLink
Assembly: Pulumi.Azure.dll
Syntax
public static class GetServiceEndpointConnections

Methods

View Source

InvokeAsync(GetServiceEndpointConnectionsArgs, InvokeOptions)

Use this data source to access endpoint connection information about an existing Private Link Service.

NOTE Private Link is currently in Public Preview.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.PrivateLink.GetServiceEndpointConnections.InvokeAsync(new Azure.PrivateLink.GetServiceEndpointConnectionsArgs
    {
        ServiceId = azurerm_private_link_service.Example.Id,
        ResourceGroupName = azurerm_resource_group.Example.Name,
    }));
    this.PrivateEndpointStatus = example.Apply(example => example.PrivateEndpointConnections[0].Status);
}

[Output("privateEndpointStatus")]
public Output<string> PrivateEndpointStatus { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetServiceEndpointConnectionsResult> InvokeAsync(GetServiceEndpointConnectionsArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetServiceEndpointConnectionsArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetServiceEndpointConnectionsResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.