Skip to content

VpcPeerConnectionProps

Properties for defining a VpcPeerConnection.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-vpcpeerconnection

Initializer

using AlibabaCloud.SDK.ROS.CDK.Vpc;
new VpcPeerConnectionProps {
    object AcceptingVpcId,
    object VpcId,
    object AcceptingAliUid = null,
    object AcceptingRegionId = null,
    object DeletionForce = null,
    object Description = null,
    object Name = null
};

Properties

Name Type Description
AcceptingVpcId object Property acceptingVpcId: The ID of the acceptor VPC.
VpcId object Property vpcId: The ID of the requester VPC.
AcceptingAliUid object Property acceptingAliUid: The ID of the Alibaba Cloud account to which the acceptor VPC belongs.
AcceptingRegionId object Property acceptingRegionId: The region ID of the acceptor VPC of the VPC peering connection that you want to create.
DeletionForce object Property deletionForce: Specifies whether to forcefully delete the VPC peering connection.
Description object Property description: The description of the VPC peering connection.
Name object Property name: The name of the VPC peering connection.

AcceptingVpcIdRequired

public object AcceptingVpcId { get; set; }
  • Type: object

Property acceptingVpcId: The ID of the acceptor VPC.


VpcIdRequired

public object VpcId { get; set; }
  • Type: object

Property vpcId: The ID of the requester VPC.


AcceptingAliUidOptional

public object AcceptingAliUid { get; set; }
  • Type: object

Property acceptingAliUid: The ID of the Alibaba Cloud account to which the acceptor VPC belongs.

To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account. To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account. Note If the acceptor VPC belongs to a Resource Access Management (RAM) user, you must set the value of AcceptingAliUid to the ID of the corresponding Alibaba Cloud account. Default current account ID.


AcceptingRegionIdOptional

public object AcceptingRegionId { get; set; }
  • Type: object

Property acceptingRegionId: The region ID of the acceptor VPC of the VPC peering connection that you want to create.

To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC. To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC. Default current region.


DeletionForceOptional

public object DeletionForce { get; set; }
  • Type: object

Property deletionForce: Specifies whether to forcefully delete the VPC peering connection.

Valid values:false (default): notrue: yes If you forcefully delete the VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description of the VPC peering connection.

The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.


NameOptional

public object Name { get; set; }
  • Type: object

Property name: The name of the VPC peering connection.

The name must be 2 to 128 characters in length and can contain digits, underscores (_), and hyphens (-). It must start with a letter.