title: "PeeringConnectionAccepter" title_tag: "huaweicloud.Vpc.PeeringConnectionAccepter" meta_desc: "Documentation for the huaweicloud.Vpc.PeeringConnectionAccepter resource with examples, input properties, output properties, lookup functions, and supporting types." layout: api no_edit_this_page: true


Create PeeringConnectionAccepter Resource {#create}

new PeeringConnectionAccepter(name: string, args: PeeringConnectionAccepterArgs, opts?: CustomResourceOptions);
@overload
def PeeringConnectionAccepter(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              accept: Optional[bool] = None,
                              region: Optional[str] = None,
                              vpc_peering_connection_id: Optional[str] = None)
@overload
def PeeringConnectionAccepter(resource_name: str,
                              args: PeeringConnectionAccepterArgs,
                              opts: Optional[ResourceOptions] = None)
func NewPeeringConnectionAccepter(ctx *Context, name string, args PeeringConnectionAccepterArgs, opts ...ResourceOption) (*PeeringConnectionAccepter, error)
public PeeringConnectionAccepter(string name, PeeringConnectionAccepterArgs args, CustomResourceOptions? opts = null)
public PeeringConnectionAccepter(String name, PeeringConnectionAccepterArgs args)
public PeeringConnectionAccepter(String name, PeeringConnectionAccepterArgs args, CustomResourceOptions options)
type: huaweicloud:Vpc:PeeringConnectionAccepter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PeeringConnectionAccepterArgs
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 PeeringConnectionAccepterArgs
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 PeeringConnectionAccepterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PeeringConnectionAccepterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PeeringConnectionAccepterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PeeringConnectionAccepter Resource Properties {#properties}

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

Inputs

The PeeringConnectionAccepter resource accepts the following input properties:

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.
Region string

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 resource.

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.
Region string

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 resource.

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.
region String

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 resource.

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.
region string

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 resource.

vpc_peering_connection_id 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

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 resource.

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.
region String

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 resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the PeeringConnectionAccepter 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 PeeringConnectionAccepter Resource {#look-up}

Get an existing PeeringConnectionAccepter 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?: PeeringConnectionAccepterState, opts?: CustomResourceOptions): PeeringConnectionAccepter
@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,
        vpc_id: Optional[str] = None,
        vpc_peering_connection_id: Optional[str] = None) -> PeeringConnectionAccepter
func GetPeeringConnectionAccepter(ctx *Context, name string, id IDInput, state *PeeringConnectionAccepterState, opts ...ResourceOption) (*PeeringConnectionAccepter, error)
public static PeeringConnectionAccepter Get(string name, Input<string> id, PeeringConnectionAccepterState? state, CustomResourceOptions? opts = null)
public static PeeringConnectionAccepter get(String name, Output<String> id, PeeringConnectionAccepterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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

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 resource.

Status string

The VPC peering connection status.

VpcId string

The ID of requester VPC involved in a VPC peering connection.

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

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 resource.

Status string

The VPC peering connection status.

VpcId string

The ID of requester VPC involved in a VPC peering connection.

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

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 resource.

status String

The VPC peering connection status.

vpcId String

The ID of requester VPC involved in a VPC peering connection.

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

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 resource.

status string

The VPC peering connection status.

vpcId string

The ID of requester VPC involved in a VPC peering connection.

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

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 resource.

status str

The VPC peering connection status.

vpc_id str

The ID of requester VPC involved in a VPC peering connection.

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

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 resource.

status String

The VPC peering connection status.

vpcId String

The ID of requester VPC involved in a VPC peering connection.

vpcPeeringConnectionId String
  • The VPC Peering Connection ID to manage. Changing this creates a new VPC peering connection accepter.

Package Details

Repository
https://github.com/huaweicloud/pulumi-huaweicloud
License
Apache-2.0
Notes

This Pulumi package is based on the huaweicloud Terraform Provider.