opentelekomcloud.VpcPeeringConnectionAccepterV2
Explore with Pulumi AI
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: opentelekomcloud: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 Opentelekomcloud.VpcPeeringConnectionAccepterV2("vpcPeeringConnectionAccepterV2Resource", new()
{
VpcPeeringConnectionId = "string",
Accept = false,
Region = "string",
Timeouts = new Opentelekomcloud.Inputs.VpcPeeringConnectionAccepterV2TimeoutsArgs
{
Create = "string",
Delete = "string",
},
VpcPeeringConnectionAccepterV2Id = "string",
});
example, err := opentelekomcloud.NewVpcPeeringConnectionAccepterV2(ctx, "vpcPeeringConnectionAccepterV2Resource", &opentelekomcloud.VpcPeeringConnectionAccepterV2Args{
VpcPeeringConnectionId: pulumi.String("string"),
Accept: pulumi.Bool(false),
Region: pulumi.String("string"),
Timeouts: &opentelekomcloud.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 = opentelekomcloud.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 opentelekomcloud.VpcPeeringConnectionAccepterV2("vpcPeeringConnectionAccepterV2Resource", {
vpcPeeringConnectionId: "string",
accept: false,
region: "string",
timeouts: {
create: "string",
"delete": "string",
},
vpcPeeringConnectionAccepterV2Id: "string",
});
type: opentelekomcloud: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 - accept Boolean
- region String
- timeouts
Vpc
Peering Connection Accepter V2Timeouts - vpc
Peering StringConnection Accepter V2Id
- vpc
Peering stringConnection Id - accept boolean
- region string
- timeouts
Vpc
Peering Connection Accepter V2Timeouts - vpc
Peering stringConnection Accepter V2Id
- vpc
Peering StringConnection Id - accept Boolean
- region String
- timeouts Property Map
- vpc
Peering StringConnection Accepter V2Id
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcPeeringConnectionAccepterV2 resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- peer_
tenant_ strid - peer_
vpc_ strid - status str
- vpc_
id str
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: opentelekomcloud: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
- Name string
- Peer
Tenant stringId - Peer
Vpc stringId - Region string
- Status string
- Timeouts
Vpc
Peering Connection Accepter V2Timeouts - Vpc
Id string - Vpc
Peering stringConnection Accepter V2Id - Vpc
Peering stringConnection Id
- Accept bool
- Name string
- Peer
Tenant stringId - Peer
Vpc stringId - Region string
- Status string
- Timeouts
Vpc
Peering Connection Accepter V2Timeouts Args - Vpc
Id string - Vpc
Peering stringConnection Accepter V2Id - Vpc
Peering stringConnection Id
- accept Boolean
- name String
- peer
Tenant StringId - peer
Vpc StringId - region String
- status String
- timeouts
Vpc
Peering Connection Accepter V2Timeouts - vpc
Id String - vpc
Peering StringConnection Accepter V2Id - vpc
Peering StringConnection Id
- accept boolean
- name string
- peer
Tenant stringId - peer
Vpc stringId - region string
- status string
- timeouts
Vpc
Peering Connection Accepter V2Timeouts - vpc
Id string - vpc
Peering stringConnection Accepter V2Id - vpc
Peering stringConnection Id
- accept Boolean
- name String
- peer
Tenant StringId - peer
Vpc StringId - region String
- status String
- timeouts Property Map
- vpc
Id String - vpc
Peering StringConnection Accepter V2Id - vpc
Peering StringConnection Id
Supporting Types
VpcPeeringConnectionAccepterV2Timeouts, VpcPeeringConnectionAccepterV2TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.