oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.Ocvp.getExsiHosts

This data source provides the list of Esxi Hosts in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.

Lists the ESXi hosts in the specified SDDC. The list can be filtered by Compute instance OCID or ESXi display name.

Remember that in terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. Each EsxiHost object has its own OCID (id), and a separate attribute for the OCID of the Compute instance (computeInstanceId). When filtering the list of ESXi hosts, you can specify the OCID of the Compute instance, not the ESXi host OCID.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testEsxiHosts = Oci.Ocvp.GetExsiHosts.Invoke(new()
    {
        ComputeInstanceId = oci_core_instance.Test_instance.Id,
        DisplayName = @var.Esxi_host_display_name,
        SddcId = oci_ocvp_sddc.Test_sddc.Id,
        State = @var.Esxi_host_state,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Ocvp"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ocvp.GetExsiHosts(ctx, &ocvp.GetExsiHostsArgs{
			ComputeInstanceId: pulumi.StringRef(oci_core_instance.Test_instance.Id),
			DisplayName:       pulumi.StringRef(_var.Esxi_host_display_name),
			SddcId:            pulumi.StringRef(oci_ocvp_sddc.Test_sddc.Id),
			State:             pulumi.StringRef(_var.Esxi_host_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.GetExsiHostsArgs;
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 testEsxiHosts = OcvpFunctions.getExsiHosts(GetExsiHostsArgs.builder()
            .computeInstanceId(oci_core_instance.test_instance().id())
            .displayName(var_.esxi_host_display_name())
            .sddcId(oci_ocvp_sddc.test_sddc().id())
            .state(var_.esxi_host_state())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_esxi_hosts = oci.Ocvp.get_exsi_hosts(compute_instance_id=oci_core_instance["test_instance"]["id"],
    display_name=var["esxi_host_display_name"],
    sddc_id=oci_ocvp_sddc["test_sddc"]["id"],
    state=var["esxi_host_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testEsxiHosts = oci.Ocvp.getExsiHosts({
    computeInstanceId: oci_core_instance.test_instance.id,
    displayName: _var.esxi_host_display_name,
    sddcId: oci_ocvp_sddc.test_sddc.id,
    state: _var.esxi_host_state,
});
variables:
  testEsxiHosts:
    fn::invoke:
      Function: oci:Ocvp:getExsiHosts
      Arguments:
        computeInstanceId: ${oci_core_instance.test_instance.id}
        displayName: ${var.esxi_host_display_name}
        sddcId: ${oci_ocvp_sddc.test_sddc.id}
        state: ${var.esxi_host_state}

Using getExsiHosts

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 getExsiHosts(args: GetExsiHostsArgs, opts?: InvokeOptions): Promise<GetExsiHostsResult>
function getExsiHostsOutput(args: GetExsiHostsOutputArgs, opts?: InvokeOptions): Output<GetExsiHostsResult>
def get_exsi_hosts(compute_instance_id: Optional[str] = None,
                   display_name: Optional[str] = None,
                   filters: Optional[Sequence[_ocvp.GetExsiHostsFilter]] = None,
                   sddc_id: Optional[str] = None,
                   state: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetExsiHostsResult
def get_exsi_hosts_output(compute_instance_id: Optional[pulumi.Input[str]] = None,
                   display_name: Optional[pulumi.Input[str]] = None,
                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_ocvp.GetExsiHostsFilterArgs]]]] = None,
                   sddc_id: Optional[pulumi.Input[str]] = None,
                   state: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetExsiHostsResult]
func GetExsiHosts(ctx *Context, args *GetExsiHostsArgs, opts ...InvokeOption) (*GetExsiHostsResult, error)
func GetExsiHostsOutput(ctx *Context, args *GetExsiHostsOutputArgs, opts ...InvokeOption) GetExsiHostsResultOutput

> Note: This function is named GetExsiHosts in the Go SDK.

public static class GetExsiHosts 
{
    public static Task<GetExsiHostsResult> InvokeAsync(GetExsiHostsArgs args, InvokeOptions? opts = null)
    public static Output<GetExsiHostsResult> Invoke(GetExsiHostsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExsiHostsResult> getExsiHosts(GetExsiHostsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Ocvp/getExsiHosts:getExsiHosts
  arguments:
    # arguments dictionary

The following arguments are supported:

ComputeInstanceId string

The OCID of the Compute instance.

DisplayName string

A filter to return only resources that match the given display name exactly.

Filters List<GetExsiHostsFilter>
SddcId string

The OCID of the SDDC.

State string

The lifecycle state of the resource.

ComputeInstanceId string

The OCID of the Compute instance.

DisplayName string

A filter to return only resources that match the given display name exactly.

Filters []GetExsiHostsFilter
SddcId string

The OCID of the SDDC.

State string

The lifecycle state of the resource.

computeInstanceId String

The OCID of the Compute instance.

displayName String

A filter to return only resources that match the given display name exactly.

filters List<GetExsiHostsFilter>
sddcId String

The OCID of the SDDC.

state String

The lifecycle state of the resource.

computeInstanceId string

The OCID of the Compute instance.

displayName string

A filter to return only resources that match the given display name exactly.

filters GetExsiHostsFilter[]
sddcId string

The OCID of the SDDC.

state string

The lifecycle state of the resource.

compute_instance_id str

The OCID of the Compute instance.

display_name str

A filter to return only resources that match the given display name exactly.

filters GetExsiHostsFilter]
sddc_id str

The OCID of the SDDC.

state str

The lifecycle state of the resource.

computeInstanceId String

The OCID of the Compute instance.

displayName String

A filter to return only resources that match the given display name exactly.

filters List<Property Map>
sddcId String

The OCID of the SDDC.

state String

The lifecycle state of the resource.

getExsiHosts Result

The following output properties are available:

EsxiHostCollections List<GetExsiHostsEsxiHostCollection>

The list of esxi_host_collection.

Id string

The provider-assigned unique ID for this managed resource.

ComputeInstanceId string

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

DisplayName string

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Filters List<GetExsiHostsFilter>
SddcId string

The OCID of the SDDC that the ESXi host belongs to.

State string

The current state of the ESXi host.

EsxiHostCollections []GetExsiHostsEsxiHostCollection

The list of esxi_host_collection.

Id string

The provider-assigned unique ID for this managed resource.

ComputeInstanceId string

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

DisplayName string

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Filters []GetExsiHostsFilter
SddcId string

The OCID of the SDDC that the ESXi host belongs to.

State string

The current state of the ESXi host.

esxiHostCollections List<GetExsiHostsEsxiHostCollection>

The list of esxi_host_collection.

id String

The provider-assigned unique ID for this managed resource.

computeInstanceId String

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

displayName String

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters List<GetExsiHostsFilter>
sddcId String

The OCID of the SDDC that the ESXi host belongs to.

state String

The current state of the ESXi host.

esxiHostCollections GetExsiHostsEsxiHostCollection[]

The list of esxi_host_collection.

id string

The provider-assigned unique ID for this managed resource.

computeInstanceId string

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

displayName string

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters GetExsiHostsFilter[]
sddcId string

The OCID of the SDDC that the ESXi host belongs to.

state string

The current state of the ESXi host.

esxi_host_collections GetExsiHostsEsxiHostCollection]

The list of esxi_host_collection.

id str

The provider-assigned unique ID for this managed resource.

compute_instance_id str

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

display_name str

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters GetExsiHostsFilter]
sddc_id str

The OCID of the SDDC that the ESXi host belongs to.

state str

The current state of the ESXi host.

esxiHostCollections List<Property Map>

The list of esxi_host_collection.

id String

The provider-assigned unique ID for this managed resource.

computeInstanceId String

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

displayName String

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters List<Property Map>
sddcId String

The OCID of the SDDC that the ESXi host belongs to.

state String

The current state of the ESXi host.

Supporting Types

GetExsiHostsEsxiHostCollection

BillingContractEndDate string

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

CapacityReservationId string

The OCID of the Capacity Reservation.

CompartmentId string

The OCID of the compartment that contains the SDDC.

ComputeAvailabilityDomain string

The availability domain of the ESXi host.

ComputeInstanceId string

The OCID of the Compute instance.

CurrentSku string

The billing option currently used by the ESXi host. ListSupportedSkus.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A filter to return only resources that match the given display name exactly.

FailedEsxiHostId string

The OCID of the esxi host that is failed.

FreeformTags Dictionary<string, object>

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"}

GracePeriodEndDate string

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

HostOcpuCount double

The OCPU count of the ESXi host.

HostShapeName string

The compute shape name of the ESXi host. ListSupportedHostShapes.

Id string

The OCID of the ESXi host.

NextSku string

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

NonUpgradedEsxiHostId string

The OCID of the ESXi host that will be upgraded.

ReplacementEsxiHostId string

The OCID of the esxi host that is newly created to replace the failed node.

SddcId string

The OCID of the SDDC.

State string

The lifecycle state of the resource.

TimeCreated string

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeUpdated string

The date and time the ESXi host was updated, in the format defined by RFC3339.

UpgradedReplacementEsxiHostId string

The OCID of the ESXi host that is newly created to upgrade the original host.

VmwareSoftwareVersion string

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

BillingContractEndDate string

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

CapacityReservationId string

The OCID of the Capacity Reservation.

CompartmentId string

The OCID of the compartment that contains the SDDC.

ComputeAvailabilityDomain string

The availability domain of the ESXi host.

ComputeInstanceId string

The OCID of the Compute instance.

CurrentSku string

The billing option currently used by the ESXi host. ListSupportedSkus.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A filter to return only resources that match the given display name exactly.

FailedEsxiHostId string

The OCID of the esxi host that is failed.

FreeformTags map[string]interface{}

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"}

GracePeriodEndDate string

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

HostOcpuCount float64

The OCPU count of the ESXi host.

HostShapeName string

The compute shape name of the ESXi host. ListSupportedHostShapes.

Id string

The OCID of the ESXi host.

NextSku string

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

NonUpgradedEsxiHostId string

The OCID of the ESXi host that will be upgraded.

ReplacementEsxiHostId string

The OCID of the esxi host that is newly created to replace the failed node.

SddcId string

The OCID of the SDDC.

State string

The lifecycle state of the resource.

TimeCreated string

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeUpdated string

The date and time the ESXi host was updated, in the format defined by RFC3339.

UpgradedReplacementEsxiHostId string

The OCID of the ESXi host that is newly created to upgrade the original host.

VmwareSoftwareVersion string

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

billingContractEndDate String

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

capacityReservationId String

The OCID of the Capacity Reservation.

compartmentId String

The OCID of the compartment that contains the SDDC.

computeAvailabilityDomain String

The availability domain of the ESXi host.

computeInstanceId String

The OCID of the Compute instance.

currentSku String

The billing option currently used by the ESXi host. ListSupportedSkus.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A filter to return only resources that match the given display name exactly.

failedEsxiHostId String

The OCID of the esxi host that is failed.

freeformTags Map<String,Object>

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"}

gracePeriodEndDate String

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

hostOcpuCount Double

The OCPU count of the ESXi host.

hostShapeName String

The compute shape name of the ESXi host. ListSupportedHostShapes.

id String

The OCID of the ESXi host.

nextSku String

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

nonUpgradedEsxiHostId String

The OCID of the ESXi host that will be upgraded.

replacementEsxiHostId String

The OCID of the esxi host that is newly created to replace the failed node.

sddcId String

The OCID of the SDDC.

state String

The lifecycle state of the resource.

timeCreated String

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated String

The date and time the ESXi host was updated, in the format defined by RFC3339.

upgradedReplacementEsxiHostId String

The OCID of the ESXi host that is newly created to upgrade the original host.

vmwareSoftwareVersion String

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

billingContractEndDate string

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

capacityReservationId string

The OCID of the Capacity Reservation.

compartmentId string

The OCID of the compartment that contains the SDDC.

computeAvailabilityDomain string

The availability domain of the ESXi host.

computeInstanceId string

The OCID of the Compute instance.

currentSku string

The billing option currently used by the ESXi host. ListSupportedSkus.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

A filter to return only resources that match the given display name exactly.

failedEsxiHostId string

The OCID of the esxi host that is failed.

freeformTags {[key: string]: any}

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"}

gracePeriodEndDate string

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

hostOcpuCount number

The OCPU count of the ESXi host.

hostShapeName string

The compute shape name of the ESXi host. ListSupportedHostShapes.

id string

The OCID of the ESXi host.

nextSku string

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

nonUpgradedEsxiHostId string

The OCID of the ESXi host that will be upgraded.

replacementEsxiHostId string

The OCID of the esxi host that is newly created to replace the failed node.

sddcId string

The OCID of the SDDC.

state string

The lifecycle state of the resource.

timeCreated string

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated string

The date and time the ESXi host was updated, in the format defined by RFC3339.

upgradedReplacementEsxiHostId string

The OCID of the ESXi host that is newly created to upgrade the original host.

vmwareSoftwareVersion string

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

billing_contract_end_date str

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

capacity_reservation_id str

The OCID of the Capacity Reservation.

compartment_id str

The OCID of the compartment that contains the SDDC.

compute_availability_domain str

The availability domain of the ESXi host.

compute_instance_id str

The OCID of the Compute instance.

current_sku str

The billing option currently used by the ESXi host. ListSupportedSkus.

defined_tags Mapping[str, Any]

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 filter to return only resources that match the given display name exactly.

failed_esxi_host_id str

The OCID of the esxi host that is failed.

freeform_tags Mapping[str, Any]

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"}

grace_period_end_date str

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

host_ocpu_count float

The OCPU count of the ESXi host.

host_shape_name str

The compute shape name of the ESXi host. ListSupportedHostShapes.

id str

The OCID of the ESXi host.

next_sku str

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

non_upgraded_esxi_host_id str

The OCID of the ESXi host that will be upgraded.

replacement_esxi_host_id str

The OCID of the esxi host that is newly created to replace the failed node.

sddc_id str

The OCID of the SDDC.

state str

The lifecycle state of the resource.

time_created str

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

time_updated str

The date and time the ESXi host was updated, in the format defined by RFC3339.

upgraded_replacement_esxi_host_id str

The OCID of the ESXi host that is newly created to upgrade the original host.

vmware_software_version str

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

billingContractEndDate String

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

capacityReservationId String

The OCID of the Capacity Reservation.

compartmentId String

The OCID of the compartment that contains the SDDC.

computeAvailabilityDomain String

The availability domain of the ESXi host.

computeInstanceId String

The OCID of the Compute instance.

currentSku String

The billing option currently used by the ESXi host. ListSupportedSkus.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A filter to return only resources that match the given display name exactly.

failedEsxiHostId String

The OCID of the esxi host that is failed.

freeformTags Map<Any>

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"}

gracePeriodEndDate String

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

hostOcpuCount Number

The OCPU count of the ESXi host.

hostShapeName String

The compute shape name of the ESXi host. ListSupportedHostShapes.

id String

The OCID of the ESXi host.

nextSku String

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

nonUpgradedEsxiHostId String

The OCID of the ESXi host that will be upgraded.

replacementEsxiHostId String

The OCID of the esxi host that is newly created to replace the failed node.

sddcId String

The OCID of the SDDC.

state String

The lifecycle state of the resource.

timeCreated String

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated String

The date and time the ESXi host was updated, in the format defined by RFC3339.

upgradedReplacementEsxiHostId String

The OCID of the ESXi host that is newly created to upgrade the original host.

vmwareSoftwareVersion String

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

GetExsiHostsFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.