Oracle Cloud Infrastructure

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

getPublicIpPool

This data source provides details about a specific Public Ip Pool resource in Oracle Cloud Infrastructure Core service.

Gets the specified PublicIpPool object. You must specify the object’s OCID.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testPublicIpPool = Output.Create(Oci.Core.GetPublicIpPool.InvokeAsync(new Oci.Core.GetPublicIpPoolArgs
        {
            PublicIpPoolId = oci_core_public_ip_pool.Test_public_ip_pool.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.GetPublicIpPool(ctx, &core.GetPublicIpPoolArgs{
			PublicIpPoolId: oci_core_public_ip_pool.Test_public_ip_pool.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_public_ip_pool = oci.Core.get_public_ip_pool(public_ip_pool_id=oci_core_public_ip_pool["test_public_ip_pool"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPublicIpPool = oci.Core.getPublicIpPool({
    publicIpPoolId: oci_core_public_ip_pool.test_public_ip_pool.id,
});

Coming soon!

Using getPublicIpPool

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 getPublicIpPool(args: GetPublicIpPoolArgs, opts?: InvokeOptions): Promise<GetPublicIpPoolResult>
function getPublicIpPoolOutput(args: GetPublicIpPoolOutputArgs, opts?: InvokeOptions): Output<GetPublicIpPoolResult>
def get_public_ip_pool(public_ip_pool_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPublicIpPoolResult
def get_public_ip_pool_output(public_ip_pool_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPublicIpPoolResult]
func GetPublicIpPool(ctx *Context, args *GetPublicIpPoolArgs, opts ...InvokeOption) (*GetPublicIpPoolResult, error)
func GetPublicIpPoolOutput(ctx *Context, args *GetPublicIpPoolOutputArgs, opts ...InvokeOption) GetPublicIpPoolResultOutput

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

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

The following arguments are supported:

PublicIpPoolId string

The OCID of the public IP pool.

PublicIpPoolId string

The OCID of the public IP pool.

publicIpPoolId String

The OCID of the public IP pool.

publicIpPoolId string

The OCID of the public IP pool.

public_ip_pool_id str

The OCID of the public IP pool.

publicIpPoolId String

The OCID of the public IP pool.

getPublicIpPool Result

The following output properties are available:

CidrBlocks List<string>

The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block.

CompartmentId string

The OCID of the compartment containing this pool.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags Dictionary<string, object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the public IP pool.

PublicIpPoolId string
State string

The public IP pool's current state.

TimeCreated string

The date and time the public IP pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

CidrBlocks []string

The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block.

CompartmentId string

The OCID of the compartment containing this pool.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags map[string]interface{}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the public IP pool.

PublicIpPoolId string
State string

The public IP pool's current state.

TimeCreated string

The date and time the public IP pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

cidrBlocks List<String>

The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block.

compartmentId String

The OCID of the compartment containing this pool.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags Map<String,Object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the public IP pool.

publicIpPoolId String
state String

The public IP pool's current state.

timeCreated String

The date and time the public IP pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

cidrBlocks string[]

The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block.

compartmentId string

The OCID of the compartment containing this pool.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags {[key: string]: any}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id string

The OCID of the public IP pool.

publicIpPoolId string
state string

The public IP pool's current state.

timeCreated string

The date and time the public IP pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

cidr_blocks Sequence[str]

The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block.

compartment_id str

The OCID of the compartment containing this pool.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeform_tags Mapping[str, Any]

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id str

The OCID of the public IP pool.

public_ip_pool_id str
state str

The public IP pool's current state.

time_created str

The date and time the public IP pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

cidrBlocks List<String>

The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block.

compartmentId String

The OCID of the compartment containing this pool.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags Map<Any>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the public IP pool.

publicIpPoolId String
state String

The public IP pool's current state.

timeCreated String

The date and time the public IP pool was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Package Details

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

This Pulumi package is based on the oci Terraform Provider.