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
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 string
- The unique name of the resource.
- args VpcPeeringConnectionAccepterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args VpcPeeringConnectionAccepterV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcPeeringConnectionAccepterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := flexibleengine.NewVpcPeeringConnectionAccepterV2(ctx, "vpcPeeringConnectionAccepterV2Resource", &flexibleengine.VpcPeeringConnectionAccepterV2Args{
VpcPeeringConnectionId: pulumi.String("string"),
Accept: pulumi.Bool(false),
Region: pulumi.String("string"),
Timeouts: &flexibleengine.VpcPeeringConnectionAccepterV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
VpcPeeringConnectionAccepterV2Id: pulumi.String("string"),
})
var vpcPeeringConnectionAccepterV2Resource = new VpcPeeringConnectionAccepterV2("vpcPeeringConnectionAccepterV2Resource", VpcPeeringConnectionAccepterV2Args.builder()
.vpcPeeringConnectionId("string")
.accept(false)
.region("string")
.timeouts(VpcPeeringConnectionAccepterV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.vpcPeeringConnectionAccepterV2Id("string")
.build());
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")
const vpcPeeringConnectionAccepterV2Resource = new flexibleengine.VpcPeeringConnectionAccepterV2("vpcPeeringConnectionAccepterV2Resource", {
vpcPeeringConnectionId: "string",
accept: false,
region: "string",
timeouts: {
create: "string",
"delete": "string",
},
vpcPeeringConnectionAccepterV2Id: "string",
});
type: flexibleengine:VpcPeeringConnectionAccepterV2
properties:
accept: false
region: string
timeouts:
create: string
delete: string
vpcPeeringConnectionAccepterV2Id: string
vpcPeeringConnectionId: string
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:
- Vpc
Peering stringConnection Id - 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
Vpc
Peering Connection Accepter V2Timeouts - Vpc
Peering stringConnection Accepter V2Id - The VPC peering connection ID.
- Vpc
Peering stringConnection Id - 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
Vpc
Peering Connection Accepter V2Timeouts Args - Vpc
Peering stringConnection Accepter V2Id - The VPC peering connection ID.
- vpc
Peering StringConnection Id - 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
Vpc
Peering Connection Accepter V2Timeouts - vpc
Peering StringConnection Accepter V2Id - The VPC peering connection ID.
- vpc
Peering stringConnection Id - 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
Vpc
Peering Connection Accepter V2Timeouts - vpc
Peering stringConnection Accepter V2Id - The VPC peering connection ID.
- vpc_
peering_ strconnection_ id - 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
Vpc
Peering Connection Accepter V2Timeouts Args - vpc_
peering_ strconnection_ accepter_ v2_ id - The VPC peering connection ID.
- vpc
Peering StringConnection Id - 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
- vpc
Peering StringConnection Accepter V2Id - 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.
- Peer
Tenant stringId - The Tenant Id of the accepter tenant.
- Peer
Vpc stringId - The VPC ID of the accepter tenant.
- Status string
- The VPC peering connection status.
- Vpc
Id 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.
- Peer
Tenant stringId - The Tenant Id of the accepter tenant.
- Peer
Vpc stringId - The VPC ID of the accepter tenant.
- Status string
- The VPC peering connection status.
- Vpc
Id 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.
- peer
Tenant StringId - The Tenant Id of the accepter tenant.
- peer
Vpc StringId - The VPC ID of the accepter tenant.
- status String
- The VPC peering connection status.
- vpc
Id 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.
- peer
Tenant stringId - The Tenant Id of the accepter tenant.
- peer
Vpc stringId - The VPC ID of the accepter tenant.
- status string
- The VPC peering connection status.
- vpc
Id 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_ strid - The Tenant Id of the accepter tenant.
- peer_
vpc_ strid - 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.
- peer
Tenant StringId - The Tenant Id of the accepter tenant.
- peer
Vpc StringId - The VPC ID of the accepter tenant.
- status String
- The VPC peering connection status.
- vpc
Id 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
- 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.
- 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.
- Accept bool
- Whether or not to accept the peering request. Defaults to
false
. - Name string
- The VPC peering connection name.
- Peer
Tenant stringId - The Tenant Id of the accepter tenant.
- Peer
Vpc stringId - 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
Vpc
Peering Connection Accepter V2Timeouts - Vpc
Id string - The ID of requester VPC involved in a VPC peering connection.
- Vpc
Peering stringConnection Accepter V2Id - The VPC peering connection ID.
- Vpc
Peering stringConnection Id - 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.
- Peer
Tenant stringId - The Tenant Id of the accepter tenant.
- Peer
Vpc stringId - 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
Vpc
Peering Connection Accepter V2Timeouts Args - Vpc
Id string - The ID of requester VPC involved in a VPC peering connection.
- Vpc
Peering stringConnection Accepter V2Id - The VPC peering connection ID.
- Vpc
Peering stringConnection Id - 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.
- peer
Tenant StringId - The Tenant Id of the accepter tenant.
- peer
Vpc StringId - 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
Vpc
Peering Connection Accepter V2Timeouts - vpc
Id String - The ID of requester VPC involved in a VPC peering connection.
- vpc
Peering StringConnection Accepter V2Id - The VPC peering connection ID.
- vpc
Peering StringConnection Id - 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.
- peer
Tenant stringId - The Tenant Id of the accepter tenant.
- peer
Vpc stringId - 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
Vpc
Peering Connection Accepter V2Timeouts - vpc
Id string - The ID of requester VPC involved in a VPC peering connection.
- vpc
Peering stringConnection Accepter V2Id - The VPC peering connection ID.
- vpc
Peering stringConnection Id - 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_ strid - The Tenant Id of the accepter tenant.
- peer_
vpc_ strid - 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
Vpc
Peering Connection Accepter V2Timeouts Args - vpc_
id str - The ID of requester VPC involved in a VPC peering connection.
- vpc_
peering_ strconnection_ accepter_ v2_ id - The VPC peering connection ID.
- vpc_
peering_ strconnection_ id - 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.
- peer
Tenant StringId - The Tenant Id of the accepter tenant.
- peer
Vpc StringId - 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
- vpc
Id String - The ID of requester VPC involved in a VPC peering connection.
- vpc
Peering StringConnection Accepter V2Id - The VPC peering connection ID.
- vpc
Peering StringConnection Id - The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.
Supporting Types
VpcPeeringConnectionAccepterV2Timeouts, VpcPeeringConnectionAccepterV2TimeoutsArgs
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.