ProjectVpc

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var myvpc = new Aiven.ProjectVpc("myvpc", new Aiven.ProjectVpcArgs
        {
            CloudName = "google-europe-west1",
            NetworkCidr = "192.168.0.1/24",
            Project = aiven_project.Myproject.Project,
        });
    }

}

Coming soon!

import pulumi
import pulumi_aiven as aiven

myvpc = aiven.ProjectVpc("myvpc",
    cloud_name="google-europe-west1",
    network_cidr="192.168.0.1/24",
    project=aiven_project["myproject"]["project"])
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const myvpc = new aiven.ProjectVpc("myvpc", {
    cloudName: "google-europe-west1",
    networkCidr: "192.168.0.1/24",
    project: aiven_project_myproject.project,
});

Create a ProjectVpc Resource

def ProjectVpc(resource_name, opts=None, client_timeout=None, cloud_name=None, network_cidr=None, project=None, __props__=None);
func NewProjectVpc(ctx *Context, name string, args ProjectVpcArgs, opts ...ResourceOption) (*ProjectVpc, error)
public ProjectVpc(string name, ProjectVpcArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ProjectVpcArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ProjectVpcArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProjectVpcArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ProjectVpc Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ProjectVpc resource accepts the following input properties:

CloudName string

Cloud the VPC is in

NetworkCidr string

Network address range used by the VPC like 192.168.0.0/24

Project string

The project the VPC belongs to

ClientTimeout ProjectVpcClientTimeoutArgs

Custom Terraform Client timeouts

Deprecated: use timeouts instead

CloudName string

Cloud the VPC is in

NetworkCidr string

Network address range used by the VPC like 192.168.0.0/24

Project string

The project the VPC belongs to

ClientTimeout ProjectVpcClientTimeout

Custom Terraform Client timeouts

Deprecated: use timeouts instead

cloudName string

Cloud the VPC is in

networkCidr string

Network address range used by the VPC like 192.168.0.0/24

project string

The project the VPC belongs to

clientTimeout ProjectVpcClientTimeout

Custom Terraform Client timeouts

Deprecated: use timeouts instead

cloud_name str

Cloud the VPC is in

network_cidr str

Network address range used by the VPC like 192.168.0.0/24

project str

The project the VPC belongs to

client_timeout Dict[ProjectVpcClientTimeout]

Custom Terraform Client timeouts

Deprecated: use timeouts instead

Outputs

All input properties are implicitly available as output properties. Additionally, the ProjectVpc resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
State string

State of the VPC (APPROVED, ACTIVE, DELETING, DELETED)

Id string
The provider-assigned unique ID for this managed resource.
State string

State of the VPC (APPROVED, ACTIVE, DELETING, DELETED)

id string
The provider-assigned unique ID for this managed resource.
state string

State of the VPC (APPROVED, ACTIVE, DELETING, DELETED)

id str
The provider-assigned unique ID for this managed resource.
state str

State of the VPC (APPROVED, ACTIVE, DELETING, DELETED)

Look up an Existing ProjectVpc Resource

Get an existing ProjectVpc resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ProjectVpcState, opts?: CustomResourceOptions): ProjectVpc
static get(resource_name, id, opts=None, client_timeout=None, cloud_name=None, network_cidr=None, project=None, state=None, __props__=None);
func GetProjectVpc(ctx *Context, name string, id IDInput, state *ProjectVpcState, opts ...ResourceOption) (*ProjectVpc, error)
public static ProjectVpc Get(string name, Input<string> id, ProjectVpcState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

ClientTimeout ProjectVpcClientTimeoutArgs

Custom Terraform Client timeouts

Deprecated: use timeouts instead

CloudName string

Cloud the VPC is in

NetworkCidr string

Network address range used by the VPC like 192.168.0.0/24

Project string

The project the VPC belongs to

State string

State of the VPC (APPROVED, ACTIVE, DELETING, DELETED)

ClientTimeout ProjectVpcClientTimeout

Custom Terraform Client timeouts

Deprecated: use timeouts instead

CloudName string

Cloud the VPC is in

NetworkCidr string

Network address range used by the VPC like 192.168.0.0/24

Project string

The project the VPC belongs to

State string

State of the VPC (APPROVED, ACTIVE, DELETING, DELETED)

clientTimeout ProjectVpcClientTimeout

Custom Terraform Client timeouts

Deprecated: use timeouts instead

cloudName string

Cloud the VPC is in

networkCidr string

Network address range used by the VPC like 192.168.0.0/24

project string

The project the VPC belongs to

state string

State of the VPC (APPROVED, ACTIVE, DELETING, DELETED)

client_timeout Dict[ProjectVpcClientTimeout]

Custom Terraform Client timeouts

Deprecated: use timeouts instead

cloud_name str

Cloud the VPC is in

network_cidr str

Network address range used by the VPC like 192.168.0.0/24

project str

The project the VPC belongs to

state str

State of the VPC (APPROVED, ACTIVE, DELETING, DELETED)

Supporting Types

ProjectVpcClientTimeout

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.