Show / Hide Table of Contents

Class GetVpcPeeringConnection

Inheritance
System.Object
GetVpcPeeringConnection
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.Aiven
Assembly: Pulumi.Aiven.dll
Syntax
public static class GetVpcPeeringConnection

Methods

View Source

InvokeAsync(GetVpcPeeringConnectionArgs, InvokeOptions)

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
public MyStack()
{
    var mypeeringconnection = Output.Create(Aiven.GetVpcPeeringConnection.InvokeAsync(new Aiven.GetVpcPeeringConnectionArgs
    {
        VpcId = data.Aiven_project_vpc.Vpc_id,
        PeerCloudAccount = "<PEER_ACCOUNT_ID>",
        PeerVpc = "<PEER_VPC_ID/NAME>",
    }));
}

}

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

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