Oracle Cloud Infrastructure

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

getByoipAllocatedRanges

This data source provides the list of Byoip Allocated Ranges in Oracle Cloud Infrastructure Core service.

Lists the subranges of a BYOIP CIDR block currently allocated to an IP pool. Each ByoipAllocatedRange object also lists the IP pool where it is allocated.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testByoipAllocatedRanges = Output.Create(Oci.Core.GetByoipAllocatedRanges.InvokeAsync(new Oci.Core.GetByoipAllocatedRangesArgs
        {
            ByoipRangeId = oci_core_byoip_range.Test_byoip_range.Id,
        }));
    }

}
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.GetByoipAllocatedRanges(ctx, &core.GetByoipAllocatedRangesArgs{
			ByoipRangeId: oci_core_byoip_range.Test_byoip_range.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_byoip_allocated_ranges = oci.Core.get_byoip_allocated_ranges(byoip_range_id=oci_core_byoip_range["test_byoip_range"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testByoipAllocatedRanges = oci.Core.getByoipAllocatedRanges({
    byoipRangeId: oci_core_byoip_range.test_byoip_range.id,
});

Coming soon!

Using getByoipAllocatedRanges

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 getByoipAllocatedRanges(args: GetByoipAllocatedRangesArgs, opts?: InvokeOptions): Promise<GetByoipAllocatedRangesResult>
function getByoipAllocatedRangesOutput(args: GetByoipAllocatedRangesOutputArgs, opts?: InvokeOptions): Output<GetByoipAllocatedRangesResult>
def get_byoip_allocated_ranges(byoip_range_id: Optional[str] = None,
                               filters: Optional[Sequence[_core.GetByoipAllocatedRangesFilter]] = None,
                               opts: Optional[InvokeOptions] = None) -> GetByoipAllocatedRangesResult
def get_byoip_allocated_ranges_output(byoip_range_id: Optional[pulumi.Input[str]] = None,
                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetByoipAllocatedRangesFilterArgs]]]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetByoipAllocatedRangesResult]
func GetByoipAllocatedRanges(ctx *Context, args *GetByoipAllocatedRangesArgs, opts ...InvokeOption) (*GetByoipAllocatedRangesResult, error)
func GetByoipAllocatedRangesOutput(ctx *Context, args *GetByoipAllocatedRangesOutputArgs, opts ...InvokeOption) GetByoipAllocatedRangesResultOutput

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

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

The following arguments are supported:

ByoipRangeId string

The OCID of the ByoipRange resource containing the BYOIP CIDR block.

Filters List<GetByoipAllocatedRangesFilter>
ByoipRangeId string

The OCID of the ByoipRange resource containing the BYOIP CIDR block.

Filters []GetByoipAllocatedRangesFilter
byoipRangeId String

The OCID of the ByoipRange resource containing the BYOIP CIDR block.

filters List<GetByoipAllocatedRangesFilter>
byoipRangeId string

The OCID of the ByoipRange resource containing the BYOIP CIDR block.

filters GetByoipAllocatedRangesFilter[]
byoip_range_id str

The OCID of the ByoipRange resource containing the BYOIP CIDR block.

filters GetByoipAllocatedRangesFilter]
byoipRangeId String

The OCID of the ByoipRange resource containing the BYOIP CIDR block.

filters List<Property Map>

getByoipAllocatedRanges Result

The following output properties are available:

ByoipAllocatedRangeCollections List<GetByoipAllocatedRangesByoipAllocatedRangeCollection>

The list of byoip_allocated_range_collection.

ByoipRangeId string
Id string

The provider-assigned unique ID for this managed resource.

Filters List<GetByoipAllocatedRangesFilter>
ByoipAllocatedRangeCollections []GetByoipAllocatedRangesByoipAllocatedRangeCollection

The list of byoip_allocated_range_collection.

ByoipRangeId string
Id string

The provider-assigned unique ID for this managed resource.

Filters []GetByoipAllocatedRangesFilter
byoipAllocatedRangeCollections List<GetByoipAllocatedRangesByoipAllocatedRangeCollection>

The list of byoip_allocated_range_collection.

byoipRangeId String
id String

The provider-assigned unique ID for this managed resource.

filters List<GetByoipAllocatedRangesFilter>
byoipAllocatedRangeCollections GetByoipAllocatedRangesByoipAllocatedRangeCollection[]

The list of byoip_allocated_range_collection.

byoipRangeId string
id string

The provider-assigned unique ID for this managed resource.

filters GetByoipAllocatedRangesFilter[]
byoip_allocated_range_collections GetByoipAllocatedRangesByoipAllocatedRangeCollection]

The list of byoip_allocated_range_collection.

byoip_range_id str
id str

The provider-assigned unique ID for this managed resource.

filters GetByoipAllocatedRangesFilter]
byoipAllocatedRangeCollections List<Property Map>

The list of byoip_allocated_range_collection.

byoipRangeId String
id String

The provider-assigned unique ID for this managed resource.

filters List<Property Map>

Supporting Types

GetByoipAllocatedRangesByoipAllocatedRangeCollection

Items List<GetByoipAllocatedRangesByoipAllocatedRangeCollectionItem>

A list of subranges of a BYOIP CIDR block allocated to an IP pool.

Items []GetByoipAllocatedRangesByoipAllocatedRangeCollectionItem

A list of subranges of a BYOIP CIDR block allocated to an IP pool.

items List<GetByoipAllocatedRangesByoipAllocatedRangeCollectionItem>

A list of subranges of a BYOIP CIDR block allocated to an IP pool.

items GetByoipAllocatedRangesByoipAllocatedRangeCollectionItem[]

A list of subranges of a BYOIP CIDR block allocated to an IP pool.

items GetByoipAllocatedRangesByoipAllocatedRangeCollectionItem]

A list of subranges of a BYOIP CIDR block allocated to an IP pool.

items List<Property Map>

A list of subranges of a BYOIP CIDR block allocated to an IP pool.

GetByoipAllocatedRangesByoipAllocatedRangeCollectionItem

CidrBlock string

The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.

PublicIpPoolId string

The OCID of the IP pool containing the CIDR block.

CidrBlock string

The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.

PublicIpPoolId string

The OCID of the IP pool containing the CIDR block.

cidrBlock String

The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.

publicIpPoolId String

The OCID of the IP pool containing the CIDR block.

cidrBlock string

The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.

publicIpPoolId string

The OCID of the IP pool containing the CIDR block.

cidr_block str

The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.

public_ip_pool_id str

The OCID of the IP pool containing the CIDR block.

cidrBlock String

The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.

publicIpPoolId String

The OCID of the IP pool containing the CIDR block.

GetByoipAllocatedRangesFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

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

This Pulumi package is based on the oci Terraform Provider.