1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. VpcPeeringConnectionAccepterV2
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.VpcPeeringConnectionAccepterV2

Explore with Pulumi AI

Import

VPC Peering Connection Accepter can be imported using the VPC Peering Connection ID vpc_peering_connection_id, e.g.

$ pulumi import flexibleengine:index/vpcPeeringConnectionAccepterV2:VpcPeeringConnectionAccepterV2 peer 1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p
Copy

Create VpcPeeringConnectionAccepterV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new VpcPeeringConnectionAccepterV2(name: string, args: VpcPeeringConnectionAccepterV2Args, opts?: CustomResourceOptions);
@overload
def VpcPeeringConnectionAccepterV2(resource_name: str,
                                   args: VpcPeeringConnectionAccepterV2Args,
                                   opts: Optional[ResourceOptions] = None)

@overload
def VpcPeeringConnectionAccepterV2(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   vpc_peering_connection_id: Optional[str] = None,
                                   accept: Optional[bool] = None,
                                   region: Optional[str] = None,
                                   timeouts: Optional[VpcPeeringConnectionAccepterV2TimeoutsArgs] = None,
                                   vpc_peering_connection_accepter_v2_id: Optional[str] = None)
func NewVpcPeeringConnectionAccepterV2(ctx *Context, name string, args VpcPeeringConnectionAccepterV2Args, opts ...ResourceOption) (*VpcPeeringConnectionAccepterV2, error)
public VpcPeeringConnectionAccepterV2(string name, VpcPeeringConnectionAccepterV2Args args, CustomResourceOptions? opts = null)
public VpcPeeringConnectionAccepterV2(String name, VpcPeeringConnectionAccepterV2Args args)
public VpcPeeringConnectionAccepterV2(String name, VpcPeeringConnectionAccepterV2Args args, CustomResourceOptions options)
type: flexibleengine:VpcPeeringConnectionAccepterV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VpcPeeringConnectionAccepterV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VpcPeeringConnectionAccepterV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VpcPeeringConnectionAccepterV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VpcPeeringConnectionAccepterV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VpcPeeringConnectionAccepterV2Args
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var vpcPeeringConnectionAccepterV2Resource = new Flexibleengine.VpcPeeringConnectionAccepterV2("vpcPeeringConnectionAccepterV2Resource", new()
{
    VpcPeeringConnectionId = "string",
    Accept = false,
    Region = "string",
    Timeouts = new Flexibleengine.Inputs.VpcPeeringConnectionAccepterV2TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
    VpcPeeringConnectionAccepterV2Id = "string",
});
Copy
example, err := flexibleengine.NewVpcPeeringConnectionAccepterV2(ctx, "vpcPeeringConnectionAccepterV2Resource", &flexibleengine.VpcPeeringConnectionAccepterV2Args{
VpcPeeringConnectionId: pulumi.String("string"),
Accept: pulumi.Bool(false),
Region: pulumi.String("string"),
Timeouts: &.VpcPeeringConnectionAccepterV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
VpcPeeringConnectionAccepterV2Id: pulumi.String("string"),
})
Copy
var vpcPeeringConnectionAccepterV2Resource = new VpcPeeringConnectionAccepterV2("vpcPeeringConnectionAccepterV2Resource", VpcPeeringConnectionAccepterV2Args.builder()
    .vpcPeeringConnectionId("string")
    .accept(false)
    .region("string")
    .timeouts(VpcPeeringConnectionAccepterV2TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .vpcPeeringConnectionAccepterV2Id("string")
    .build());
Copy
vpc_peering_connection_accepter_v2_resource = flexibleengine.VpcPeeringConnectionAccepterV2("vpcPeeringConnectionAccepterV2Resource",
    vpc_peering_connection_id="string",
    accept=False,
    region="string",
    timeouts={
        "create": "string",
        "delete": "string",
    },
    vpc_peering_connection_accepter_v2_id="string")
Copy
const vpcPeeringConnectionAccepterV2Resource = new flexibleengine.VpcPeeringConnectionAccepterV2("vpcPeeringConnectionAccepterV2Resource", {
    vpcPeeringConnectionId: "string",
    accept: false,
    region: "string",
    timeouts: {
        create: "string",
        "delete": "string",
    },
    vpcPeeringConnectionAccepterV2Id: "string",
});
Copy
type: flexibleengine:VpcPeeringConnectionAccepterV2
properties:
    accept: false
    region: string
    timeouts:
        create: string
        delete: string
    vpcPeeringConnectionAccepterV2Id: string
    vpcPeeringConnectionId: string
Copy

VpcPeeringConnectionAccepterV2 Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The VpcPeeringConnectionAccepterV2 resource accepts the following input properties:

VpcPeeringConnectionId This property is required. string
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
Accept bool
Whether or not to accept the peering request. Defaults to false.
Region string
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
Timeouts VpcPeeringConnectionAccepterV2Timeouts
VpcPeeringConnectionAccepterV2Id string
The VPC peering connection ID.
VpcPeeringConnectionId This property is required. string
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
Accept bool
Whether or not to accept the peering request. Defaults to false.
Region string
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
Timeouts VpcPeeringConnectionAccepterV2TimeoutsArgs
VpcPeeringConnectionAccepterV2Id string
The VPC peering connection ID.
vpcPeeringConnectionId This property is required. String
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
accept Boolean
Whether or not to accept the peering request. Defaults to false.
region String
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
timeouts VpcPeeringConnectionAccepterV2Timeouts
vpcPeeringConnectionAccepterV2Id String
The VPC peering connection ID.
vpcPeeringConnectionId This property is required. string
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
accept boolean
Whether or not to accept the peering request. Defaults to false.
region string
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
timeouts VpcPeeringConnectionAccepterV2Timeouts
vpcPeeringConnectionAccepterV2Id string
The VPC peering connection ID.
vpc_peering_connection_id This property is required. str
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
accept bool
Whether or not to accept the peering request. Defaults to false.
region str
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
timeouts VpcPeeringConnectionAccepterV2TimeoutsArgs
vpc_peering_connection_accepter_v2_id str
The VPC peering connection ID.
vpcPeeringConnectionId This property is required. String
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
accept Boolean
Whether or not to accept the peering request. Defaults to false.
region String
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
timeouts Property Map
vpcPeeringConnectionAccepterV2Id String
The VPC peering connection ID.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Name string
The VPC peering connection name.
PeerTenantId string
The Tenant Id of the accepter tenant.
PeerVpcId string
The VPC ID of the accepter tenant.
Status string
The VPC peering connection status.
VpcId string
The ID of requester VPC involved in a VPC peering connection.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The VPC peering connection name.
PeerTenantId string
The Tenant Id of the accepter tenant.
PeerVpcId string
The VPC ID of the accepter tenant.
Status string
The VPC peering connection status.
VpcId string
The ID of requester VPC involved in a VPC peering connection.
id String
The provider-assigned unique ID for this managed resource.
name String
The VPC peering connection name.
peerTenantId String
The Tenant Id of the accepter tenant.
peerVpcId String
The VPC ID of the accepter tenant.
status String
The VPC peering connection status.
vpcId String
The ID of requester VPC involved in a VPC peering connection.
id string
The provider-assigned unique ID for this managed resource.
name string
The VPC peering connection name.
peerTenantId string
The Tenant Id of the accepter tenant.
peerVpcId string
The VPC ID of the accepter tenant.
status string
The VPC peering connection status.
vpcId string
The ID of requester VPC involved in a VPC peering connection.
id str
The provider-assigned unique ID for this managed resource.
name str
The VPC peering connection name.
peer_tenant_id str
The Tenant Id of the accepter tenant.
peer_vpc_id str
The VPC ID of the accepter tenant.
status str
The VPC peering connection status.
vpc_id str
The ID of requester VPC involved in a VPC peering connection.
id String
The provider-assigned unique ID for this managed resource.
name String
The VPC peering connection name.
peerTenantId String
The Tenant Id of the accepter tenant.
peerVpcId String
The VPC ID of the accepter tenant.
status String
The VPC peering connection status.
vpcId String
The ID of requester VPC involved in a VPC peering connection.

Look up Existing VpcPeeringConnectionAccepterV2 Resource

Get an existing VpcPeeringConnectionAccepterV2 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?: VpcPeeringConnectionAccepterV2State, opts?: CustomResourceOptions): VpcPeeringConnectionAccepterV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        accept: Optional[bool] = None,
        name: Optional[str] = None,
        peer_tenant_id: Optional[str] = None,
        peer_vpc_id: Optional[str] = None,
        region: Optional[str] = None,
        status: Optional[str] = None,
        timeouts: Optional[VpcPeeringConnectionAccepterV2TimeoutsArgs] = None,
        vpc_id: Optional[str] = None,
        vpc_peering_connection_accepter_v2_id: Optional[str] = None,
        vpc_peering_connection_id: Optional[str] = None) -> VpcPeeringConnectionAccepterV2
func GetVpcPeeringConnectionAccepterV2(ctx *Context, name string, id IDInput, state *VpcPeeringConnectionAccepterV2State, opts ...ResourceOption) (*VpcPeeringConnectionAccepterV2, error)
public static VpcPeeringConnectionAccepterV2 Get(string name, Input<string> id, VpcPeeringConnectionAccepterV2State? state, CustomResourceOptions? opts = null)
public static VpcPeeringConnectionAccepterV2 get(String name, Output<String> id, VpcPeeringConnectionAccepterV2State state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:VpcPeeringConnectionAccepterV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Accept bool
Whether or not to accept the peering request. Defaults to false.
Name string
The VPC peering connection name.
PeerTenantId string
The Tenant Id of the accepter tenant.
PeerVpcId string
The VPC ID of the accepter tenant.
Region string
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
Status string
The VPC peering connection status.
Timeouts VpcPeeringConnectionAccepterV2Timeouts
VpcId string
The ID of requester VPC involved in a VPC peering connection.
VpcPeeringConnectionAccepterV2Id string
The VPC peering connection ID.
VpcPeeringConnectionId string
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
Accept bool
Whether or not to accept the peering request. Defaults to false.
Name string
The VPC peering connection name.
PeerTenantId string
The Tenant Id of the accepter tenant.
PeerVpcId string
The VPC ID of the accepter tenant.
Region string
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
Status string
The VPC peering connection status.
Timeouts VpcPeeringConnectionAccepterV2TimeoutsArgs
VpcId string
The ID of requester VPC involved in a VPC peering connection.
VpcPeeringConnectionAccepterV2Id string
The VPC peering connection ID.
VpcPeeringConnectionId string
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
accept Boolean
Whether or not to accept the peering request. Defaults to false.
name String
The VPC peering connection name.
peerTenantId String
The Tenant Id of the accepter tenant.
peerVpcId String
The VPC ID of the accepter tenant.
region String
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
status String
The VPC peering connection status.
timeouts VpcPeeringConnectionAccepterV2Timeouts
vpcId String
The ID of requester VPC involved in a VPC peering connection.
vpcPeeringConnectionAccepterV2Id String
The VPC peering connection ID.
vpcPeeringConnectionId String
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
accept boolean
Whether or not to accept the peering request. Defaults to false.
name string
The VPC peering connection name.
peerTenantId string
The Tenant Id of the accepter tenant.
peerVpcId string
The VPC ID of the accepter tenant.
region string
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
status string
The VPC peering connection status.
timeouts VpcPeeringConnectionAccepterV2Timeouts
vpcId string
The ID of requester VPC involved in a VPC peering connection.
vpcPeeringConnectionAccepterV2Id string
The VPC peering connection ID.
vpcPeeringConnectionId string
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
accept bool
Whether or not to accept the peering request. Defaults to false.
name str
The VPC peering connection name.
peer_tenant_id str
The Tenant Id of the accepter tenant.
peer_vpc_id str
The VPC ID of the accepter tenant.
region str
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
status str
The VPC peering connection status.
timeouts VpcPeeringConnectionAccepterV2TimeoutsArgs
vpc_id str
The ID of requester VPC involved in a VPC peering connection.
vpc_peering_connection_accepter_v2_id str
The VPC peering connection ID.
vpc_peering_connection_id str
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
accept Boolean
Whether or not to accept the peering request. Defaults to false.
name String
The VPC peering connection name.
peerTenantId String
The Tenant Id of the accepter tenant.
peerVpcId String
The VPC ID of the accepter tenant.
region String
Specifies the region in which to create the VPC peering connection accepter. If omitted, the provider-level region will be used. Changing this creates a new VPC peering connection accepter.
status String
The VPC peering connection status.
timeouts Property Map
vpcId String
The ID of requester VPC involved in a VPC peering connection.
vpcPeeringConnectionAccepterV2Id String
The VPC peering connection ID.
vpcPeeringConnectionId String
The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.

Supporting Types

VpcPeeringConnectionAccepterV2Timeouts
, VpcPeeringConnectionAccepterV2TimeoutsArgs

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

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.