Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getPeerRegionForRemotePeerings

This data source provides the list of Peer Region For Remote Peerings in Oracle Cloud Infrastructure Core service.

Lists the regions that support remote VCN peering (which is peering across regions). For more information, see VCN Peering.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testPeerRegionForRemotePeerings = Output.Create(Oci.Core.GetPeerRegionForRemotePeerings.InvokeAsync());
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Core.GetPeerRegionForRemotePeerings(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_peer_region_for_remote_peerings = oci.Core.get_peer_region_for_remote_peerings()
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPeerRegionForRemotePeerings = pulumi.output(oci.Core.getPeerRegionForRemotePeerings());

Coming soon!

Using getPeerRegionForRemotePeerings

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getPeerRegionForRemotePeerings(args: GetPeerRegionForRemotePeeringsArgs, opts?: InvokeOptions): Promise<GetPeerRegionForRemotePeeringsResult>
function getPeerRegionForRemotePeeringsOutput(args: GetPeerRegionForRemotePeeringsOutputArgs, opts?: InvokeOptions): Output<GetPeerRegionForRemotePeeringsResult>
def get_peer_region_for_remote_peerings(filters: Optional[Sequence[_core.GetPeerRegionForRemotePeeringsFilter]] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetPeerRegionForRemotePeeringsResult
def get_peer_region_for_remote_peerings_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetPeerRegionForRemotePeeringsFilterArgs]]]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetPeerRegionForRemotePeeringsResult]
func GetPeerRegionForRemotePeerings(ctx *Context, args *GetPeerRegionForRemotePeeringsArgs, opts ...InvokeOption) (*GetPeerRegionForRemotePeeringsResult, error)
func GetPeerRegionForRemotePeeringsOutput(ctx *Context, args *GetPeerRegionForRemotePeeringsOutputArgs, opts ...InvokeOption) GetPeerRegionForRemotePeeringsResultOutput

> Note: This function is named GetPeerRegionForRemotePeerings in the Go SDK.

public static class GetPeerRegionForRemotePeerings 
{
    public static Task<GetPeerRegionForRemotePeeringsResult> InvokeAsync(GetPeerRegionForRemotePeeringsArgs args, InvokeOptions? opts = null)
    public static Output<GetPeerRegionForRemotePeeringsResult> Invoke(GetPeerRegionForRemotePeeringsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPeerRegionForRemotePeeringsResult> getPeerRegionForRemotePeerings(GetPeerRegionForRemotePeeringsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Core/getPeerRegionForRemotePeerings:getPeerRegionForRemotePeerings
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getPeerRegionForRemotePeerings Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

PeerRegionForRemotePeerings List<GetPeerRegionForRemotePeeringsPeerRegionForRemotePeering>

The list of peer_region_for_remote_peerings.

Filters List<GetPeerRegionForRemotePeeringsFilter>
Id string

The provider-assigned unique ID for this managed resource.

PeerRegionForRemotePeerings []GetPeerRegionForRemotePeeringsPeerRegionForRemotePeering

The list of peer_region_for_remote_peerings.

Filters []GetPeerRegionForRemotePeeringsFilter
id String

The provider-assigned unique ID for this managed resource.

peerRegionForRemotePeerings List<GetPeerRegionForRemotePeeringsPeerRegionForRemotePeering>

The list of peer_region_for_remote_peerings.

filters List<GetPeerRegionForRemotePeeringsFilter>
id string

The provider-assigned unique ID for this managed resource.

peerRegionForRemotePeerings GetPeerRegionForRemotePeeringsPeerRegionForRemotePeering[]

The list of peer_region_for_remote_peerings.

filters GetPeerRegionForRemotePeeringsFilter[]
id str

The provider-assigned unique ID for this managed resource.

peer_region_for_remote_peerings GetPeerRegionForRemotePeeringsPeerRegionForRemotePeering]

The list of peer_region_for_remote_peerings.

filters GetPeerRegionForRemotePeeringsFilter]
id String

The provider-assigned unique ID for this managed resource.

peerRegionForRemotePeerings List<Property Map>

The list of peer_region_for_remote_peerings.

filters List<Property Map>

Supporting Types

GetPeerRegionForRemotePeeringsFilter

Name string

The region's name. Example: us-phoenix-1

Values List<string>
Regex bool
Name string

The region's name. Example: us-phoenix-1

Values []string
Regex bool
name String

The region's name. Example: us-phoenix-1

values List<String>
regex Boolean
name string

The region's name. Example: us-phoenix-1

values string[]
regex boolean
name str

The region's name. Example: us-phoenix-1

values Sequence[str]
regex bool
name String

The region's name. Example: us-phoenix-1

values List<String>
regex Boolean

GetPeerRegionForRemotePeeringsPeerRegionForRemotePeering

Name string

The region's name. Example: us-phoenix-1

Name string

The region's name. Example: us-phoenix-1

name String

The region's name. Example: us-phoenix-1

name string

The region's name. Example: us-phoenix-1

name str

The region's name. Example: us-phoenix-1

name String

The region's name. Example: us-phoenix-1

Package Details

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

This Pulumi package is based on the oci Terraform Provider.