published on Tuesday, Oct 6, 2026 by Kurrent
published on Tuesday, Oct 6, 2026 by Kurrent
Create Peering Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Peering(name: string, args: PeeringArgs, opts?: CustomResourceOptions);@overload
def Peering(resource_name: str,
args: PeeringArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Peering(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
peer_account_id: Optional[str] = None,
peer_network_id: Optional[str] = None,
peer_network_region: Optional[str] = None,
peer_resource_provider: Optional[str] = None,
project_id: Optional[str] = None,
routes: Optional[Sequence[str]] = None,
name: Optional[str] = None)func NewPeering(ctx *Context, name string, args PeeringArgs, opts ...ResourceOption) (*Peering, error)public Peering(string name, PeeringArgs args, CustomResourceOptions? opts = null)
public Peering(String name, PeeringArgs args)
public Peering(String name, PeeringArgs args, CustomResourceOptions options)
type: kurrentcloud:Peering
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "kurrentcloud_peering" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PeeringArgs
- 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 PeeringArgs
- 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 PeeringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PeeringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PeeringArgs
- 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 peeringResource = new KurrentCloud.Peering("peeringResource", new()
{
NetworkId = "string",
PeerAccountId = "string",
PeerNetworkId = "string",
PeerNetworkRegion = "string",
PeerResourceProvider = "string",
ProjectId = "string",
Routes = new[]
{
"string",
},
Name = "string",
});
example, err := kurrentcloud.NewPeering(ctx, "peeringResource", &kurrentcloud.PeeringArgs{
NetworkId: pulumi.String("string"),
PeerAccountId: pulumi.String("string"),
PeerNetworkId: pulumi.String("string"),
PeerNetworkRegion: pulumi.String("string"),
PeerResourceProvider: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Routes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
})
resource "kurrentcloud_peering" "peeringResource" {
lifecycle {
create_before_destroy = true
}
network_id = "string"
peer_account_id = "string"
peer_network_id = "string"
peer_network_region = "string"
peer_resource_provider = "string"
project_id = "string"
routes = ["string"]
name = "string"
}
var peeringResource = new Peering("peeringResource", PeeringArgs.builder()
.networkId("string")
.peerAccountId("string")
.peerNetworkId("string")
.peerNetworkRegion("string")
.peerResourceProvider("string")
.projectId("string")
.routes("string")
.name("string")
.build());
peering_resource = kurrentcloud.Peering("peeringResource",
network_id="string",
peer_account_id="string",
peer_network_id="string",
peer_network_region="string",
peer_resource_provider="string",
project_id="string",
routes=["string"],
name="string")
const peeringResource = new kurrentcloud.Peering("peeringResource", {
networkId: "string",
peerAccountId: "string",
peerNetworkId: "string",
peerNetworkRegion: "string",
peerResourceProvider: "string",
projectId: "string",
routes: ["string"],
name: "string",
});
type: kurrentcloud:Peering
properties:
name: string
networkId: string
peerAccountId: string
peerNetworkId: string
peerNetworkRegion: string
peerResourceProvider: string
projectId: string
routes:
- string
Peering 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 Peering resource accepts the following input properties:
- Network
Id string - Network ID
- Peer
Account stringId - Account identifier in which to the peer network exists
- Peer
Network stringId - Network identifier of the peer network exists
- Peer
Network stringRegion - Provider region in which to the peer network exists
- Peer
Resource stringProvider - Cloud Provider in which the target network exists
- Project
Id string - Project ID
- Routes List<string>
- Routes to create from the Event Store network to the peer network
- Name string
- Human-friendly name for the network
- Network
Id string - Network ID
- Peer
Account stringId - Account identifier in which to the peer network exists
- Peer
Network stringId - Network identifier of the peer network exists
- Peer
Network stringRegion - Provider region in which to the peer network exists
- Peer
Resource stringProvider - Cloud Provider in which the target network exists
- Project
Id string - Project ID
- Routes []string
- Routes to create from the Event Store network to the peer network
- Name string
- Human-friendly name for the network
- network_
id string - Network ID
- peer_
account_ stringid - Account identifier in which to the peer network exists
- peer_
network_ stringid - Network identifier of the peer network exists
- peer_
network_ stringregion - Provider region in which to the peer network exists
- peer_
resource_ stringprovider - Cloud Provider in which the target network exists
- project_
id string - Project ID
- routes list(string)
- Routes to create from the Event Store network to the peer network
- name string
- Human-friendly name for the network
- network
Id String - Network ID
- peer
Account StringId - Account identifier in which to the peer network exists
- peer
Network StringId - Network identifier of the peer network exists
- peer
Network StringRegion - Provider region in which to the peer network exists
- peer
Resource StringProvider - Cloud Provider in which the target network exists
- project
Id String - Project ID
- routes List<String>
- Routes to create from the Event Store network to the peer network
- name String
- Human-friendly name for the network
- network
Id string - Network ID
- peer
Account stringId - Account identifier in which to the peer network exists
- peer
Network stringId - Network identifier of the peer network exists
- peer
Network stringRegion - Provider region in which to the peer network exists
- peer
Resource stringProvider - Cloud Provider in which the target network exists
- project
Id string - Project ID
- routes string[]
- Routes to create from the Event Store network to the peer network
- name string
- Human-friendly name for the network
- network_
id str - Network ID
- peer_
account_ strid - Account identifier in which to the peer network exists
- peer_
network_ strid - Network identifier of the peer network exists
- peer_
network_ strregion - Provider region in which to the peer network exists
- peer_
resource_ strprovider - Cloud Provider in which the target network exists
- project_
id str - Project ID
- routes Sequence[str]
- Routes to create from the Event Store network to the peer network
- name str
- Human-friendly name for the network
- network
Id String - Network ID
- peer
Account StringId - Account identifier in which to the peer network exists
- peer
Network StringId - Network identifier of the peer network exists
- peer
Network StringRegion - Provider region in which to the peer network exists
- peer
Resource StringProvider - Cloud Provider in which the target network exists
- project
Id String - Project ID
- routes List<String>
- Routes to create from the Event Store network to the peer network
- name String
- Human-friendly name for the network
Outputs
All input properties are implicitly available as output properties. Additionally, the Peering resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Provider
Metadata Dictionary<string, string> - Metadata about the remote end of the peering connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Provider
Metadata map[string]string - Metadata about the remote end of the peering connection
- id string
- The provider-assigned unique ID for this managed resource.
- provider_
metadata map(string) - Metadata about the remote end of the peering connection
- id String
- The provider-assigned unique ID for this managed resource.
- provider
Metadata Map<String,String> - Metadata about the remote end of the peering connection
- id string
- The provider-assigned unique ID for this managed resource.
- provider
Metadata {[key: string]: string} - Metadata about the remote end of the peering connection
- id str
- The provider-assigned unique ID for this managed resource.
- provider_
metadata Mapping[str, str] - Metadata about the remote end of the peering connection
- id String
- The provider-assigned unique ID for this managed resource.
- provider
Metadata Map<String> - Metadata about the remote end of the peering connection
Look up Existing Peering Resource
Get an existing Peering 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?: PeeringState, opts?: CustomResourceOptions): Peering@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
peer_account_id: Optional[str] = None,
peer_network_id: Optional[str] = None,
peer_network_region: Optional[str] = None,
peer_resource_provider: Optional[str] = None,
project_id: Optional[str] = None,
provider_metadata: Optional[Mapping[str, str]] = None,
routes: Optional[Sequence[str]] = None) -> Peeringfunc GetPeering(ctx *Context, name string, id IDInput, state *PeeringState, opts ...ResourceOption) (*Peering, error)public static Peering Get(string name, Input<string> id, PeeringState? state, CustomResourceOptions? opts = null)public static Peering get(String name, Output<String> id, PeeringState state, CustomResourceOptions options)resources: _: type: kurrentcloud:Peering get: id: ${id}import {
to = kurrentcloud_peering.example
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.
- Name string
- Human-friendly name for the network
- Network
Id string - Network ID
- Peer
Account stringId - Account identifier in which to the peer network exists
- Peer
Network stringId - Network identifier of the peer network exists
- Peer
Network stringRegion - Provider region in which to the peer network exists
- Peer
Resource stringProvider - Cloud Provider in which the target network exists
- Project
Id string - Project ID
- Provider
Metadata Dictionary<string, string> - Metadata about the remote end of the peering connection
- Routes List<string>
- Routes to create from the Event Store network to the peer network
- Name string
- Human-friendly name for the network
- Network
Id string - Network ID
- Peer
Account stringId - Account identifier in which to the peer network exists
- Peer
Network stringId - Network identifier of the peer network exists
- Peer
Network stringRegion - Provider region in which to the peer network exists
- Peer
Resource stringProvider - Cloud Provider in which the target network exists
- Project
Id string - Project ID
- Provider
Metadata map[string]string - Metadata about the remote end of the peering connection
- Routes []string
- Routes to create from the Event Store network to the peer network
- name string
- Human-friendly name for the network
- network_
id string - Network ID
- peer_
account_ stringid - Account identifier in which to the peer network exists
- peer_
network_ stringid - Network identifier of the peer network exists
- peer_
network_ stringregion - Provider region in which to the peer network exists
- peer_
resource_ stringprovider - Cloud Provider in which the target network exists
- project_
id string - Project ID
- provider_
metadata map(string) - Metadata about the remote end of the peering connection
- routes list(string)
- Routes to create from the Event Store network to the peer network
- name String
- Human-friendly name for the network
- network
Id String - Network ID
- peer
Account StringId - Account identifier in which to the peer network exists
- peer
Network StringId - Network identifier of the peer network exists
- peer
Network StringRegion - Provider region in which to the peer network exists
- peer
Resource StringProvider - Cloud Provider in which the target network exists
- project
Id String - Project ID
- provider
Metadata Map<String,String> - Metadata about the remote end of the peering connection
- routes List<String>
- Routes to create from the Event Store network to the peer network
- name string
- Human-friendly name for the network
- network
Id string - Network ID
- peer
Account stringId - Account identifier in which to the peer network exists
- peer
Network stringId - Network identifier of the peer network exists
- peer
Network stringRegion - Provider region in which to the peer network exists
- peer
Resource stringProvider - Cloud Provider in which the target network exists
- project
Id string - Project ID
- provider
Metadata {[key: string]: string} - Metadata about the remote end of the peering connection
- routes string[]
- Routes to create from the Event Store network to the peer network
- name str
- Human-friendly name for the network
- network_
id str - Network ID
- peer_
account_ strid - Account identifier in which to the peer network exists
- peer_
network_ strid - Network identifier of the peer network exists
- peer_
network_ strregion - Provider region in which to the peer network exists
- peer_
resource_ strprovider - Cloud Provider in which the target network exists
- project_
id str - Project ID
- provider_
metadata Mapping[str, str] - Metadata about the remote end of the peering connection
- routes Sequence[str]
- Routes to create from the Event Store network to the peer network
- name String
- Human-friendly name for the network
- network
Id String - Network ID
- peer
Account StringId - Account identifier in which to the peer network exists
- peer
Network StringId - Network identifier of the peer network exists
- peer
Network StringRegion - Provider region in which to the peer network exists
- peer
Resource StringProvider - Cloud Provider in which the target network exists
- project
Id String - Project ID
- provider
Metadata Map<String> - Metadata about the remote end of the peering connection
- routes List<String>
- Routes to create from the Event Store network to the peer network
Package Details
- Repository
- kurrentcloud kurrent-io/pulumi-kurrentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
kurrentcloudTerraform Provider.
published on Tuesday, Oct 6, 2026 by Kurrent