GetProjectVpc

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var myvpc = Output.Create(Aiven.GetProjectVpc.InvokeAsync(new Aiven.GetProjectVpcArgs
        {
            Project = data.Aiven_project.Myproject.Project,
            CloudName = "google-europe-west1",
        }));
    }

}

Coming soon!

import pulumi
import pulumi_aiven as aiven

myvpc = aiven.get_project_vpc(project=data["aiven..Project"]["myproject"]["project"],
    cloud_name="google-europe-west1")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const myvpc = aiven.getProjectVpc({
    project: data.aiven_project.myproject.project,
    cloudName: "google-europe-west1",
});

Using GetProjectVpc

function getProjectVpc(args: GetProjectVpcArgs, opts?: InvokeOptions): Promise<GetProjectVpcResult>
function  get_project_vpc(client_timeout=None, cloud_name=None, network_cidr=None, project=None, state=None, opts=None)
func LookupProjectVpc(ctx *Context, args *LookupProjectVpcArgs, opts ...InvokeOption) (*LookupProjectVpcResult, error)

Note: This function is named LookupProjectVpc in the Go SDK.

public static class GetProjectVpc {
    public static Task<GetProjectVpcResult> InvokeAsync(GetProjectVpcArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

CloudName string
Project string
ClientTimeout GetProjectVpcClientTimeoutArgs
NetworkCidr string
State string
CloudName string
Project string
ClientTimeout GetProjectVpcClientTimeout
NetworkCidr string
State string
cloudName string
project string
clientTimeout GetProjectVpcClientTimeout
networkCidr string
state string
cloud_name str
project str
client_timeout Dict[GetProjectVpcClientTimeout]
network_cidr str
state str

GetProjectVpc Result

The following output properties are available:

CloudName string
Id string

The provider-assigned unique ID for this managed resource.

Project string
State string
ClientTimeout GetProjectVpcClientTimeout
NetworkCidr string
CloudName string
Id string

The provider-assigned unique ID for this managed resource.

Project string
State string
ClientTimeout GetProjectVpcClientTimeout
NetworkCidr string
cloudName string
id string

The provider-assigned unique ID for this managed resource.

project string
state string
clientTimeout GetProjectVpcClientTimeout
networkCidr string
cloud_name str
id str

The provider-assigned unique ID for this managed resource.

project str
state str
client_timeout Dict[GetProjectVpcClientTimeout]
network_cidr str

Supporting Types

GetProjectVpcClientTimeout

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Create string
Delete string
Create string
Delete string
create string
delete string
create str
delete str

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.