Viewing docs for Oracle Cloud Infrastructure v4.9.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.9.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
This data source provides details about a specific Byol Allocation resource in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.
Gets the specified BYOL Allocation’s information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testByolAllocation = oci.Ocvp.getByolAllocation({
byolAllocationId: testByolAllocationOciOcvpByolAllocation.id,
});
import pulumi
import pulumi_oci as oci
test_byol_allocation = oci.Ocvp.get_byol_allocation(byol_allocation_id=test_byol_allocation_oci_ocvp_byol_allocation["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/ocvp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ocvp.GetByolAllocation(ctx, &ocvp.GetByolAllocationArgs{
ByolAllocationId: testByolAllocationOciOcvpByolAllocation.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 testByolAllocation = Oci.Ocvp.GetByolAllocation.Invoke(new()
{
ByolAllocationId = testByolAllocationOciOcvpByolAllocation.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Ocvp.OcvpFunctions;
import com.pulumi.oci.Ocvp.inputs.GetByolAllocationArgs;
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 testByolAllocation = OcvpFunctions.getByolAllocation(GetByolAllocationArgs.builder()
.byolAllocationId(testByolAllocationOciOcvpByolAllocation.id())
.build());
}
}
variables:
testByolAllocation:
fn::invoke:
function: oci:Ocvp:getByolAllocation
arguments:
byolAllocationId: ${testByolAllocationOciOcvpByolAllocation.id}
Using getByolAllocation
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 getByolAllocation(args: GetByolAllocationArgs, opts?: InvokeOptions): Promise<GetByolAllocationResult>
function getByolAllocationOutput(args: GetByolAllocationOutputArgs, opts?: InvokeOptions): Output<GetByolAllocationResult>def get_byol_allocation(byol_allocation_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetByolAllocationResult
def get_byol_allocation_output(byol_allocation_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetByolAllocationResult]func LookupByolAllocation(ctx *Context, args *LookupByolAllocationArgs, opts ...InvokeOption) (*LookupByolAllocationResult, error)
func LookupByolAllocationOutput(ctx *Context, args *LookupByolAllocationOutputArgs, opts ...InvokeOption) LookupByolAllocationResultOutput> Note: This function is named LookupByolAllocation in the Go SDK.
public static class GetByolAllocation
{
public static Task<GetByolAllocationResult> InvokeAsync(GetByolAllocationArgs args, InvokeOptions? opts = null)
public static Output<GetByolAllocationResult> Invoke(GetByolAllocationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetByolAllocationResult> getByolAllocation(GetByolAllocationArgs args, InvokeOptions options)
public static Output<GetByolAllocationResult> getByolAllocation(GetByolAllocationArgs args, InvokeOptions options)
fn::invoke:
function: oci:Ocvp/getByolAllocation:getByolAllocation
arguments:
# arguments dictionaryThe following arguments are supported:
- Byol
Allocation stringId - The OCID of the BYOL Allocation.
- Byol
Allocation stringId - The OCID of the BYOL Allocation.
- byol
Allocation StringId - The OCID of the BYOL Allocation.
- byol
Allocation stringId - The OCID of the BYOL Allocation.
- byol_
allocation_ strid - The OCID of the BYOL Allocation.
- byol
Allocation StringId - The OCID of the BYOL Allocation.
getByolAllocation Result
The following output properties are available:
- Allocated
Units int - The quantity of licensed units that allocated to this region.
- Available
Units int - The quantity of licensed units that not yet consumed by resources.
- Byol
Allocation stringId - Byol
Id string - The OCID of the BYOL resource from which this BYOL Allocation is derived.
- Compartment
Id string - The OCID of the compartment that contains the BYOL Allocation.
- 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 descriptive name for the BYOL Allocation.
- Entitlement
Key string - The Broadcom-supplied identifier of a BYOL license.
- 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 OCID of the BYOL Allocation.
- Software
Type string - The type of VMware software the BYOL applies to. Supported values:
- VCF (VMware Cloud Foundation)
- VSAN (VMware vSAN)
- VDEFEND (VMware vDefend Firewall)
- AVI_LOAD_BALANCER (VMware Avi Load Balancer)
- State string
- The current state of the BYOL Allocation.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Created string - The date and time the BYOL Allocation was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Term stringEnd - The date and time when the BYOL Allocation expires and becomes inactive. In the format defined byRFC3339.
- Time
Term stringStart - The date and time when the BYOL Allocation becomes active. VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the BYOL Allocation was updated, in the format defined by RFC3339.
- Allocated
Units int - The quantity of licensed units that allocated to this region.
- Available
Units int - The quantity of licensed units that not yet consumed by resources.
- Byol
Allocation stringId - Byol
Id string - The OCID of the BYOL resource from which this BYOL Allocation is derived.
- Compartment
Id string - The OCID of the compartment that contains the BYOL Allocation.
- 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 descriptive name for the BYOL Allocation.
- Entitlement
Key string - The Broadcom-supplied identifier of a BYOL license.
- 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 OCID of the BYOL Allocation.
- Software
Type string - The type of VMware software the BYOL applies to. Supported values:
- VCF (VMware Cloud Foundation)
- VSAN (VMware vSAN)
- VDEFEND (VMware vDefend Firewall)
- AVI_LOAD_BALANCER (VMware Avi Load Balancer)
- State string
- The current state of the BYOL Allocation.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Created string - The date and time the BYOL Allocation was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Term stringEnd - The date and time when the BYOL Allocation expires and becomes inactive. In the format defined byRFC3339.
- Time
Term stringStart - The date and time when the BYOL Allocation becomes active. VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the BYOL Allocation was updated, in the format defined by RFC3339.
- allocated
Units Integer - The quantity of licensed units that allocated to this region.
- available
Units Integer - The quantity of licensed units that not yet consumed by resources.
- byol
Allocation StringId - byol
Id String - The OCID of the BYOL resource from which this BYOL Allocation is derived.
- compartment
Id String - The OCID of the compartment that contains the BYOL Allocation.
- 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 descriptive name for the BYOL Allocation.
- entitlement
Key String - The Broadcom-supplied identifier of a BYOL license.
- 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 OCID of the BYOL Allocation.
- software
Type String - The type of VMware software the BYOL applies to. Supported values:
- VCF (VMware Cloud Foundation)
- VSAN (VMware vSAN)
- VDEFEND (VMware vDefend Firewall)
- AVI_LOAD_BALANCER (VMware Avi Load Balancer)
- state String
- The current state of the BYOL Allocation.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created String - The date and time the BYOL Allocation was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Term StringEnd - The date and time when the BYOL Allocation expires and becomes inactive. In the format defined byRFC3339.
- time
Term StringStart - The date and time when the BYOL Allocation becomes active. VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the BYOL Allocation was updated, in the format defined by RFC3339.
- allocated
Units number - The quantity of licensed units that allocated to this region.
- available
Units number - The quantity of licensed units that not yet consumed by resources.
- byol
Allocation stringId - byol
Id string - The OCID of the BYOL resource from which this BYOL Allocation is derived.
- compartment
Id string - The OCID of the compartment that contains the BYOL Allocation.
- {[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 descriptive name for the BYOL Allocation.
- entitlement
Key string - The Broadcom-supplied identifier of a BYOL license.
- {[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 OCID of the BYOL Allocation.
- software
Type string - The type of VMware software the BYOL applies to. Supported values:
- VCF (VMware Cloud Foundation)
- VSAN (VMware vSAN)
- VDEFEND (VMware vDefend Firewall)
- AVI_LOAD_BALANCER (VMware Avi Load Balancer)
- state string
- The current state of the BYOL Allocation.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created string - The date and time the BYOL Allocation was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Term stringEnd - The date and time when the BYOL Allocation expires and becomes inactive. In the format defined byRFC3339.
- time
Term stringStart - The date and time when the BYOL Allocation becomes active. VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the BYOL Allocation was updated, in the format defined by RFC3339.
- allocated_
units int - The quantity of licensed units that allocated to this region.
- available_
units int - The quantity of licensed units that not yet consumed by resources.
- byol_
allocation_ strid - byol_
id str - The OCID of the BYOL resource from which this BYOL Allocation is derived.
- compartment_
id str - The OCID of the compartment that contains the BYOL Allocation.
- 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 descriptive name for the BYOL Allocation.
- entitlement_
key str - The Broadcom-supplied identifier of a BYOL license.
- 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 OCID of the BYOL Allocation.
- software_
type str - The type of VMware software the BYOL applies to. Supported values:
- VCF (VMware Cloud Foundation)
- VSAN (VMware vSAN)
- VDEFEND (VMware vDefend Firewall)
- AVI_LOAD_BALANCER (VMware Avi Load Balancer)
- state str
- The current state of the BYOL Allocation.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time_
created str - The date and time the BYOL Allocation was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time_
term_ strend - The date and time when the BYOL Allocation expires and becomes inactive. In the format defined byRFC3339.
- time_
term_ strstart - The date and time when the BYOL Allocation becomes active. VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the BYOL Allocation was updated, in the format defined by RFC3339.
- allocated
Units Number - The quantity of licensed units that allocated to this region.
- available
Units Number - The quantity of licensed units that not yet consumed by resources.
- byol
Allocation StringId - byol
Id String - The OCID of the BYOL resource from which this BYOL Allocation is derived.
- compartment
Id String - The OCID of the compartment that contains the BYOL Allocation.
- 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 descriptive name for the BYOL Allocation.
- entitlement
Key String - The Broadcom-supplied identifier of a BYOL license.
- 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 OCID of the BYOL Allocation.
- software
Type String - The type of VMware software the BYOL applies to. Supported values:
- VCF (VMware Cloud Foundation)
- VSAN (VMware vSAN)
- VDEFEND (VMware vDefend Firewall)
- AVI_LOAD_BALANCER (VMware Avi Load Balancer)
- state String
- The current state of the BYOL Allocation.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created String - The date and time the BYOL Allocation was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Term StringEnd - The date and time when the BYOL Allocation expires and becomes inactive. In the format defined byRFC3339.
- time
Term StringStart - The date and time when the BYOL Allocation becomes active. VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the BYOL Allocation was updated, in the format defined by RFC3339.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.9.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
