oci.CloudBridge.Asset
Explore with Pulumi AI
This resource provides the Asset resource in Oracle Cloud Infrastructure Cloud Bridge service.
Creates an asset.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAsset = new oci.cloudbridge.Asset("test_asset", {
assetType: assetAssetType,
compartmentId: compartmentId,
externalAssetKey: assetExternalAssetKey,
inventoryId: testInventory.id,
sourceKey: assetSourceKey,
assetSourceIds: assetAssetSourceIds,
compute: {
connectedNetworks: assetComputeConnectedNetworks,
coresCount: assetComputeCoresCount,
cpuModel: assetComputeCpuModel,
description: assetComputeDescription,
disks: [{
bootOrder: assetComputeDisksBootOrder,
location: assetComputeDisksLocation,
name: assetComputeDisksName,
persistentMode: assetComputeDisksPersistentMode,
sizeInMbs: assetComputeDisksSizeInMbs,
uuid: assetComputeDisksUuid,
uuidLun: assetComputeDisksUuidLun,
}],
disksCount: assetComputeDisksCount,
dnsName: assetComputeDnsName,
firmware: assetComputeFirmware,
gpuDevices: [{
coresCount: assetComputeGpuDevicesCoresCount,
description: assetComputeGpuDevicesDescription,
manufacturer: assetComputeGpuDevicesManufacturer,
memoryInMbs: assetComputeGpuDevicesMemoryInMbs,
name: assetComputeGpuDevicesName,
}],
gpuDevicesCount: assetComputeGpuDevicesCount,
guestState: assetComputeGuestState,
hardwareVersion: assetComputeHardwareVersion,
hostName: assetComputeHostName,
isPmemEnabled: assetComputeIsPmemEnabled,
isTpmEnabled: assetComputeIsTpmEnabled,
latencySensitivity: assetComputeLatencySensitivity,
memoryInMbs: assetComputeMemoryInMbs,
nics: [{
ipAddresses: assetComputeNicsIpAddresses,
label: assetComputeNicsLabel,
macAddress: assetComputeNicsMacAddress,
macAddressType: assetComputeNicsMacAddressType,
networkName: assetComputeNicsNetworkName,
switchName: assetComputeNicsSwitchName,
}],
nicsCount: assetComputeNicsCount,
nvdimmController: {
busNumber: assetComputeNvdimmControllerBusNumber,
label: assetComputeNvdimmControllerLabel,
},
nvdimms: [{
controllerKey: assetComputeNvdimmsControllerKey,
label: assetComputeNvdimmsLabel,
unitNumber: assetComputeNvdimmsUnitNumber,
}],
operatingSystem: assetComputeOperatingSystem,
operatingSystemVersion: assetComputeOperatingSystemVersion,
pmemInMbs: assetComputePmemInMbs,
powerState: assetComputePowerState,
primaryIp: assetComputePrimaryIp,
scsiController: {
label: assetComputeScsiControllerLabel,
sharedBus: assetComputeScsiControllerSharedBus,
unitNumber: assetComputeScsiControllerUnitNumber,
},
storageProvisionedInMbs: assetComputeStorageProvisionedInMbs,
threadsPerCoreCount: assetComputeThreadsPerCoreCount,
},
definedTags: {
"Operations.CostCenter": "42",
},
displayName: assetDisplayName,
freeformTags: {
Department: "Finance",
},
vm: {
hypervisorHost: assetVmHypervisorHost,
hypervisorVendor: assetVmHypervisorVendor,
hypervisorVersion: assetVmHypervisorVersion,
},
vmwareVcenter: {
dataCenter: assetVmwareVcenterDataCenter,
vcenterKey: assetVmwareVcenterVcenterKey,
vcenterVersion: assetVmwareVcenterVcenterVersion,
},
vmwareVm: {
cluster: assetVmwareVmCluster,
customerFields: assetVmwareVmCustomerFields,
customerTags: [{
description: assetVmwareVmCustomerTagsDescription,
name: assetVmwareVmCustomerTagsName,
}],
faultToleranceBandwidth: assetVmwareVmFaultToleranceBandwidth,
faultToleranceSecondaryLatency: assetVmwareVmFaultToleranceSecondaryLatency,
faultToleranceState: assetVmwareVmFaultToleranceState,
instanceUuid: assetVmwareVmInstanceUuid,
isDisksCbtEnabled: assetVmwareVmIsDisksCbtEnabled,
isDisksUuidEnabled: assetVmwareVmIsDisksUuidEnabled,
path: assetVmwareVmPath,
vmwareToolsStatus: assetVmwareVmVmwareToolsStatus,
},
});
import pulumi
import pulumi_oci as oci
test_asset = oci.cloud_bridge.Asset("test_asset",
asset_type=asset_asset_type,
compartment_id=compartment_id,
external_asset_key=asset_external_asset_key,
inventory_id=test_inventory["id"],
source_key=asset_source_key,
asset_source_ids=asset_asset_source_ids,
compute={
"connected_networks": asset_compute_connected_networks,
"cores_count": asset_compute_cores_count,
"cpu_model": asset_compute_cpu_model,
"description": asset_compute_description,
"disks": [{
"boot_order": asset_compute_disks_boot_order,
"location": asset_compute_disks_location,
"name": asset_compute_disks_name,
"persistent_mode": asset_compute_disks_persistent_mode,
"size_in_mbs": asset_compute_disks_size_in_mbs,
"uuid": asset_compute_disks_uuid,
"uuid_lun": asset_compute_disks_uuid_lun,
}],
"disks_count": asset_compute_disks_count,
"dns_name": asset_compute_dns_name,
"firmware": asset_compute_firmware,
"gpu_devices": [{
"cores_count": asset_compute_gpu_devices_cores_count,
"description": asset_compute_gpu_devices_description,
"manufacturer": asset_compute_gpu_devices_manufacturer,
"memory_in_mbs": asset_compute_gpu_devices_memory_in_mbs,
"name": asset_compute_gpu_devices_name,
}],
"gpu_devices_count": asset_compute_gpu_devices_count,
"guest_state": asset_compute_guest_state,
"hardware_version": asset_compute_hardware_version,
"host_name": asset_compute_host_name,
"is_pmem_enabled": asset_compute_is_pmem_enabled,
"is_tpm_enabled": asset_compute_is_tpm_enabled,
"latency_sensitivity": asset_compute_latency_sensitivity,
"memory_in_mbs": asset_compute_memory_in_mbs,
"nics": [{
"ip_addresses": asset_compute_nics_ip_addresses,
"label": asset_compute_nics_label,
"mac_address": asset_compute_nics_mac_address,
"mac_address_type": asset_compute_nics_mac_address_type,
"network_name": asset_compute_nics_network_name,
"switch_name": asset_compute_nics_switch_name,
}],
"nics_count": asset_compute_nics_count,
"nvdimm_controller": {
"bus_number": asset_compute_nvdimm_controller_bus_number,
"label": asset_compute_nvdimm_controller_label,
},
"nvdimms": [{
"controller_key": asset_compute_nvdimms_controller_key,
"label": asset_compute_nvdimms_label,
"unit_number": asset_compute_nvdimms_unit_number,
}],
"operating_system": asset_compute_operating_system,
"operating_system_version": asset_compute_operating_system_version,
"pmem_in_mbs": asset_compute_pmem_in_mbs,
"power_state": asset_compute_power_state,
"primary_ip": asset_compute_primary_ip,
"scsi_controller": {
"label": asset_compute_scsi_controller_label,
"shared_bus": asset_compute_scsi_controller_shared_bus,
"unit_number": asset_compute_scsi_controller_unit_number,
},
"storage_provisioned_in_mbs": asset_compute_storage_provisioned_in_mbs,
"threads_per_core_count": asset_compute_threads_per_core_count,
},
defined_tags={
"Operations.CostCenter": "42",
},
display_name=asset_display_name,
freeform_tags={
"Department": "Finance",
},
vm={
"hypervisor_host": asset_vm_hypervisor_host,
"hypervisor_vendor": asset_vm_hypervisor_vendor,
"hypervisor_version": asset_vm_hypervisor_version,
},
vmware_vcenter={
"data_center": asset_vmware_vcenter_data_center,
"vcenter_key": asset_vmware_vcenter_vcenter_key,
"vcenter_version": asset_vmware_vcenter_vcenter_version,
},
vmware_vm={
"cluster": asset_vmware_vm_cluster,
"customer_fields": asset_vmware_vm_customer_fields,
"customer_tags": [{
"description": asset_vmware_vm_customer_tags_description,
"name": asset_vmware_vm_customer_tags_name,
}],
"fault_tolerance_bandwidth": asset_vmware_vm_fault_tolerance_bandwidth,
"fault_tolerance_secondary_latency": asset_vmware_vm_fault_tolerance_secondary_latency,
"fault_tolerance_state": asset_vmware_vm_fault_tolerance_state,
"instance_uuid": asset_vmware_vm_instance_uuid,
"is_disks_cbt_enabled": asset_vmware_vm_is_disks_cbt_enabled,
"is_disks_uuid_enabled": asset_vmware_vm_is_disks_uuid_enabled,
"path": asset_vmware_vm_path,
"vmware_tools_status": asset_vmware_vm_vmware_tools_status,
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/CloudBridge"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CloudBridge.NewAsset(ctx, "test_asset", &CloudBridge.AssetArgs{
AssetType: pulumi.Any(assetAssetType),
CompartmentId: pulumi.Any(compartmentId),
ExternalAssetKey: pulumi.Any(assetExternalAssetKey),
InventoryId: pulumi.Any(testInventory.Id),
SourceKey: pulumi.Any(assetSourceKey),
AssetSourceIds: pulumi.Any(assetAssetSourceIds),
Compute: &cloudbridge.AssetComputeArgs{
ConnectedNetworks: pulumi.Any(assetComputeConnectedNetworks),
CoresCount: pulumi.Any(assetComputeCoresCount),
CpuModel: pulumi.Any(assetComputeCpuModel),
Description: pulumi.Any(assetComputeDescription),
Disks: cloudbridge.AssetComputeDiskArray{
&cloudbridge.AssetComputeDiskArgs{
BootOrder: pulumi.Any(assetComputeDisksBootOrder),
Location: pulumi.Any(assetComputeDisksLocation),
Name: pulumi.Any(assetComputeDisksName),
PersistentMode: pulumi.Any(assetComputeDisksPersistentMode),
SizeInMbs: pulumi.Any(assetComputeDisksSizeInMbs),
Uuid: pulumi.Any(assetComputeDisksUuid),
UuidLun: pulumi.Any(assetComputeDisksUuidLun),
},
},
DisksCount: pulumi.Any(assetComputeDisksCount),
DnsName: pulumi.Any(assetComputeDnsName),
Firmware: pulumi.Any(assetComputeFirmware),
GpuDevices: cloudbridge.AssetComputeGpuDeviceArray{
&cloudbridge.AssetComputeGpuDeviceArgs{
CoresCount: pulumi.Any(assetComputeGpuDevicesCoresCount),
Description: pulumi.Any(assetComputeGpuDevicesDescription),
Manufacturer: pulumi.Any(assetComputeGpuDevicesManufacturer),
MemoryInMbs: pulumi.Any(assetComputeGpuDevicesMemoryInMbs),
Name: pulumi.Any(assetComputeGpuDevicesName),
},
},
GpuDevicesCount: pulumi.Any(assetComputeGpuDevicesCount),
GuestState: pulumi.Any(assetComputeGuestState),
HardwareVersion: pulumi.Any(assetComputeHardwareVersion),
HostName: pulumi.Any(assetComputeHostName),
IsPmemEnabled: pulumi.Any(assetComputeIsPmemEnabled),
IsTpmEnabled: pulumi.Any(assetComputeIsTpmEnabled),
LatencySensitivity: pulumi.Any(assetComputeLatencySensitivity),
MemoryInMbs: pulumi.Any(assetComputeMemoryInMbs),
Nics: cloudbridge.AssetComputeNicArray{
&cloudbridge.AssetComputeNicArgs{
IpAddresses: pulumi.Any(assetComputeNicsIpAddresses),
Label: pulumi.Any(assetComputeNicsLabel),
MacAddress: pulumi.Any(assetComputeNicsMacAddress),
MacAddressType: pulumi.Any(assetComputeNicsMacAddressType),
NetworkName: pulumi.Any(assetComputeNicsNetworkName),
SwitchName: pulumi.Any(assetComputeNicsSwitchName),
},
},
NicsCount: pulumi.Any(assetComputeNicsCount),
NvdimmController: &cloudbridge.AssetComputeNvdimmControllerArgs{
BusNumber: pulumi.Any(assetComputeNvdimmControllerBusNumber),
Label: pulumi.Any(assetComputeNvdimmControllerLabel),
},
Nvdimms: cloudbridge.AssetComputeNvdimmArray{
&cloudbridge.AssetComputeNvdimmArgs{
ControllerKey: pulumi.Any(assetComputeNvdimmsControllerKey),
Label: pulumi.Any(assetComputeNvdimmsLabel),
UnitNumber: pulumi.Any(assetComputeNvdimmsUnitNumber),
},
},
OperatingSystem: pulumi.Any(assetComputeOperatingSystem),
OperatingSystemVersion: pulumi.Any(assetComputeOperatingSystemVersion),
PmemInMbs: pulumi.Any(assetComputePmemInMbs),
PowerState: pulumi.Any(assetComputePowerState),
PrimaryIp: pulumi.Any(assetComputePrimaryIp),
ScsiController: &cloudbridge.AssetComputeScsiControllerArgs{
Label: pulumi.Any(assetComputeScsiControllerLabel),
SharedBus: pulumi.Any(assetComputeScsiControllerSharedBus),
UnitNumber: pulumi.Any(assetComputeScsiControllerUnitNumber),
},
StorageProvisionedInMbs: pulumi.Any(assetComputeStorageProvisionedInMbs),
ThreadsPerCoreCount: pulumi.Any(assetComputeThreadsPerCoreCount),
},
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(assetDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
Vm: &cloudbridge.AssetVmArgs{
HypervisorHost: pulumi.Any(assetVmHypervisorHost),
HypervisorVendor: pulumi.Any(assetVmHypervisorVendor),
HypervisorVersion: pulumi.Any(assetVmHypervisorVersion),
},
VmwareVcenter: &cloudbridge.AssetVmwareVcenterArgs{
DataCenter: pulumi.Any(assetVmwareVcenterDataCenter),
VcenterKey: pulumi.Any(assetVmwareVcenterVcenterKey),
VcenterVersion: pulumi.Any(assetVmwareVcenterVcenterVersion),
},
VmwareVm: &cloudbridge.AssetVmwareVmArgs{
Cluster: pulumi.Any(assetVmwareVmCluster),
CustomerFields: pulumi.Any(assetVmwareVmCustomerFields),
CustomerTags: cloudbridge.AssetVmwareVmCustomerTagArray{
&cloudbridge.AssetVmwareVmCustomerTagArgs{
Description: pulumi.Any(assetVmwareVmCustomerTagsDescription),
Name: pulumi.Any(assetVmwareVmCustomerTagsName),
},
},
FaultToleranceBandwidth: pulumi.Any(assetVmwareVmFaultToleranceBandwidth),
FaultToleranceSecondaryLatency: pulumi.Any(assetVmwareVmFaultToleranceSecondaryLatency),
FaultToleranceState: pulumi.Any(assetVmwareVmFaultToleranceState),
InstanceUuid: pulumi.Any(assetVmwareVmInstanceUuid),
IsDisksCbtEnabled: pulumi.Any(assetVmwareVmIsDisksCbtEnabled),
IsDisksUuidEnabled: pulumi.Any(assetVmwareVmIsDisksUuidEnabled),
Path: pulumi.Any(assetVmwareVmPath),
VmwareToolsStatus: pulumi.Any(assetVmwareVmVmwareToolsStatus),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAsset = new Oci.CloudBridge.Asset("test_asset", new()
{
AssetType = assetAssetType,
CompartmentId = compartmentId,
ExternalAssetKey = assetExternalAssetKey,
InventoryId = testInventory.Id,
SourceKey = assetSourceKey,
AssetSourceIds = assetAssetSourceIds,
Compute = new Oci.CloudBridge.Inputs.AssetComputeArgs
{
ConnectedNetworks = assetComputeConnectedNetworks,
CoresCount = assetComputeCoresCount,
CpuModel = assetComputeCpuModel,
Description = assetComputeDescription,
Disks = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeDiskArgs
{
BootOrder = assetComputeDisksBootOrder,
Location = assetComputeDisksLocation,
Name = assetComputeDisksName,
PersistentMode = assetComputeDisksPersistentMode,
SizeInMbs = assetComputeDisksSizeInMbs,
Uuid = assetComputeDisksUuid,
UuidLun = assetComputeDisksUuidLun,
},
},
DisksCount = assetComputeDisksCount,
DnsName = assetComputeDnsName,
Firmware = assetComputeFirmware,
GpuDevices = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeGpuDeviceArgs
{
CoresCount = assetComputeGpuDevicesCoresCount,
Description = assetComputeGpuDevicesDescription,
Manufacturer = assetComputeGpuDevicesManufacturer,
MemoryInMbs = assetComputeGpuDevicesMemoryInMbs,
Name = assetComputeGpuDevicesName,
},
},
GpuDevicesCount = assetComputeGpuDevicesCount,
GuestState = assetComputeGuestState,
HardwareVersion = assetComputeHardwareVersion,
HostName = assetComputeHostName,
IsPmemEnabled = assetComputeIsPmemEnabled,
IsTpmEnabled = assetComputeIsTpmEnabled,
LatencySensitivity = assetComputeLatencySensitivity,
MemoryInMbs = assetComputeMemoryInMbs,
Nics = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeNicArgs
{
IpAddresses = assetComputeNicsIpAddresses,
Label = assetComputeNicsLabel,
MacAddress = assetComputeNicsMacAddress,
MacAddressType = assetComputeNicsMacAddressType,
NetworkName = assetComputeNicsNetworkName,
SwitchName = assetComputeNicsSwitchName,
},
},
NicsCount = assetComputeNicsCount,
NvdimmController = new Oci.CloudBridge.Inputs.AssetComputeNvdimmControllerArgs
{
BusNumber = assetComputeNvdimmControllerBusNumber,
Label = assetComputeNvdimmControllerLabel,
},
Nvdimms = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeNvdimmArgs
{
ControllerKey = assetComputeNvdimmsControllerKey,
Label = assetComputeNvdimmsLabel,
UnitNumber = assetComputeNvdimmsUnitNumber,
},
},
OperatingSystem = assetComputeOperatingSystem,
OperatingSystemVersion = assetComputeOperatingSystemVersion,
PmemInMbs = assetComputePmemInMbs,
PowerState = assetComputePowerState,
PrimaryIp = assetComputePrimaryIp,
ScsiController = new Oci.CloudBridge.Inputs.AssetComputeScsiControllerArgs
{
Label = assetComputeScsiControllerLabel,
SharedBus = assetComputeScsiControllerSharedBus,
UnitNumber = assetComputeScsiControllerUnitNumber,
},
StorageProvisionedInMbs = assetComputeStorageProvisionedInMbs,
ThreadsPerCoreCount = assetComputeThreadsPerCoreCount,
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = assetDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
Vm = new Oci.CloudBridge.Inputs.AssetVmArgs
{
HypervisorHost = assetVmHypervisorHost,
HypervisorVendor = assetVmHypervisorVendor,
HypervisorVersion = assetVmHypervisorVersion,
},
VmwareVcenter = new Oci.CloudBridge.Inputs.AssetVmwareVcenterArgs
{
DataCenter = assetVmwareVcenterDataCenter,
VcenterKey = assetVmwareVcenterVcenterKey,
VcenterVersion = assetVmwareVcenterVcenterVersion,
},
VmwareVm = new Oci.CloudBridge.Inputs.AssetVmwareVmArgs
{
Cluster = assetVmwareVmCluster,
CustomerFields = assetVmwareVmCustomerFields,
CustomerTags = new[]
{
new Oci.CloudBridge.Inputs.AssetVmwareVmCustomerTagArgs
{
Description = assetVmwareVmCustomerTagsDescription,
Name = assetVmwareVmCustomerTagsName,
},
},
FaultToleranceBandwidth = assetVmwareVmFaultToleranceBandwidth,
FaultToleranceSecondaryLatency = assetVmwareVmFaultToleranceSecondaryLatency,
FaultToleranceState = assetVmwareVmFaultToleranceState,
InstanceUuid = assetVmwareVmInstanceUuid,
IsDisksCbtEnabled = assetVmwareVmIsDisksCbtEnabled,
IsDisksUuidEnabled = assetVmwareVmIsDisksUuidEnabled,
Path = assetVmwareVmPath,
VmwareToolsStatus = assetVmwareVmVmwareToolsStatus,
},
});
});
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(assetAssetType)
.compartmentId(compartmentId)
.externalAssetKey(assetExternalAssetKey)
.inventoryId(testInventory.id())
.sourceKey(assetSourceKey)
.assetSourceIds(assetAssetSourceIds)
.compute(AssetComputeArgs.builder()
.connectedNetworks(assetComputeConnectedNetworks)
.coresCount(assetComputeCoresCount)
.cpuModel(assetComputeCpuModel)
.description(assetComputeDescription)
.disks(AssetComputeDiskArgs.builder()
.bootOrder(assetComputeDisksBootOrder)
.location(assetComputeDisksLocation)
.name(assetComputeDisksName)
.persistentMode(assetComputeDisksPersistentMode)
.sizeInMbs(assetComputeDisksSizeInMbs)
.uuid(assetComputeDisksUuid)
.uuidLun(assetComputeDisksUuidLun)
.build())
.disksCount(assetComputeDisksCount)
.dnsName(assetComputeDnsName)
.firmware(assetComputeFirmware)
.gpuDevices(AssetComputeGpuDeviceArgs.builder()
.coresCount(assetComputeGpuDevicesCoresCount)
.description(assetComputeGpuDevicesDescription)
.manufacturer(assetComputeGpuDevicesManufacturer)
.memoryInMbs(assetComputeGpuDevicesMemoryInMbs)
.name(assetComputeGpuDevicesName)
.build())
.gpuDevicesCount(assetComputeGpuDevicesCount)
.guestState(assetComputeGuestState)
.hardwareVersion(assetComputeHardwareVersion)
.hostName(assetComputeHostName)
.isPmemEnabled(assetComputeIsPmemEnabled)
.isTpmEnabled(assetComputeIsTpmEnabled)
.latencySensitivity(assetComputeLatencySensitivity)
.memoryInMbs(assetComputeMemoryInMbs)
.nics(AssetComputeNicArgs.builder()
.ipAddresses(assetComputeNicsIpAddresses)
.label(assetComputeNicsLabel)
.macAddress(assetComputeNicsMacAddress)
.macAddressType(assetComputeNicsMacAddressType)
.networkName(assetComputeNicsNetworkName)
.switchName(assetComputeNicsSwitchName)
.build())
.nicsCount(assetComputeNicsCount)
.nvdimmController(AssetComputeNvdimmControllerArgs.builder()
.busNumber(assetComputeNvdimmControllerBusNumber)
.label(assetComputeNvdimmControllerLabel)
.build())
.nvdimms(AssetComputeNvdimmArgs.builder()
.controllerKey(assetComputeNvdimmsControllerKey)
.label(assetComputeNvdimmsLabel)
.unitNumber(assetComputeNvdimmsUnitNumber)
.build())
.operatingSystem(assetComputeOperatingSystem)
.operatingSystemVersion(assetComputeOperatingSystemVersion)
.pmemInMbs(assetComputePmemInMbs)
.powerState(assetComputePowerState)
.primaryIp(assetComputePrimaryIp)
.scsiController(AssetComputeScsiControllerArgs.builder()
.label(assetComputeScsiControllerLabel)
.sharedBus(assetComputeScsiControllerSharedBus)
.unitNumber(assetComputeScsiControllerUnitNumber)
.build())
.storageProvisionedInMbs(assetComputeStorageProvisionedInMbs)
.threadsPerCoreCount(assetComputeThreadsPerCoreCount)
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(assetDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.vm(AssetVmArgs.builder()
.hypervisorHost(assetVmHypervisorHost)
.hypervisorVendor(assetVmHypervisorVendor)
.hypervisorVersion(assetVmHypervisorVersion)
.build())
.vmwareVcenter(AssetVmwareVcenterArgs.builder()
.dataCenter(assetVmwareVcenterDataCenter)
.vcenterKey(assetVmwareVcenterVcenterKey)
.vcenterVersion(assetVmwareVcenterVcenterVersion)
.build())
.vmwareVm(AssetVmwareVmArgs.builder()
.cluster(assetVmwareVmCluster)
.customerFields(assetVmwareVmCustomerFields)
.customerTags(AssetVmwareVmCustomerTagArgs.builder()
.description(assetVmwareVmCustomerTagsDescription)
.name(assetVmwareVmCustomerTagsName)
.build())
.faultToleranceBandwidth(assetVmwareVmFaultToleranceBandwidth)
.faultToleranceSecondaryLatency(assetVmwareVmFaultToleranceSecondaryLatency)
.faultToleranceState(assetVmwareVmFaultToleranceState)
.instanceUuid(assetVmwareVmInstanceUuid)
.isDisksCbtEnabled(assetVmwareVmIsDisksCbtEnabled)
.isDisksUuidEnabled(assetVmwareVmIsDisksUuidEnabled)
.path(assetVmwareVmPath)
.vmwareToolsStatus(assetVmwareVmVmwareToolsStatus)
.build())
.build());
}
}
resources:
testAsset:
type: oci:CloudBridge:Asset
name: test_asset
properties:
assetType: ${assetAssetType}
compartmentId: ${compartmentId}
externalAssetKey: ${assetExternalAssetKey}
inventoryId: ${testInventory.id}
sourceKey: ${assetSourceKey}
assetSourceIds: ${assetAssetSourceIds}
compute:
connectedNetworks: ${assetComputeConnectedNetworks}
coresCount: ${assetComputeCoresCount}
cpuModel: ${assetComputeCpuModel}
description: ${assetComputeDescription}
disks:
- bootOrder: ${assetComputeDisksBootOrder}
location: ${assetComputeDisksLocation}
name: ${assetComputeDisksName}
persistentMode: ${assetComputeDisksPersistentMode}
sizeInMbs: ${assetComputeDisksSizeInMbs}
uuid: ${assetComputeDisksUuid}
uuidLun: ${assetComputeDisksUuidLun}
disksCount: ${assetComputeDisksCount}
dnsName: ${assetComputeDnsName}
firmware: ${assetComputeFirmware}
gpuDevices:
- coresCount: ${assetComputeGpuDevicesCoresCount}
description: ${assetComputeGpuDevicesDescription}
manufacturer: ${assetComputeGpuDevicesManufacturer}
memoryInMbs: ${assetComputeGpuDevicesMemoryInMbs}
name: ${assetComputeGpuDevicesName}
gpuDevicesCount: ${assetComputeGpuDevicesCount}
guestState: ${assetComputeGuestState}
hardwareVersion: ${assetComputeHardwareVersion}
hostName: ${assetComputeHostName}
isPmemEnabled: ${assetComputeIsPmemEnabled}
isTpmEnabled: ${assetComputeIsTpmEnabled}
latencySensitivity: ${assetComputeLatencySensitivity}
memoryInMbs: ${assetComputeMemoryInMbs}
nics:
- ipAddresses: ${assetComputeNicsIpAddresses}
label: ${assetComputeNicsLabel}
macAddress: ${assetComputeNicsMacAddress}
macAddressType: ${assetComputeNicsMacAddressType}
networkName: ${assetComputeNicsNetworkName}
switchName: ${assetComputeNicsSwitchName}
nicsCount: ${assetComputeNicsCount}
nvdimmController:
busNumber: ${assetComputeNvdimmControllerBusNumber}
label: ${assetComputeNvdimmControllerLabel}
nvdimms:
- controllerKey: ${assetComputeNvdimmsControllerKey}
label: ${assetComputeNvdimmsLabel}
unitNumber: ${assetComputeNvdimmsUnitNumber}
operatingSystem: ${assetComputeOperatingSystem}
operatingSystemVersion: ${assetComputeOperatingSystemVersion}
pmemInMbs: ${assetComputePmemInMbs}
powerState: ${assetComputePowerState}
primaryIp: ${assetComputePrimaryIp}
scsiController:
label: ${assetComputeScsiControllerLabel}
sharedBus: ${assetComputeScsiControllerSharedBus}
unitNumber: ${assetComputeScsiControllerUnitNumber}
storageProvisionedInMbs: ${assetComputeStorageProvisionedInMbs}
threadsPerCoreCount: ${assetComputeThreadsPerCoreCount}
definedTags:
Operations.CostCenter: '42'
displayName: ${assetDisplayName}
freeformTags:
Department: Finance
vm:
hypervisorHost: ${assetVmHypervisorHost}
hypervisorVendor: ${assetVmHypervisorVendor}
hypervisorVersion: ${assetVmHypervisorVersion}
vmwareVcenter:
dataCenter: ${assetVmwareVcenterDataCenter}
vcenterKey: ${assetVmwareVcenterVcenterKey}
vcenterVersion: ${assetVmwareVcenterVcenterVersion}
vmwareVm:
cluster: ${assetVmwareVmCluster}
customerFields: ${assetVmwareVmCustomerFields}
customerTags:
- description: ${assetVmwareVmCustomerTagsDescription}
name: ${assetVmwareVmCustomerTagsName}
faultToleranceBandwidth: ${assetVmwareVmFaultToleranceBandwidth}
faultToleranceSecondaryLatency: ${assetVmwareVmFaultToleranceSecondaryLatency}
faultToleranceState: ${assetVmwareVmFaultToleranceState}
instanceUuid: ${assetVmwareVmInstanceUuid}
isDisksCbtEnabled: ${assetVmwareVmIsDisksCbtEnabled}
isDisksUuidEnabled: ${assetVmwareVmIsDisksUuidEnabled}
path: ${assetVmwareVmPath}
vmwareToolsStatus: ${assetVmwareVmVmwareToolsStatus}
Create Asset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Asset(name: string, args: AssetArgs, opts?: CustomResourceOptions);
@overload
def Asset(resource_name: str,
args: AssetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Asset(resource_name: str,
opts: Optional[ResourceOptions] = None,
source_key: Optional[str] = None,
asset_type: Optional[str] = None,
compartment_id: Optional[str] = None,
external_asset_key: Optional[str] = None,
inventory_id: Optional[str] = None,
compute: Optional[_cloudbridge.AssetComputeArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
asset_source_ids: Optional[Sequence[str]] = None,
vm: Optional[_cloudbridge.AssetVmArgs] = None,
vmware_vcenter: Optional[_cloudbridge.AssetVmwareVcenterArgs] = None,
vmware_vm: Optional[_cloudbridge.AssetVmwareVmArgs] = None)
func NewAsset(ctx *Context, name string, args AssetArgs, opts ...ResourceOption) (*Asset, error)
public Asset(string name, AssetArgs args, CustomResourceOptions? opts = null)
type: oci:CloudBridge:Asset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var assetResource = new Oci.CloudBridge.Asset("assetResource", new()
{
SourceKey = "string",
AssetType = "string",
CompartmentId = "string",
ExternalAssetKey = "string",
InventoryId = "string",
Compute = new Oci.CloudBridge.Inputs.AssetComputeArgs
{
ConnectedNetworks = 0,
CoresCount = 0,
CpuModel = "string",
Description = "string",
Disks = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeDiskArgs
{
BootOrder = 0,
Location = "string",
Name = "string",
PersistentMode = "string",
SizeInMbs = "string",
Uuid = "string",
UuidLun = "string",
},
},
DisksCount = 0,
DnsName = "string",
Firmware = "string",
GpuDevices = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeGpuDeviceArgs
{
CoresCount = 0,
Description = "string",
Manufacturer = "string",
MemoryInMbs = "string",
Name = "string",
},
},
GpuDevicesCount = 0,
GuestState = "string",
HardwareVersion = "string",
HostName = "string",
IsPmemEnabled = false,
IsTpmEnabled = false,
LatencySensitivity = "string",
MemoryInMbs = "string",
Nics = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeNicArgs
{
IpAddresses = new[]
{
"string",
},
Label = "string",
MacAddress = "string",
MacAddressType = "string",
NetworkName = "string",
SwitchName = "string",
},
},
NicsCount = 0,
NvdimmController = new Oci.CloudBridge.Inputs.AssetComputeNvdimmControllerArgs
{
BusNumber = 0,
Label = "string",
},
Nvdimms = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeNvdimmArgs
{
ControllerKey = 0,
Label = "string",
UnitNumber = 0,
},
},
OperatingSystem = "string",
OperatingSystemVersion = "string",
PmemInMbs = "string",
PowerState = "string",
PrimaryIp = "string",
ScsiController = new Oci.CloudBridge.Inputs.AssetComputeScsiControllerArgs
{
Label = "string",
SharedBus = "string",
UnitNumber = 0,
},
StorageProvisionedInMbs = "string",
ThreadsPerCoreCount = 0,
},
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
AssetSourceIds = new[]
{
"string",
},
Vm = new Oci.CloudBridge.Inputs.AssetVmArgs
{
HypervisorHost = "string",
HypervisorVendor = "string",
HypervisorVersion = "string",
},
VmwareVcenter = new Oci.CloudBridge.Inputs.AssetVmwareVcenterArgs
{
DataCenter = "string",
VcenterKey = "string",
VcenterVersion = "string",
},
VmwareVm = new Oci.CloudBridge.Inputs.AssetVmwareVmArgs
{
Cluster = "string",
CustomerFields = new[]
{
"string",
},
CustomerTags = new[]
{
new Oci.CloudBridge.Inputs.AssetVmwareVmCustomerTagArgs
{
Description = "string",
Name = "string",
},
},
FaultToleranceBandwidth = 0,
FaultToleranceSecondaryLatency = 0,
FaultToleranceState = "string",
InstanceUuid = "string",
IsDisksCbtEnabled = false,
IsDisksUuidEnabled = false,
Path = "string",
VmwareToolsStatus = "string",
},
});
example, err := CloudBridge.NewAsset(ctx, "assetResource", &CloudBridge.AssetArgs{
SourceKey: pulumi.String("string"),
AssetType: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
ExternalAssetKey: pulumi.String("string"),
InventoryId: pulumi.String("string"),
Compute: &cloudbridge.AssetComputeArgs{
ConnectedNetworks: pulumi.Int(0),
CoresCount: pulumi.Int(0),
CpuModel: pulumi.String("string"),
Description: pulumi.String("string"),
Disks: cloudbridge.AssetComputeDiskArray{
&cloudbridge.AssetComputeDiskArgs{
BootOrder: pulumi.Int(0),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
PersistentMode: pulumi.String("string"),
SizeInMbs: pulumi.String("string"),
Uuid: pulumi.String("string"),
UuidLun: pulumi.String("string"),
},
},
DisksCount: pulumi.Int(0),
DnsName: pulumi.String("string"),
Firmware: pulumi.String("string"),
GpuDevices: cloudbridge.AssetComputeGpuDeviceArray{
&cloudbridge.AssetComputeGpuDeviceArgs{
CoresCount: pulumi.Int(0),
Description: pulumi.String("string"),
Manufacturer: pulumi.String("string"),
MemoryInMbs: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
GpuDevicesCount: pulumi.Int(0),
GuestState: pulumi.String("string"),
HardwareVersion: pulumi.String("string"),
HostName: pulumi.String("string"),
IsPmemEnabled: pulumi.Bool(false),
IsTpmEnabled: pulumi.Bool(false),
LatencySensitivity: pulumi.String("string"),
MemoryInMbs: pulumi.String("string"),
Nics: cloudbridge.AssetComputeNicArray{
&cloudbridge.AssetComputeNicArgs{
IpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
Label: pulumi.String("string"),
MacAddress: pulumi.String("string"),
MacAddressType: pulumi.String("string"),
NetworkName: pulumi.String("string"),
SwitchName: pulumi.String("string"),
},
},
NicsCount: pulumi.Int(0),
NvdimmController: &cloudbridge.AssetComputeNvdimmControllerArgs{
BusNumber: pulumi.Int(0),
Label: pulumi.String("string"),
},
Nvdimms: cloudbridge.AssetComputeNvdimmArray{
&cloudbridge.AssetComputeNvdimmArgs{
ControllerKey: pulumi.Int(0),
Label: pulumi.String("string"),
UnitNumber: pulumi.Int(0),
},
},
OperatingSystem: pulumi.String("string"),
OperatingSystemVersion: pulumi.String("string"),
PmemInMbs: pulumi.String("string"),
PowerState: pulumi.String("string"),
PrimaryIp: pulumi.String("string"),
ScsiController: &cloudbridge.AssetComputeScsiControllerArgs{
Label: pulumi.String("string"),
SharedBus: pulumi.String("string"),
UnitNumber: pulumi.Int(0),
},
StorageProvisionedInMbs: pulumi.String("string"),
ThreadsPerCoreCount: pulumi.Int(0),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
AssetSourceIds: pulumi.StringArray{
pulumi.String("string"),
},
Vm: &cloudbridge.AssetVmArgs{
HypervisorHost: pulumi.String("string"),
HypervisorVendor: pulumi.String("string"),
HypervisorVersion: pulumi.String("string"),
},
VmwareVcenter: &cloudbridge.AssetVmwareVcenterArgs{
DataCenter: pulumi.String("string"),
VcenterKey: pulumi.String("string"),
VcenterVersion: pulumi.String("string"),
},
VmwareVm: &cloudbridge.AssetVmwareVmArgs{
Cluster: pulumi.String("string"),
CustomerFields: pulumi.StringArray{
pulumi.String("string"),
},
CustomerTags: cloudbridge.AssetVmwareVmCustomerTagArray{
&cloudbridge.AssetVmwareVmCustomerTagArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
FaultToleranceBandwidth: pulumi.Int(0),
FaultToleranceSecondaryLatency: pulumi.Int(0),
FaultToleranceState: pulumi.String("string"),
InstanceUuid: pulumi.String("string"),
IsDisksCbtEnabled: pulumi.Bool(false),
IsDisksUuidEnabled: pulumi.Bool(false),
Path: pulumi.String("string"),
VmwareToolsStatus: pulumi.String("string"),
},
})
var assetResource = new Asset("assetResource", AssetArgs.builder()
.sourceKey("string")
.assetType("string")
.compartmentId("string")
.externalAssetKey("string")
.inventoryId("string")
.compute(AssetComputeArgs.builder()
.connectedNetworks(0)
.coresCount(0)
.cpuModel("string")
.description("string")
.disks(AssetComputeDiskArgs.builder()
.bootOrder(0)
.location("string")
.name("string")
.persistentMode("string")
.sizeInMbs("string")
.uuid("string")
.uuidLun("string")
.build())
.disksCount(0)
.dnsName("string")
.firmware("string")
.gpuDevices(AssetComputeGpuDeviceArgs.builder()
.coresCount(0)
.description("string")
.manufacturer("string")
.memoryInMbs("string")
.name("string")
.build())
.gpuDevicesCount(0)
.guestState("string")
.hardwareVersion("string")
.hostName("string")
.isPmemEnabled(false)
.isTpmEnabled(false)
.latencySensitivity("string")
.memoryInMbs("string")
.nics(AssetComputeNicArgs.builder()
.ipAddresses("string")
.label("string")
.macAddress("string")
.macAddressType("string")
.networkName("string")
.switchName("string")
.build())
.nicsCount(0)
.nvdimmController(AssetComputeNvdimmControllerArgs.builder()
.busNumber(0)
.label("string")
.build())
.nvdimms(AssetComputeNvdimmArgs.builder()
.controllerKey(0)
.label("string")
.unitNumber(0)
.build())
.operatingSystem("string")
.operatingSystemVersion("string")
.pmemInMbs("string")
.powerState("string")
.primaryIp("string")
.scsiController(AssetComputeScsiControllerArgs.builder()
.label("string")
.sharedBus("string")
.unitNumber(0)
.build())
.storageProvisionedInMbs("string")
.threadsPerCoreCount(0)
.build())
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.assetSourceIds("string")
.vm(AssetVmArgs.builder()
.hypervisorHost("string")
.hypervisorVendor("string")
.hypervisorVersion("string")
.build())
.vmwareVcenter(AssetVmwareVcenterArgs.builder()
.dataCenter("string")
.vcenterKey("string")
.vcenterVersion("string")
.build())
.vmwareVm(AssetVmwareVmArgs.builder()
.cluster("string")
.customerFields("string")
.customerTags(AssetVmwareVmCustomerTagArgs.builder()
.description("string")
.name("string")
.build())
.faultToleranceBandwidth(0)
.faultToleranceSecondaryLatency(0)
.faultToleranceState("string")
.instanceUuid("string")
.isDisksCbtEnabled(false)
.isDisksUuidEnabled(false)
.path("string")
.vmwareToolsStatus("string")
.build())
.build());
asset_resource = oci.cloud_bridge.Asset("assetResource",
source_key="string",
asset_type="string",
compartment_id="string",
external_asset_key="string",
inventory_id="string",
compute={
"connected_networks": 0,
"cores_count": 0,
"cpu_model": "string",
"description": "string",
"disks": [{
"boot_order": 0,
"location": "string",
"name": "string",
"persistent_mode": "string",
"size_in_mbs": "string",
"uuid": "string",
"uuid_lun": "string",
}],
"disks_count": 0,
"dns_name": "string",
"firmware": "string",
"gpu_devices": [{
"cores_count": 0,
"description": "string",
"manufacturer": "string",
"memory_in_mbs": "string",
"name": "string",
}],
"gpu_devices_count": 0,
"guest_state": "string",
"hardware_version": "string",
"host_name": "string",
"is_pmem_enabled": False,
"is_tpm_enabled": False,
"latency_sensitivity": "string",
"memory_in_mbs": "string",
"nics": [{
"ip_addresses": ["string"],
"label": "string",
"mac_address": "string",
"mac_address_type": "string",
"network_name": "string",
"switch_name": "string",
}],
"nics_count": 0,
"nvdimm_controller": {
"bus_number": 0,
"label": "string",
},
"nvdimms": [{
"controller_key": 0,
"label": "string",
"unit_number": 0,
}],
"operating_system": "string",
"operating_system_version": "string",
"pmem_in_mbs": "string",
"power_state": "string",
"primary_ip": "string",
"scsi_controller": {
"label": "string",
"shared_bus": "string",
"unit_number": 0,
},
"storage_provisioned_in_mbs": "string",
"threads_per_core_count": 0,
},
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
asset_source_ids=["string"],
vm={
"hypervisor_host": "string",
"hypervisor_vendor": "string",
"hypervisor_version": "string",
},
vmware_vcenter={
"data_center": "string",
"vcenter_key": "string",
"vcenter_version": "string",
},
vmware_vm={
"cluster": "string",
"customer_fields": ["string"],
"customer_tags": [{
"description": "string",
"name": "string",
}],
"fault_tolerance_bandwidth": 0,
"fault_tolerance_secondary_latency": 0,
"fault_tolerance_state": "string",
"instance_uuid": "string",
"is_disks_cbt_enabled": False,
"is_disks_uuid_enabled": False,
"path": "string",
"vmware_tools_status": "string",
})
const assetResource = new oci.cloudbridge.Asset("assetResource", {
sourceKey: "string",
assetType: "string",
compartmentId: "string",
externalAssetKey: "string",
inventoryId: "string",
compute: {
connectedNetworks: 0,
coresCount: 0,
cpuModel: "string",
description: "string",
disks: [{
bootOrder: 0,
location: "string",
name: "string",
persistentMode: "string",
sizeInMbs: "string",
uuid: "string",
uuidLun: "string",
}],
disksCount: 0,
dnsName: "string",
firmware: "string",
gpuDevices: [{
coresCount: 0,
description: "string",
manufacturer: "string",
memoryInMbs: "string",
name: "string",
}],
gpuDevicesCount: 0,
guestState: "string",
hardwareVersion: "string",
hostName: "string",
isPmemEnabled: false,
isTpmEnabled: false,
latencySensitivity: "string",
memoryInMbs: "string",
nics: [{
ipAddresses: ["string"],
label: "string",
macAddress: "string",
macAddressType: "string",
networkName: "string",
switchName: "string",
}],
nicsCount: 0,
nvdimmController: {
busNumber: 0,
label: "string",
},
nvdimms: [{
controllerKey: 0,
label: "string",
unitNumber: 0,
}],
operatingSystem: "string",
operatingSystemVersion: "string",
pmemInMbs: "string",
powerState: "string",
primaryIp: "string",
scsiController: {
label: "string",
sharedBus: "string",
unitNumber: 0,
},
storageProvisionedInMbs: "string",
threadsPerCoreCount: 0,
},
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
assetSourceIds: ["string"],
vm: {
hypervisorHost: "string",
hypervisorVendor: "string",
hypervisorVersion: "string",
},
vmwareVcenter: {
dataCenter: "string",
vcenterKey: "string",
vcenterVersion: "string",
},
vmwareVm: {
cluster: "string",
customerFields: ["string"],
customerTags: [{
description: "string",
name: "string",
}],
faultToleranceBandwidth: 0,
faultToleranceSecondaryLatency: 0,
faultToleranceState: "string",
instanceUuid: "string",
isDisksCbtEnabled: false,
isDisksUuidEnabled: false,
path: "string",
vmwareToolsStatus: "string",
},
});
type: oci:CloudBridge:Asset
properties:
assetSourceIds:
- string
assetType: string
compartmentId: string
compute:
connectedNetworks: 0
coresCount: 0
cpuModel: string
description: string
disks:
- bootOrder: 0
location: string
name: string
persistentMode: string
sizeInMbs: string
uuid: string
uuidLun: string
disksCount: 0
dnsName: string
firmware: string
gpuDevices:
- coresCount: 0
description: string
manufacturer: string
memoryInMbs: string
name: string
gpuDevicesCount: 0
guestState: string
hardwareVersion: string
hostName: string
isPmemEnabled: false
isTpmEnabled: false
latencySensitivity: string
memoryInMbs: string
nics:
- ipAddresses:
- string
label: string
macAddress: string
macAddressType: string
networkName: string
switchName: string
nicsCount: 0
nvdimmController:
busNumber: 0
label: string
nvdimms:
- controllerKey: 0
label: string
unitNumber: 0
operatingSystem: string
operatingSystemVersion: string
pmemInMbs: string
powerState: string
primaryIp: string
scsiController:
label: string
sharedBus: string
unitNumber: 0
storageProvisionedInMbs: string
threadsPerCoreCount: 0
definedTags:
string: string
displayName: string
externalAssetKey: string
freeformTags:
string: string
inventoryId: string
sourceKey: string
vm:
hypervisorHost: string
hypervisorVendor: string
hypervisorVersion: string
vmwareVcenter:
dataCenter: string
vcenterKey: string
vcenterVersion: string
vmwareVm:
cluster: string
customerFields:
- string
customerTags:
- description: string
name: string
faultToleranceBandwidth: 0
faultToleranceSecondaryLatency: 0
faultToleranceState: string
instanceUuid: string
isDisksCbtEnabled: false
isDisksUuidEnabled: false
path: string
vmwareToolsStatus: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Asset resource accepts the following input properties:
- Asset
Type string - (Updatable) The type of asset.
- Compartment
Id string - (Updatable) The OCID of the compartment that the asset belongs to.
- External
Asset stringKey - The key of the asset from the external environment.
- Inventory
Id string - Inventory ID to which an asset belongs.
- Source
Key string - The source key to which the asset belongs.
- Asset
Source List<string>Ids - (Updatable) List of asset source OCID.
- Compute
Asset
Compute - (Updatable) Compute related properties.
- Dictionary<string, string>
- (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 string - (Updatable) Asset display name.
- Dictionary<string, string>
- (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
Asset
Vm - (Updatable) Virtual machine related properties.
- Vmware
Vcenter AssetVmware Vcenter - (Updatable) VMware vCenter related properties.
- Vmware
Vm AssetVmware Vm - (Updatable) VMware virtual machine related properties.
- Asset
Type string - (Updatable) The type of asset.
- Compartment
Id string - (Updatable) The OCID of the compartment that the asset belongs to.
- External
Asset stringKey - The key of the asset from the external environment.
- Inventory
Id string - Inventory ID to which an asset belongs.
- Source
Key string - The source key to which the asset belongs.
- Asset
Source []stringIds - (Updatable) List of asset source OCID.
- Compute
Asset
Compute Args - (Updatable) Compute related properties.
- map[string]string
- (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 string - (Updatable) Asset display name.
- map[string]string
- (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
Asset
Vm Args - (Updatable) Virtual machine related properties.
- Vmware
Vcenter AssetVmware Vcenter Args - (Updatable) VMware vCenter related properties.
- Vmware
Vm AssetVmware Vm Args - (Updatable) VMware virtual machine related properties.
- asset
Type String - (Updatable) The type of asset.
- compartment
Id String - (Updatable) The OCID of the compartment that the asset belongs to.
- external
Asset StringKey - The key of the asset from the external environment.
- inventory
Id String - Inventory ID to which an asset belongs.
- source
Key String - The source key to which the asset belongs.
- asset
Source List<String>Ids - (Updatable) List of asset source OCID.
- compute
Asset
Compute - (Updatable) Compute related properties.
- Map<String,String>
- (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 String - (Updatable) Asset display name.
- Map<String,String>
- (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
Asset
Vm - (Updatable) Virtual machine related properties.
- vmware
Vcenter AssetVmware Vcenter - (Updatable) VMware vCenter related properties.
- vmware
Vm AssetVmware Vm - (Updatable) VMware virtual machine related properties.
- asset
Type string - (Updatable) The type of asset.
- compartment
Id string - (Updatable) The OCID of the compartment that the asset belongs to.
- external
Asset stringKey - The key of the asset from the external environment.
- inventory
Id string - Inventory ID to which an asset belongs.
- source
Key string - The source key to which the asset belongs.
- asset
Source string[]Ids - (Updatable) List of asset source OCID.
- compute
Asset
Compute - (Updatable) Compute related properties.
- {[key: string]: string}
- (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 string - (Updatable) Asset display name.
- {[key: string]: string}
- (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
Asset
Vm - (Updatable) Virtual machine related properties.
- vmware
Vcenter AssetVmware Vcenter - (Updatable) VMware vCenter related properties.
- vmware
Vm AssetVmware Vm - (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_ strkey - 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_ Sequence[str]ids - (Updatable) List of asset source OCID.
- compute
cloudbridge.
Asset Compute Args - (Updatable) Compute related properties.
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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
cloudbridge.
Asset Vm Args - (Updatable) Virtual machine related properties.
- vmware_
vcenter cloudbridge.Asset Vmware Vcenter Args - (Updatable) VMware vCenter related properties.
- vmware_
vm cloudbridge.Asset Vmware Vm Args - (Updatable) VMware virtual machine related properties.
- asset
Type String - (Updatable) The type of asset.
- compartment
Id String - (Updatable) The OCID of the compartment that the asset belongs to.
- external
Asset StringKey - The key of the asset from the external environment.
- inventory
Id String - Inventory ID to which an asset belongs.
- source
Key String - The source key to which the asset belongs.
- asset
Source List<String>Ids - (Updatable) List of asset source OCID.
- compute Property Map
- (Updatable) Compute related properties.
- Map<String>
- (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 String - (Updatable) Asset display name.
- Map<String>
- (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.
- vmware
Vcenter Property Map - (Updatable) VMware vCenter related properties.
- vmware
Vm 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.
- Dictionary<string, string>
- 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 string - The time when the asset was created. An RFC3339 formatted datetime string.
- Time
Updated 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.
- map[string]string
- 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 string - The time when the asset was created. An RFC3339 formatted datetime string.
- Time
Updated 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.
- Map<String,String>
- 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 String - The time when the asset was created. An RFC3339 formatted datetime string.
- time
Updated 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.
- {[key: string]: string}
- 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 string - The time when the asset was created. An RFC3339 formatted datetime string.
- time
Updated 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.
- Mapping[str, str]
- 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.
- Map<String>
- 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 String - The time when the asset was created. An RFC3339 formatted datetime string.
- time
Updated 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, str]] = None,
display_name: Optional[str] = None,
external_asset_key: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
inventory_id: Optional[str] = None,
source_key: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = 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.
- Asset
Source List<string>Ids - (Updatable) List of asset source OCID.
- Asset
Type string - (Updatable) The type of asset.
- Compartment
Id string - (Updatable) The OCID of the compartment that the asset belongs to.
- Compute
Asset
Compute - (Updatable) Compute related properties.
- Dictionary<string, string>
- (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 string - (Updatable) Asset display name.
- External
Asset stringKey - The key of the asset from the external environment.
- Dictionary<string, string>
- (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 string - Inventory ID to which an asset belongs.
- Source
Key string - The source key to which the asset belongs.
- State string
- The current state of the asset.
- Dictionary<string, string>
- 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 string - The time when the asset was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the asset was updated. An RFC3339 formatted datetime string.
- Vm
Asset
Vm - (Updatable) Virtual machine related properties.
- Vmware
Vcenter AssetVmware Vcenter - (Updatable) VMware vCenter related properties.
- Vmware
Vm AssetVmware Vm - (Updatable) VMware virtual machine related properties.
- Asset
Source []stringIds - (Updatable) List of asset source OCID.
- Asset
Type string - (Updatable) The type of asset.
- Compartment
Id string - (Updatable) The OCID of the compartment that the asset belongs to.
- Compute
Asset
Compute Args - (Updatable) Compute related properties.
- map[string]string
- (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 string - (Updatable) Asset display name.
- External
Asset stringKey - The key of the asset from the external environment.
- map[string]string
- (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 string - Inventory ID to which an asset belongs.
- Source
Key string - The source key to which the asset belongs.
- State string
- The current state of the asset.
- map[string]string
- 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 string - The time when the asset was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the asset was updated. An RFC3339 formatted datetime string.
- Vm
Asset
Vm Args - (Updatable) Virtual machine related properties.
- Vmware
Vcenter AssetVmware Vcenter Args - (Updatable) VMware vCenter related properties.
- Vmware
Vm AssetVmware Vm Args - (Updatable) VMware virtual machine related properties.
- asset
Source List<String>Ids - (Updatable) List of asset source OCID.
- asset
Type String - (Updatable) The type of asset.
- compartment
Id String - (Updatable) The OCID of the compartment that the asset belongs to.
- compute
Asset
Compute - (Updatable) Compute related properties.
- Map<String,String>
- (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 String - (Updatable) Asset display name.
- external
Asset StringKey - The key of the asset from the external environment.
- Map<String,String>
- (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 String - Inventory ID to which an asset belongs.
- source
Key String - The source key to which the asset belongs.
- state String
- The current state of the asset.
- Map<String,String>
- 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 String - The time when the asset was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the asset was updated. An RFC3339 formatted datetime string.
- vm
Asset
Vm - (Updatable) Virtual machine related properties.
- vmware
Vcenter AssetVmware Vcenter - (Updatable) VMware vCenter related properties.
- vmware
Vm AssetVmware Vm - (Updatable) VMware virtual machine related properties.
- asset
Source string[]Ids - (Updatable) List of asset source OCID.
- asset
Type string - (Updatable) The type of asset.
- compartment
Id string - (Updatable) The OCID of the compartment that the asset belongs to.
- compute
Asset
Compute - (Updatable) Compute related properties.
- {[key: string]: string}
- (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 string - (Updatable) Asset display name.
- external
Asset stringKey - The key of the asset from the external environment.
- {[key: string]: string}
- (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 string - Inventory ID to which an asset belongs.
- source
Key string - The source key to which the asset belongs.
- state string
- The current state of the asset.
- {[key: string]: string}
- 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 string - The time when the asset was created. An RFC3339 formatted datetime string.
- time
Updated string - The time when the asset was updated. An RFC3339 formatted datetime string.
- vm
Asset
Vm - (Updatable) Virtual machine related properties.
- vmware
Vcenter AssetVmware Vcenter - (Updatable) VMware vCenter related properties.
- vmware
Vm AssetVmware Vm - (Updatable) VMware virtual machine related properties.
- asset_
source_ Sequence[str]ids - (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
cloudbridge.
Asset Compute Args - (Updatable) Compute related properties.
- Mapping[str, str]
- (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_ strkey - The key of the asset from the external environment.
- Mapping[str, str]
- (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.
- Mapping[str, str]
- 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
cloudbridge.
Asset Vm Args - (Updatable) Virtual machine related properties.
- vmware_
vcenter cloudbridge.Asset Vmware Vcenter Args - (Updatable) VMware vCenter related properties.
- vmware_
vm cloudbridge.Asset Vmware Vm Args - (Updatable) VMware virtual machine related properties.
- asset
Source List<String>Ids - (Updatable) List of asset source OCID.
- asset
Type String - (Updatable) The type of asset.
- compartment
Id String - (Updatable) The OCID of the compartment that the asset belongs to.
- compute Property Map
- (Updatable) Compute related properties.
- Map<String>
- (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 String - (Updatable) Asset display name.
- external
Asset StringKey - The key of the asset from the external environment.
- Map<String>
- (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 String - Inventory ID to which an asset belongs.
- source
Key String - The source key to which the asset belongs.
- state String
- The current state of the asset.
- Map<String>
- 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 String - The time when the asset was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the asset was updated. An RFC3339 formatted datetime string.
- vm Property Map
- (Updatable) Virtual machine related properties.
- vmware
Vcenter Property Map - (Updatable) VMware vCenter related properties.
- vmware
Vm Property Map - (Updatable) VMware virtual machine related properties.
Supporting Types
AssetCompute, AssetComputeArgs
- Connected
Networks int - (Updatable) Number of connected networks.
- Cores
Count int - (Updatable) Number of CPUs.
- Cpu
Model string - (Updatable) CPU model name.
- Description string
- (Updatable) Information about the asset.
- Disks
List<Asset
Compute Disk> - (Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.
- Disks
Count int - (Updatable) Number of disks.
- Dns
Name string - (Updatable) Fully Qualified DNS Name.
- Firmware string
- (Updatable) Information about firmware type for this virtual machine.
- Gpu
Devices List<AssetCompute Gpu Device> - (Updatable) List of GPU devices attached to a virtual machine.
- Gpu
Devices intCount - (Updatable) Number of GPU devices.
- Guest
State string - (Updatable) Guest state.
- Hardware
Version string - (Updatable) Hardware version.
- Host
Name string - (Updatable) Host name of the VM.
- Is
Pmem boolEnabled - (Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.
- Is
Tpm boolEnabled - (Updatable) Whether Trusted Platform Module (TPM) is enabled.
- Latency
Sensitivity string - (Updatable) Latency sensitivity.
- Memory
In stringMbs - (Updatable) Memory size in MBs.
- Nics
List<Asset
Compute Nic> - (Updatable) List of network ethernet cards attached to a virtual machine.
- Nics
Count int - (Updatable) Number of network ethernet cards.
- Nvdimm
Controller AssetCompute Nvdimm Controller - (Updatable) The asset's NVDIMM configuration.
- Nvdimms
List<Asset
Compute Nvdimm> - (Updatable) The properties of the NVDIMMs attached to a virtual machine.
- Operating
System string - (Updatable) Operating system.
- Operating
System stringVersion - (Updatable) Operating system version.
- Pmem
In stringMbs - (Updatable) Pmem size in MBs.
- Power
State string - (Updatable) The current power state of the virtual machine.
- Primary
Ip string - (Updatable) Primary IP address of the compute instance.
- Scsi
Controller AssetCompute Scsi Controller - (Updatable) The assets SCSI controller.
- Storage
Provisioned stringIn Mbs - (Updatable) Provision storage size in MBs.
- Threads
Per intCore Count - (Updatable) Number of threads per core.
- Connected
Networks int - (Updatable) Number of connected networks.
- Cores
Count int - (Updatable) Number of CPUs.
- Cpu
Model string - (Updatable) CPU model name.
- Description string
- (Updatable) Information about the asset.
- Disks
[]Asset
Compute Disk - (Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.
- Disks
Count int - (Updatable) Number of disks.
- Dns
Name string - (Updatable) Fully Qualified DNS Name.
- Firmware string
- (Updatable) Information about firmware type for this virtual machine.
- Gpu
Devices []AssetCompute Gpu Device - (Updatable) List of GPU devices attached to a virtual machine.
- Gpu
Devices intCount - (Updatable) Number of GPU devices.
- Guest
State string - (Updatable) Guest state.
- Hardware
Version string - (Updatable) Hardware version.
- Host
Name string - (Updatable) Host name of the VM.
- Is
Pmem boolEnabled - (Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.
- Is
Tpm boolEnabled - (Updatable) Whether Trusted Platform Module (TPM) is enabled.
- Latency
Sensitivity string - (Updatable) Latency sensitivity.
- Memory
In stringMbs - (Updatable) Memory size in MBs.
- Nics
[]Asset
Compute Nic - (Updatable) List of network ethernet cards attached to a virtual machine.
- Nics
Count int - (Updatable) Number of network ethernet cards.
- Nvdimm
Controller AssetCompute Nvdimm Controller - (Updatable) The asset's NVDIMM configuration.
- Nvdimms
[]Asset
Compute Nvdimm - (Updatable) The properties of the NVDIMMs attached to a virtual machine.
- Operating
System string - (Updatable) Operating system.
- Operating
System stringVersion - (Updatable) Operating system version.
- Pmem
In stringMbs - (Updatable) Pmem size in MBs.
- Power
State string - (Updatable) The current power state of the virtual machine.
- Primary
Ip string - (Updatable) Primary IP address of the compute instance.
- Scsi
Controller AssetCompute Scsi Controller - (Updatable) The assets SCSI controller.
- Storage
Provisioned stringIn Mbs - (Updatable) Provision storage size in MBs.
- Threads
Per intCore Count - (Updatable) Number of threads per core.
- connected
Networks Integer - (Updatable) Number of connected networks.
- cores
Count Integer - (Updatable) Number of CPUs.
- cpu
Model String - (Updatable) CPU model name.
- description String
- (Updatable) Information about the asset.
- disks
List<Asset
Compute Disk> - (Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.
- disks
Count Integer - (Updatable) Number of disks.
- dns
Name String - (Updatable) Fully Qualified DNS Name.
- firmware String
- (Updatable) Information about firmware type for this virtual machine.
- gpu
Devices List<AssetCompute Gpu Device> - (Updatable) List of GPU devices attached to a virtual machine.
- gpu
Devices IntegerCount - (Updatable) Number of GPU devices.
- guest
State String - (Updatable) Guest state.
- hardware
Version String - (Updatable) Hardware version.
- host
Name String - (Updatable) Host name of the VM.
- is
Pmem BooleanEnabled - (Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.
- is
Tpm BooleanEnabled - (Updatable) Whether Trusted Platform Module (TPM) is enabled.
- latency
Sensitivity String - (Updatable) Latency sensitivity.
- memory
In StringMbs - (Updatable) Memory size in MBs.
- nics
List<Asset
Compute Nic> - (Updatable) List of network ethernet cards attached to a virtual machine.
- nics
Count Integer - (Updatable) Number of network ethernet cards.
- nvdimm
Controller AssetCompute Nvdimm Controller - (Updatable) The asset's NVDIMM configuration.
- nvdimms
List<Asset
Compute Nvdimm> - (Updatable) The properties of the NVDIMMs attached to a virtual machine.
- operating
System String - (Updatable) Operating system.
- operating
System StringVersion - (Updatable) Operating system version.
- pmem
In StringMbs - (Updatable) Pmem size in MBs.
- power
State String - (Updatable) The current power state of the virtual machine.
- primary
Ip String - (Updatable) Primary IP address of the compute instance.
- scsi
Controller AssetCompute Scsi Controller - (Updatable) The assets SCSI controller.
- storage
Provisioned StringIn Mbs - (Updatable) Provision storage size in MBs.
- threads
Per IntegerCore Count - (Updatable) Number of threads per core.
- connected
Networks number - (Updatable) Number of connected networks.
- cores
Count number - (Updatable) Number of CPUs.
- cpu
Model string - (Updatable) CPU model name.
- description string
- (Updatable) Information about the asset.
- disks
Asset
Compute Disk[] - (Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.
- disks
Count number - (Updatable) Number of disks.
- dns
Name string - (Updatable) Fully Qualified DNS Name.
- firmware string
- (Updatable) Information about firmware type for this virtual machine.
- gpu
Devices AssetCompute Gpu Device[] - (Updatable) List of GPU devices attached to a virtual machine.
- gpu
Devices numberCount - (Updatable) Number of GPU devices.
- guest
State string - (Updatable) Guest state.
- hardware
Version string - (Updatable) Hardware version.
- host
Name string - (Updatable) Host name of the VM.
- is
Pmem booleanEnabled - (Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.
- is
Tpm booleanEnabled - (Updatable) Whether Trusted Platform Module (TPM) is enabled.
- latency
Sensitivity string - (Updatable) Latency sensitivity.
- memory
In stringMbs - (Updatable) Memory size in MBs.
- nics
Asset
Compute Nic[] - (Updatable) List of network ethernet cards attached to a virtual machine.
- nics
Count number - (Updatable) Number of network ethernet cards.
- nvdimm
Controller AssetCompute Nvdimm Controller - (Updatable) The asset's NVDIMM configuration.
- nvdimms
Asset
Compute Nvdimm[] - (Updatable) The properties of the NVDIMMs attached to a virtual machine.
- operating
System string - (Updatable) Operating system.
- operating
System stringVersion - (Updatable) Operating system version.
- pmem
In stringMbs - (Updatable) Pmem size in MBs.
- power
State string - (Updatable) The current power state of the virtual machine.
- primary
Ip string - (Updatable) Primary IP address of the compute instance.
- scsi
Controller AssetCompute Scsi Controller - (Updatable) The assets SCSI controller.
- storage
Provisioned stringIn Mbs - (Updatable) Provision storage size in MBs.
- threads
Per numberCore Count - (Updatable) Number of threads per core.
- connected_
networks int - (Updatable) Number of connected networks.
- cores_
count int - (Updatable) Number of CPUs.
- cpu_
model str - (Updatable) CPU model name.
- description str
- (Updatable) Information about the asset.
- disks
Sequence[cloudbridge.
Asset Compute Disk] - (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 Sequence[cloudbridge.Asset Compute Gpu Device] - (Updatable) List of GPU devices attached to a virtual machine.
- gpu_
devices_ intcount - (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_ boolenabled - (Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.
- is_
tpm_ boolenabled - (Updatable) Whether Trusted Platform Module (TPM) is enabled.
- latency_
sensitivity str - (Updatable) Latency sensitivity.
- memory_
in_ strmbs - (Updatable) Memory size in MBs.
- nics
Sequence[cloudbridge.
Asset Compute Nic] - (Updatable) List of network ethernet cards attached to a virtual machine.
- nics_
count int - (Updatable) Number of network ethernet cards.
- nvdimm_
controller cloudbridge.Asset Compute Nvdimm Controller - (Updatable) The asset's NVDIMM configuration.
- nvdimms
Sequence[cloudbridge.
Asset Compute Nvdimm] - (Updatable) The properties of the NVDIMMs attached to a virtual machine.
- operating_
system str - (Updatable) Operating system.
- operating_
system_ strversion - (Updatable) Operating system version.
- pmem_
in_ strmbs - (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 cloudbridge.Asset Compute Scsi Controller - (Updatable) The assets SCSI controller.
- storage_
provisioned_ strin_ mbs - (Updatable) Provision storage size in MBs.
- threads_
per_ intcore_ count - (Updatable) Number of threads per core.
- connected
Networks Number - (Updatable) Number of connected networks.
- cores
Count Number - (Updatable) Number of CPUs.
- cpu
Model String - (Updatable) CPU model name.
- description String
- (Updatable) Information about the asset.
- disks List<Property Map>
- (Updatable) Lists the set of disks belonging to the virtual machine. This list is unordered.
- disks
Count Number - (Updatable) Number of disks.
- dns
Name String - (Updatable) Fully Qualified DNS Name.
- firmware String
- (Updatable) Information about firmware type for this virtual machine.
- gpu
Devices List<Property Map> - (Updatable) List of GPU devices attached to a virtual machine.
- gpu
Devices NumberCount - (Updatable) Number of GPU devices.
- guest
State String - (Updatable) Guest state.
- hardware
Version String - (Updatable) Hardware version.
- host
Name String - (Updatable) Host name of the VM.
- is
Pmem BooleanEnabled - (Updatable) Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.
- is
Tpm BooleanEnabled - (Updatable) Whether Trusted Platform Module (TPM) is enabled.
- latency
Sensitivity String - (Updatable) Latency sensitivity.
- memory
In StringMbs - (Updatable) Memory size in MBs.
- nics List<Property Map>
- (Updatable) List of network ethernet cards attached to a virtual machine.
- nics
Count Number - (Updatable) Number of network ethernet cards.
- nvdimm
Controller Property Map - (Updatable) The asset's NVDIMM configuration.
- nvdimms List<Property Map>
- (Updatable) The properties of the NVDIMMs attached to a virtual machine.
- operating
System String - (Updatable) Operating system.
- operating
System StringVersion - (Updatable) Operating system version.
- pmem
In StringMbs - (Updatable) Pmem size in MBs.
- power
State String - (Updatable) The current power state of the virtual machine.
- primary
Ip String - (Updatable) Primary IP address of the compute instance.
- scsi
Controller Property Map - (Updatable) The assets SCSI controller.
- storage
Provisioned StringIn Mbs - (Updatable) Provision storage size in MBs.
- threads
Per NumberCore Count - (Updatable) Number of threads per core.
AssetComputeDisk, AssetComputeDiskArgs
- Boot
Order int - (Updatable) Order of boot volumes.
- Location string
- (Updatable) Location of the boot/data volume.
- Name string
- (Updatable) Disk name.
- Persistent
Mode string - (Updatable) The disk persistent mode.
- Size
In stringMbs - (Updatable) The size of the volume in MBs.
- Uuid string
- (Updatable) Disk UUID for the virtual disk, if available.
- Uuid
Lun string - (Updatable) Disk UUID LUN for the virtual disk, if available.
- Boot
Order int - (Updatable) Order of boot volumes.
- Location string
- (Updatable) Location of the boot/data volume.
- Name string
- (Updatable) Disk name.
- Persistent
Mode string - (Updatable) The disk persistent mode.
- Size
In stringMbs - (Updatable) The size of the volume in MBs.
- Uuid string
- (Updatable) Disk UUID for the virtual disk, if available.
- Uuid
Lun string - (Updatable) Disk UUID LUN for the virtual disk, if available.
- boot
Order Integer - (Updatable) Order of boot volumes.
- location String
- (Updatable) Location of the boot/data volume.
- name String
- (Updatable) Disk name.
- persistent
Mode String - (Updatable) The disk persistent mode.
- size
In StringMbs - (Updatable) The size of the volume in MBs.
- uuid String
- (Updatable) Disk UUID for the virtual disk, if available.
- uuid
Lun String - (Updatable) Disk UUID LUN for the virtual disk, if available.
- boot
Order number - (Updatable) Order of boot volumes.
- location string
- (Updatable) Location of the boot/data volume.
- name string
- (Updatable) Disk name.
- persistent
Mode string - (Updatable) The disk persistent mode.
- size
In stringMbs - (Updatable) The size of the volume in MBs.
- uuid string
- (Updatable) Disk UUID for the virtual disk, if available.
- uuid
Lun 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) Disk name.
- persistent_
mode str - (Updatable) The disk persistent mode.
- size_
in_ strmbs - (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.
- boot
Order Number - (Updatable) Order of boot volumes.
- location String
- (Updatable) Location of the boot/data volume.
- name String
- (Updatable) Disk name.
- persistent
Mode String - (Updatable) The disk persistent mode.
- size
In StringMbs - (Updatable) The size of the volume in MBs.
- uuid String
- (Updatable) Disk UUID for the virtual disk, if available.
- uuid
Lun String - (Updatable) Disk UUID LUN for the virtual disk, if available.
AssetComputeGpuDevice, AssetComputeGpuDeviceArgs
- Cores
Count int - (Updatable) Number of GPU cores.
- Description string
- (Updatable) GPU device description.
- Manufacturer string
- (Updatable) The manufacturer of GPU.
- Memory
In stringMbs - (Updatable) GPU memory size in MBs.
- Name string
- (Updatable) GPU device name.
- Cores
Count int - (Updatable) Number of GPU cores.
- Description string
- (Updatable) GPU device description.
- Manufacturer string
- (Updatable) The manufacturer of GPU.
- Memory
In stringMbs - (Updatable) GPU memory size in MBs.
- Name string
- (Updatable) GPU device name.
- cores
Count Integer - (Updatable) Number of GPU cores.
- description String
- (Updatable) GPU device description.
- manufacturer String
- (Updatable) The manufacturer of GPU.
- memory
In StringMbs - (Updatable) GPU memory size in MBs.
- name String
- (Updatable) GPU device name.
- cores
Count number - (Updatable) Number of GPU cores.
- description string
- (Updatable) GPU device description.
- manufacturer string
- (Updatable) The manufacturer of GPU.
- memory
In stringMbs - (Updatable) GPU memory size in MBs.
- name string
- (Updatable) GPU device name.
- cores_
count int - (Updatable) Number of GPU cores.
- description str
- (Updatable) GPU device description.
- manufacturer str
- (Updatable) The manufacturer of GPU.
- memory_
in_ strmbs - (Updatable) GPU memory size in MBs.
- name str
- (Updatable) GPU device name.
- cores
Count Number - (Updatable) Number of GPU cores.
- description String
- (Updatable) GPU device description.
- manufacturer String
- (Updatable) The manufacturer of GPU.
- memory
In StringMbs - (Updatable) GPU memory size in MBs.
- name String
- (Updatable) GPU device name.
AssetComputeNic, AssetComputeNicArgs
- Ip
Addresses List<string> - (Updatable) List of IP addresses.
- Label string
- (Updatable) Provides a label and summary information for the device.
- Mac
Address string - (Updatable) Mac address of the VM.
- Mac
Address stringType - (Updatable) Mac address type.
- Network
Name string - (Updatable) Network name.
- Switch
Name string - (Updatable) Switch name.
- Ip
Addresses []string - (Updatable) List of IP addresses.
- Label string
- (Updatable) Provides a label and summary information for the device.
- Mac
Address string - (Updatable) Mac address of the VM.
- Mac
Address stringType - (Updatable) Mac address type.
- Network
Name string - (Updatable) Network name.
- Switch
Name string - (Updatable) Switch name.
- ip
Addresses List<String> - (Updatable) List of IP addresses.
- label String
- (Updatable) Provides a label and summary information for the device.
- mac
Address String - (Updatable) Mac address of the VM.
- mac
Address StringType - (Updatable) Mac address type.
- network
Name String - (Updatable) Network name.
- switch
Name String - (Updatable) Switch name.
- ip
Addresses string[] - (Updatable) List of IP addresses.
- label string
- (Updatable) Provides a label and summary information for the device.
- mac
Address string - (Updatable) Mac address of the VM.
- mac
Address stringType - (Updatable) Mac address type.
- network
Name string - (Updatable) Network name.
- switch
Name 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_ strtype - (Updatable) Mac address type.
- network_
name str - (Updatable) Network name.
- switch_
name str - (Updatable) Switch name.
- ip
Addresses List<String> - (Updatable) List of IP addresses.
- label String
- (Updatable) Provides a label and summary information for the device.
- mac
Address String - (Updatable) Mac address of the VM.
- mac
Address StringType - (Updatable) Mac address type.
- network
Name String - (Updatable) Network name.
- switch
Name String - (Updatable) Switch name.
AssetComputeNvdimm, AssetComputeNvdimmArgs
- Controller
Key int - (Updatable) Controller key.
- Label string
- (Updatable) Provides a label and summary information for the device.
- Unit
Number int - (Updatable) The unit number of NVDIMM.
- Controller
Key int - (Updatable) Controller key.
- Label string
- (Updatable) Provides a label and summary information for the device.
- Unit
Number int - (Updatable) The unit number of NVDIMM.
- controller
Key Integer - (Updatable) Controller key.
- label String
- (Updatable) Provides a label and summary information for the device.
- unit
Number Integer - (Updatable) The unit number of NVDIMM.
- controller
Key number - (Updatable) Controller key.
- label string
- (Updatable) Provides a label and summary information for the device.
- unit
Number number - (Updatable) The unit number of NVDIMM.
- 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 NVDIMM.
- controller
Key Number - (Updatable) Controller key.
- label String
- (Updatable) Provides a label and summary information for the device.
- unit
Number Number - (Updatable) The unit number of NVDIMM.
AssetComputeNvdimmController, AssetComputeNvdimmControllerArgs
- bus_
number int - (Updatable) Bus number.
- label str
- (Updatable) Provides a label and summary information for the device.
AssetComputeScsiController, AssetComputeScsiControllerArgs
- Label string
- (Updatable) Provides a label and summary information for the device.
- string
- (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.
- string
- (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.
- String
- (Updatable) Shared bus.
- unit
Number Integer - (Updatable) The unit number of the SCSI controller.
- label string
- (Updatable) Provides a label and summary information for the device.
- string
- (Updatable) Shared bus.
- unit
Number number - (Updatable) The unit number of the SCSI controller.
- label str
- (Updatable) Provides a label and summary information for the device.
- 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.
- String
- (Updatable) Shared bus.
- unit
Number Number - (Updatable) The unit number of the SCSI controller.
AssetVm, AssetVmArgs
- Hypervisor
Host string - (Updatable) Host name/IP address of VM on which the host is running.
- Hypervisor
Vendor string - (Updatable) Hypervisor vendor.
- Hypervisor
Version string - (Updatable) Hypervisor version.
- Hypervisor
Host string - (Updatable) Host name/IP address of VM on which the host is running.
- Hypervisor
Vendor string - (Updatable) Hypervisor vendor.
- Hypervisor
Version string - (Updatable) Hypervisor version.
- hypervisor
Host String - (Updatable) Host name/IP address of VM on which the host is running.
- hypervisor
Vendor String - (Updatable) Hypervisor vendor.
- hypervisor
Version String - (Updatable) Hypervisor version.
- hypervisor
Host string - (Updatable) Host name/IP address of VM on which the host is running.
- hypervisor
Vendor string - (Updatable) Hypervisor vendor.
- hypervisor
Version 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.
- hypervisor
Host String - (Updatable) Host name/IP address of VM on which the host is running.
- hypervisor
Vendor String - (Updatable) Hypervisor vendor.
- hypervisor
Version String - (Updatable) Hypervisor version.
AssetVmwareVcenter, AssetVmwareVcenterArgs
- Data
Center string - (Updatable) Data center name.
- Vcenter
Key string - (Updatable) vCenter unique key.
- Vcenter
Version string - (Updatable) Dot-separated version string.
- Data
Center string - (Updatable) Data center name.
- Vcenter
Key string - (Updatable) vCenter unique key.
- Vcenter
Version string - (Updatable) Dot-separated version string.
- data
Center String - (Updatable) Data center name.
- vcenter
Key String - (Updatable) vCenter unique key.
- vcenter
Version String - (Updatable) Dot-separated version string.
- data
Center string - (Updatable) Data center name.
- vcenter
Key string - (Updatable) vCenter unique key.
- vcenter
Version 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.
- data
Center String - (Updatable) Data center name.
- vcenter
Key String - (Updatable) vCenter unique key.
- vcenter
Version String - (Updatable) Dot-separated version string.
AssetVmwareVm, AssetVmwareVmArgs
- Cluster string
- (Updatable) Cluster name.
- Customer
Fields List<string> - (Updatable) Customer fields.
- List<Asset
Vmware Vm Customer Tag> - (Updatable) Customer defined tags.
- Fault
Tolerance intBandwidth - (Updatable) Fault tolerance bandwidth.
- Fault
Tolerance intSecondary Latency - (Updatable) Fault tolerance to secondary latency.
- Fault
Tolerance stringState - (Updatable) Fault tolerance state.
- Instance
Uuid string - (Updatable) vCenter-specific identifier of the virtual machine.
- Is
Disks boolCbt Enabled - (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 boolUuid Enabled - (Updatable) Whether changed block tracking for this VM's disk is active.
- Path string
- (Updatable) Path directory of the asset.
- Vmware
Tools stringStatus (Updatable) VMware tools status.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Cluster string
- (Updatable) Cluster name.
- Customer
Fields []string - (Updatable) Customer fields.
- []Asset
Vmware Vm Customer Tag - (Updatable) Customer defined tags.
- Fault
Tolerance intBandwidth - (Updatable) Fault tolerance bandwidth.
- Fault
Tolerance intSecondary Latency - (Updatable) Fault tolerance to secondary latency.
- Fault
Tolerance stringState - (Updatable) Fault tolerance state.
- Instance
Uuid string - (Updatable) vCenter-specific identifier of the virtual machine.
- Is
Disks boolCbt Enabled - (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 boolUuid Enabled - (Updatable) Whether changed block tracking for this VM's disk is active.
- Path string
- (Updatable) Path directory of the asset.
- Vmware
Tools stringStatus (Updatable) VMware tools status.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- cluster String
- (Updatable) Cluster name.
- customer
Fields List<String> - (Updatable) Customer fields.
- List<Asset
Vmware Vm Customer Tag> - (Updatable) Customer defined tags.
- fault
Tolerance IntegerBandwidth - (Updatable) Fault tolerance bandwidth.
- fault
Tolerance IntegerSecondary Latency - (Updatable) Fault tolerance to secondary latency.
- fault
Tolerance StringState - (Updatable) Fault tolerance state.
- instance
Uuid String - (Updatable) vCenter-specific identifier of the virtual machine.
- is
Disks BooleanCbt Enabled - (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 BooleanUuid Enabled - (Updatable) Whether changed block tracking for this VM's disk is active.
- path String
- (Updatable) Path directory of the asset.
- vmware
Tools StringStatus (Updatable) VMware tools status.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- cluster string
- (Updatable) Cluster name.
- customer
Fields string[] - (Updatable) Customer fields.
- Asset
Vmware Vm Customer Tag[] - (Updatable) Customer defined tags.
- fault
Tolerance numberBandwidth - (Updatable) Fault tolerance bandwidth.
- fault
Tolerance numberSecondary Latency - (Updatable) Fault tolerance to secondary latency.
- fault
Tolerance stringState - (Updatable) Fault tolerance state.
- instance
Uuid string - (Updatable) vCenter-specific identifier of the virtual machine.
- is
Disks booleanCbt Enabled - (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 booleanUuid Enabled - (Updatable) Whether changed block tracking for this VM's disk is active.
- path string
- (Updatable) Path directory of the asset.
- vmware
Tools stringStatus (Updatable) VMware tools status.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- cluster str
- (Updatable) Cluster name.
- customer_
fields Sequence[str] - (Updatable) Customer fields.
- Sequence[cloudbridge.
Asset Vmware Vm Customer Tag] - (Updatable) Customer defined tags.
- fault_
tolerance_ intbandwidth - (Updatable) Fault tolerance bandwidth.
- fault_
tolerance_ intsecondary_ latency - (Updatable) Fault tolerance to secondary latency.
- fault_
tolerance_ strstate - (Updatable) Fault tolerance state.
- instance_
uuid str - (Updatable) vCenter-specific identifier of the virtual machine.
- is_
disks_ boolcbt_ enabled - (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_ booluuid_ enabled - (Updatable) Whether changed block tracking for this VM's disk is active.
- path str
- (Updatable) Path directory of the asset.
- vmware_
tools_ strstatus (Updatable) VMware tools status.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- cluster String
- (Updatable) Cluster name.
- customer
Fields List<String> - (Updatable) Customer fields.
- List<Property Map>
- (Updatable) Customer defined tags.
- fault
Tolerance NumberBandwidth - (Updatable) Fault tolerance bandwidth.
- fault
Tolerance NumberSecondary Latency - (Updatable) Fault tolerance to secondary latency.
- fault
Tolerance StringState - (Updatable) Fault tolerance state.
- instance
Uuid String - (Updatable) vCenter-specific identifier of the virtual machine.
- is
Disks BooleanCbt Enabled - (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 BooleanUuid Enabled - (Updatable) Whether changed block tracking for this VM's disk is active.
- path String
- (Updatable) Path directory of the asset.
- vmware
Tools StringStatus (Updatable) VMware tools status.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
AssetVmwareVmCustomerTag, AssetVmwareVmCustomerTagArgs
- 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"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.