Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Core.getByoipRange
Explore with Pulumi AI
This data source provides details about a specific Byoip Range resource in Oracle Cloud Infrastructure Core service.
Gets the ByoipRange
resource. You must specify the OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testByoipRange = oci.Core.getByoipRange({
byoipRangeId: testByoipRangeOciCoreByoipRange.id,
});
import pulumi
import pulumi_oci as oci
test_byoip_range = oci.Core.get_byoip_range(byoip_range_id=test_byoip_range_oci_core_byoip_range["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetByoipRange(ctx, &core.GetByoipRangeArgs{
ByoipRangeId: testByoipRangeOciCoreByoipRange.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testByoipRange = Oci.Core.GetByoipRange.Invoke(new()
{
ByoipRangeId = testByoipRangeOciCoreByoipRange.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetByoipRangeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testByoipRange = CoreFunctions.getByoipRange(GetByoipRangeArgs.builder()
.byoipRangeId(testByoipRangeOciCoreByoipRange.id())
.build());
}
}
variables:
testByoipRange:
fn::invoke:
Function: oci:Core:getByoipRange
Arguments:
byoipRangeId: ${testByoipRangeOciCoreByoipRange.id}
Using getByoipRange
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 getByoipRange(args: GetByoipRangeArgs, opts?: InvokeOptions): Promise<GetByoipRangeResult>
function getByoipRangeOutput(args: GetByoipRangeOutputArgs, opts?: InvokeOptions): Output<GetByoipRangeResult>
def get_byoip_range(byoip_range_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetByoipRangeResult
def get_byoip_range_output(byoip_range_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetByoipRangeResult]
func GetByoipRange(ctx *Context, args *GetByoipRangeArgs, opts ...InvokeOption) (*GetByoipRangeResult, error)
func GetByoipRangeOutput(ctx *Context, args *GetByoipRangeOutputArgs, opts ...InvokeOption) GetByoipRangeResultOutput
> Note: This function is named GetByoipRange
in the Go SDK.
public static class GetByoipRange
{
public static Task<GetByoipRangeResult> InvokeAsync(GetByoipRangeArgs args, InvokeOptions? opts = null)
public static Output<GetByoipRangeResult> Invoke(GetByoipRangeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetByoipRangeResult> getByoipRange(GetByoipRangeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getByoipRange:getByoipRange
arguments:
# arguments dictionary
The following arguments are supported:
- Byoip
Range stringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block.
- Byoip
Range stringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block.
- byoip
Range StringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block.
- byoip
Range stringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block.
- byoip_
range_ strid - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block.
- byoip
Range StringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block.
getByoipRange Result
The following output properties are available:
- Byoip
Range stringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - Byoip
Range List<GetVcn Ipv6allocations Byoip Range Byoip Range Vcn Ipv6allocation> - A list of
ByoipRangeVcnIpv6AllocationSummary
objects. - Cidr
Block string - The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.
- Compartment
Id string - The OCID of the compartment containing the BYOIP CIDR block.
- Dictionary<string, string>
- 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 string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- 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 provider-assigned unique ID for this managed resource.
- Ipv6cidr
Block string - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- Lifecycle
Details string - The
ByoipRange
resource's current status. - State string
- The
ByoipRange
resource's current state. - Time
Advertised string - The date and time the
ByoipRange
resource was advertised to the internet by BGP, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Created string - The date and time the
ByoipRange
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Validated string - The date and time the
ByoipRange
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Withdrawn string - The date and time the
ByoipRange
resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Validation
Token string - The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block for details.
- Byoip
Range stringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - Byoip
Range []GetVcn Ipv6allocations Byoip Range Byoip Range Vcn Ipv6allocation - A list of
ByoipRangeVcnIpv6AllocationSummary
objects. - Cidr
Block string - The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.
- Compartment
Id string - The OCID of the compartment containing the BYOIP CIDR block.
- map[string]string
- 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 string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- 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 provider-assigned unique ID for this managed resource.
- Ipv6cidr
Block string - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- Lifecycle
Details string - The
ByoipRange
resource's current status. - State string
- The
ByoipRange
resource's current state. - Time
Advertised string - The date and time the
ByoipRange
resource was advertised to the internet by BGP, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Created string - The date and time the
ByoipRange
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Validated string - The date and time the
ByoipRange
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Withdrawn string - The date and time the
ByoipRange
resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Validation
Token string - The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block for details.
- byoip
Range StringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - byoip
Range List<GetVcn Ipv6allocations Byoip Range Byoip Range Vcn Ipv6allocation> - A list of
ByoipRangeVcnIpv6AllocationSummary
objects. - cidr
Block String - The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.
- compartment
Id String - The OCID of the compartment containing the BYOIP CIDR block.
- Map<String,String>
- 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 String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- 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 provider-assigned unique ID for this managed resource.
- ipv6cidr
Block String - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- lifecycle
Details String - The
ByoipRange
resource's current status. - state String
- The
ByoipRange
resource's current state. - time
Advertised String - The date and time the
ByoipRange
resource was advertised to the internet by BGP, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Created String - The date and time the
ByoipRange
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated String - The date and time the
ByoipRange
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Withdrawn String - The date and time the
ByoipRange
resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token String - The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block for details.
- byoip
Range stringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - byoip
Range GetVcn Ipv6allocations Byoip Range Byoip Range Vcn Ipv6allocation[] - A list of
ByoipRangeVcnIpv6AllocationSummary
objects. - cidr
Block string - The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.
- compartment
Id string - The OCID of the compartment containing the BYOIP CIDR block.
- {[key: string]: string}
- 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 string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- 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 provider-assigned unique ID for this managed resource.
- ipv6cidr
Block string - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- lifecycle
Details string - The
ByoipRange
resource's current status. - state string
- The
ByoipRange
resource's current state. - time
Advertised string - The date and time the
ByoipRange
resource was advertised to the internet by BGP, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Created string - The date and time the
ByoipRange
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated string - The date and time the
ByoipRange
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Withdrawn string - The date and time the
ByoipRange
resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token string - The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block for details.
- byoip_
range_ strid - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - byoip_
range_ Sequence[core.vcn_ ipv6allocations Get Byoip Range Byoip Range Vcn Ipv6allocation] - A list of
ByoipRangeVcnIpv6AllocationSummary
objects. - cidr_
block str - The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.
- compartment_
id str - The OCID of the compartment containing the BYOIP CIDR block.
- Mapping[str, str]
- 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.
- Mapping[str, str]
- 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 provider-assigned unique ID for this managed resource.
- ipv6cidr_
block str - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- lifecycle_
details str - The
ByoipRange
resource's current status. - state str
- The
ByoipRange
resource's current state. - time_
advertised str - The date and time the
ByoipRange
resource was advertised to the internet by BGP, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_
created str - The date and time the
ByoipRange
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_
validated str - The date and time the
ByoipRange
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_
withdrawn str - The date and time the
ByoipRange
resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation_
token str - The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block for details.
- byoip
Range StringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - byoip
Range List<Property Map>Vcn Ipv6allocations - A list of
ByoipRangeVcnIpv6AllocationSummary
objects. - cidr
Block String - The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.
- compartment
Id String - The OCID of the compartment containing the BYOIP CIDR block.
- Map<String>
- 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 String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- 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 provider-assigned unique ID for this managed resource.
- ipv6cidr
Block String - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- lifecycle
Details String - The
ByoipRange
resource's current status. - state String
- The
ByoipRange
resource's current state. - time
Advertised String - The date and time the
ByoipRange
resource was advertised to the internet by BGP, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Created String - The date and time the
ByoipRange
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated String - The date and time the
ByoipRange
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Withdrawn String - The date and time the
ByoipRange
resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token String - The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block for details.
Supporting Types
GetByoipRangeByoipRangeVcnIpv6allocation
- Byoip
Range stringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block. - Compartment
Id string - The OCID of the compartment containing the BYOIP CIDR block.
- Ipv6cidr
Block string - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- Vcn
Id string - The OCID of the
Vcn
resource to which the ByoipRange belongs.
- Byoip
Range stringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block. - Compartment
Id string - The OCID of the compartment containing the BYOIP CIDR block.
- Ipv6cidr
Block string - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- Vcn
Id string - The OCID of the
Vcn
resource to which the ByoipRange belongs.
- byoip
Range StringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block. - compartment
Id String - The OCID of the compartment containing the BYOIP CIDR block.
- ipv6cidr
Block String - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- vcn
Id String - The OCID of the
Vcn
resource to which the ByoipRange belongs.
- byoip
Range stringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block. - compartment
Id string - The OCID of the compartment containing the BYOIP CIDR block.
- ipv6cidr
Block string - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- vcn
Id string - The OCID of the
Vcn
resource to which the ByoipRange belongs.
- byoip_
range_ strid - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block. - compartment_
id str - The OCID of the compartment containing the BYOIP CIDR block.
- ipv6cidr_
block str - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- vcn_
id str - The OCID of the
Vcn
resource to which the ByoipRange belongs.
- byoip
Range StringId - The OCID of the
ByoipRange
resource containing the BYOIP CIDR block. - compartment
Id String - The OCID of the compartment containing the BYOIP CIDR block.
- ipv6cidr
Block String - The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- vcn
Id String - The OCID of the
Vcn
resource to which the ByoipRange belongs.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.