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 the list of Byols in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.
Lists the BYOLs in the specified compartment. The list can be filtered by display name or availability domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testByols = oci.Ocvp.getByols({
compartmentId: compartmentId,
availableUnitsGreaterThanOrEqualTo: byolAvailableUnitsGreaterThanOrEqualTo,
byolId: testByol.id,
displayName: byolDisplayName,
softwareType: byolSoftwareType,
state: byolState,
});
import pulumi
import pulumi_oci as oci
test_byols = oci.Ocvp.get_byols(compartment_id=compartment_id,
available_units_greater_than_or_equal_to=byol_available_units_greater_than_or_equal_to,
byol_id=test_byol["id"],
display_name=byol_display_name,
software_type=byol_software_type,
state=byol_state)
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.GetByols(ctx, &ocvp.GetByolsArgs{
CompartmentId: compartmentId,
AvailableUnitsGreaterThanOrEqualTo: pulumi.Float64Ref(byolAvailableUnitsGreaterThanOrEqualTo),
ByolId: pulumi.StringRef(testByol.Id),
DisplayName: pulumi.StringRef(byolDisplayName),
SoftwareType: pulumi.StringRef(byolSoftwareType),
State: pulumi.StringRef(byolState),
}, 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 testByols = Oci.Ocvp.GetByols.Invoke(new()
{
CompartmentId = compartmentId,
AvailableUnitsGreaterThanOrEqualTo = byolAvailableUnitsGreaterThanOrEqualTo,
ByolId = testByol.Id,
DisplayName = byolDisplayName,
SoftwareType = byolSoftwareType,
State = byolState,
});
});
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.GetByolsArgs;
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 testByols = OcvpFunctions.getByols(GetByolsArgs.builder()
.compartmentId(compartmentId)
.availableUnitsGreaterThanOrEqualTo(byolAvailableUnitsGreaterThanOrEqualTo)
.byolId(testByol.id())
.displayName(byolDisplayName)
.softwareType(byolSoftwareType)
.state(byolState)
.build());
}
}
variables:
testByols:
fn::invoke:
function: oci:Ocvp:getByols
arguments:
compartmentId: ${compartmentId}
availableUnitsGreaterThanOrEqualTo: ${byolAvailableUnitsGreaterThanOrEqualTo}
byolId: ${testByol.id}
displayName: ${byolDisplayName}
softwareType: ${byolSoftwareType}
state: ${byolState}
Using getByols
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 getByols(args: GetByolsArgs, opts?: InvokeOptions): Promise<GetByolsResult>
function getByolsOutput(args: GetByolsOutputArgs, opts?: InvokeOptions): Output<GetByolsResult>def get_byols(available_units_greater_than_or_equal_to: Optional[float] = None,
byol_id: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetByolsFilter]] = None,
software_type: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetByolsResult
def get_byols_output(available_units_greater_than_or_equal_to: Optional[pulumi.Input[float]] = None,
byol_id: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetByolsFilterArgs]]]] = None,
software_type: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetByolsResult]func GetByols(ctx *Context, args *GetByolsArgs, opts ...InvokeOption) (*GetByolsResult, error)
func GetByolsOutput(ctx *Context, args *GetByolsOutputArgs, opts ...InvokeOption) GetByolsResultOutput> Note: This function is named GetByols in the Go SDK.
public static class GetByols
{
public static Task<GetByolsResult> InvokeAsync(GetByolsArgs args, InvokeOptions? opts = null)
public static Output<GetByolsResult> Invoke(GetByolsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetByolsResult> getByols(GetByolsArgs args, InvokeOptions options)
public static Output<GetByolsResult> getByols(GetByolsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Ocvp/getByols:getByols
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Available
Units doubleGreater Than Or Equal To - A filter to return only resources whose availableUnits greater than or equal to the given value.
- Byol
Id string - The OCID of the BYOL.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Byols Filter> - Software
Type string - A filter to return only resources whose softwareType matches the given value.
- State string
- A filter to return only resources whose lifecycle state matches the given value.
- Compartment
Id string - The OCID of the compartment.
- Available
Units float64Greater Than Or Equal To - A filter to return only resources whose availableUnits greater than or equal to the given value.
- Byol
Id string - The OCID of the BYOL.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Byols Filter - Software
Type string - A filter to return only resources whose softwareType matches the given value.
- State string
- A filter to return only resources whose lifecycle state matches the given value.
- compartment
Id String - The OCID of the compartment.
- available
Units DoubleGreater Than Or Equal To - A filter to return only resources whose availableUnits greater than or equal to the given value.
- byol
Id String - The OCID of the BYOL.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Byols Filter> - software
Type String - A filter to return only resources whose softwareType matches the given value.
- state String
- A filter to return only resources whose lifecycle state matches the given value.
- compartment
Id string - The OCID of the compartment.
- available
Units numberGreater Than Or Equal To - A filter to return only resources whose availableUnits greater than or equal to the given value.
- byol
Id string - The OCID of the BYOL.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Byols Filter[] - software
Type string - A filter to return only resources whose softwareType matches the given value.
- state string
- A filter to return only resources whose lifecycle state matches the given value.
- compartment_
id str - The OCID of the compartment.
- available_
units_ floatgreater_ than_ or_ equal_ to - A filter to return only resources whose availableUnits greater than or equal to the given value.
- byol_
id str - The OCID of the BYOL.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Byols Filter] - software_
type str - A filter to return only resources whose softwareType matches the given value.
- state str
- A filter to return only resources whose lifecycle state matches the given value.
- compartment
Id String - The OCID of the compartment.
- available
Units NumberGreater Than Or Equal To - A filter to return only resources whose availableUnits greater than or equal to the given value.
- byol
Id String - The OCID of the BYOL.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- software
Type String - A filter to return only resources whose softwareType matches the given value.
- state String
- A filter to return only resources whose lifecycle state matches the given value.
getByols Result
The following output properties are available:
- Byol
Collections List<GetByols Byol Collection> - The list of byol_collection.
- Compartment
Id string - The OCID of the compartment that contains the BYOL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Available
Units doubleGreater Than Or Equal To - Byol
Id string - Display
Name string - A descriptive name for the BYOL.
- Filters
List<Get
Byols Filter> - 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.
- Byol
Collections []GetByols Byol Collection - The list of byol_collection.
- Compartment
Id string - The OCID of the compartment that contains the BYOL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Available
Units float64Greater Than Or Equal To - Byol
Id string - Display
Name string - A descriptive name for the BYOL.
- Filters
[]Get
Byols Filter - 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.
- byol
Collections List<GetByols Byol Collection> - The list of byol_collection.
- compartment
Id String - The OCID of the compartment that contains the BYOL.
- id String
- The provider-assigned unique ID for this managed resource.
- available
Units DoubleGreater Than Or Equal To - byol
Id String - display
Name String - A descriptive name for the BYOL.
- filters
List<Get
Byols Filter> - 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.
- byol
Collections GetByols Byol Collection[] - The list of byol_collection.
- compartment
Id string - The OCID of the compartment that contains the BYOL.
- id string
- The provider-assigned unique ID for this managed resource.
- available
Units numberGreater Than Or Equal To - byol
Id string - display
Name string - A descriptive name for the BYOL.
- filters
Get
Byols Filter[] - 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.
- byol_
collections Sequence[GetByols Byol Collection] - The list of byol_collection.
- compartment_
id str - The OCID of the compartment that contains the BYOL.
- id str
- The provider-assigned unique ID for this managed resource.
- available_
units_ floatgreater_ than_ or_ equal_ to - byol_
id str - display_
name str - A descriptive name for the BYOL.
- filters
Sequence[Get
Byols Filter] - 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.
- byol
Collections List<Property Map> - The list of byol_collection.
- compartment
Id String - The OCID of the compartment that contains the BYOL.
- id String
- The provider-assigned unique ID for this managed resource.
- available
Units NumberGreater Than Or Equal To - byol
Id String - display
Name String - A descriptive name for the BYOL.
- filters List<Property Map>
- 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.
Supporting Types
GetByolsByolCollection
GetByolsByolCollectionItem
- Available
Units int - The quantity of licensed units that not yet allocated to specific region.
- Compartment
Id string - The OCID of the compartment.
- 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"} - Description string
- A description of the BYOL.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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.
- Software
Type string - A filter to return only resources whose softwareType matches the given value.
- State string
- A filter to return only resources whose lifecycle state matches the given value.
- 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 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 expires and becomes inactive. In the format defined byRFC3339.
- Time
Term stringStart - The date and time when the BYOL 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 was updated, in the format defined by RFC3339.
- Total
Units int - Total quantity of licensed units for the specified
softwareType:- VCF, VDEFEND: number of OCPUs
- VSAN: storage capacity in TiB (tebibytes)
- AVI_LOAD_BALANCER: number of instances
- Available
Units int - The quantity of licensed units that not yet allocated to specific region.
- Compartment
Id string - The OCID of the compartment.
- 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"} - Description string
- A description of the BYOL.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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.
- Software
Type string - A filter to return only resources whose softwareType matches the given value.
- State string
- A filter to return only resources whose lifecycle state matches the given value.
- 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 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 expires and becomes inactive. In the format defined byRFC3339.
- Time
Term stringStart - The date and time when the BYOL 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 was updated, in the format defined by RFC3339.
- Total
Units int - Total quantity of licensed units for the specified
softwareType:- VCF, VDEFEND: number of OCPUs
- VSAN: storage capacity in TiB (tebibytes)
- AVI_LOAD_BALANCER: number of instances
- available
Units Integer - The quantity of licensed units that not yet allocated to specific region.
- compartment
Id String - The OCID of the compartment.
- 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"} - description String
- A description of the BYOL.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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.
- software
Type String - A filter to return only resources whose softwareType matches the given value.
- state String
- A filter to return only resources whose lifecycle state matches the given value.
- 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 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 expires and becomes inactive. In the format defined byRFC3339.
- time
Term StringStart - The date and time when the BYOL 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 was updated, in the format defined by RFC3339.
- total
Units Integer - Total quantity of licensed units for the specified
softwareType:- VCF, VDEFEND: number of OCPUs
- VSAN: storage capacity in TiB (tebibytes)
- AVI_LOAD_BALANCER: number of instances
- available
Units number - The quantity of licensed units that not yet allocated to specific region.
- compartment
Id string - The OCID of the compartment.
- {[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"} - description string
- A description of the BYOL.
- display
Name string - A filter to return only resources that match the given display name exactly.
- 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.
- software
Type string - A filter to return only resources whose softwareType matches the given value.
- state string
- A filter to return only resources whose lifecycle state matches the given value.
- {[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 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 expires and becomes inactive. In the format defined byRFC3339.
- time
Term stringStart - The date and time when the BYOL 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 was updated, in the format defined by RFC3339.
- total
Units number - Total quantity of licensed units for the specified
softwareType:- VCF, VDEFEND: number of OCPUs
- VSAN: storage capacity in TiB (tebibytes)
- AVI_LOAD_BALANCER: number of instances
- available_
units int - The quantity of licensed units that not yet allocated to specific region.
- compartment_
id str - The OCID of the compartment.
- 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"} - description str
- A description of the BYOL.
- display_
name str - A filter to return only resources that match the given display name exactly.
- 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.
- software_
type str - A filter to return only resources whose softwareType matches the given value.
- state str
- A filter to return only resources whose lifecycle state matches the given value.
- 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 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 expires and becomes inactive. In the format defined byRFC3339.
- time_
term_ strstart - The date and time when the BYOL 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 was updated, in the format defined by RFC3339.
- total_
units int - Total quantity of licensed units for the specified
softwareType:- VCF, VDEFEND: number of OCPUs
- VSAN: storage capacity in TiB (tebibytes)
- AVI_LOAD_BALANCER: number of instances
- available
Units Number - The quantity of licensed units that not yet allocated to specific region.
- compartment
Id String - The OCID of the compartment.
- 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"} - description String
- A description of the BYOL.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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.
- software
Type String - A filter to return only resources whose softwareType matches the given value.
- state String
- A filter to return only resources whose lifecycle state matches the given value.
- 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 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 expires and becomes inactive. In the format defined byRFC3339.
- time
Term StringStart - The date and time when the BYOL 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 was updated, in the format defined by RFC3339.
- total
Units Number - Total quantity of licensed units for the specified
softwareType:- VCF, VDEFEND: number of OCPUs
- VSAN: storage capacity in TiB (tebibytes)
- AVI_LOAD_BALANCER: number of instances
GetByolsFilter
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
