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
new ProjectVpc(name: string, args: ProjectVpcArgs, opts?: CustomResourceOptions);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:
- Cloud
Name string Cloud the VPC is in
- Network
Cidr string Network address range used by the VPC like 192.168.0.0/24
- Project string
The project the VPC belongs to
- Client
Timeout ProjectVpc Client Timeout Args Custom Terraform Client timeouts
- Cloud
Name string Cloud the VPC is in
- Network
Cidr string Network address range used by the VPC like 192.168.0.0/24
- Project string
The project the VPC belongs to
- Client
Timeout ProjectVpc Client Timeout Custom Terraform Client timeouts
- cloud
Name string Cloud the VPC is in
- network
Cidr string Network address range used by the VPC like 192.168.0.0/24
- project string
The project the VPC belongs to
- client
Timeout ProjectVpc Client Timeout Custom Terraform Client timeouts
- 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[ProjectVpc Client Timeout] Custom Terraform Client timeouts
Outputs
All input properties are implicitly available as output properties. Additionally, the ProjectVpc resource produces the following output properties:
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): ProjectVpcstatic 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:
- Client
Timeout ProjectVpc Client Timeout Args Custom Terraform Client timeouts
- Cloud
Name string Cloud the VPC is in
- Network
Cidr 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 ProjectVpc Client Timeout Custom Terraform Client timeouts
- Cloud
Name string Cloud the VPC is in
- Network
Cidr 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 ProjectVpc Client Timeout Custom Terraform Client timeouts
- cloud
Name string Cloud the VPC is in
- network
Cidr 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[ProjectVpc Client Timeout] Custom Terraform Client timeouts
- 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
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.