oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.CloudBridge.Asset

This resource provides the Asset resource in Oracle Cloud Infrastructure Cloud Bridge service.

Creates an asset.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testAsset = new Oci.CloudBridge.Asset("testAsset", new()
    {
        AssetType = @var.Asset_asset_type,
        CompartmentId = @var.Compartment_id,
        ExternalAssetKey = @var.Asset_external_asset_key,
        InventoryId = oci_cloud_bridge_inventory.Test_inventory.Id,
        SourceKey = @var.Asset_source_key,
        AssetSourceIds = @var.Asset_asset_source_ids,
        Compute = new Oci.CloudBridge.Inputs.AssetComputeArgs
        {
            ConnectedNetworks = @var.Asset_compute_connected_networks,
            CoresCount = @var.Asset_compute_cores_count,
            CpuModel = @var.Asset_compute_cpu_model,
            Description = @var.Asset_compute_description,
            Disks = new[]
            {
                new Oci.CloudBridge.Inputs.AssetComputeDiskArgs
                {
                    BootOrder = @var.Asset_compute_disks_boot_order,
                    Location = @var.Asset_compute_disks_location,
                    Name = @var.Asset_compute_disks_name,
                    PersistentMode = @var.Asset_compute_disks_persistent_mode,
                    SizeInMbs = @var.Asset_compute_disks_size_in_mbs,
                    Uuid = @var.Asset_compute_disks_uuid,
                    UuidLun = @var.Asset_compute_disks_uuid_lun,
                },
            },
            DisksCount = @var.Asset_compute_disks_count,
            DnsName = @var.Asset_compute_dns_name,
            Firmware = @var.Asset_compute_firmware,
            GpuDevices = new[]
            {
                new Oci.CloudBridge.Inputs.AssetComputeGpuDeviceArgs
                {
                    CoresCount = @var.Asset_compute_gpu_devices_cores_count,
                    Description = @var.Asset_compute_gpu_devices_description,
                    Manufacturer = @var.Asset_compute_gpu_devices_manufacturer,
                    MemoryInMbs = @var.Asset_compute_gpu_devices_memory_in_mbs,
                    Name = @var.Asset_compute_gpu_devices_name,
                },
            },
            GpuDevicesCount = @var.Asset_compute_gpu_devices_count,
            GuestState = @var.Asset_compute_guest_state,
            HardwareVersion = @var.Asset_compute_hardware_version,
            HostName = @var.Asset_compute_host_name,
            IsPmemEnabled = @var.Asset_compute_is_pmem_enabled,
            IsTpmEnabled = @var.Asset_compute_is_tpm_enabled,
            LatencySensitivity = @var.Asset_compute_latency_sensitivity,
            MemoryInMbs = @var.Asset_compute_memory_in_mbs,
            Nics = new[]
            {
                new Oci.CloudBridge.Inputs.AssetComputeNicArgs
                {
                    IpAddresses = @var.Asset_compute_nics_ip_addresses,
                    Label = @var.Asset_compute_nics_label,
                    MacAddress = @var.Asset_compute_nics_mac_address,
                    MacAddressType = @var.Asset_compute_nics_mac_address_type,
                    NetworkName = @var.Asset_compute_nics_network_name,
                    SwitchName = @var.Asset_compute_nics_switch_name,
                },
            },
            NicsCount = @var.Asset_compute_nics_count,
            NvdimmController = new Oci.CloudBridge.Inputs.AssetComputeNvdimmControllerArgs
            {
                BusNumber = @var.Asset_compute_nvdimm_controller_bus_number,
                Label = @var.Asset_compute_nvdimm_controller_label,
            },
            Nvdimms = new[]
            {
                new Oci.CloudBridge.Inputs.AssetComputeNvdimmArgs
                {
                    ControllerKey = @var.Asset_compute_nvdimms_controller_key,
                    Label = @var.Asset_compute_nvdimms_label,
                    UnitNumber = @var.Asset_compute_nvdimms_unit_number,
                },
            },
            OperatingSystem = @var.Asset_compute_operating_system,
            OperatingSystemVersion = @var.Asset_compute_operating_system_version,
            PmemInMbs = @var.Asset_compute_pmem_in_mbs,
            PowerState = @var.Asset_compute_power_state,
            PrimaryIp = @var.Asset_compute_primary_ip,
            ScsiController = new Oci.CloudBridge.Inputs.AssetComputeScsiControllerArgs
            {
                Label = @var.Asset_compute_scsi_controller_label,
                SharedBus = @var.Asset_compute_scsi_controller_shared_bus,
                UnitNumber = @var.Asset_compute_scsi_controller_unit_number,
            },
            StorageProvisionedInMbs = @var.Asset_compute_storage_provisioned_in_mbs,
            ThreadsPerCoreCount = @var.Asset_compute_threads_per_core_count,
        },
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        DisplayName = @var.Asset_display_name,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        Vm = new Oci.CloudBridge.Inputs.AssetVmArgs
        {
            HypervisorHost = @var.Asset_vm_hypervisor_host,
            HypervisorVendor = @var.Asset_vm_hypervisor_vendor,
            HypervisorVersion = @var.Asset_vm_hypervisor_version,
        },
        VmwareVcenter = new Oci.CloudBridge.Inputs.AssetVmwareVcenterArgs
        {
            DataCenter = @var.Asset_vmware_vcenter_data_center,
            VcenterKey = @var.Asset_vmware_vcenter_vcenter_key,
            VcenterVersion = @var.Asset_vmware_vcenter_vcenter_version,
        },
        VmwareVm = new Oci.CloudBridge.Inputs.AssetVmwareVmArgs
        {
            Cluster = @var.Asset_vmware_vm_cluster,
            CustomerFields = @var.Asset_vmware_vm_customer_fields,
            CustomerTags = new[]
            {
                new Oci.CloudBridge.Inputs.AssetVmwareVmCustomerTagArgs
                {
                    Description = @var.Asset_vmware_vm_customer_tags_description,
                    Name = @var.Asset_vmware_vm_customer_tags_name,
                },
            },
            FaultToleranceBandwidth = @var.Asset_vmware_vm_fault_tolerance_bandwidth,
            FaultToleranceSecondaryLatency = @var.Asset_vmware_vm_fault_tolerance_secondary_latency,
            FaultToleranceState = @var.Asset_vmware_vm_fault_tolerance_state,
            InstanceUuid = @var.Asset_vmware_vm_instance_uuid,
            IsDisksCbtEnabled = @var.Asset_vmware_vm_is_disks_cbt_enabled,
            IsDisksUuidEnabled = @var.Asset_vmware_vm_is_disks_uuid_enabled,
            Path = @var.Asset_vmware_vm_path,
            VmwareToolsStatus = @var.Asset_vmware_vm_vmware_tools_status,
        },
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := CloudBridge.NewAsset(ctx, "testAsset", &CloudBridge.AssetArgs{
			AssetType:        pulumi.Any(_var.Asset_asset_type),
			CompartmentId:    pulumi.Any(_var.Compartment_id),
			ExternalAssetKey: pulumi.Any(_var.Asset_external_asset_key),
			InventoryId:      pulumi.Any(oci_cloud_bridge_inventory.Test_inventory.Id),
			SourceKey:        pulumi.Any(_var.Asset_source_key),
			AssetSourceIds:   pulumi.Any(_var.Asset_asset_source_ids),
			Compute: &cloudbridge.AssetComputeArgs{
				ConnectedNetworks: pulumi.Any(_var.Asset_compute_connected_networks),
				CoresCount:        pulumi.Any(_var.Asset_compute_cores_count),
				CpuModel:          pulumi.Any(_var.Asset_compute_cpu_model),
				Description:       pulumi.Any(_var.Asset_compute_description),
				Disks: cloudbridge.AssetComputeDiskArray{
					&cloudbridge.AssetComputeDiskArgs{
						BootOrder:      pulumi.Any(_var.Asset_compute_disks_boot_order),
						Location:       pulumi.Any(_var.Asset_compute_disks_location),
						Name:           pulumi.Any(_var.Asset_compute_disks_name),
						PersistentMode: pulumi.Any(_var.Asset_compute_disks_persistent_mode),
						SizeInMbs:      pulumi.Any(_var.Asset_compute_disks_size_in_mbs),
						Uuid:           pulumi.Any(_var.Asset_compute_disks_uuid),
						UuidLun:        pulumi.Any(_var.Asset_compute_disks_uuid_lun),
					},
				},
				DisksCount: pulumi.Any(_var.Asset_compute_disks_count),
				DnsName:    pulumi.Any(_var.Asset_compute_dns_name),
				Firmware:   pulumi.Any(_var.Asset_compute_firmware),
				GpuDevices: cloudbridge.AssetComputeGpuDeviceArray{
					&cloudbridge.AssetComputeGpuDeviceArgs{
						CoresCount:   pulumi.Any(_var.Asset_compute_gpu_devices_cores_count),
						Description:  pulumi.Any(_var.Asset_compute_gpu_devices_description),
						Manufacturer: pulumi.Any(_var.Asset_compute_gpu_devices_manufacturer),
						MemoryInMbs:  pulumi.Any(_var.Asset_compute_gpu_devices_memory_in_mbs),
						Name:         pulumi.Any(_var.Asset_compute_gpu_devices_name),
					},
				},
				GpuDevicesCount:    pulumi.Any(_var.Asset_compute_gpu_devices_count),
				GuestState:         pulumi.Any(_var.Asset_compute_guest_state),
				HardwareVersion:    pulumi.Any(_var.Asset_compute_hardware_version),
				HostName:           pulumi.Any(_var.Asset_compute_host_name),
				IsPmemEnabled:      pulumi.Any(_var.Asset_compute_is_pmem_enabled),
				IsTpmEnabled:       pulumi.Any(_var.Asset_compute_is_tpm_enabled),
				LatencySensitivity: pulumi.Any(_var.Asset_compute_latency_sensitivity),
				MemoryInMbs:        pulumi.Any(_var.Asset_compute_memory_in_mbs),
				Nics: cloudbridge.AssetComputeNicArray{
					&cloudbridge.AssetComputeNicArgs{
						IpAddresses:    pulumi.Any(_var.Asset_compute_nics_ip_addresses),
						Label:          pulumi.Any(_var.Asset_compute_nics_label),
						MacAddress:     pulumi.Any(_var.Asset_compute_nics_mac_address),
						MacAddressType: pulumi.Any(_var.Asset_compute_nics_mac_address_type),
						NetworkName:    pulumi.Any(_var.Asset_compute_nics_network_name),
						SwitchName:     pulumi.Any(_var.Asset_compute_nics_switch_name),
					},
				},
				NicsCount: pulumi.Any(_var.Asset_compute_nics_count),
				NvdimmController: &cloudbridge.AssetComputeNvdimmControllerArgs{
					BusNumber: pulumi.Any(_var.Asset_compute_nvdimm_controller_bus_number),
					Label:     pulumi.Any(_var.Asset_compute_nvdimm_controller_label),
				},
				Nvdimms: cloudbridge.AssetComputeNvdimmArray{
					&cloudbridge.AssetComputeNvdimmArgs{
						ControllerKey: pulumi.Any(_var.Asset_compute_nvdimms_controller_key),
						Label:         pulumi.Any(_var.Asset_compute_nvdimms_label),
						UnitNumber:    pulumi.Any(_var.Asset_compute_nvdimms_unit_number),
					},
				},
				OperatingSystem:        pulumi.Any(_var.Asset_compute_operating_system),
				OperatingSystemVersion: pulumi.Any(_var.Asset_compute_operating_system_version),
				PmemInMbs:              pulumi.Any(_var.Asset_compute_pmem_in_mbs),
				PowerState:             pulumi.Any(_var.Asset_compute_power_state),
				PrimaryIp:              pulumi.Any(_var.Asset_compute_primary_ip),
				ScsiController: &cloudbridge.AssetComputeScsiControllerArgs{
					Label:      pulumi.Any(_var.Asset_compute_scsi_controller_label),
					SharedBus:  pulumi.Any(_var.Asset_compute_scsi_controller_shared_bus),
					UnitNumber: pulumi.Any(_var.Asset_compute_scsi_controller_unit_number),
				},
				StorageProvisionedInMbs: pulumi.Any(_var.Asset_compute_storage_provisioned_in_mbs),
				ThreadsPerCoreCount:     pulumi.Any(_var.Asset_compute_threads_per_core_count),
			},
			DefinedTags: pulumi.AnyMap{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			DisplayName: pulumi.Any(_var.Asset_display_name),
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
			Vm: &cloudbridge.AssetVmArgs{
				HypervisorHost:    pulumi.Any(_var.Asset_vm_hypervisor_host),
				HypervisorVendor:  pulumi.Any(_var.Asset_vm_hypervisor_vendor),
				HypervisorVersion: pulumi.Any(_var.Asset_vm_hypervisor_version),
			},
			VmwareVcenter: &cloudbridge.AssetVmwareVcenterArgs{
				DataCenter:     pulumi.Any(_var.Asset_vmware_vcenter_data_center),
				VcenterKey:     pulumi.Any(_var.Asset_vmware_vcenter_vcenter_key),
				VcenterVersion: pulumi.Any(_var.Asset_vmware_vcenter_vcenter_version),
			},
			VmwareVm: &cloudbridge.AssetVmwareVmArgs{
				Cluster:        pulumi.Any(_var.Asset_vmware_vm_cluster),
				CustomerFields: pulumi.Any(_var.Asset_vmware_vm_customer_fields),
				CustomerTags: cloudbridge.AssetVmwareVmCustomerTagArray{
					&cloudbridge.AssetVmwareVmCustomerTagArgs{
						Description: pulumi.Any(_var.Asset_vmware_vm_customer_tags_description),
						Name:        pulumi.Any(_var.Asset_vmware_vm_customer_tags_name),
					},
				},
				FaultToleranceBandwidth:        pulumi.Any(_var.Asset_vmware_vm_fault_tolerance_bandwidth),
				FaultToleranceSecondaryLatency: pulumi.Any(_var.Asset_vmware_vm_fault_tolerance_secondary_latency),
				FaultToleranceState:            pulumi.Any(_var.Asset_vmware_vm_fault_tolerance_state),
				InstanceUuid:                   pulumi.Any(_var.Asset_vmware_vm_instance_uuid),
				IsDisksCbtEnabled:              pulumi.Any(_var.Asset_vmware_vm_is_disks_cbt_enabled),
				IsDisksUuidEnabled:             pulumi.Any(_var.Asset_vmware_vm_is_disks_uuid_enabled),
				Path:                           pulumi.Any(_var.Asset_vmware_vm_path),
				VmwareToolsStatus:              pulumi.Any(_var.Asset_vmware_vm_vmware_tools_status),
			},
		})
		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.CloudBridge.Asset;
import com.pulumi.oci.CloudBridge.AssetArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetComputeArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetComputeNvdimmControllerArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetComputeScsiControllerArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetVmArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetVmwareVcenterArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetVmwareVmArgs;
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) {
        var testAsset = new Asset("testAsset", AssetArgs.builder()        
            .assetType(var_.asset_asset_type())
            .compartmentId(var_.compartment_id())
            .externalAssetKey(var_.asset_external_asset_key())
            .inventoryId(oci_cloud_bridge_inventory.test_inventory().id())
            .sourceKey(var_.asset_source_key())
            .assetSourceIds(var_.asset_asset_source_ids())
            .compute(AssetComputeArgs.builder()
                .connectedNetworks(var_.asset_compute_connected_networks())
                .coresCount(var_.asset_compute_cores_count())
                .cpuModel(var_.asset_compute_cpu_model())
                .description(var_.asset_compute_description())
                .disks(AssetComputeDiskArgs.builder()
                    .bootOrder(var_.asset_compute_disks_boot_order())
                    .location(var_.asset_compute_disks_location())
                    .name(var_.asset_compute_disks_name())
                    .persistentMode(var_.asset_compute_disks_persistent_mode())
                    .sizeInMbs(var_.asset_compute_disks_size_in_mbs())
                    .uuid(var_.asset_compute_disks_uuid())
                    .uuidLun(var_.asset_compute_disks_uuid_lun())
                    .build())
                .disksCount(var_.asset_compute_disks_count())
                .dnsName(var_.asset_compute_dns_name())
                .firmware(var_.asset_compute_firmware())
                .gpuDevices(AssetComputeGpuDeviceArgs.builder()
                    .coresCount(var_.asset_compute_gpu_devices_cores_count())
                    .description(var_.asset_compute_gpu_devices_description())
                    .manufacturer(var_.asset_compute_gpu_devices_manufacturer())
                    .memoryInMbs(var_.asset_compute_gpu_devices_memory_in_mbs())
                    .name(var_.asset_compute_gpu_devices_name())
                    .build())
                .gpuDevicesCount(var_.asset_compute_gpu_devices_count())
                .guestState(var_.asset_compute_guest_state())
                .hardwareVersion(var_.asset_compute_hardware_version())
                .hostName(var_.asset_compute_host_name())
                .isPmemEnabled(var_.asset_compute_is_pmem_enabled())
                .isTpmEnabled(var_.asset_compute_is_tpm_enabled())
                .latencySensitivity(var_.asset_compute_latency_sensitivity())
                .memoryInMbs(var_.asset_compute_memory_in_mbs())
                .nics(AssetComputeNicArgs.builder()
                    .ipAddresses(var_.asset_compute_nics_ip_addresses())
                    .label(var_.asset_compute_nics_label())
                    .macAddress(var_.asset_compute_nics_mac_address())
                    .macAddressType(var_.asset_compute_nics_mac_address_type())
                    .networkName(var_.asset_compute_nics_network_name())
                    .switchName(var_.asset_compute_nics_switch_name())
                    .build())
                .nicsCount(var_.asset_compute_nics_count())
                .nvdimmController(AssetComputeNvdimmControllerArgs.builder()
                    .busNumber(var_.asset_compute_nvdimm_controller_bus_number())
                    .label(var_.asset_compute_nvdimm_controller_label())
                    .build())
                .nvdimms(AssetComputeNvdimmArgs.builder()
                    .controllerKey(var_.asset_compute_nvdimms_controller_key())
                    .label(var_.asset_compute_nvdimms_label())
                    .unitNumber(var_.asset_compute_nvdimms_unit_number())
                    .build())
                .operatingSystem(var_.asset_compute_operating_system())
                .operatingSystemVersion(var_.asset_compute_operating_system_version())
                .pmemInMbs(var_.asset_compute_pmem_in_mbs())
                .powerState(var_.asset_compute_power_state())
                .primaryIp(var_.asset_compute_primary_ip())
                .scsiController(AssetComputeScsiControllerArgs.builder()
                    .label(var_.asset_compute_scsi_controller_label())
                    .sharedBus(var_.asset_compute_scsi_controller_shared_bus())
                    .unitNumber(var_.asset_compute_scsi_controller_unit_number())
                    .build())
                .storageProvisionedInMbs(var_.asset_compute_storage_provisioned_in_mbs())
                .threadsPerCoreCount(var_.asset_compute_threads_per_core_count())
                .build())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .displayName(var_.asset_display_name())
            .freeformTags(Map.of("Department", "Finance"))
            .vm(AssetVmArgs.builder()
                .hypervisorHost(var_.asset_vm_hypervisor_host())
                .hypervisorVendor(var_.asset_vm_hypervisor_vendor())
                .hypervisorVersion(var_.asset_vm_hypervisor_version())
                .build())
            .vmwareVcenter(AssetVmwareVcenterArgs.builder()
                .dataCenter(var_.asset_vmware_vcenter_data_center())
                .vcenterKey(var_.asset_vmware_vcenter_vcenter_key())
                .vcenterVersion(var_.asset_vmware_vcenter_vcenter_version())
                .build())
            .vmwareVm(AssetVmwareVmArgs.builder()
                .cluster(var_.asset_vmware_vm_cluster())
                .customerFields(var_.asset_vmware_vm_customer_fields())
                .customerTags(AssetVmwareVmCustomerTagArgs.builder()
                    .description(var_.asset_vmware_vm_customer_tags_description())
                    .name(var_.asset_vmware_vm_customer_tags_name())
                    .build())
                .faultToleranceBandwidth(var_.asset_vmware_vm_fault_tolerance_bandwidth())
                .faultToleranceSecondaryLatency(var_.asset_vmware_vm_fault_tolerance_secondary_latency())
                .faultToleranceState(var_.asset_vmware_vm_fault_tolerance_state())
                .instanceUuid(var_.asset_vmware_vm_instance_uuid())
                .isDisksCbtEnabled(var_.asset_vmware_vm_is_disks_cbt_enabled())
                .isDisksUuidEnabled(var_.asset_vmware_vm_is_disks_uuid_enabled())
                .path(var_.asset_vmware_vm_path())
                .vmwareToolsStatus(var_.asset_vmware_vm_vmware_tools_status())
                .build())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_asset = oci.cloud_bridge.Asset("testAsset",
    asset_type=var["asset_asset_type"],
    compartment_id=var["compartment_id"],
    external_asset_key=var["asset_external_asset_key"],
    inventory_id=oci_cloud_bridge_inventory["test_inventory"]["id"],
    source_key=var["asset_source_key"],
    asset_source_ids=var["asset_asset_source_ids"],
    compute=oci.cloud_bridge.AssetComputeArgs(
        connected_networks=var["asset_compute_connected_networks"],
        cores_count=var["asset_compute_cores_count"],
        cpu_model=var["asset_compute_cpu_model"],
        description=var["asset_compute_description"],
        disks=[oci.cloud_bridge.AssetComputeDiskArgs(
            boot_order=var["asset_compute_disks_boot_order"],
            location=var["asset_compute_disks_location"],
            name=var["asset_compute_disks_name"],
            persistent_mode=var["asset_compute_disks_persistent_mode"],
            size_in_mbs=var["asset_compute_disks_size_in_mbs"],
            uuid=var["asset_compute_disks_uuid"],
            uuid_lun=var["asset_compute_disks_uuid_lun"],
        )],
        disks_count=var["asset_compute_disks_count"],
        dns_name=var["asset_compute_dns_name"],
        firmware=var["asset_compute_firmware"],
        gpu_devices=[oci.cloud_bridge.AssetComputeGpuDeviceArgs(
            cores_count=var["asset_compute_gpu_devices_cores_count"],
            description=var["asset_compute_gpu_devices_description"],
            manufacturer=var["asset_compute_gpu_devices_manufacturer"],
            memory_in_mbs=var["asset_compute_gpu_devices_memory_in_mbs"],
            name=var["asset_compute_gpu_devices_name"],
        )],
        gpu_devices_count=var["asset_compute_gpu_devices_count"],
        guest_state=var["asset_compute_guest_state"],
        hardware_version=var["asset_compute_hardware_version"],
        host_name=var["asset_compute_host_name"],
        is_pmem_enabled=var["asset_compute_is_pmem_enabled"],
        is_tpm_enabled=var["asset_compute_is_tpm_enabled"],
        latency_sensitivity=var["asset_compute_latency_sensitivity"],
        memory_in_mbs=var["asset_compute_memory_in_mbs"],
        nics=[oci.cloud_bridge.AssetComputeNicArgs(
            ip_addresses=var["asset_compute_nics_ip_addresses"],
            label=var["asset_compute_nics_label"],
            mac_address=var["asset_compute_nics_mac_address"],
            mac_address_type=var["asset_compute_nics_mac_address_type"],
            network_name=var["asset_compute_nics_network_name"],
            switch_name=var["asset_compute_nics_switch_name"],
        )],
        nics_count=var["asset_compute_nics_count"],
        nvdimm_controller=oci.cloud_bridge.AssetComputeNvdimmControllerArgs(
            bus_number=var["asset_compute_nvdimm_controller_bus_number"],
            label=var["asset_compute_nvdimm_controller_label"],
        ),
        nvdimms=[oci.cloud_bridge.AssetComputeNvdimmArgs(
            controller_key=var["asset_compute_nvdimms_controller_key"],
            label=var["asset_compute_nvdimms_label"],
            unit_number=var["asset_compute_nvdimms_unit_number"],
        )],
        operating_system=var["asset_compute_operating_system"],
        operating_system_version=var["asset_compute_operating_system_version"],
        pmem_in_mbs=var["asset_compute_pmem_in_mbs"],
        power_state=var["asset_compute_power_state"],
        primary_ip=var["asset_compute_primary_ip"],
        scsi_controller=oci.cloud_bridge.AssetComputeScsiControllerArgs(
            label=var["asset_compute_scsi_controller_label"],
            shared_bus=var["asset_compute_scsi_controller_shared_bus"],
            unit_number=var["asset_compute_scsi_controller_unit_number"],
        ),
        storage_provisioned_in_mbs=var["asset_compute_storage_provisioned_in_mbs"],
        threads_per_core_count=var["asset_compute_threads_per_core_count"],
    ),
    defined_tags={
        "Operations.CostCenter": "42",
    },
    display_name=var["asset_display_name"],
    freeform_tags={
        "Department": "Finance",
    },
    vm=oci.cloud_bridge.AssetVmArgs(
        hypervisor_host=var["asset_vm_hypervisor_host"],
        hypervisor_vendor=var["asset_vm_hypervisor_vendor"],
        hypervisor_version=var["asset_vm_hypervisor_version"],
    ),
    vmware_vcenter=oci.cloud_bridge.AssetVmwareVcenterArgs(
        data_center=var["asset_vmware_vcenter_data_center"],
        vcenter_key=var["asset_vmware_vcenter_vcenter_key"],
        vcenter_version=var["asset_vmware_vcenter_vcenter_version"],
    ),
    vmware_vm=oci.cloud_bridge.AssetVmwareVmArgs(
        cluster=var["asset_vmware_vm_cluster"],
        customer_fields=var["asset_vmware_vm_customer_fields"],
        customer_tags=[oci.cloud_bridge.AssetVmwareVmCustomerTagArgs(
            description=var["asset_vmware_vm_customer_tags_description"],
            name=var["asset_vmware_vm_customer_tags_name"],
        )],
        fault_tolerance_bandwidth=var["asset_vmware_vm_fault_tolerance_bandwidth"],
        fault_tolerance_secondary_latency=var["asset_vmware_vm_fault_tolerance_secondary_latency"],
        fault_tolerance_state=var["asset_vmware_vm_fault_tolerance_state"],
        instance_uuid=var["asset_vmware_vm_instance_uuid"],
        is_disks_cbt_enabled=var["asset_vmware_vm_is_disks_cbt_enabled"],
        is_disks_uuid_enabled=var["asset_vmware_vm_is_disks_uuid_enabled"],
        path=var["asset_vmware_vm_path"],
        vmware_tools_status=var["asset_vmware_vm_vmware_tools_status"],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAsset = new oci.cloudbridge.Asset("testAsset", {
    assetType: _var.asset_asset_type,
    compartmentId: _var.compartment_id,
    externalAssetKey: _var.asset_external_asset_key,
    inventoryId: oci_cloud_bridge_inventory.test_inventory.id,
    sourceKey: _var.asset_source_key,
    assetSourceIds: _var.asset_asset_source_ids,
    compute: {
        connectedNetworks: _var.asset_compute_connected_networks,
        coresCount: _var.asset_compute_cores_count,
        cpuModel: _var.asset_compute_cpu_model,
        description: _var.asset_compute_description,
        disks: [{
            bootOrder: _var.asset_compute_disks_boot_order,
            location: _var.asset_compute_disks_location,
            name: _var.asset_compute_disks_name,
            persistentMode: _var.asset_compute_disks_persistent_mode,
            sizeInMbs: _var.asset_compute_disks_size_in_mbs,
            uuid: _var.asset_compute_disks_uuid,
            uuidLun: _var.asset_compute_disks_uuid_lun,
        }],
        disksCount: _var.asset_compute_disks_count,
        dnsName: _var.asset_compute_dns_name,
        firmware: _var.asset_compute_firmware,
        gpuDevices: [{
            coresCount: _var.asset_compute_gpu_devices_cores_count,
            description: _var.asset_compute_gpu_devices_description,
            manufacturer: _var.asset_compute_gpu_devices_manufacturer,
            memoryInMbs: _var.asset_compute_gpu_devices_memory_in_mbs,
            name: _var.asset_compute_gpu_devices_name,
        }],
        gpuDevicesCount: _var.asset_compute_gpu_devices_count,
        guestState: _var.asset_compute_guest_state,
        hardwareVersion: _var.asset_compute_hardware_version,
        hostName: _var.asset_compute_host_name,
        isPmemEnabled: _var.asset_compute_is_pmem_enabled,
        isTpmEnabled: _var.asset_compute_is_tpm_enabled,
        latencySensitivity: _var.asset_compute_latency_sensitivity,
        memoryInMbs: _var.asset_compute_memory_in_mbs,
        nics: [{
            ipAddresses: _var.asset_compute_nics_ip_addresses,
            label: _var.asset_compute_nics_label,
            macAddress: _var.asset_compute_nics_mac_address,
            macAddressType: _var.asset_compute_nics_mac_address_type,
            networkName: _var.asset_compute_nics_network_name,
            switchName: _var.asset_compute_nics_switch_name,
        }],
        nicsCount: _var.asset_compute_nics_count,
        nvdimmController: {
            busNumber: _var.asset_compute_nvdimm_controller_bus_number,
            label: _var.asset_compute_nvdimm_controller_label,
        },
        nvdimms: [{
            controllerKey: _var.asset_compute_nvdimms_controller_key,
            label: _var.asset_compute_nvdimms_label,
            unitNumber: _var.asset_compute_nvdimms_unit_number,
        }],
        operatingSystem: _var.asset_compute_operating_system,
        operatingSystemVersion: _var.asset_compute_operating_system_version,
        pmemInMbs: _var.asset_compute_pmem_in_mbs,
        powerState: _var.asset_compute_power_state,
        primaryIp: _var.asset_compute_primary_ip,
        scsiController: {
            label: _var.asset_compute_scsi_controller_label,
            sharedBus: _var.asset_compute_scsi_controller_shared_bus,
            unitNumber: _var.asset_compute_scsi_controller_unit_number,
        },
        storageProvisionedInMbs: _var.asset_compute_storage_provisioned_in_mbs,
        threadsPerCoreCount: _var.asset_compute_threads_per_core_count,
    },
    definedTags: {
        "Operations.CostCenter": "42",
    },
    displayName: _var.asset_display_name,
    freeformTags: {
        Department: "Finance",
    },
    vm: {
        hypervisorHost: _var.asset_vm_hypervisor_host,
        hypervisorVendor: _var.asset_vm_hypervisor_vendor,
        hypervisorVersion: _var.asset_vm_hypervisor_version,
    },
    vmwareVcenter: {
        dataCenter: _var.asset_vmware_vcenter_data_center,
        vcenterKey: _var.asset_vmware_vcenter_vcenter_key,
        vcenterVersion: _var.asset_vmware_vcenter_vcenter_version,
    },
    vmwareVm: {
        cluster: _var.asset_vmware_vm_cluster,
        customerFields: _var.asset_vmware_vm_customer_fields,
        customerTags: [{
            description: _var.asset_vmware_vm_customer_tags_description,
            name: _var.asset_vmware_vm_customer_tags_name,
        }],
        faultToleranceBandwidth: _var.asset_vmware_vm_fault_tolerance_bandwidth,
        faultToleranceSecondaryLatency: _var.asset_vmware_vm_fault_tolerance_secondary_latency,
        faultToleranceState: _var.asset_vmware_vm_fault_tolerance_state,
        instanceUuid: _var.asset_vmware_vm_instance_uuid,
        isDisksCbtEnabled: _var.asset_vmware_vm_is_disks_cbt_enabled,
        isDisksUuidEnabled: _var.asset_vmware_vm_is_disks_uuid_enabled,
        path: _var.asset_vmware_vm_path,
        vmwareToolsStatus: _var.asset_vmware_vm_vmware_tools_status,
    },
});
resources:
  testAsset:
    type: oci:CloudBridge:Asset
    properties:
      #Required
      assetType: ${var.asset_asset_type}
      compartmentId: ${var.compartment_id}
      externalAssetKey: ${var.asset_external_asset_key}
      inventoryId: ${oci_cloud_bridge_inventory.test_inventory.id}
      sourceKey: ${var.asset_source_key}
      #Optional
      assetSourceIds: ${var.asset_asset_source_ids}
      compute:
        connectedNetworks: ${var.asset_compute_connected_networks}
        coresCount: ${var.asset_compute_cores_count}
        cpuModel: ${var.asset_compute_cpu_model}
        description: ${var.asset_compute_description}
        disks:
          - bootOrder: ${var.asset_compute_disks_boot_order}
            location: ${var.asset_compute_disks_location}
            name: ${var.asset_compute_disks_name}
            persistentMode: ${var.asset_compute_disks_persistent_mode}
            sizeInMbs: ${var.asset_compute_disks_size_in_mbs}
            uuid: ${var.asset_compute_disks_uuid}
            uuidLun: ${var.asset_compute_disks_uuid_lun}
        disksCount: ${var.asset_compute_disks_count}
        dnsName: ${var.asset_compute_dns_name}
        firmware: ${var.asset_compute_firmware}
        gpuDevices:
          - coresCount: ${var.asset_compute_gpu_devices_cores_count}
            description: ${var.asset_compute_gpu_devices_description}
            manufacturer: ${var.asset_compute_gpu_devices_manufacturer}
            memoryInMbs: ${var.asset_compute_gpu_devices_memory_in_mbs}
            name: ${var.asset_compute_gpu_devices_name}
        gpuDevicesCount: ${var.asset_compute_gpu_devices_count}
        guestState: ${var.asset_compute_guest_state}
        hardwareVersion: ${var.asset_compute_hardware_version}
        hostName: ${var.asset_compute_host_name}
        isPmemEnabled: ${var.asset_compute_is_pmem_enabled}
        isTpmEnabled: ${var.asset_compute_is_tpm_enabled}
        latencySensitivity: ${var.asset_compute_latency_sensitivity}
        memoryInMbs: ${var.asset_compute_memory_in_mbs}
        nics:
          - ipAddresses: ${var.asset_compute_nics_ip_addresses}
            label: ${var.asset_compute_nics_label}
            macAddress: ${var.asset_compute_nics_mac_address}
            macAddressType: ${var.asset_compute_nics_mac_address_type}
            networkName: ${var.asset_compute_nics_network_name}
            switchName: ${var.asset_compute_nics_switch_name}
        nicsCount: ${var.asset_compute_nics_count}
        nvdimmController:
          busNumber: ${var.asset_compute_nvdimm_controller_bus_number}
          label: ${var.asset_compute_nvdimm_controller_label}
        nvdimms:
          - controllerKey: ${var.asset_compute_nvdimms_controller_key}
            label: ${var.asset_compute_nvdimms_label}
            unitNumber: ${var.asset_compute_nvdimms_unit_number}
        operatingSystem: ${var.asset_compute_operating_system}
        operatingSystemVersion: ${var.asset_compute_operating_system_version}
        pmemInMbs: ${var.asset_compute_pmem_in_mbs}
        powerState: ${var.asset_compute_power_state}
        primaryIp: ${var.asset_compute_primary_ip}
        scsiController:
          label: ${var.asset_compute_scsi_controller_label}
          sharedBus: ${var.asset_compute_scsi_controller_shared_bus}
          unitNumber: ${var.asset_compute_scsi_controller_unit_number}
        storageProvisionedInMbs: ${var.asset_compute_storage_provisioned_in_mbs}
        threadsPerCoreCount: ${var.asset_compute_threads_per_core_count}
      definedTags:
        Operations.CostCenter: '42'
      displayName: ${var.asset_display_name}
      freeformTags:
        Department: Finance
      vm:
        hypervisorHost: ${var.asset_vm_hypervisor_host}
        hypervisorVendor: ${var.asset_vm_hypervisor_vendor}
        hypervisorVersion: ${var.asset_vm_hypervisor_version}
      vmwareVcenter:
        dataCenter: ${var.asset_vmware_vcenter_data_center}
        vcenterKey: ${var.asset_vmware_vcenter_vcenter_key}
        vcenterVersion: ${var.asset_vmware_vcenter_vcenter_version}
      vmwareVm:
        cluster: ${var.asset_vmware_vm_cluster}
        customerFields: ${var.asset_vmware_vm_customer_fields}
        customerTags:
          - description: ${var.asset_vmware_vm_customer_tags_description}
            name: ${var.asset_vmware_vm_customer_tags_name}
        faultToleranceBandwidth: ${var.asset_vmware_vm_fault_tolerance_bandwidth}
        faultToleranceSecondaryLatency: ${var.asset_vmware_vm_fault_tolerance_secondary_latency}
        faultToleranceState: ${var.asset_vmware_vm_fault_tolerance_state}
        instanceUuid: ${var.asset_vmware_vm_instance_uuid}
        isDisksCbtEnabled: ${var.asset_vmware_vm_is_disks_cbt_enabled}
        isDisksUuidEnabled: ${var.asset_vmware_vm_is_disks_uuid_enabled}
        path: ${var.asset_vmware_vm_path}
        vmwareToolsStatus: ${var.asset_vmware_vm_vmware_tools_status}

Create Asset Resource

new Asset(name: string, args: AssetArgs, opts?: CustomResourceOptions);
@overload
def Asset(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          asset_source_ids: Optional[Sequence[str]] = None,
          asset_type: Optional[str] = None,
          compartment_id: Optional[str] = None,
          compute: Optional[_cloudbridge.AssetComputeArgs] = None,
          defined_tags: Optional[Mapping[str, Any]] = None,
          display_name: Optional[str] = None,
          external_asset_key: Optional[str] = None,
          freeform_tags: Optional[Mapping[str, Any]] = None,
          inventory_id: Optional[str] = None,
          source_key: Optional[str] = None,
          vm: Optional[_cloudbridge.AssetVmArgs] = None,
          vmware_vcenter: Optional[_cloudbridge.AssetVmwareVcenterArgs] = None,
          vmware_vm: Optional[_cloudbridge.AssetVmwareVmArgs] = None)
@overload
def Asset(resource_name: str,
          args: AssetArgs,
          opts: Optional[ResourceOptions] = None)
func NewAsset(ctx *Context, name string, args AssetArgs, opts ...ResourceOption) (*Asset, error)
public Asset(string name, AssetArgs args, CustomResourceOptions? opts = null)
public Asset(String name, AssetArgs args)
public Asset(String name, AssetArgs args, CustomResourceOptions options)
type: oci:CloudBridge:Asset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AssetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AssetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AssetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AssetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AssetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Asset Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Asset resource accepts the following input properties:

AssetType string

(Updatable) The type of asset.

CompartmentId string

(Updatable) The OCID of the compartment that the asset belongs to.

ExternalAssetKey string

The key of the asset from the external environment.

InventoryId string

Inventory ID to which an asset belongs.

SourceKey string

The source key to which the asset belongs.

AssetSourceIds List<string>

(Updatable) List of asset source OCID.

Compute AssetComputeArgs

(Updatable) Compute related properties.

DefinedTags Dictionary<string, object>

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

(Updatable) Asset display name.

FreeformTags Dictionary<string, object>

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

Vm AssetVmArgs

(Updatable) Virtual machine related properties.

VmwareVcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

VmwareVm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

AssetType string

(Updatable) The type of asset.

CompartmentId string

(Updatable) The OCID of the compartment that the asset belongs to.

ExternalAssetKey string

The key of the asset from the external environment.

InventoryId string

Inventory ID to which an asset belongs.

SourceKey string

The source key to which the asset belongs.

AssetSourceIds []string

(Updatable) List of asset source OCID.

Compute AssetComputeArgs

(Updatable) Compute related properties.

DefinedTags map[string]interface{}

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

(Updatable) Asset display name.

FreeformTags map[string]interface{}

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

Vm AssetVmArgs

(Updatable) Virtual machine related properties.

VmwareVcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

VmwareVm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

assetType String

(Updatable) The type of asset.

compartmentId String

(Updatable) The OCID of the compartment that the asset belongs to.

externalAssetKey String

The key of the asset from the external environment.

inventoryId String

Inventory ID to which an asset belongs.

sourceKey String

The source key to which the asset belongs.

assetSourceIds List<String>

(Updatable) List of asset source OCID.

compute AssetComputeArgs

(Updatable) Compute related properties.

definedTags Map<String,Object>

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

(Updatable) Asset display name.

freeformTags Map<String,Object>

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

vm AssetVmArgs

(Updatable) Virtual machine related properties.

vmwareVcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

vmwareVm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

assetType string

(Updatable) The type of asset.

compartmentId string

(Updatable) The OCID of the compartment that the asset belongs to.

externalAssetKey string

The key of the asset from the external environment.

inventoryId string

Inventory ID to which an asset belongs.

sourceKey string

The source key to which the asset belongs.

assetSourceIds string[]

(Updatable) List of asset source OCID.

compute AssetComputeArgs

(Updatable) Compute related properties.

definedTags {[key: string]: any}

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

(Updatable) Asset display name.

freeformTags {[key: string]: any}

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

vm AssetVmArgs

(Updatable) Virtual machine related properties.

vmwareVcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

vmwareVm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

asset_type str

(Updatable) The type of asset.

compartment_id str

(Updatable) The OCID of the compartment that the asset belongs to.

external_asset_key str

The key of the asset from the external environment.

inventory_id str

Inventory ID to which an asset belongs.

source_key str

The source key to which the asset belongs.

asset_source_ids Sequence[str]

(Updatable) List of asset source OCID.

compute AssetComputeArgs

(Updatable) Compute related properties.

defined_tags Mapping[str, Any]

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

(Updatable) Asset display name.

freeform_tags Mapping[str, Any]

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

vm AssetVmArgs

(Updatable) Virtual machine related properties.

vmware_vcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

vmware_vm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

assetType String

(Updatable) The type of asset.

compartmentId String

(Updatable) The OCID of the compartment that the asset belongs to.

externalAssetKey String

The key of the asset from the external environment.

inventoryId String

Inventory ID to which an asset belongs.

sourceKey String

The source key to which the asset belongs.

assetSourceIds List<String>

(Updatable) List of asset source OCID.

compute Property Map

(Updatable) Compute related properties.

definedTags Map<Any>

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

(Updatable) Asset display name.

freeformTags Map<Any>

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

vm Property Map

(Updatable) Virtual machine related properties.

vmwareVcenter Property Map

(Updatable) VMware vCenter related properties.

vmwareVm Property Map

(Updatable) VMware virtual machine related properties.

Outputs

All input properties are implicitly available as output properties. Additionally, the Asset resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

State string

The current state of the asset.

SystemTags Dictionary<string, object>

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

TimeCreated string

The time when the asset was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time when the asset was updated. An RFC3339 formatted datetime string.

Id string

The provider-assigned unique ID for this managed resource.

State string

The current state of the asset.

SystemTags map[string]interface{}

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

TimeCreated string

The time when the asset was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time when the asset was updated. An RFC3339 formatted datetime string.

id String

The provider-assigned unique ID for this managed resource.

state String

The current state of the asset.

systemTags Map<String,Object>

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated String

The time when the asset was created. An RFC3339 formatted datetime string.

timeUpdated String

The time when the asset was updated. An RFC3339 formatted datetime string.

id string

The provider-assigned unique ID for this managed resource.

state string

The current state of the asset.

systemTags {[key: string]: any}

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated string

The time when the asset was created. An RFC3339 formatted datetime string.

timeUpdated string

The time when the asset was updated. An RFC3339 formatted datetime string.

id str

The provider-assigned unique ID for this managed resource.

state str

The current state of the asset.

system_tags Mapping[str, Any]

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

time_created str

The time when the asset was created. An RFC3339 formatted datetime string.

time_updated str

The time when the asset was updated. An RFC3339 formatted datetime string.

id String

The provider-assigned unique ID for this managed resource.

state String

The current state of the asset.

systemTags Map<Any>

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated String

The time when the asset was created. An RFC3339 formatted datetime string.

timeUpdated String

The time when the asset was updated. An RFC3339 formatted datetime string.

Look up Existing Asset Resource

Get an existing Asset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AssetState, opts?: CustomResourceOptions): Asset
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        asset_source_ids: Optional[Sequence[str]] = None,
        asset_type: Optional[str] = None,
        compartment_id: Optional[str] = None,
        compute: Optional[_cloudbridge.AssetComputeArgs] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        display_name: Optional[str] = None,
        external_asset_key: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        inventory_id: Optional[str] = None,
        source_key: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        vm: Optional[_cloudbridge.AssetVmArgs] = None,
        vmware_vcenter: Optional[_cloudbridge.AssetVmwareVcenterArgs] = None,
        vmware_vm: Optional[_cloudbridge.AssetVmwareVmArgs] = None) -> Asset
func GetAsset(ctx *Context, name string, id IDInput, state *AssetState, opts ...ResourceOption) (*Asset, error)
public static Asset Get(string name, Input<string> id, AssetState? state, CustomResourceOptions? opts = null)
public static Asset get(String name, Output<String> id, AssetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AssetSourceIds List<string>

(Updatable) List of asset source OCID.

AssetType string

(Updatable) The type of asset.

CompartmentId string

(Updatable) The OCID of the compartment that the asset belongs to.

Compute AssetComputeArgs

(Updatable) Compute related properties.

DefinedTags Dictionary<string, object>

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

(Updatable) Asset display name.

ExternalAssetKey string

The key of the asset from the external environment.

FreeformTags Dictionary<string, object>

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

InventoryId string

Inventory ID to which an asset belongs.

SourceKey string

The source key to which the asset belongs.

State string

The current state of the asset.

SystemTags Dictionary<string, object>

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

TimeCreated string

The time when the asset was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time when the asset was updated. An RFC3339 formatted datetime string.

Vm AssetVmArgs

(Updatable) Virtual machine related properties.

VmwareVcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

VmwareVm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

AssetSourceIds []string

(Updatable) List of asset source OCID.

AssetType string

(Updatable) The type of asset.

CompartmentId string

(Updatable) The OCID of the compartment that the asset belongs to.

Compute AssetComputeArgs

(Updatable) Compute related properties.

DefinedTags map[string]interface{}

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

(Updatable) Asset display name.

ExternalAssetKey string

The key of the asset from the external environment.

FreeformTags map[string]interface{}

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

InventoryId string

Inventory ID to which an asset belongs.

SourceKey string

The source key to which the asset belongs.

State string

The current state of the asset.

SystemTags map[string]interface{}

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

TimeCreated string

The time when the asset was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time when the asset was updated. An RFC3339 formatted datetime string.

Vm AssetVmArgs

(Updatable) Virtual machine related properties.

VmwareVcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

VmwareVm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

assetSourceIds List<String>

(Updatable) List of asset source OCID.

assetType String

(Updatable) The type of asset.

compartmentId String

(Updatable) The OCID of the compartment that the asset belongs to.

compute AssetComputeArgs

(Updatable) Compute related properties.

definedTags Map<String,Object>

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

(Updatable) Asset display name.

externalAssetKey String

The key of the asset from the external environment.

freeformTags Map<String,Object>

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

inventoryId String

Inventory ID to which an asset belongs.

sourceKey String

The source key to which the asset belongs.

state String

The current state of the asset.

systemTags Map<String,Object>

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated String

The time when the asset was created. An RFC3339 formatted datetime string.

timeUpdated String

The time when the asset was updated. An RFC3339 formatted datetime string.

vm AssetVmArgs

(Updatable) Virtual machine related properties.

vmwareVcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

vmwareVm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

assetSourceIds string[]

(Updatable) List of asset source OCID.

assetType string

(Updatable) The type of asset.

compartmentId string

(Updatable) The OCID of the compartment that the asset belongs to.

compute AssetComputeArgs

(Updatable) Compute related properties.

definedTags {[key: string]: any}

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

(Updatable) Asset display name.

externalAssetKey string

The key of the asset from the external environment.

freeformTags {[key: string]: any}

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

inventoryId string

Inventory ID to which an asset belongs.

sourceKey string

The source key to which the asset belongs.

state string

The current state of the asset.

systemTags {[key: string]: any}

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated string

The time when the asset was created. An RFC3339 formatted datetime string.

timeUpdated string

The time when the asset was updated. An RFC3339 formatted datetime string.

vm AssetVmArgs

(Updatable) Virtual machine related properties.

vmwareVcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

vmwareVm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

asset_source_ids Sequence[str]

(Updatable) List of asset source OCID.

asset_type str

(Updatable) The type of asset.

compartment_id str

(Updatable) The OCID of the compartment that the asset belongs to.

compute AssetComputeArgs

(Updatable) Compute related properties.

defined_tags Mapping[str, Any]

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

(Updatable) Asset display name.

external_asset_key str

The key of the asset from the external environment.

freeform_tags Mapping[str, Any]

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

inventory_id str

Inventory ID to which an asset belongs.

source_key str

The source key to which the asset belongs.

state str

The current state of the asset.

system_tags Mapping[str, Any]

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

time_created str

The time when the asset was created. An RFC3339 formatted datetime string.

time_updated str

The time when the asset was updated. An RFC3339 formatted datetime string.

vm AssetVmArgs

(Updatable) Virtual machine related properties.

vmware_vcenter AssetVmwareVcenterArgs

(Updatable) VMware vCenter related properties.

vmware_vm AssetVmwareVmArgs

(Updatable) VMware virtual machine related properties.

assetSourceIds List<String>

(Updatable) List of asset source OCID.

assetType String

(Updatable) The type of asset.

compartmentId String

(Updatable) The OCID of the compartment that the asset belongs to.

compute Property Map

(Updatable) Compute related properties.

definedTags Map<Any>

(Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

(Updatable) Asset display name.

externalAssetKey String

The key of the asset from the external environment.

freeformTags Map<Any>

(Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

inventoryId String

Inventory ID to which an asset belongs.

sourceKey String

The source key to which the asset belongs.

state String

The current state of the asset.

systemTags Map<Any>

The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated String

The time when the asset was created. An RFC3339 formatted datetime string.

timeUpdated String

The time when the asset was updated. An RFC3339 formatted datetime string.

vm Property Map

(Updatable) Virtual machine related properties.

vmwareVcenter Property Map

(Updatable) VMware vCenter related properties.

vmwareVm Property Map

(Updatable) VMware virtual machine related properties.

Supporting Types

AssetCompute

ConnectedNetworks int

(Updatable) Number of connected networks.

CoresCount int

(Updatable) Number of GPU cores.

CpuModel string

(Updatable) CPU model name.

Description string

(Updatable) The tag description.

Disks List<AssetComputeDisk>

(Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.

DisksCount int

(Updatable) Number of disks.

DnsName string

(Updatable) Fully Qualified DNS Name.

Firmware string

(Updatable) Information about firmware type for this virtual machine.

GpuDevices List<AssetComputeGpuDevice>

(Updatable) List of GPU devices attached to a virtual machine.

GpuDevicesCount int

(Updatable) Number of GPU devices.

GuestState string

(Updatable) Guest state.

HardwareVersion string

(Updatable) Hardware version.

HostName string

(Updatable) Host name of the VM.

IsPmemEnabled bool

(Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.

IsTpmEnabled bool

(Updatable) Whether Trusted Platform Module (TPM) is enabled.

LatencySensitivity string

(Updatable) Latency sensitivity.

MemoryInMbs string

(Updatable) Memory size in MBs.

Nics List<AssetComputeNic>

(Updatable) List of network ethernet cards attached to a virtual machine.

NicsCount int

(Updatable) Number of network ethernet cards.

NvdimmController AssetComputeNvdimmController

(Updatable) The asset's NVDIMM configuration.

Nvdimms List<AssetComputeNvdimm>

(Updatable) The properties of the NVDIMMs attached to a virtual machine.

OperatingSystem string

(Updatable) Operating system.

OperatingSystemVersion string

(Updatable) Operating system version.

PmemInMbs string

(Updatable) Pmem size in MBs.

PowerState string

(Updatable) The current power state of the virtual machine.

PrimaryIp string

(Updatable) Primary IP address of the compute instance.

ScsiController AssetComputeScsiController

(Updatable) The assets SCSI controller.

StorageProvisionedInMbs string

(Updatable) Provision storage size in MBs.

ThreadsPerCoreCount int

(Updatable) Number of threads per core.

ConnectedNetworks int

(Updatable) Number of connected networks.

CoresCount int

(Updatable) Number of GPU cores.

CpuModel string

(Updatable) CPU model name.

Description string

(Updatable) The tag description.

Disks []AssetComputeDisk

(Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.

DisksCount int

(Updatable) Number of disks.

DnsName string

(Updatable) Fully Qualified DNS Name.

Firmware string

(Updatable) Information about firmware type for this virtual machine.

GpuDevices []AssetComputeGpuDevice

(Updatable) List of GPU devices attached to a virtual machine.

GpuDevicesCount int

(Updatable) Number of GPU devices.

GuestState string

(Updatable) Guest state.

HardwareVersion string

(Updatable) Hardware version.

HostName string

(Updatable) Host name of the VM.

IsPmemEnabled bool

(Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.

IsTpmEnabled bool

(Updatable) Whether Trusted Platform Module (TPM) is enabled.

LatencySensitivity string

(Updatable) Latency sensitivity.

MemoryInMbs string

(Updatable) Memory size in MBs.

Nics []AssetComputeNic

(Updatable) List of network ethernet cards attached to a virtual machine.

NicsCount int

(Updatable) Number of network ethernet cards.

NvdimmController AssetComputeNvdimmController

(Updatable) The asset's NVDIMM configuration.

Nvdimms []AssetComputeNvdimm

(Updatable) The properties of the NVDIMMs attached to a virtual machine.

OperatingSystem string

(Updatable) Operating system.

OperatingSystemVersion string

(Updatable) Operating system version.

PmemInMbs string

(Updatable) Pmem size in MBs.

PowerState string

(Updatable) The current power state of the virtual machine.

PrimaryIp string

(Updatable) Primary IP address of the compute instance.

ScsiController AssetComputeScsiController

(Updatable) The assets SCSI controller.

StorageProvisionedInMbs string

(Updatable) Provision storage size in MBs.

ThreadsPerCoreCount int

(Updatable) Number of threads per core.

connectedNetworks Integer

(Updatable) Number of connected networks.

coresCount Integer

(Updatable) Number of GPU cores.

cpuModel String

(Updatable) CPU model name.

description String

(Updatable) The tag description.

disks List<AssetComputeDisk>

(Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.

disksCount Integer

(Updatable) Number of disks.

dnsName String

(Updatable) Fully Qualified DNS Name.

firmware String

(Updatable) Information about firmware type for this virtual machine.

gpuDevices List<AssetComputeGpuDevice>

(Updatable) List of GPU devices attached to a virtual machine.

gpuDevicesCount Integer

(Updatable) Number of GPU devices.

guestState String

(Updatable) Guest state.

hardwareVersion String

(Updatable) Hardware version.

hostName String

(Updatable) Host name of the VM.

isPmemEnabled Boolean

(Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.

isTpmEnabled Boolean

(Updatable) Whether Trusted Platform Module (TPM) is enabled.

latencySensitivity String

(Updatable) Latency sensitivity.

memoryInMbs String

(Updatable) Memory size in MBs.

nics List<AssetComputeNic>

(Updatable) List of network ethernet cards attached to a virtual machine.

nicsCount Integer

(Updatable) Number of network ethernet cards.

nvdimmController AssetComputeNvdimmController

(Updatable) The asset's NVDIMM configuration.

nvdimms List<AssetComputeNvdimm>

(Updatable) The properties of the NVDIMMs attached to a virtual machine.

operatingSystem String

(Updatable) Operating system.

operatingSystemVersion String

(Updatable) Operating system version.

pmemInMbs String

(Updatable) Pmem size in MBs.

powerState String

(Updatable) The current power state of the virtual machine.

primaryIp String

(Updatable) Primary IP address of the compute instance.

scsiController AssetComputeScsiController

(Updatable) The assets SCSI controller.

storageProvisionedInMbs String

(Updatable) Provision storage size in MBs.

threadsPerCoreCount Integer

(Updatable) Number of threads per core.

connectedNetworks number

(Updatable) Number of connected networks.

coresCount number

(Updatable) Number of GPU cores.

cpuModel string

(Updatable) CPU model name.

description string

(Updatable) The tag description.

disks AssetComputeDisk[]

(Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.

disksCount number

(Updatable) Number of disks.

dnsName string

(Updatable) Fully Qualified DNS Name.

firmware string

(Updatable) Information about firmware type for this virtual machine.

gpuDevices AssetComputeGpuDevice[]

(Updatable) List of GPU devices attached to a virtual machine.

gpuDevicesCount number

(Updatable) Number of GPU devices.

guestState string

(Updatable) Guest state.

hardwareVersion string

(Updatable) Hardware version.

hostName string

(Updatable) Host name of the VM.

isPmemEnabled boolean

(Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.

isTpmEnabled boolean

(Updatable) Whether Trusted Platform Module (TPM) is enabled.

latencySensitivity string

(Updatable) Latency sensitivity.

memoryInMbs string

(Updatable) Memory size in MBs.

nics AssetComputeNic[]

(Updatable) List of network ethernet cards attached to a virtual machine.

nicsCount number

(Updatable) Number of network ethernet cards.

nvdimmController AssetComputeNvdimmController

(Updatable) The asset's NVDIMM configuration.

nvdimms AssetComputeNvdimm[]

(Updatable) The properties of the NVDIMMs attached to a virtual machine.

operatingSystem string

(Updatable) Operating system.

operatingSystemVersion string

(Updatable) Operating system version.

pmemInMbs string

(Updatable) Pmem size in MBs.

powerState string

(Updatable) The current power state of the virtual machine.

primaryIp string

(Updatable) Primary IP address of the compute instance.

scsiController AssetComputeScsiController

(Updatable) The assets SCSI controller.

storageProvisionedInMbs string

(Updatable) Provision storage size in MBs.

threadsPerCoreCount number

(Updatable) Number of threads per core.

connected_networks int

(Updatable) Number of connected networks.

cores_count int

(Updatable) Number of GPU cores.

cpu_model str

(Updatable) CPU model name.

description str

(Updatable) The tag description.

disks AssetComputeDisk]

(Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.

disks_count int

(Updatable) Number of disks.

dns_name str

(Updatable) Fully Qualified DNS Name.

firmware str

(Updatable) Information about firmware type for this virtual machine.

gpu_devices AssetComputeGpuDevice]

(Updatable) List of GPU devices attached to a virtual machine.

gpu_devices_count int

(Updatable) Number of GPU devices.

guest_state str

(Updatable) Guest state.

hardware_version str

(Updatable) Hardware version.

host_name str

(Updatable) Host name of the VM.

is_pmem_enabled bool

(Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.

is_tpm_enabled bool

(Updatable) Whether Trusted Platform Module (TPM) is enabled.

latency_sensitivity str

(Updatable) Latency sensitivity.

memory_in_mbs str

(Updatable) Memory size in MBs.

nics AssetComputeNic]

(Updatable) List of network ethernet cards attached to a virtual machine.

nics_count int

(Updatable) Number of network ethernet cards.

nvdimm_controller AssetComputeNvdimmController

(Updatable) The asset's NVDIMM configuration.

nvdimms AssetComputeNvdimm]

(Updatable) The properties of the NVDIMMs attached to a virtual machine.

operating_system str

(Updatable) Operating system.

operating_system_version str

(Updatable) Operating system version.

pmem_in_mbs str

(Updatable) Pmem size in MBs.

power_state str

(Updatable) The current power state of the virtual machine.

primary_ip str

(Updatable) Primary IP address of the compute instance.

scsi_controller AssetComputeScsiController

(Updatable) The assets SCSI controller.

storage_provisioned_in_mbs str

(Updatable) Provision storage size in MBs.

threads_per_core_count int

(Updatable) Number of threads per core.

connectedNetworks Number

(Updatable) Number of connected networks.

coresCount Number

(Updatable) Number of GPU cores.

cpuModel String

(Updatable) CPU model name.

description String

(Updatable) The tag description.

disks List<Property Map>

(Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.

disksCount Number

(Updatable) Number of disks.

dnsName String

(Updatable) Fully Qualified DNS Name.

firmware String

(Updatable) Information about firmware type for this virtual machine.

gpuDevices List<Property Map>

(Updatable) List of GPU devices attached to a virtual machine.

gpuDevicesCount Number

(Updatable) Number of GPU devices.

guestState String

(Updatable) Guest state.

hardwareVersion String

(Updatable) Hardware version.

hostName String

(Updatable) Host name of the VM.

isPmemEnabled Boolean

(Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.

isTpmEnabled Boolean

(Updatable) Whether Trusted Platform Module (TPM) is enabled.

latencySensitivity String

(Updatable) Latency sensitivity.

memoryInMbs String

(Updatable) Memory size in MBs.

nics List<Property Map>

(Updatable) List of network ethernet cards attached to a virtual machine.

nicsCount Number

(Updatable) Number of network ethernet cards.

nvdimmController Property Map

(Updatable) The asset's NVDIMM configuration.

nvdimms List<Property Map>

(Updatable) The properties of the NVDIMMs attached to a virtual machine.

operatingSystem String

(Updatable) Operating system.

operatingSystemVersion String

(Updatable) Operating system version.

pmemInMbs String

(Updatable) Pmem size in MBs.

powerState String

(Updatable) The current power state of the virtual machine.

primaryIp String

(Updatable) Primary IP address of the compute instance.

scsiController Property Map

(Updatable) The assets SCSI controller.

storageProvisionedInMbs String

(Updatable) Provision storage size in MBs.

threadsPerCoreCount Number

(Updatable) Number of threads per core.

AssetComputeDisk

BootOrder int

(Updatable) Order of boot volumes.

Location string

(Updatable) Location of the boot/data volume.

Name string

(Updatable) The tag name.

PersistentMode string

(Updatable) The disk persistent mode.

SizeInMbs string

(Updatable) The size of the volume in MBs.

Uuid string

(Updatable) Disk UUID for the virtual disk, if available.

UuidLun string

(Updatable) Disk UUID LUN for the virtual disk, if available.

BootOrder int

(Updatable) Order of boot volumes.

Location string

(Updatable) Location of the boot/data volume.

Name string

(Updatable) The tag name.

PersistentMode string

(Updatable) The disk persistent mode.

SizeInMbs string

(Updatable) The size of the volume in MBs.

Uuid string

(Updatable) Disk UUID for the virtual disk, if available.

UuidLun string

(Updatable) Disk UUID LUN for the virtual disk, if available.

bootOrder Integer

(Updatable) Order of boot volumes.

location String

(Updatable) Location of the boot/data volume.

name String

(Updatable) The tag name.

persistentMode String

(Updatable) The disk persistent mode.

sizeInMbs String

(Updatable) The size of the volume in MBs.

uuid String

(Updatable) Disk UUID for the virtual disk, if available.

uuidLun String

(Updatable) Disk UUID LUN for the virtual disk, if available.

bootOrder number

(Updatable) Order of boot volumes.

location string

(Updatable) Location of the boot/data volume.

name string

(Updatable) The tag name.

persistentMode string

(Updatable) The disk persistent mode.

sizeInMbs string

(Updatable) The size of the volume in MBs.

uuid string

(Updatable) Disk UUID for the virtual disk, if available.

uuidLun string

(Updatable) Disk UUID LUN for the virtual disk, if available.

boot_order int

(Updatable) Order of boot volumes.

location str

(Updatable) Location of the boot/data volume.

name str

(Updatable) The tag name.

persistent_mode str

(Updatable) The disk persistent mode.

size_in_mbs str

(Updatable) The size of the volume in MBs.

uuid str

(Updatable) Disk UUID for the virtual disk, if available.

uuid_lun str

(Updatable) Disk UUID LUN for the virtual disk, if available.

bootOrder Number

(Updatable) Order of boot volumes.

location String

(Updatable) Location of the boot/data volume.

name String

(Updatable) The tag name.

persistentMode String

(Updatable) The disk persistent mode.

sizeInMbs String

(Updatable) The size of the volume in MBs.

uuid String

(Updatable) Disk UUID for the virtual disk, if available.

uuidLun String

(Updatable) Disk UUID LUN for the virtual disk, if available.

AssetComputeGpuDevice

CoresCount int

(Updatable) Number of GPU cores.

Description string

(Updatable) The tag description.

Manufacturer string

(Updatable) The manufacturer of GPU.

MemoryInMbs string

(Updatable) Memory size in MBs.

Name string

(Updatable) The tag name.

CoresCount int

(Updatable) Number of GPU cores.

Description string

(Updatable) The tag description.

Manufacturer string

(Updatable) The manufacturer of GPU.

MemoryInMbs string

(Updatable) Memory size in MBs.

Name string

(Updatable) The tag name.

coresCount Integer

(Updatable) Number of GPU cores.

description String

(Updatable) The tag description.

manufacturer String

(Updatable) The manufacturer of GPU.

memoryInMbs String

(Updatable) Memory size in MBs.

name String

(Updatable) The tag name.

coresCount number

(Updatable) Number of GPU cores.

description string

(Updatable) The tag description.

manufacturer string

(Updatable) The manufacturer of GPU.

memoryInMbs string

(Updatable) Memory size in MBs.

name string

(Updatable) The tag name.

cores_count int

(Updatable) Number of GPU cores.

description str

(Updatable) The tag description.

manufacturer str

(Updatable) The manufacturer of GPU.

memory_in_mbs str

(Updatable) Memory size in MBs.

name str

(Updatable) The tag name.

coresCount Number

(Updatable) Number of GPU cores.

description String

(Updatable) The tag description.

manufacturer String

(Updatable) The manufacturer of GPU.

memoryInMbs String

(Updatable) Memory size in MBs.

name String

(Updatable) The tag name.

AssetComputeNic

IpAddresses List<string>

(Updatable) List of IP addresses.

Label string

(Updatable) Provides a label and summary information for the device.

MacAddress string

(Updatable) Mac address of the VM.

MacAddressType string

(Updatable) Mac address type.

NetworkName string

(Updatable) Network name.

SwitchName string

(Updatable) Switch name.

IpAddresses []string

(Updatable) List of IP addresses.

Label string

(Updatable) Provides a label and summary information for the device.

MacAddress string

(Updatable) Mac address of the VM.

MacAddressType string

(Updatable) Mac address type.

NetworkName string

(Updatable) Network name.

SwitchName string

(Updatable) Switch name.

ipAddresses List<String>

(Updatable) List of IP addresses.

label String

(Updatable) Provides a label and summary information for the device.

macAddress String

(Updatable) Mac address of the VM.

macAddressType String

(Updatable) Mac address type.

networkName String

(Updatable) Network name.

switchName String

(Updatable) Switch name.

ipAddresses string[]

(Updatable) List of IP addresses.

label string

(Updatable) Provides a label and summary information for the device.

macAddress string

(Updatable) Mac address of the VM.

macAddressType string

(Updatable) Mac address type.

networkName string

(Updatable) Network name.

switchName string

(Updatable) Switch name.

ip_addresses Sequence[str]

(Updatable) List of IP addresses.

label str

(Updatable) Provides a label and summary information for the device.

mac_address str

(Updatable) Mac address of the VM.

mac_address_type str

(Updatable) Mac address type.

network_name str

(Updatable) Network name.

switch_name str

(Updatable) Switch name.

ipAddresses List<String>

(Updatable) List of IP addresses.

label String

(Updatable) Provides a label and summary information for the device.

macAddress String

(Updatable) Mac address of the VM.

macAddressType String

(Updatable) Mac address type.

networkName String

(Updatable) Network name.

switchName String

(Updatable) Switch name.

AssetComputeNvdimm

ControllerKey int

(Updatable) Controller key.

Label string

(Updatable) Provides a label and summary information for the device.

UnitNumber int

(Updatable) The unit number of the SCSI controller.

ControllerKey int

(Updatable) Controller key.

Label string

(Updatable) Provides a label and summary information for the device.

UnitNumber int

(Updatable) The unit number of the SCSI controller.

controllerKey Integer

(Updatable) Controller key.

label String

(Updatable) Provides a label and summary information for the device.

unitNumber Integer

(Updatable) The unit number of the SCSI controller.

controllerKey number

(Updatable) Controller key.

label string

(Updatable) Provides a label and summary information for the device.

unitNumber number

(Updatable) The unit number of the SCSI controller.

controller_key int

(Updatable) Controller key.

label str

(Updatable) Provides a label and summary information for the device.

unit_number int

(Updatable) The unit number of the SCSI controller.

controllerKey Number

(Updatable) Controller key.

label String

(Updatable) Provides a label and summary information for the device.

unitNumber Number

(Updatable) The unit number of the SCSI controller.

AssetComputeNvdimmController

BusNumber int

(Updatable) Bus number.

Label string

(Updatable) Provides a label and summary information for the device.

BusNumber int

(Updatable) Bus number.

Label string

(Updatable) Provides a label and summary information for the device.

busNumber Integer

(Updatable) Bus number.

label String

(Updatable) Provides a label and summary information for the device.

busNumber number

(Updatable) Bus number.

label string

(Updatable) Provides a label and summary information for the device.

bus_number int

(Updatable) Bus number.

label str

(Updatable) Provides a label and summary information for the device.

busNumber Number

(Updatable) Bus number.

label String

(Updatable) Provides a label and summary information for the device.

AssetComputeScsiController

Label string

(Updatable) Provides a label and summary information for the device.

SharedBus string

(Updatable) Shared bus.

UnitNumber int

(Updatable) The unit number of the SCSI controller.

Label string

(Updatable) Provides a label and summary information for the device.

SharedBus string

(Updatable) Shared bus.

UnitNumber int

(Updatable) The unit number of the SCSI controller.

label String

(Updatable) Provides a label and summary information for the device.

sharedBus String

(Updatable) Shared bus.

unitNumber Integer

(Updatable) The unit number of the SCSI controller.

label string

(Updatable) Provides a label and summary information for the device.

sharedBus string

(Updatable) Shared bus.

unitNumber number

(Updatable) The unit number of the SCSI controller.

label str

(Updatable) Provides a label and summary information for the device.

shared_bus str

(Updatable) Shared bus.

unit_number int

(Updatable) The unit number of the SCSI controller.

label String

(Updatable) Provides a label and summary information for the device.

sharedBus String

(Updatable) Shared bus.

unitNumber Number

(Updatable) The unit number of the SCSI controller.

AssetVm

HypervisorHost string

(Updatable) Host name/IP address of VM on which the host is running.

HypervisorVendor string

(Updatable) Hypervisor vendor.

HypervisorVersion string

(Updatable) Hypervisor version.

HypervisorHost string

(Updatable) Host name/IP address of VM on which the host is running.

HypervisorVendor string

(Updatable) Hypervisor vendor.

HypervisorVersion string

(Updatable) Hypervisor version.

hypervisorHost String

(Updatable) Host name/IP address of VM on which the host is running.

hypervisorVendor String

(Updatable) Hypervisor vendor.

hypervisorVersion String

(Updatable) Hypervisor version.

hypervisorHost string

(Updatable) Host name/IP address of VM on which the host is running.

hypervisorVendor string

(Updatable) Hypervisor vendor.

hypervisorVersion string

(Updatable) Hypervisor version.

hypervisor_host str

(Updatable) Host name/IP address of VM on which the host is running.

hypervisor_vendor str

(Updatable) Hypervisor vendor.

hypervisor_version str

(Updatable) Hypervisor version.

hypervisorHost String

(Updatable) Host name/IP address of VM on which the host is running.

hypervisorVendor String

(Updatable) Hypervisor vendor.

hypervisorVersion String

(Updatable) Hypervisor version.

AssetVmwareVcenter

DataCenter string

(Updatable) Data center name.

VcenterKey string

(Updatable) vCenter unique key.

VcenterVersion string

(Updatable) Dot-separated version string.

DataCenter string

(Updatable) Data center name.

VcenterKey string

(Updatable) vCenter unique key.

VcenterVersion string

(Updatable) Dot-separated version string.

dataCenter String

(Updatable) Data center name.

vcenterKey String

(Updatable) vCenter unique key.

vcenterVersion String

(Updatable) Dot-separated version string.

dataCenter string

(Updatable) Data center name.

vcenterKey string

(Updatable) vCenter unique key.

vcenterVersion string

(Updatable) Dot-separated version string.

data_center str

(Updatable) Data center name.

vcenter_key str

(Updatable) vCenter unique key.

vcenter_version str

(Updatable) Dot-separated version string.

dataCenter String

(Updatable) Data center name.

vcenterKey String

(Updatable) vCenter unique key.

vcenterVersion String

(Updatable) Dot-separated version string.

AssetVmwareVm

Cluster string

(Updatable) Cluster name.

CustomerFields List<string>

(Updatable) Customer fields.

CustomerTags List<AssetVmwareVmCustomerTag>

(Updatable) Customer defined tags.

FaultToleranceBandwidth int

(Updatable) Fault tolerance bandwidth.

FaultToleranceSecondaryLatency int

(Updatable) Fault tolerance to secondary latency.

FaultToleranceState string

(Updatable) Fault tolerance state.

InstanceUuid string

(Updatable) vCenter-specific identifier of the virtual machine.

IsDisksCbtEnabled bool

(Updatable) Indicates that change tracking is supported for virtual disks of this virtual machine. However, even if change tracking is supported, it might not be available for all disks of the virtual machine.

IsDisksUuidEnabled bool

(Updatable) Whether changed block tracking for this VM's disk is active.

Path string

(Updatable) Path directory of the asset.

VmwareToolsStatus string

(Updatable) VMware tools status.

Cluster string

(Updatable) Cluster name.

CustomerFields []string

(Updatable) Customer fields.

CustomerTags []AssetVmwareVmCustomerTag

(Updatable) Customer defined tags.

FaultToleranceBandwidth int

(Updatable) Fault tolerance bandwidth.

FaultToleranceSecondaryLatency int

(Updatable) Fault tolerance to secondary latency.

FaultToleranceState string

(Updatable) Fault tolerance state.

InstanceUuid string

(Updatable) vCenter-specific identifier of the virtual machine.

IsDisksCbtEnabled bool

(Updatable) Indicates that change tracking is supported for virtual disks of this virtual machine. However, even if change tracking is supported, it might not be available for all disks of the virtual machine.

IsDisksUuidEnabled bool

(Updatable) Whether changed block tracking for this VM's disk is active.

Path string

(Updatable) Path directory of the asset.

VmwareToolsStatus string

(Updatable) VMware tools status.

cluster String

(Updatable) Cluster name.

customerFields List<String>

(Updatable) Customer fields.

customerTags List<AssetVmwareVmCustomerTag>

(Updatable) Customer defined tags.

faultToleranceBandwidth Integer

(Updatable) Fault tolerance bandwidth.

faultToleranceSecondaryLatency Integer

(Updatable) Fault tolerance to secondary latency.

faultToleranceState String

(Updatable) Fault tolerance state.

instanceUuid String

(Updatable) vCenter-specific identifier of the virtual machine.

isDisksCbtEnabled Boolean

(Updatable) Indicates that change tracking is supported for virtual disks of this virtual machine. However, even if change tracking is supported, it might not be available for all disks of the virtual machine.

isDisksUuidEnabled Boolean

(Updatable) Whether changed block tracking for this VM's disk is active.

path String

(Updatable) Path directory of the asset.

vmwareToolsStatus String

(Updatable) VMware tools status.

cluster string

(Updatable) Cluster name.

customerFields string[]

(Updatable) Customer fields.

customerTags AssetVmwareVmCustomerTag[]

(Updatable) Customer defined tags.

faultToleranceBandwidth number

(Updatable) Fault tolerance bandwidth.

faultToleranceSecondaryLatency number

(Updatable) Fault tolerance to secondary latency.

faultToleranceState string

(Updatable) Fault tolerance state.

instanceUuid string

(Updatable) vCenter-specific identifier of the virtual machine.

isDisksCbtEnabled boolean

(Updatable) Indicates that change tracking is supported for virtual disks of this virtual machine. However, even if change tracking is supported, it might not be available for all disks of the virtual machine.

isDisksUuidEnabled boolean

(Updatable) Whether changed block tracking for this VM's disk is active.

path string

(Updatable) Path directory of the asset.

vmwareToolsStatus string

(Updatable) VMware tools status.

cluster str

(Updatable) Cluster name.

customer_fields Sequence[str]

(Updatable) Customer fields.

customer_tags AssetVmwareVmCustomerTag]

(Updatable) Customer defined tags.

fault_tolerance_bandwidth int

(Updatable) Fault tolerance bandwidth.

fault_tolerance_secondary_latency int

(Updatable) Fault tolerance to secondary latency.

fault_tolerance_state str

(Updatable) Fault tolerance state.

instance_uuid str

(Updatable) vCenter-specific identifier of the virtual machine.

is_disks_cbt_enabled bool

(Updatable) Indicates that change tracking is supported for virtual disks of this virtual machine. However, even if change tracking is supported, it might not be available for all disks of the virtual machine.

is_disks_uuid_enabled bool

(Updatable) Whether changed block tracking for this VM's disk is active.

path str

(Updatable) Path directory of the asset.

vmware_tools_status str

(Updatable) VMware tools status.

cluster String

(Updatable) Cluster name.

customerFields List<String>

(Updatable) Customer fields.

customerTags List<Property Map>

(Updatable) Customer defined tags.

faultToleranceBandwidth Number

(Updatable) Fault tolerance bandwidth.

faultToleranceSecondaryLatency Number

(Updatable) Fault tolerance to secondary latency.

faultToleranceState String

(Updatable) Fault tolerance state.

instanceUuid String

(Updatable) vCenter-specific identifier of the virtual machine.

isDisksCbtEnabled Boolean

(Updatable) Indicates that change tracking is supported for virtual disks of this virtual machine. However, even if change tracking is supported, it might not be available for all disks of the virtual machine.

isDisksUuidEnabled Boolean

(Updatable) Whether changed block tracking for this VM's disk is active.

path String

(Updatable) Path directory of the asset.

vmwareToolsStatus String

(Updatable) VMware tools status.

AssetVmwareVmCustomerTag

Description string

(Updatable) The tag description.

Name string

(Updatable) The tag name.

Description string

(Updatable) The tag description.

Name string

(Updatable) The tag name.

description String

(Updatable) The tag description.

name String

(Updatable) The tag name.

description string

(Updatable) The tag description.

name string

(Updatable) The tag name.

description str

(Updatable) The tag description.

name str

(Updatable) The tag name.

description String

(Updatable) The tag description.

name String

(Updatable) The tag name.

Import

Assets can be imported using the id, e.g.

 $ pulumi import oci:CloudBridge/asset:Asset test_asset "id"

Package Details

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

This Pulumi package is based on the oci Terraform Provider.