import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Byol Allocations in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. * * Lists the BYOL Allocations in the specified compartment. The list can be * filtered by display name or availability domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testByolAllocations = oci.ocvp.getByolAllocations({ * compartmentId: compartmentId, * availableUnitsGreaterThanOrEqualTo: byolAllocationAvailableUnitsGreaterThanOrEqualTo, * byolAllocationId: testByolAllocation.id, * byolId: testByol.id, * displayName: byolAllocationDisplayName, * softwareType: byolAllocationSoftwareType, * state: byolAllocationState, * }); * ``` */ export declare function getByolAllocations(args: GetByolAllocationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getByolAllocations. */ export interface GetByolAllocationsArgs { /** * A filter to return only resources whose availableUnits greater than or equal to the given value. */ availableUnitsGreaterThanOrEqualTo?: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the BYOL Allocation. */ byolAllocationId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the BYOL. */ byolId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Ocvp.GetByolAllocationsFilter[]; /** * A filter to return only resources whose softwareType matches the given value. */ softwareType?: string; /** * A filter to return only resources whose lifecycle state matches the given value. */ state?: string; } /** * A collection of values returned by getByolAllocations. */ export interface GetByolAllocationsResult { readonly availableUnitsGreaterThanOrEqualTo?: number; /** * The list of byol_allocation_collection. */ readonly byolAllocationCollections: outputs.Ocvp.GetByolAllocationsByolAllocationCollection[]; readonly byolAllocationId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the BYOL resource from which this BYOL Allocation is derived. */ readonly byolId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the BYOL Allocation. */ readonly compartmentId: string; /** * A descriptive name for the BYOL Allocation. */ readonly displayName?: string; readonly filters?: outputs.Ocvp.GetByolAllocationsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: 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) */ readonly softwareType?: string; /** * The current state of the BYOL Allocation. */ readonly state?: string; } /** * This data source provides the list of Byol Allocations in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. * * Lists the BYOL Allocations in the specified compartment. The list can be * filtered by display name or availability domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testByolAllocations = oci.ocvp.getByolAllocations({ * compartmentId: compartmentId, * availableUnitsGreaterThanOrEqualTo: byolAllocationAvailableUnitsGreaterThanOrEqualTo, * byolAllocationId: testByolAllocation.id, * byolId: testByol.id, * displayName: byolAllocationDisplayName, * softwareType: byolAllocationSoftwareType, * state: byolAllocationState, * }); * ``` */ export declare function getByolAllocationsOutput(args: GetByolAllocationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getByolAllocations. */ export interface GetByolAllocationsOutputArgs { /** * A filter to return only resources whose availableUnits greater than or equal to the given value. */ availableUnitsGreaterThanOrEqualTo?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the BYOL Allocation. */ byolAllocationId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the BYOL. */ byolId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources whose softwareType matches the given value. */ softwareType?: pulumi.Input; /** * A filter to return only resources whose lifecycle state matches the given value. */ state?: pulumi.Input; } //# sourceMappingURL=getByolAllocations.d.ts.map