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:
-
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
.
- Whether or not to accept the peering request. Defaults to
- 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 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
.
- Whether or not to accept the peering request. Defaults to
- 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 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
.
- Whether or not to accept the peering request. Defaults to
- 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 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
.
- Whether or not to accept the peering request. Defaults to
- 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_ 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
.
- Whether or not to accept the peering request. Defaults to
- 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.
-
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
.
- Whether or not to accept the peering request. Defaults to
- 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.
-
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 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.
- Accept bool
- Whether or not to accept the peering request. Defaults to
false
.
- Whether or not to accept the peering request. Defaults to
- 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
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.
-
Vpc
Id string The ID of requester VPC involved in a VPC peering connection.
-
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
.
- Whether or not to accept the peering request. Defaults to
- 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
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.
-
Vpc
Id string The ID of requester VPC involved in a VPC peering connection.
-
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
.
- Whether or not to accept the peering request. Defaults to
- 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
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.
-
vpc
Id String The ID of requester VPC involved in a VPC peering connection.
-
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
.
- Whether or not to accept the peering request. Defaults to
- 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
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.
-
vpc
Id string The ID of requester VPC involved in a VPC peering connection.
-
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
.
- Whether or not to accept the peering request. Defaults to
- 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
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_ 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
.
- Whether or not to accept the peering request. Defaults to
- 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
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.
-
vpc
Id String The ID of requester VPC involved in a VPC peering connection.
-
vpc
Peering StringConnection Id - 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.