import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Byol resource in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/vmware/latest/Byol * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ocvp * * Creates an Oracle Cloud VMware Solution Bring-You-Own-License (BYOL). * * Use the [WorkRequest](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20230701/WorkRequest/) operations to track the * creation of the BYOL. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testByol = new oci.ocvp.Byol("test_byol", { * compartmentId: compartmentId, * displayName: byolDisplayName, * entitlementKey: byolEntitlementKey, * softwareType: byolSoftwareType, * timeTermEnd: byolTimeTermEnd, * timeTermStart: byolTimeTermStart, * totalUnits: Number(byolTotalUnits), * definedTags: { * "Operations.CostCenter": "42", * }, * description: byolDescription, * freeformTags: { * Department: "Finance", * }, * siteId: testSite.id, * }); * ``` * * ## Import * * Byols can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Ocvp/byol:Byol test_byol "id" * ``` */ export declare class Byol extends pulumi.CustomResource { /** * Get an existing Byol resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ByolState, opts?: pulumi.CustomResourceOptions): Byol; /** * Returns true if the given object is an instance of Byol. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Byol; /** * The quantity of licensed units that not yet allocated to specific region. */ readonly availableUnits: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the BYOL. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A description of the BYOL. */ readonly description: pulumi.Output; /** * (Updatable) A descriptive name for the BYOL. */ readonly displayName: pulumi.Output; /** * (Updatable) The Broadcom-supplied identifier of a BYOL license. */ readonly entitlementKey: pulumi.Output; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The hyperscaler identifier in Broadcom systems. */ readonly siteId: pulumi.Output; /** * (Updatable) 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: pulumi.Output; /** * The current state of the BYOL. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the BYOL was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * (Updatable) The date and time when the BYOL expires and becomes inactive. In the format defined by[RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeTermEnd: pulumi.Output; /** * (Updatable) The date and time when the BYOL becomes active. VMware software functionality cannot begin before this time. In the format defined by[RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeTermStart: pulumi.Output; /** * The date and time the BYOL was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeUpdated: pulumi.Output; /** * (Updatable) 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 * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly totalUnits: pulumi.Output; /** * Create a Byol resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ByolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Byol resources. */ export interface ByolState { /** * The quantity of licensed units that not yet allocated to specific region. */ availableUnits?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the BYOL. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A description of the BYOL. */ description?: pulumi.Input; /** * (Updatable) A descriptive name for the BYOL. */ displayName?: pulumi.Input; /** * (Updatable) The Broadcom-supplied identifier of a BYOL license. */ entitlementKey?: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The hyperscaler identifier in Broadcom systems. */ siteId?: pulumi.Input; /** * (Updatable) 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) */ softwareType?: pulumi.Input; /** * The current state of the BYOL. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{orcl-cloud: {free-tier-retain: true}}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the BYOL was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * (Updatable) The date and time when the BYOL expires and becomes inactive. In the format defined by[RFC3339](https://tools.ietf.org/html/rfc3339). */ timeTermEnd?: pulumi.Input; /** * (Updatable) The date and time when the BYOL becomes active. VMware software functionality cannot begin before this time. In the format defined by[RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeTermStart?: pulumi.Input; /** * The date and time the BYOL was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timeUpdated?: pulumi.Input; /** * (Updatable) 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 * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ totalUnits?: pulumi.Input; } /** * The set of arguments for constructing a Byol resource. */ export interface ByolArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the BYOL. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A description of the BYOL. */ description?: pulumi.Input; /** * (Updatable) A descriptive name for the BYOL. */ displayName: pulumi.Input; /** * (Updatable) The Broadcom-supplied identifier of a BYOL license. */ entitlementKey: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The hyperscaler identifier in Broadcom systems. */ siteId?: pulumi.Input; /** * (Updatable) 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) */ softwareType: pulumi.Input; /** * (Updatable) The date and time when the BYOL expires and becomes inactive. In the format defined by[RFC3339](https://tools.ietf.org/html/rfc3339). */ timeTermEnd: pulumi.Input; /** * (Updatable) The date and time when the BYOL becomes active. VMware software functionality cannot begin before this time. In the format defined by[RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeTermStart: pulumi.Input; /** * (Updatable) 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 * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ totalUnits: pulumi.Input; } //# sourceMappingURL=byol.d.ts.map