published on Friday, Apr 24, 2026 by Pulumi
published on Friday, Apr 24, 2026 by Pulumi
This resource provides the Asset resource in Oracle Cloud Infrastructure Cloud Bridge service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/OCB/latest/Asset
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudBridge
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,
assetClassName: assetAssetClassName,
assetClassVersion: assetAssetClassVersion,
assetDetails: assetAssetDetails,
assetSourceIds: assetAssetSourceIds,
attachedEbsVolumesCost: {
amount: assetAttachedEbsVolumesCostAmount,
currencyCode: assetAttachedEbsVolumesCostCurrencyCode,
},
awsEbs: {
attachments: [{
device: assetAwsEbsAttachmentsDevice,
instanceKey: assetAwsEbsAttachmentsInstanceKey,
isDeleteOnTermination: assetAwsEbsAttachmentsIsDeleteOnTermination,
status: assetAwsEbsAttachmentsStatus,
volumeKey: assetAwsEbsAttachmentsVolumeKey,
}],
availabilityZone: assetAwsEbsAvailabilityZone,
iops: assetAwsEbsIops,
isEncrypted: assetAwsEbsIsEncrypted,
isMultiAttachEnabled: assetAwsEbsIsMultiAttachEnabled,
sizeInGiBs: assetAwsEbsSizeInGiBs,
status: assetAwsEbsStatus,
tags: [{
key: assetAwsEbsTagsKey,
value: assetAwsEbsTagsValue,
}],
throughput: assetAwsEbsThroughput,
volumeKey: assetAwsEbsVolumeKey,
volumeType: assetAwsEbsVolumeType,
},
awsEc2: {
architecture: assetAwsEc2Architecture,
areElasticInferenceAcceleratorsPresent: assetAwsEc2AreElasticInferenceAcceleratorsPresent,
bootMode: assetAwsEc2BootMode,
capacityReservationKey: assetAwsEc2CapacityReservationKey,
imageKey: assetAwsEc2ImageKey,
instanceKey: assetAwsEc2InstanceKey,
instanceLifecycle: assetAwsEc2InstanceLifecycle,
instanceType: assetAwsEc2InstanceType,
ipAddress: assetAwsEc2IpAddress,
ipv6address: assetAwsEc2Ipv6address,
isEnclaveOptions: assetAwsEc2IsEnclaveOptions,
isHibernationOptions: assetAwsEc2IsHibernationOptions,
isSourceDestCheck: assetAwsEc2IsSourceDestCheck,
isSpotInstance: assetAwsEc2IsSpotInstance,
kernelKey: assetAwsEc2KernelKey,
licenses: assetAwsEc2Licenses,
maintenanceOptions: assetAwsEc2MaintenanceOptions,
monitoring: assetAwsEc2Monitoring,
networkInterfaces: [{
association: {
carrierIp: assetAwsEc2NetworkInterfacesAssociationCarrierIp,
customerOwnedIp: assetAwsEc2NetworkInterfacesAssociationCustomerOwnedIp,
ipOwnerKey: assetAwsEc2NetworkInterfacesAssociationIpOwnerKey,
publicDnsName: assetAwsEc2NetworkInterfacesAssociationPublicDnsName,
publicIp: assetAwsEc2NetworkInterfacesAssociationPublicIp,
},
attachment: {
attachmentKey: assetAwsEc2NetworkInterfacesAttachmentAttachmentKey,
deviceIndex: assetAwsEc2NetworkInterfacesAttachmentDeviceIndex,
isDeleteOnTermination: assetAwsEc2NetworkInterfacesAttachmentIsDeleteOnTermination,
networkCardIndex: assetAwsEc2NetworkInterfacesAttachmentNetworkCardIndex,
status: assetAwsEc2NetworkInterfacesAttachmentStatus,
timeAttach: assetAwsEc2NetworkInterfacesAttachmentTimeAttach,
},
description: assetAwsEc2NetworkInterfacesDescription,
interfaceType: assetAwsEc2NetworkInterfacesInterfaceType,
ipv4prefixes: assetAwsEc2NetworkInterfacesIpv4prefixes,
ipv6addresses: assetAwsEc2NetworkInterfacesIpv6addresses,
ipv6prefixes: assetAwsEc2NetworkInterfacesIpv6prefixes,
isSourceDestCheck: assetAwsEc2NetworkInterfacesIsSourceDestCheck,
macAddress: assetAwsEc2NetworkInterfacesMacAddress,
networkInterfaceKey: assetAwsEc2NetworkInterfacesNetworkInterfaceKey,
ownerKey: assetAwsEc2NetworkInterfacesOwnerKey,
privateIpAddresses: [{
association: {
carrierIp: assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCarrierIp,
customerOwnedIp: assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCustomerOwnedIp,
ipOwnerKey: assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationIpOwnerKey,
publicDnsName: assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicDnsName,
publicIp: assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicIp,
},
isPrimary: assetAwsEc2NetworkInterfacesPrivateIpAddressesIsPrimary,
privateDnsName: assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateDnsName,
privateIpAddress: assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateIpAddress,
}],
securityGroups: [{
groupKey: assetAwsEc2NetworkInterfacesSecurityGroupsGroupKey,
groupName: testGroup.name,
}],
status: assetAwsEc2NetworkInterfacesStatus,
subnetKey: assetAwsEc2NetworkInterfacesSubnetKey,
}],
placement: {
affinity: assetAwsEc2PlacementAffinity,
availabilityZone: assetAwsEc2PlacementAvailabilityZone,
groupName: testGroup.name,
hostKey: assetAwsEc2PlacementHostKey,
hostResourceGroupArn: assetAwsEc2PlacementHostResourceGroupArn,
partitionNumber: assetAwsEc2PlacementPartitionNumber,
spreadDomain: assetAwsEc2PlacementSpreadDomain,
tenancy: assetAwsEc2PlacementTenancy,
},
privateDnsName: assetAwsEc2PrivateDnsName,
privateIpAddress: assetAwsEc2PrivateIpAddress,
rootDeviceName: assetAwsEc2RootDeviceName,
rootDeviceType: assetAwsEc2RootDeviceType,
securityGroups: [{
groupKey: assetAwsEc2SecurityGroupsGroupKey,
groupName: testGroup.name,
}],
sriovNetSupport: assetAwsEc2SriovNetSupport,
state: {
code: assetAwsEc2StateCode,
name: assetAwsEc2StateName,
},
subnetKey: assetAwsEc2SubnetKey,
tags: [{
key: assetAwsEc2TagsKey,
value: assetAwsEc2TagsValue,
}],
timeLaunch: assetAwsEc2TimeLaunch,
tpmSupport: assetAwsEc2TpmSupport,
virtualizationType: assetAwsEc2VirtualizationType,
vpcKey: assetAwsEc2VpcKey,
},
awsEc2cost: {
amount: assetAwsEc2costAmount,
currencyCode: assetAwsEc2costCurrencyCode,
},
compute: {
connectedNetworks: assetComputeConnectedNetworks,
coresCount: assetComputeCoresCount,
cpuModel: assetComputeCpuModel,
description: assetComputeDescription,
disks: [{
bootOrder: assetComputeDisksBootOrder,
isCbtEnabled: assetComputeDisksIsCbtEnabled,
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,
environmentType: assetEnvironmentType,
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.cloudbridge.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_class_name=asset_asset_class_name,
asset_class_version=asset_asset_class_version,
asset_details=asset_asset_details,
asset_source_ids=asset_asset_source_ids,
attached_ebs_volumes_cost={
"amount": asset_attached_ebs_volumes_cost_amount,
"currency_code": asset_attached_ebs_volumes_cost_currency_code,
},
aws_ebs={
"attachments": [{
"device": asset_aws_ebs_attachments_device,
"instance_key": asset_aws_ebs_attachments_instance_key,
"is_delete_on_termination": asset_aws_ebs_attachments_is_delete_on_termination,
"status": asset_aws_ebs_attachments_status,
"volume_key": asset_aws_ebs_attachments_volume_key,
}],
"availability_zone": asset_aws_ebs_availability_zone,
"iops": asset_aws_ebs_iops,
"is_encrypted": asset_aws_ebs_is_encrypted,
"is_multi_attach_enabled": asset_aws_ebs_is_multi_attach_enabled,
"size_in_gi_bs": asset_aws_ebs_size_in_gi_bs,
"status": asset_aws_ebs_status,
"tags": [{
"key": asset_aws_ebs_tags_key,
"value": asset_aws_ebs_tags_value,
}],
"throughput": asset_aws_ebs_throughput,
"volume_key": asset_aws_ebs_volume_key,
"volume_type": asset_aws_ebs_volume_type,
},
aws_ec2={
"architecture": asset_aws_ec2_architecture,
"are_elastic_inference_accelerators_present": asset_aws_ec2_are_elastic_inference_accelerators_present,
"boot_mode": asset_aws_ec2_boot_mode,
"capacity_reservation_key": asset_aws_ec2_capacity_reservation_key,
"image_key": asset_aws_ec2_image_key,
"instance_key": asset_aws_ec2_instance_key,
"instance_lifecycle": asset_aws_ec2_instance_lifecycle,
"instance_type": asset_aws_ec2_instance_type,
"ip_address": asset_aws_ec2_ip_address,
"ipv6address": asset_aws_ec2_ipv6address,
"is_enclave_options": asset_aws_ec2_is_enclave_options,
"is_hibernation_options": asset_aws_ec2_is_hibernation_options,
"is_source_dest_check": asset_aws_ec2_is_source_dest_check,
"is_spot_instance": asset_aws_ec2_is_spot_instance,
"kernel_key": asset_aws_ec2_kernel_key,
"licenses": asset_aws_ec2_licenses,
"maintenance_options": asset_aws_ec2_maintenance_options,
"monitoring": asset_aws_ec2_monitoring,
"network_interfaces": [{
"association": {
"carrier_ip": asset_aws_ec2_network_interfaces_association_carrier_ip,
"customer_owned_ip": asset_aws_ec2_network_interfaces_association_customer_owned_ip,
"ip_owner_key": asset_aws_ec2_network_interfaces_association_ip_owner_key,
"public_dns_name": asset_aws_ec2_network_interfaces_association_public_dns_name,
"public_ip": asset_aws_ec2_network_interfaces_association_public_ip,
},
"attachment": {
"attachment_key": asset_aws_ec2_network_interfaces_attachment_attachment_key,
"device_index": asset_aws_ec2_network_interfaces_attachment_device_index,
"is_delete_on_termination": asset_aws_ec2_network_interfaces_attachment_is_delete_on_termination,
"network_card_index": asset_aws_ec2_network_interfaces_attachment_network_card_index,
"status": asset_aws_ec2_network_interfaces_attachment_status,
"time_attach": asset_aws_ec2_network_interfaces_attachment_time_attach,
},
"description": asset_aws_ec2_network_interfaces_description,
"interface_type": asset_aws_ec2_network_interfaces_interface_type,
"ipv4prefixes": asset_aws_ec2_network_interfaces_ipv4prefixes,
"ipv6addresses": asset_aws_ec2_network_interfaces_ipv6addresses,
"ipv6prefixes": asset_aws_ec2_network_interfaces_ipv6prefixes,
"is_source_dest_check": asset_aws_ec2_network_interfaces_is_source_dest_check,
"mac_address": asset_aws_ec2_network_interfaces_mac_address,
"network_interface_key": asset_aws_ec2_network_interfaces_network_interface_key,
"owner_key": asset_aws_ec2_network_interfaces_owner_key,
"private_ip_addresses": [{
"association": {
"carrier_ip": asset_aws_ec2_network_interfaces_private_ip_addresses_association_carrier_ip,
"customer_owned_ip": asset_aws_ec2_network_interfaces_private_ip_addresses_association_customer_owned_ip,
"ip_owner_key": asset_aws_ec2_network_interfaces_private_ip_addresses_association_ip_owner_key,
"public_dns_name": asset_aws_ec2_network_interfaces_private_ip_addresses_association_public_dns_name,
"public_ip": asset_aws_ec2_network_interfaces_private_ip_addresses_association_public_ip,
},
"is_primary": asset_aws_ec2_network_interfaces_private_ip_addresses_is_primary,
"private_dns_name": asset_aws_ec2_network_interfaces_private_ip_addresses_private_dns_name,
"private_ip_address": asset_aws_ec2_network_interfaces_private_ip_addresses_private_ip_address,
}],
"security_groups": [{
"group_key": asset_aws_ec2_network_interfaces_security_groups_group_key,
"group_name": test_group["name"],
}],
"status": asset_aws_ec2_network_interfaces_status,
"subnet_key": asset_aws_ec2_network_interfaces_subnet_key,
}],
"placement": {
"affinity": asset_aws_ec2_placement_affinity,
"availability_zone": asset_aws_ec2_placement_availability_zone,
"group_name": test_group["name"],
"host_key": asset_aws_ec2_placement_host_key,
"host_resource_group_arn": asset_aws_ec2_placement_host_resource_group_arn,
"partition_number": asset_aws_ec2_placement_partition_number,
"spread_domain": asset_aws_ec2_placement_spread_domain,
"tenancy": asset_aws_ec2_placement_tenancy,
},
"private_dns_name": asset_aws_ec2_private_dns_name,
"private_ip_address": asset_aws_ec2_private_ip_address,
"root_device_name": asset_aws_ec2_root_device_name,
"root_device_type": asset_aws_ec2_root_device_type,
"security_groups": [{
"group_key": asset_aws_ec2_security_groups_group_key,
"group_name": test_group["name"],
}],
"sriov_net_support": asset_aws_ec2_sriov_net_support,
"state": {
"code": asset_aws_ec2_state_code,
"name": asset_aws_ec2_state_name,
},
"subnet_key": asset_aws_ec2_subnet_key,
"tags": [{
"key": asset_aws_ec2_tags_key,
"value": asset_aws_ec2_tags_value,
}],
"time_launch": asset_aws_ec2_time_launch,
"tpm_support": asset_aws_ec2_tpm_support,
"virtualization_type": asset_aws_ec2_virtualization_type,
"vpc_key": asset_aws_ec2_vpc_key,
},
aws_ec2cost={
"amount": asset_aws_ec2cost_amount,
"currency_code": asset_aws_ec2cost_currency_code,
},
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,
"is_cbt_enabled": asset_compute_disks_is_cbt_enabled,
"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,
environment_type=asset_environment_type,
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/v4/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),
AssetClassName: pulumi.Any(assetAssetClassName),
AssetClassVersion: pulumi.Any(assetAssetClassVersion),
AssetDetails: pulumi.Any(assetAssetDetails),
AssetSourceIds: pulumi.Any(assetAssetSourceIds),
AttachedEbsVolumesCost: &cloudbridge.AssetAttachedEbsVolumesCostArgs{
Amount: pulumi.Any(assetAttachedEbsVolumesCostAmount),
CurrencyCode: pulumi.Any(assetAttachedEbsVolumesCostCurrencyCode),
},
AwsEbs: &cloudbridge.AssetAwsEbsArgs{
Attachments: cloudbridge.AssetAwsEbsAttachmentArray{
&cloudbridge.AssetAwsEbsAttachmentArgs{
Device: pulumi.Any(assetAwsEbsAttachmentsDevice),
InstanceKey: pulumi.Any(assetAwsEbsAttachmentsInstanceKey),
IsDeleteOnTermination: pulumi.Any(assetAwsEbsAttachmentsIsDeleteOnTermination),
Status: pulumi.Any(assetAwsEbsAttachmentsStatus),
VolumeKey: pulumi.Any(assetAwsEbsAttachmentsVolumeKey),
},
},
AvailabilityZone: pulumi.Any(assetAwsEbsAvailabilityZone),
Iops: pulumi.Any(assetAwsEbsIops),
IsEncrypted: pulumi.Any(assetAwsEbsIsEncrypted),
IsMultiAttachEnabled: pulumi.Any(assetAwsEbsIsMultiAttachEnabled),
SizeInGiBs: pulumi.Any(assetAwsEbsSizeInGiBs),
Status: pulumi.Any(assetAwsEbsStatus),
Tags: cloudbridge.AssetAwsEbsTagArray{
&cloudbridge.AssetAwsEbsTagArgs{
Key: pulumi.Any(assetAwsEbsTagsKey),
Value: pulumi.Any(assetAwsEbsTagsValue),
},
},
Throughput: pulumi.Any(assetAwsEbsThroughput),
VolumeKey: pulumi.Any(assetAwsEbsVolumeKey),
VolumeType: pulumi.Any(assetAwsEbsVolumeType),
},
AwsEc2: &cloudbridge.AssetAwsEc2Args{
Architecture: pulumi.Any(assetAwsEc2Architecture),
AreElasticInferenceAcceleratorsPresent: pulumi.Any(assetAwsEc2AreElasticInferenceAcceleratorsPresent),
BootMode: pulumi.Any(assetAwsEc2BootMode),
CapacityReservationKey: pulumi.Any(assetAwsEc2CapacityReservationKey),
ImageKey: pulumi.Any(assetAwsEc2ImageKey),
InstanceKey: pulumi.Any(assetAwsEc2InstanceKey),
InstanceLifecycle: pulumi.Any(assetAwsEc2InstanceLifecycle),
InstanceType: pulumi.Any(assetAwsEc2InstanceType),
IpAddress: pulumi.Any(assetAwsEc2IpAddress),
Ipv6address: pulumi.Any(assetAwsEc2Ipv6address),
IsEnclaveOptions: pulumi.Any(assetAwsEc2IsEnclaveOptions),
IsHibernationOptions: pulumi.Any(assetAwsEc2IsHibernationOptions),
IsSourceDestCheck: pulumi.Any(assetAwsEc2IsSourceDestCheck),
IsSpotInstance: pulumi.Any(assetAwsEc2IsSpotInstance),
KernelKey: pulumi.Any(assetAwsEc2KernelKey),
Licenses: pulumi.Any(assetAwsEc2Licenses),
MaintenanceOptions: pulumi.Any(assetAwsEc2MaintenanceOptions),
Monitoring: pulumi.Any(assetAwsEc2Monitoring),
NetworkInterfaces: cloudbridge.AssetAwsEc2NetworkInterfaceArray{
&cloudbridge.AssetAwsEc2NetworkInterfaceArgs{
Association: &cloudbridge.AssetAwsEc2NetworkInterfaceAssociationArgs{
CarrierIp: pulumi.Any(assetAwsEc2NetworkInterfacesAssociationCarrierIp),
CustomerOwnedIp: pulumi.Any(assetAwsEc2NetworkInterfacesAssociationCustomerOwnedIp),
IpOwnerKey: pulumi.Any(assetAwsEc2NetworkInterfacesAssociationIpOwnerKey),
PublicDnsName: pulumi.Any(assetAwsEc2NetworkInterfacesAssociationPublicDnsName),
PublicIp: pulumi.Any(assetAwsEc2NetworkInterfacesAssociationPublicIp),
},
Attachment: &cloudbridge.AssetAwsEc2NetworkInterfaceAttachmentArgs{
AttachmentKey: pulumi.Any(assetAwsEc2NetworkInterfacesAttachmentAttachmentKey),
DeviceIndex: pulumi.Any(assetAwsEc2NetworkInterfacesAttachmentDeviceIndex),
IsDeleteOnTermination: pulumi.Any(assetAwsEc2NetworkInterfacesAttachmentIsDeleteOnTermination),
NetworkCardIndex: pulumi.Any(assetAwsEc2NetworkInterfacesAttachmentNetworkCardIndex),
Status: pulumi.Any(assetAwsEc2NetworkInterfacesAttachmentStatus),
TimeAttach: pulumi.Any(assetAwsEc2NetworkInterfacesAttachmentTimeAttach),
},
Description: pulumi.Any(assetAwsEc2NetworkInterfacesDescription),
InterfaceType: pulumi.Any(assetAwsEc2NetworkInterfacesInterfaceType),
Ipv4prefixes: pulumi.Any(assetAwsEc2NetworkInterfacesIpv4prefixes),
Ipv6addresses: pulumi.Any(assetAwsEc2NetworkInterfacesIpv6addresses),
Ipv6prefixes: pulumi.Any(assetAwsEc2NetworkInterfacesIpv6prefixes),
IsSourceDestCheck: pulumi.Any(assetAwsEc2NetworkInterfacesIsSourceDestCheck),
MacAddress: pulumi.Any(assetAwsEc2NetworkInterfacesMacAddress),
NetworkInterfaceKey: pulumi.Any(assetAwsEc2NetworkInterfacesNetworkInterfaceKey),
OwnerKey: pulumi.Any(assetAwsEc2NetworkInterfacesOwnerKey),
PrivateIpAddresses: cloudbridge.AssetAwsEc2NetworkInterfacePrivateIpAddressArray{
&cloudbridge.AssetAwsEc2NetworkInterfacePrivateIpAddressArgs{
Association: &cloudbridge.AssetAwsEc2NetworkInterfacePrivateIpAddressAssociationArgs{
CarrierIp: pulumi.Any(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCarrierIp),
CustomerOwnedIp: pulumi.Any(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCustomerOwnedIp),
IpOwnerKey: pulumi.Any(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationIpOwnerKey),
PublicDnsName: pulumi.Any(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicDnsName),
PublicIp: pulumi.Any(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicIp),
},
IsPrimary: pulumi.Any(assetAwsEc2NetworkInterfacesPrivateIpAddressesIsPrimary),
PrivateDnsName: pulumi.Any(assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateDnsName),
PrivateIpAddress: pulumi.Any(assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateIpAddress),
},
},
SecurityGroups: cloudbridge.AssetAwsEc2NetworkInterfaceSecurityGroupArray{
&cloudbridge.AssetAwsEc2NetworkInterfaceSecurityGroupArgs{
GroupKey: pulumi.Any(assetAwsEc2NetworkInterfacesSecurityGroupsGroupKey),
GroupName: pulumi.Any(testGroup.Name),
},
},
Status: pulumi.Any(assetAwsEc2NetworkInterfacesStatus),
SubnetKey: pulumi.Any(assetAwsEc2NetworkInterfacesSubnetKey),
},
},
Placement: &cloudbridge.AssetAwsEc2PlacementArgs{
Affinity: pulumi.Any(assetAwsEc2PlacementAffinity),
AvailabilityZone: pulumi.Any(assetAwsEc2PlacementAvailabilityZone),
GroupName: pulumi.Any(testGroup.Name),
HostKey: pulumi.Any(assetAwsEc2PlacementHostKey),
HostResourceGroupArn: pulumi.Any(assetAwsEc2PlacementHostResourceGroupArn),
PartitionNumber: pulumi.Any(assetAwsEc2PlacementPartitionNumber),
SpreadDomain: pulumi.Any(assetAwsEc2PlacementSpreadDomain),
Tenancy: pulumi.Any(assetAwsEc2PlacementTenancy),
},
PrivateDnsName: pulumi.Any(assetAwsEc2PrivateDnsName),
PrivateIpAddress: pulumi.Any(assetAwsEc2PrivateIpAddress),
RootDeviceName: pulumi.Any(assetAwsEc2RootDeviceName),
RootDeviceType: pulumi.Any(assetAwsEc2RootDeviceType),
SecurityGroups: cloudbridge.AssetAwsEc2SecurityGroupArray{
&cloudbridge.AssetAwsEc2SecurityGroupArgs{
GroupKey: pulumi.Any(assetAwsEc2SecurityGroupsGroupKey),
GroupName: pulumi.Any(testGroup.Name),
},
},
SriovNetSupport: pulumi.Any(assetAwsEc2SriovNetSupport),
State: &cloudbridge.AssetAwsEc2StateArgs{
Code: pulumi.Any(assetAwsEc2StateCode),
Name: pulumi.Any(assetAwsEc2StateName),
},
SubnetKey: pulumi.Any(assetAwsEc2SubnetKey),
Tags: cloudbridge.AssetAwsEc2TagArray{
&cloudbridge.AssetAwsEc2TagArgs{
Key: pulumi.Any(assetAwsEc2TagsKey),
Value: pulumi.Any(assetAwsEc2TagsValue),
},
},
TimeLaunch: pulumi.Any(assetAwsEc2TimeLaunch),
TpmSupport: pulumi.Any(assetAwsEc2TpmSupport),
VirtualizationType: pulumi.Any(assetAwsEc2VirtualizationType),
VpcKey: pulumi.Any(assetAwsEc2VpcKey),
},
AwsEc2cost: &cloudbridge.AssetAwsEc2costArgs{
Amount: pulumi.Any(assetAwsEc2costAmount),
CurrencyCode: pulumi.Any(assetAwsEc2costCurrencyCode),
},
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),
IsCbtEnabled: pulumi.Any(assetComputeDisksIsCbtEnabled),
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),
EnvironmentType: assetEnvironmentType,
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,
AssetClassName = assetAssetClassName,
AssetClassVersion = assetAssetClassVersion,
AssetDetails = assetAssetDetails,
AssetSourceIds = assetAssetSourceIds,
AttachedEbsVolumesCost = new Oci.CloudBridge.Inputs.AssetAttachedEbsVolumesCostArgs
{
Amount = assetAttachedEbsVolumesCostAmount,
CurrencyCode = assetAttachedEbsVolumesCostCurrencyCode,
},
AwsEbs = new Oci.CloudBridge.Inputs.AssetAwsEbsArgs
{
Attachments = new[]
{
new Oci.CloudBridge.Inputs.AssetAwsEbsAttachmentArgs
{
Device = assetAwsEbsAttachmentsDevice,
InstanceKey = assetAwsEbsAttachmentsInstanceKey,
IsDeleteOnTermination = assetAwsEbsAttachmentsIsDeleteOnTermination,
Status = assetAwsEbsAttachmentsStatus,
VolumeKey = assetAwsEbsAttachmentsVolumeKey,
},
},
AvailabilityZone = assetAwsEbsAvailabilityZone,
Iops = assetAwsEbsIops,
IsEncrypted = assetAwsEbsIsEncrypted,
IsMultiAttachEnabled = assetAwsEbsIsMultiAttachEnabled,
SizeInGiBs = assetAwsEbsSizeInGiBs,
Status = assetAwsEbsStatus,
Tags = new[]
{
new Oci.CloudBridge.Inputs.AssetAwsEbsTagArgs
{
Key = assetAwsEbsTagsKey,
Value = assetAwsEbsTagsValue,
},
},
Throughput = assetAwsEbsThroughput,
VolumeKey = assetAwsEbsVolumeKey,
VolumeType = assetAwsEbsVolumeType,
},
AwsEc2 = new Oci.CloudBridge.Inputs.AssetAwsEc2Args
{
Architecture = assetAwsEc2Architecture,
AreElasticInferenceAcceleratorsPresent = assetAwsEc2AreElasticInferenceAcceleratorsPresent,
BootMode = assetAwsEc2BootMode,
CapacityReservationKey = assetAwsEc2CapacityReservationKey,
ImageKey = assetAwsEc2ImageKey,
InstanceKey = assetAwsEc2InstanceKey,
InstanceLifecycle = assetAwsEc2InstanceLifecycle,
InstanceType = assetAwsEc2InstanceType,
IpAddress = assetAwsEc2IpAddress,
Ipv6address = assetAwsEc2Ipv6address,
IsEnclaveOptions = assetAwsEc2IsEnclaveOptions,
IsHibernationOptions = assetAwsEc2IsHibernationOptions,
IsSourceDestCheck = assetAwsEc2IsSourceDestCheck,
IsSpotInstance = assetAwsEc2IsSpotInstance,
KernelKey = assetAwsEc2KernelKey,
Licenses = assetAwsEc2Licenses,
MaintenanceOptions = assetAwsEc2MaintenanceOptions,
Monitoring = assetAwsEc2Monitoring,
NetworkInterfaces = new[]
{
new Oci.CloudBridge.Inputs.AssetAwsEc2NetworkInterfaceArgs
{
Association = new Oci.CloudBridge.Inputs.AssetAwsEc2NetworkInterfaceAssociationArgs
{
CarrierIp = assetAwsEc2NetworkInterfacesAssociationCarrierIp,
CustomerOwnedIp = assetAwsEc2NetworkInterfacesAssociationCustomerOwnedIp,
IpOwnerKey = assetAwsEc2NetworkInterfacesAssociationIpOwnerKey,
PublicDnsName = assetAwsEc2NetworkInterfacesAssociationPublicDnsName,
PublicIp = assetAwsEc2NetworkInterfacesAssociationPublicIp,
},
Attachment = new Oci.CloudBridge.Inputs.AssetAwsEc2NetworkInterfaceAttachmentArgs
{
AttachmentKey = assetAwsEc2NetworkInterfacesAttachmentAttachmentKey,
DeviceIndex = assetAwsEc2NetworkInterfacesAttachmentDeviceIndex,
IsDeleteOnTermination = assetAwsEc2NetworkInterfacesAttachmentIsDeleteOnTermination,
NetworkCardIndex = assetAwsEc2NetworkInterfacesAttachmentNetworkCardIndex,
Status = assetAwsEc2NetworkInterfacesAttachmentStatus,
TimeAttach = assetAwsEc2NetworkInterfacesAttachmentTimeAttach,
},
Description = assetAwsEc2NetworkInterfacesDescription,
InterfaceType = assetAwsEc2NetworkInterfacesInterfaceType,
Ipv4prefixes = assetAwsEc2NetworkInterfacesIpv4prefixes,
Ipv6addresses = assetAwsEc2NetworkInterfacesIpv6addresses,
Ipv6prefixes = assetAwsEc2NetworkInterfacesIpv6prefixes,
IsSourceDestCheck = assetAwsEc2NetworkInterfacesIsSourceDestCheck,
MacAddress = assetAwsEc2NetworkInterfacesMacAddress,
NetworkInterfaceKey = assetAwsEc2NetworkInterfacesNetworkInterfaceKey,
OwnerKey = assetAwsEc2NetworkInterfacesOwnerKey,
PrivateIpAddresses = new[]
{
new Oci.CloudBridge.Inputs.AssetAwsEc2NetworkInterfacePrivateIpAddressArgs
{
Association = new Oci.CloudBridge.Inputs.AssetAwsEc2NetworkInterfacePrivateIpAddressAssociationArgs
{
CarrierIp = assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCarrierIp,
CustomerOwnedIp = assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCustomerOwnedIp,
IpOwnerKey = assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationIpOwnerKey,
PublicDnsName = assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicDnsName,
PublicIp = assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicIp,
},
IsPrimary = assetAwsEc2NetworkInterfacesPrivateIpAddressesIsPrimary,
PrivateDnsName = assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateDnsName,
PrivateIpAddress = assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateIpAddress,
},
},
SecurityGroups = new[]
{
new Oci.CloudBridge.Inputs.AssetAwsEc2NetworkInterfaceSecurityGroupArgs
{
GroupKey = assetAwsEc2NetworkInterfacesSecurityGroupsGroupKey,
GroupName = testGroup.Name,
},
},
Status = assetAwsEc2NetworkInterfacesStatus,
SubnetKey = assetAwsEc2NetworkInterfacesSubnetKey,
},
},
Placement = new Oci.CloudBridge.Inputs.AssetAwsEc2PlacementArgs
{
Affinity = assetAwsEc2PlacementAffinity,
AvailabilityZone = assetAwsEc2PlacementAvailabilityZone,
GroupName = testGroup.Name,
HostKey = assetAwsEc2PlacementHostKey,
HostResourceGroupArn = assetAwsEc2PlacementHostResourceGroupArn,
PartitionNumber = assetAwsEc2PlacementPartitionNumber,
SpreadDomain = assetAwsEc2PlacementSpreadDomain,
Tenancy = assetAwsEc2PlacementTenancy,
},
PrivateDnsName = assetAwsEc2PrivateDnsName,
PrivateIpAddress = assetAwsEc2PrivateIpAddress,
RootDeviceName = assetAwsEc2RootDeviceName,
RootDeviceType = assetAwsEc2RootDeviceType,
SecurityGroups = new[]
{
new Oci.CloudBridge.Inputs.AssetAwsEc2SecurityGroupArgs
{
GroupKey = assetAwsEc2SecurityGroupsGroupKey,
GroupName = testGroup.Name,
},
},
SriovNetSupport = assetAwsEc2SriovNetSupport,
State = new Oci.CloudBridge.Inputs.AssetAwsEc2StateArgs
{
Code = assetAwsEc2StateCode,
Name = assetAwsEc2StateName,
},
SubnetKey = assetAwsEc2SubnetKey,
Tags = new[]
{
new Oci.CloudBridge.Inputs.AssetAwsEc2TagArgs
{
Key = assetAwsEc2TagsKey,
Value = assetAwsEc2TagsValue,
},
},
TimeLaunch = assetAwsEc2TimeLaunch,
TpmSupport = assetAwsEc2TpmSupport,
VirtualizationType = assetAwsEc2VirtualizationType,
VpcKey = assetAwsEc2VpcKey,
},
AwsEc2cost = new Oci.CloudBridge.Inputs.AssetAwsEc2costArgs
{
Amount = assetAwsEc2costAmount,
CurrencyCode = assetAwsEc2costCurrencyCode,
},
Compute = new Oci.CloudBridge.Inputs.AssetComputeArgs
{
ConnectedNetworks = assetComputeConnectedNetworks,
CoresCount = assetComputeCoresCount,
CpuModel = assetComputeCpuModel,
Description = assetComputeDescription,
Disks = new[]
{
new Oci.CloudBridge.Inputs.AssetComputeDiskArgs
{
BootOrder = assetComputeDisksBootOrder,
IsCbtEnabled = assetComputeDisksIsCbtEnabled,
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,
EnvironmentType = assetEnvironmentType,
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.AssetAttachedEbsVolumesCostArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetAwsEbsArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetAwsEc2Args;
import com.pulumi.oci.CloudBridge.inputs.AssetAwsEc2PlacementArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetAwsEc2StateArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetAwsEc2costArgs;
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)
.assetClassName(assetAssetClassName)
.assetClassVersion(assetAssetClassVersion)
.assetDetails(assetAssetDetails)
.assetSourceIds(assetAssetSourceIds)
.attachedEbsVolumesCost(AssetAttachedEbsVolumesCostArgs.builder()
.amount(assetAttachedEbsVolumesCostAmount)
.currencyCode(assetAttachedEbsVolumesCostCurrencyCode)
.build())
.awsEbs(AssetAwsEbsArgs.builder()
.attachments(AssetAwsEbsAttachmentArgs.builder()
.device(assetAwsEbsAttachmentsDevice)
.instanceKey(assetAwsEbsAttachmentsInstanceKey)
.isDeleteOnTermination(assetAwsEbsAttachmentsIsDeleteOnTermination)
.status(assetAwsEbsAttachmentsStatus)
.volumeKey(assetAwsEbsAttachmentsVolumeKey)
.build())
.availabilityZone(assetAwsEbsAvailabilityZone)
.iops(assetAwsEbsIops)
.isEncrypted(assetAwsEbsIsEncrypted)
.isMultiAttachEnabled(assetAwsEbsIsMultiAttachEnabled)
.sizeInGiBs(assetAwsEbsSizeInGiBs)
.status(assetAwsEbsStatus)
.tags(AssetAwsEbsTagArgs.builder()
.key(assetAwsEbsTagsKey)
.value(assetAwsEbsTagsValue)
.build())
.throughput(assetAwsEbsThroughput)
.volumeKey(assetAwsEbsVolumeKey)
.volumeType(assetAwsEbsVolumeType)
.build())
.awsEc2(AssetAwsEc2Args.builder()
.architecture(assetAwsEc2Architecture)
.areElasticInferenceAcceleratorsPresent(assetAwsEc2AreElasticInferenceAcceleratorsPresent)
.bootMode(assetAwsEc2BootMode)
.capacityReservationKey(assetAwsEc2CapacityReservationKey)
.imageKey(assetAwsEc2ImageKey)
.instanceKey(assetAwsEc2InstanceKey)
.instanceLifecycle(assetAwsEc2InstanceLifecycle)
.instanceType(assetAwsEc2InstanceType)
.ipAddress(assetAwsEc2IpAddress)
.ipv6address(assetAwsEc2Ipv6address)
.isEnclaveOptions(assetAwsEc2IsEnclaveOptions)
.isHibernationOptions(assetAwsEc2IsHibernationOptions)
.isSourceDestCheck(assetAwsEc2IsSourceDestCheck)
.isSpotInstance(assetAwsEc2IsSpotInstance)
.kernelKey(assetAwsEc2KernelKey)
.licenses(assetAwsEc2Licenses)
.maintenanceOptions(assetAwsEc2MaintenanceOptions)
.monitoring(assetAwsEc2Monitoring)
.networkInterfaces(AssetAwsEc2NetworkInterfaceArgs.builder()
.association(AssetAwsEc2NetworkInterfaceAssociationArgs.builder()
.carrierIp(assetAwsEc2NetworkInterfacesAssociationCarrierIp)
.customerOwnedIp(assetAwsEc2NetworkInterfacesAssociationCustomerOwnedIp)
.ipOwnerKey(assetAwsEc2NetworkInterfacesAssociationIpOwnerKey)
.publicDnsName(assetAwsEc2NetworkInterfacesAssociationPublicDnsName)
.publicIp(assetAwsEc2NetworkInterfacesAssociationPublicIp)
.build())
.attachment(AssetAwsEc2NetworkInterfaceAttachmentArgs.builder()
.attachmentKey(assetAwsEc2NetworkInterfacesAttachmentAttachmentKey)
.deviceIndex(assetAwsEc2NetworkInterfacesAttachmentDeviceIndex)
.isDeleteOnTermination(assetAwsEc2NetworkInterfacesAttachmentIsDeleteOnTermination)
.networkCardIndex(assetAwsEc2NetworkInterfacesAttachmentNetworkCardIndex)
.status(assetAwsEc2NetworkInterfacesAttachmentStatus)
.timeAttach(assetAwsEc2NetworkInterfacesAttachmentTimeAttach)
.build())
.description(assetAwsEc2NetworkInterfacesDescription)
.interfaceType(assetAwsEc2NetworkInterfacesInterfaceType)
.ipv4prefixes(assetAwsEc2NetworkInterfacesIpv4prefixes)
.ipv6addresses(assetAwsEc2NetworkInterfacesIpv6addresses)
.ipv6prefixes(assetAwsEc2NetworkInterfacesIpv6prefixes)
.isSourceDestCheck(assetAwsEc2NetworkInterfacesIsSourceDestCheck)
.macAddress(assetAwsEc2NetworkInterfacesMacAddress)
.networkInterfaceKey(assetAwsEc2NetworkInterfacesNetworkInterfaceKey)
.ownerKey(assetAwsEc2NetworkInterfacesOwnerKey)
.privateIpAddresses(AssetAwsEc2NetworkInterfacePrivateIpAddressArgs.builder()
.association(AssetAwsEc2NetworkInterfacePrivateIpAddressAssociationArgs.builder()
.carrierIp(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCarrierIp)
.customerOwnedIp(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCustomerOwnedIp)
.ipOwnerKey(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationIpOwnerKey)
.publicDnsName(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicDnsName)
.publicIp(assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicIp)
.build())
.isPrimary(assetAwsEc2NetworkInterfacesPrivateIpAddressesIsPrimary)
.privateDnsName(assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateDnsName)
.privateIpAddress(assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateIpAddress)
.build())
.securityGroups(AssetAwsEc2NetworkInterfaceSecurityGroupArgs.builder()
.groupKey(assetAwsEc2NetworkInterfacesSecurityGroupsGroupKey)
.groupName(testGroup.name())
.build())
.status(assetAwsEc2NetworkInterfacesStatus)
.subnetKey(assetAwsEc2NetworkInterfacesSubnetKey)
.build())
.placement(AssetAwsEc2PlacementArgs.builder()
.affinity(assetAwsEc2PlacementAffinity)
.availabilityZone(assetAwsEc2PlacementAvailabilityZone)
.groupName(testGroup.name())
.hostKey(assetAwsEc2PlacementHostKey)
.hostResourceGroupArn(assetAwsEc2PlacementHostResourceGroupArn)
.partitionNumber(assetAwsEc2PlacementPartitionNumber)
.spreadDomain(assetAwsEc2PlacementSpreadDomain)
.tenancy(assetAwsEc2PlacementTenancy)
.build())
.privateDnsName(assetAwsEc2PrivateDnsName)
.privateIpAddress(assetAwsEc2PrivateIpAddress)
.rootDeviceName(assetAwsEc2RootDeviceName)
.rootDeviceType(assetAwsEc2RootDeviceType)
.securityGroups(AssetAwsEc2SecurityGroupArgs.builder()
.groupKey(assetAwsEc2SecurityGroupsGroupKey)
.groupName(testGroup.name())
.build())
.sriovNetSupport(assetAwsEc2SriovNetSupport)
.state(AssetAwsEc2StateArgs.builder()
.code(assetAwsEc2StateCode)
.name(assetAwsEc2StateName)
.build())
.subnetKey(assetAwsEc2SubnetKey)
.tags(AssetAwsEc2TagArgs.builder()
.key(assetAwsEc2TagsKey)
.value(assetAwsEc2TagsValue)
.build())
.timeLaunch(assetAwsEc2TimeLaunch)
.tpmSupport(assetAwsEc2TpmSupport)
.virtualizationType(assetAwsEc2VirtualizationType)
.vpcKey(assetAwsEc2VpcKey)
.build())
.awsEc2cost(AssetAwsEc2costArgs.builder()
.amount(assetAwsEc2costAmount)
.currencyCode(assetAwsEc2costCurrencyCode)
.build())
.compute(AssetComputeArgs.builder()
.connectedNetworks(assetComputeConnectedNetworks)
.coresCount(assetComputeCoresCount)
.cpuModel(assetComputeCpuModel)
.description(assetComputeDescription)
.disks(AssetComputeDiskArgs.builder()
.bootOrder(assetComputeDisksBootOrder)
.isCbtEnabled(assetComputeDisksIsCbtEnabled)
.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)
.environmentType(assetEnvironmentType)
.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}
assetClassName: ${assetAssetClassName}
assetClassVersion: ${assetAssetClassVersion}
assetDetails: ${assetAssetDetails}
assetSourceIds: ${assetAssetSourceIds}
attachedEbsVolumesCost:
amount: ${assetAttachedEbsVolumesCostAmount}
currencyCode: ${assetAttachedEbsVolumesCostCurrencyCode}
awsEbs:
attachments:
- device: ${assetAwsEbsAttachmentsDevice}
instanceKey: ${assetAwsEbsAttachmentsInstanceKey}
isDeleteOnTermination: ${assetAwsEbsAttachmentsIsDeleteOnTermination}
status: ${assetAwsEbsAttachmentsStatus}
volumeKey: ${assetAwsEbsAttachmentsVolumeKey}
availabilityZone: ${assetAwsEbsAvailabilityZone}
iops: ${assetAwsEbsIops}
isEncrypted: ${assetAwsEbsIsEncrypted}
isMultiAttachEnabled: ${assetAwsEbsIsMultiAttachEnabled}
sizeInGiBs: ${assetAwsEbsSizeInGiBs}
status: ${assetAwsEbsStatus}
tags:
- key: ${assetAwsEbsTagsKey}
value: ${assetAwsEbsTagsValue}
throughput: ${assetAwsEbsThroughput}
volumeKey: ${assetAwsEbsVolumeKey}
volumeType: ${assetAwsEbsVolumeType}
awsEc2:
architecture: ${assetAwsEc2Architecture}
areElasticInferenceAcceleratorsPresent: ${assetAwsEc2AreElasticInferenceAcceleratorsPresent}
bootMode: ${assetAwsEc2BootMode}
capacityReservationKey: ${assetAwsEc2CapacityReservationKey}
imageKey: ${assetAwsEc2ImageKey}
instanceKey: ${assetAwsEc2InstanceKey}
instanceLifecycle: ${assetAwsEc2InstanceLifecycle}
instanceType: ${assetAwsEc2InstanceType}
ipAddress: ${assetAwsEc2IpAddress}
ipv6address: ${assetAwsEc2Ipv6address}
isEnclaveOptions: ${assetAwsEc2IsEnclaveOptions}
isHibernationOptions: ${assetAwsEc2IsHibernationOptions}
isSourceDestCheck: ${assetAwsEc2IsSourceDestCheck}
isSpotInstance: ${assetAwsEc2IsSpotInstance}
kernelKey: ${assetAwsEc2KernelKey}
licenses: ${assetAwsEc2Licenses}
maintenanceOptions: ${assetAwsEc2MaintenanceOptions}
monitoring: ${assetAwsEc2Monitoring}
networkInterfaces:
- association:
carrierIp: ${assetAwsEc2NetworkInterfacesAssociationCarrierIp}
customerOwnedIp: ${assetAwsEc2NetworkInterfacesAssociationCustomerOwnedIp}
ipOwnerKey: ${assetAwsEc2NetworkInterfacesAssociationIpOwnerKey}
publicDnsName: ${assetAwsEc2NetworkInterfacesAssociationPublicDnsName}
publicIp: ${assetAwsEc2NetworkInterfacesAssociationPublicIp}
attachment:
attachmentKey: ${assetAwsEc2NetworkInterfacesAttachmentAttachmentKey}
deviceIndex: ${assetAwsEc2NetworkInterfacesAttachmentDeviceIndex}
isDeleteOnTermination: ${assetAwsEc2NetworkInterfacesAttachmentIsDeleteOnTermination}
networkCardIndex: ${assetAwsEc2NetworkInterfacesAttachmentNetworkCardIndex}
status: ${assetAwsEc2NetworkInterfacesAttachmentStatus}
timeAttach: ${assetAwsEc2NetworkInterfacesAttachmentTimeAttach}
description: ${assetAwsEc2NetworkInterfacesDescription}
interfaceType: ${assetAwsEc2NetworkInterfacesInterfaceType}
ipv4prefixes: ${assetAwsEc2NetworkInterfacesIpv4prefixes}
ipv6addresses: ${assetAwsEc2NetworkInterfacesIpv6addresses}
ipv6prefixes: ${assetAwsEc2NetworkInterfacesIpv6prefixes}
isSourceDestCheck: ${assetAwsEc2NetworkInterfacesIsSourceDestCheck}
macAddress: ${assetAwsEc2NetworkInterfacesMacAddress}
networkInterfaceKey: ${assetAwsEc2NetworkInterfacesNetworkInterfaceKey}
ownerKey: ${assetAwsEc2NetworkInterfacesOwnerKey}
privateIpAddresses:
- association:
carrierIp: ${assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCarrierIp}
customerOwnedIp: ${assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationCustomerOwnedIp}
ipOwnerKey: ${assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationIpOwnerKey}
publicDnsName: ${assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicDnsName}
publicIp: ${assetAwsEc2NetworkInterfacesPrivateIpAddressesAssociationPublicIp}
isPrimary: ${assetAwsEc2NetworkInterfacesPrivateIpAddressesIsPrimary}
privateDnsName: ${assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateDnsName}
privateIpAddress: ${assetAwsEc2NetworkInterfacesPrivateIpAddressesPrivateIpAddress}
securityGroups:
- groupKey: ${assetAwsEc2NetworkInterfacesSecurityGroupsGroupKey}
groupName: ${testGroup.name}
status: ${assetAwsEc2NetworkInterfacesStatus}
subnetKey: ${assetAwsEc2NetworkInterfacesSubnetKey}
placement:
affinity: ${assetAwsEc2PlacementAffinity}
availabilityZone: ${assetAwsEc2PlacementAvailabilityZone}
groupName: ${testGroup.name}
hostKey: ${assetAwsEc2PlacementHostKey}
hostResourceGroupArn: ${assetAwsEc2PlacementHostResourceGroupArn}
partitionNumber: ${assetAwsEc2PlacementPartitionNumber}
spreadDomain: ${assetAwsEc2PlacementSpreadDomain}
tenancy: ${assetAwsEc2PlacementTenancy}
privateDnsName: ${assetAwsEc2PrivateDnsName}
privateIpAddress: ${assetAwsEc2PrivateIpAddress}
rootDeviceName: ${assetAwsEc2RootDeviceName}
rootDeviceType: ${assetAwsEc2RootDeviceType}
securityGroups:
- groupKey: ${assetAwsEc2SecurityGroupsGroupKey}
groupName: ${testGroup.name}
sriovNetSupport: ${assetAwsEc2SriovNetSupport}
state:
code: ${assetAwsEc2StateCode}
name: ${assetAwsEc2StateName}
subnetKey: ${assetAwsEc2SubnetKey}
tags:
- key: ${assetAwsEc2TagsKey}
value: ${assetAwsEc2TagsValue}
timeLaunch: ${assetAwsEc2TimeLaunch}
tpmSupport: ${assetAwsEc2TpmSupport}
virtualizationType: ${assetAwsEc2VirtualizationType}
vpcKey: ${assetAwsEc2VpcKey}
awsEc2cost:
amount: ${assetAwsEc2costAmount}
currencyCode: ${assetAwsEc2costCurrencyCode}
compute:
connectedNetworks: ${assetComputeConnectedNetworks}
coresCount: ${assetComputeCoresCount}
cpuModel: ${assetComputeCpuModel}
description: ${assetComputeDescription}
disks:
- bootOrder: ${assetComputeDisksBootOrder}
isCbtEnabled: ${assetComputeDisksIsCbtEnabled}
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}
environmentType: ${assetEnvironmentType}
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,
compartment_id: Optional[str] = None,
source_key: Optional[str] = None,
inventory_id: Optional[str] = None,
external_asset_key: Optional[str] = None,
asset_type: Optional[str] = None,
attached_ebs_volumes_cost: Optional[AssetAttachedEbsVolumesCostArgs] = None,
display_name: Optional[str] = None,
aws_ec2: Optional[AssetAwsEc2Args] = None,
aws_ec2cost: Optional[AssetAwsEc2costArgs] = None,
asset_class_name: Optional[str] = None,
compute: Optional[AssetComputeArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
aws_ebs: Optional[AssetAwsEbsArgs] = None,
asset_source_ids: Optional[Sequence[str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
asset_details: Optional[str] = None,
asset_class_version: Optional[str] = None,
vm: Optional[AssetVmArgs] = None,
vmware_vcenter: Optional[AssetVmwareVcenterArgs] = None,
vmware_vm: Optional[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.
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
Class stringName - (Updatable) The class name of the asset.
- Asset
Class stringVersion - (Updatable) The version of the asset class.
- Asset
Details string - (Updatable) The details of the asset.
- Asset
Source List<string>Ids - (Updatable) List of asset source OCID.
- Attached
Ebs AssetVolumes Cost Attached Ebs Volumes Cost - (Updatable) Cost information for monthly maintenance.
- Aws
Ebs AssetAws Ebs - (Updatable) AWS EBS volume related properties.
- Aws
Ec2 AssetAws Ec2 - (Updatable) AWS virtual machine related properties.
- Aws
Ec2cost AssetAws Ec2cost - (Updatable) Cost information for monthly maintenance.
- 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
Class stringName - (Updatable) The class name of the asset.
- Asset
Class stringVersion - (Updatable) The version of the asset class.
- Asset
Details string - (Updatable) The details of the asset.
- Asset
Source []stringIds - (Updatable) List of asset source OCID.
- Attached
Ebs AssetVolumes Cost Attached Ebs Volumes Cost Args - (Updatable) Cost information for monthly maintenance.
- Aws
Ebs AssetAws Ebs Args - (Updatable) AWS EBS volume related properties.
- Aws
Ec2 AssetAws Ec2Args - (Updatable) AWS virtual machine related properties.
- Aws
Ec2cost AssetAws Ec2cost Args - (Updatable) Cost information for monthly maintenance.
- 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
Class StringName - (Updatable) The class name of the asset.
- asset
Class StringVersion - (Updatable) The version of the asset class.
- asset
Details String - (Updatable) The details of the asset.
- asset
Source List<String>Ids - (Updatable) List of asset source OCID.
- attached
Ebs AssetVolumes Cost Attached Ebs Volumes Cost - (Updatable) Cost information for monthly maintenance.
- aws
Ebs AssetAws Ebs - (Updatable) AWS EBS volume related properties.
- aws
Ec2 AssetAws Ec2 - (Updatable) AWS virtual machine related properties.
- aws
Ec2cost AssetAws Ec2cost - (Updatable) Cost information for monthly maintenance.
- 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
Class stringName - (Updatable) The class name of the asset.
- asset
Class stringVersion - (Updatable) The version of the asset class.
- asset
Details string - (Updatable) The details of the asset.
- asset
Source string[]Ids - (Updatable) List of asset source OCID.
- attached
Ebs AssetVolumes Cost Attached Ebs Volumes Cost - (Updatable) Cost information for monthly maintenance.
- aws
Ebs AssetAws Ebs - (Updatable) AWS EBS volume related properties.
- aws
Ec2 AssetAws Ec2 - (Updatable) AWS virtual machine related properties.
- aws
Ec2cost AssetAws Ec2cost - (Updatable) Cost information for monthly maintenance.
- 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_
class_ strname - (Updatable) The class name of the asset.
- asset_
class_ strversion - (Updatable) The version of the asset class.
- asset_
details str - (Updatable) The details of the asset.
- asset_
source_ Sequence[str]ids - (Updatable) List of asset source OCID.
- attached_
ebs_ Assetvolumes_ cost Attached Ebs Volumes Cost Args - (Updatable) Cost information for monthly maintenance.
- aws_
ebs AssetAws Ebs Args - (Updatable) AWS EBS volume related properties.
- aws_
ec2 AssetAws Ec2Args - (Updatable) AWS virtual machine related properties.
- aws_
ec2cost AssetAws Ec2cost Args - (Updatable) Cost information for monthly maintenance.
- compute
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
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
Class StringName - (Updatable) The class name of the asset.
- asset
Class StringVersion - (Updatable) The version of the asset class.
- asset
Details String - (Updatable) The details of the asset.
- asset
Source List<String>Ids - (Updatable) List of asset source OCID.
- attached
Ebs Property MapVolumes Cost - (Updatable) Cost information for monthly maintenance.
- aws
Ebs Property Map - (Updatable) AWS EBS volume related properties.
- aws
Ec2 Property Map - (Updatable) AWS virtual machine related properties.
- aws
Ec2cost Property Map - (Updatable) Cost information for monthly maintenance.
- 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:
- Environment
Type string - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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.
- Environment
Type string - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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.
- environment
Type String - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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.
- environment
Type string - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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.
- environment_
type str - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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.
- environment
Type String - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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_class_name: Optional[str] = None,
asset_class_version: Optional[str] = None,
asset_details: Optional[str] = None,
asset_source_ids: Optional[Sequence[str]] = None,
asset_type: Optional[str] = None,
attached_ebs_volumes_cost: Optional[AssetAttachedEbsVolumesCostArgs] = None,
aws_ebs: Optional[AssetAwsEbsArgs] = None,
aws_ec2: Optional[AssetAwsEc2Args] = None,
aws_ec2cost: Optional[AssetAwsEc2costArgs] = None,
compartment_id: Optional[str] = None,
compute: Optional[AssetComputeArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
environment_type: 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[AssetVmArgs] = None,
vmware_vcenter: Optional[AssetVmwareVcenterArgs] = None,
vmware_vm: Optional[AssetVmwareVmArgs] = None) -> Assetfunc 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)resources: _: type: oci:CloudBridge:Asset get: id: ${id}- 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
Class stringName - (Updatable) The class name of the asset.
- Asset
Class stringVersion - (Updatable) The version of the asset class.
- Asset
Details string - (Updatable) The details of the asset.
- Asset
Source List<string>Ids - (Updatable) List of asset source OCID.
- Asset
Type string - (Updatable) The type of asset.
- Attached
Ebs AssetVolumes Cost Attached Ebs Volumes Cost - (Updatable) Cost information for monthly maintenance.
- Aws
Ebs AssetAws Ebs - (Updatable) AWS EBS volume related properties.
- Aws
Ec2 AssetAws Ec2 - (Updatable) AWS virtual machine related properties.
- Aws
Ec2cost AssetAws Ec2cost - (Updatable) Cost information for monthly maintenance.
- 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.
- Environment
Type string - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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
Class stringName - (Updatable) The class name of the asset.
- Asset
Class stringVersion - (Updatable) The version of the asset class.
- Asset
Details string - (Updatable) The details of the asset.
- Asset
Source []stringIds - (Updatable) List of asset source OCID.
- Asset
Type string - (Updatable) The type of asset.
- Attached
Ebs AssetVolumes Cost Attached Ebs Volumes Cost Args - (Updatable) Cost information for monthly maintenance.
- Aws
Ebs AssetAws Ebs Args - (Updatable) AWS EBS volume related properties.
- Aws
Ec2 AssetAws Ec2Args - (Updatable) AWS virtual machine related properties.
- Aws
Ec2cost AssetAws Ec2cost Args - (Updatable) Cost information for monthly maintenance.
- 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.
- Environment
Type string - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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
Class StringName - (Updatable) The class name of the asset.
- asset
Class StringVersion - (Updatable) The version of the asset class.
- asset
Details String - (Updatable) The details of the asset.
- asset
Source List<String>Ids - (Updatable) List of asset source OCID.
- asset
Type String - (Updatable) The type of asset.
- attached
Ebs AssetVolumes Cost Attached Ebs Volumes Cost - (Updatable) Cost information for monthly maintenance.
- aws
Ebs AssetAws Ebs - (Updatable) AWS EBS volume related properties.
- aws
Ec2 AssetAws Ec2 - (Updatable) AWS virtual machine related properties.
- aws
Ec2cost AssetAws Ec2cost - (Updatable) Cost information for monthly maintenance.
- 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.
- environment
Type String - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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
Class stringName - (Updatable) The class name of the asset.
- asset
Class stringVersion - (Updatable) The version of the asset class.
- asset
Details string - (Updatable) The details of the asset.
- asset
Source string[]Ids - (Updatable) List of asset source OCID.
- asset
Type string - (Updatable) The type of asset.
- attached
Ebs AssetVolumes Cost Attached Ebs Volumes Cost - (Updatable) Cost information for monthly maintenance.
- aws
Ebs AssetAws Ebs - (Updatable) AWS EBS volume related properties.
- aws
Ec2 AssetAws Ec2 - (Updatable) AWS virtual machine related properties.
- aws
Ec2cost AssetAws Ec2cost - (Updatable) Cost information for monthly maintenance.
- 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.
- environment
Type string - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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_
class_ strname - (Updatable) The class name of the asset.
- asset_
class_ strversion - (Updatable) The version of the asset class.
- asset_
details str - (Updatable) The details of the asset.
- asset_
source_ Sequence[str]ids - (Updatable) List of asset source OCID.
- asset_
type str - (Updatable) The type of asset.
- attached_
ebs_ Assetvolumes_ cost Attached Ebs Volumes Cost Args - (Updatable) Cost information for monthly maintenance.
- aws_
ebs AssetAws Ebs Args - (Updatable) AWS EBS volume related properties.
- aws_
ec2 AssetAws Ec2Args - (Updatable) AWS virtual machine related properties.
- aws_
ec2cost AssetAws Ec2cost Args - (Updatable) Cost information for monthly maintenance.
- compartment_
id str - (Updatable) The OCID of the compartment that the asset belongs to.
- compute
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.
- environment_
type str - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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
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
Class StringName - (Updatable) The class name of the asset.
- asset
Class StringVersion - (Updatable) The version of the asset class.
- asset
Details String - (Updatable) The details of the asset.
- asset
Source List<String>Ids - (Updatable) List of asset source OCID.
- asset
Type String - (Updatable) The type of asset.
- attached
Ebs Property MapVolumes Cost - (Updatable) Cost information for monthly maintenance.
- aws
Ebs Property Map - (Updatable) AWS EBS volume related properties.
- aws
Ec2 Property Map - (Updatable) AWS virtual machine related properties.
- aws
Ec2cost Property Map - (Updatable) Cost information for monthly maintenance.
- 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.
- environment
Type String - Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- 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
AssetAttachedEbsVolumesCost, AssetAttachedEbsVolumesCostArgs
- Amount double
- (Updatable) Monthly costs for maintenance of this asset.
- Currency
Code string - (Updatable) Currency code
- Amount float64
- (Updatable) Monthly costs for maintenance of this asset.
- Currency
Code string - (Updatable) Currency code
- amount Double
- (Updatable) Monthly costs for maintenance of this asset.
- currency
Code String - (Updatable) Currency code
- amount number
- (Updatable) Monthly costs for maintenance of this asset.
- currency
Code string - (Updatable) Currency code
- amount float
- (Updatable) Monthly costs for maintenance of this asset.
- currency_
code str - (Updatable) Currency code
- amount Number
- (Updatable) Monthly costs for maintenance of this asset.
- currency
Code String - (Updatable) Currency code
AssetAwsEbs, AssetAwsEbsArgs
- Attachments
List<Asset
Aws Ebs Attachment> - (Updatable) Information about the volume attachments.
- Availability
Zone string - (Updatable) The Availability Zone for the volume.
- Iops int
- (Updatable) The number of I/O operations per second.
- Is
Encrypted bool - (Updatable) Indicates whether the volume is encrypted.
- Is
Multi boolAttach Enabled - (Updatable) Indicates whether Amazon EBS Multi-Attach is enabled.
- Size
In intGi Bs - (Updatable) The size of the volume, in GiBs.
- Status string
- (Updatable) The volume state.
-
List<Asset
Aws Ebs Tag> - (Updatable) Any tags assigned to the volume.
- Throughput int
- (Updatable) The throughput that the volume supports, in MiB/s.
- Volume
Key string - (Updatable) The ID of the volume.
- Volume
Type string - (Updatable) The volume type.
- Attachments
[]Asset
Aws Ebs Attachment - (Updatable) Information about the volume attachments.
- Availability
Zone string - (Updatable) The Availability Zone for the volume.
- Iops int
- (Updatable) The number of I/O operations per second.
- Is
Encrypted bool - (Updatable) Indicates whether the volume is encrypted.
- Is
Multi boolAttach Enabled - (Updatable) Indicates whether Amazon EBS Multi-Attach is enabled.
- Size
In intGi Bs - (Updatable) The size of the volume, in GiBs.
- Status string
- (Updatable) The volume state.
-
[]Asset
Aws Ebs Tag - (Updatable) Any tags assigned to the volume.
- Throughput int
- (Updatable) The throughput that the volume supports, in MiB/s.
- Volume
Key string - (Updatable) The ID of the volume.
- Volume
Type string - (Updatable) The volume type.
- attachments
List<Asset
Aws Ebs Attachment> - (Updatable) Information about the volume attachments.
- availability
Zone String - (Updatable) The Availability Zone for the volume.
- iops Integer
- (Updatable) The number of I/O operations per second.
- is
Encrypted Boolean - (Updatable) Indicates whether the volume is encrypted.
- is
Multi BooleanAttach Enabled - (Updatable) Indicates whether Amazon EBS Multi-Attach is enabled.
- size
In IntegerGi Bs - (Updatable) The size of the volume, in GiBs.
- status String
- (Updatable) The volume state.
-
List<Asset
Aws Ebs Tag> - (Updatable) Any tags assigned to the volume.
- throughput Integer
- (Updatable) The throughput that the volume supports, in MiB/s.
- volume
Key String - (Updatable) The ID of the volume.
- volume
Type String - (Updatable) The volume type.
- attachments
Asset
Aws Ebs Attachment[] - (Updatable) Information about the volume attachments.
- availability
Zone string - (Updatable) The Availability Zone for the volume.
- iops number
- (Updatable) The number of I/O operations per second.
- is
Encrypted boolean - (Updatable) Indicates whether the volume is encrypted.
- is
Multi booleanAttach Enabled - (Updatable) Indicates whether Amazon EBS Multi-Attach is enabled.
- size
In numberGi Bs - (Updatable) The size of the volume, in GiBs.
- status string
- (Updatable) The volume state.
-
Asset
Aws Ebs Tag[] - (Updatable) Any tags assigned to the volume.
- throughput number
- (Updatable) The throughput that the volume supports, in MiB/s.
- volume
Key string - (Updatable) The ID of the volume.
- volume
Type string - (Updatable) The volume type.
- attachments
Sequence[Asset
Aws Ebs Attachment] - (Updatable) Information about the volume attachments.
- availability_
zone str - (Updatable) The Availability Zone for the volume.
- iops int
- (Updatable) The number of I/O operations per second.
- is_
encrypted bool - (Updatable) Indicates whether the volume is encrypted.
- is_
multi_ boolattach_ enabled - (Updatable) Indicates whether Amazon EBS Multi-Attach is enabled.
- size_
in_ intgi_ bs - (Updatable) The size of the volume, in GiBs.
- status str
- (Updatable) The volume state.
-
Sequence[Asset
Aws Ebs Tag] - (Updatable) Any tags assigned to the volume.
- throughput int
- (Updatable) The throughput that the volume supports, in MiB/s.
- volume_
key str - (Updatable) The ID of the volume.
- volume_
type str - (Updatable) The volume type.
- attachments List<Property Map>
- (Updatable) Information about the volume attachments.
- availability
Zone String - (Updatable) The Availability Zone for the volume.
- iops Number
- (Updatable) The number of I/O operations per second.
- is
Encrypted Boolean - (Updatable) Indicates whether the volume is encrypted.
- is
Multi BooleanAttach Enabled - (Updatable) Indicates whether Amazon EBS Multi-Attach is enabled.
- size
In NumberGi Bs - (Updatable) The size of the volume, in GiBs.
- status String
- (Updatable) The volume state.
- List<Property Map>
- (Updatable) Any tags assigned to the volume.
- throughput Number
- (Updatable) The throughput that the volume supports, in MiB/s.
- volume
Key String - (Updatable) The ID of the volume.
- volume
Type String - (Updatable) The volume type.
AssetAwsEbsAttachment, AssetAwsEbsAttachmentArgs
- Device string
- (Updatable) The device name.
- Instance
Key string - (Updatable) The ID of the instance.
- Is
Delete boolOn Termination - (Updatable) Indicates whether the EBS volume is deleted on instance termination.
- Status string
- (Updatable) The attachment state of the volume.
- Volume
Key string - (Updatable) The ID of the volume.
- Device string
- (Updatable) The device name.
- Instance
Key string - (Updatable) The ID of the instance.
- Is
Delete boolOn Termination - (Updatable) Indicates whether the EBS volume is deleted on instance termination.
- Status string
- (Updatable) The attachment state of the volume.
- Volume
Key string - (Updatable) The ID of the volume.
- device String
- (Updatable) The device name.
- instance
Key String - (Updatable) The ID of the instance.
- is
Delete BooleanOn Termination - (Updatable) Indicates whether the EBS volume is deleted on instance termination.
- status String
- (Updatable) The attachment state of the volume.
- volume
Key String - (Updatable) The ID of the volume.
- device string
- (Updatable) The device name.
- instance
Key string - (Updatable) The ID of the instance.
- is
Delete booleanOn Termination - (Updatable) Indicates whether the EBS volume is deleted on instance termination.
- status string
- (Updatable) The attachment state of the volume.
- volume
Key string - (Updatable) The ID of the volume.
- device str
- (Updatable) The device name.
- instance_
key str - (Updatable) The ID of the instance.
- is_
delete_ boolon_ termination - (Updatable) Indicates whether the EBS volume is deleted on instance termination.
- status str
- (Updatable) The attachment state of the volume.
- volume_
key str - (Updatable) The ID of the volume.
- device String
- (Updatable) The device name.
- instance
Key String - (Updatable) The ID of the instance.
- is
Delete BooleanOn Termination - (Updatable) Indicates whether the EBS volume is deleted on instance termination.
- status String
- (Updatable) The attachment state of the volume.
- volume
Key String - (Updatable) The ID of the volume.
AssetAwsEbsTag, AssetAwsEbsTagArgs
AssetAwsEc2, AssetAwsEc2Args
- Architecture string
- (Updatable) The architecture of the image.
- Are
Elastic boolInference Accelerators Present - (Updatable) Indicates if the elastic inference accelerators attached to an instance
- Boot
Mode string - (Updatable) The boot mode of the instance.
- Capacity
Reservation stringKey - (Updatable) The ID of the Capacity Reservation.
- Image
Key string - (Updatable) The ID of the AMI used to launch the instance.
- Instance
Key string - (Updatable) The ID of the instance.
- Instance
Lifecycle string - (Updatable) Indicates whether this is a Spot Instance or a Scheduled Instance.
- Instance
Type string - (Updatable) The instance type.
- Ip
Address string - (Updatable) The public IPv4 address, or the Carrier IP address assigned to the instance.
- Ipv6address string
- (Updatable) The IPv6 address assigned to the instance.
- Is
Enclave boolOptions - (Updatable) Indicates whether the instance is enabled for AWS Nitro Enclaves.
- Is
Hibernation boolOptions - (Updatable) Indicates whether the instance is enabled for hibernation.
- Is
Source boolDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- Is
Spot boolInstance - (Updatable) If the request is a Spot Instance request, this value will be true.
- Kernel
Key string - (Updatable) The kernel associated with this instance, if applicable.
- Licenses List<string>
- (Updatable) The license configurations for the instance.
- Maintenance
Options string - (Updatable) Provides information on the recovery and maintenance options of your instance.
- Monitoring string
- (Updatable) The monitoring for the instance.
- Network
Interfaces List<AssetAws Ec2Network Interface> - (Updatable) The network interfaces for the instance.
- Placement
Asset
Aws Ec2Placement - (Updatable) Describes the placement of an instance.
- Private
Dns stringName - (Updatable) (IPv4 only) The private DNS hostname name assigned to the instance.
- Private
Ip stringAddress - (Updatable) The private IPv4 address assigned to the instance.
- Root
Device stringName - (Updatable) The device name of the root device volume.
- Root
Device stringType - (Updatable) The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
- Security
Groups List<AssetAws Ec2Security Group> - (Updatable) The security groups for the instance.
- Sriov
Net stringSupport - (Updatable) Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- State
Asset
Aws Ec2State - (Updatable) Describes the current state of an instance.
- Subnet
Key string - (Updatable) EC2-VPC The ID of the subnet in which the instance is running.
-
List<Asset
Aws Ec2Tag> - (Updatable) Any tags assigned to the instance.
- Time
Launch string - (Updatable) The time the instance was launched.
- Tpm
Support string - (Updatable) If the instance is configured for NitroTPM support, the value is v2.0.
- Virtualization
Type string - (Updatable) The virtualization type of the instance.
- Vpc
Key string - (Updatable) EC2-VPC The ID of the VPC in which the instance is running.
- Architecture string
- (Updatable) The architecture of the image.
- Are
Elastic boolInference Accelerators Present - (Updatable) Indicates if the elastic inference accelerators attached to an instance
- Boot
Mode string - (Updatable) The boot mode of the instance.
- Capacity
Reservation stringKey - (Updatable) The ID of the Capacity Reservation.
- Image
Key string - (Updatable) The ID of the AMI used to launch the instance.
- Instance
Key string - (Updatable) The ID of the instance.
- Instance
Lifecycle string - (Updatable) Indicates whether this is a Spot Instance or a Scheduled Instance.
- Instance
Type string - (Updatable) The instance type.
- Ip
Address string - (Updatable) The public IPv4 address, or the Carrier IP address assigned to the instance.
- Ipv6address string
- (Updatable) The IPv6 address assigned to the instance.
- Is
Enclave boolOptions - (Updatable) Indicates whether the instance is enabled for AWS Nitro Enclaves.
- Is
Hibernation boolOptions - (Updatable) Indicates whether the instance is enabled for hibernation.
- Is
Source boolDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- Is
Spot boolInstance - (Updatable) If the request is a Spot Instance request, this value will be true.
- Kernel
Key string - (Updatable) The kernel associated with this instance, if applicable.
- Licenses []string
- (Updatable) The license configurations for the instance.
- Maintenance
Options string - (Updatable) Provides information on the recovery and maintenance options of your instance.
- Monitoring string
- (Updatable) The monitoring for the instance.
- Network
Interfaces []AssetAws Ec2Network Interface - (Updatable) The network interfaces for the instance.
- Placement
Asset
Aws Ec2Placement - (Updatable) Describes the placement of an instance.
- Private
Dns stringName - (Updatable) (IPv4 only) The private DNS hostname name assigned to the instance.
- Private
Ip stringAddress - (Updatable) The private IPv4 address assigned to the instance.
- Root
Device stringName - (Updatable) The device name of the root device volume.
- Root
Device stringType - (Updatable) The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
- Security
Groups []AssetAws Ec2Security Group - (Updatable) The security groups for the instance.
- Sriov
Net stringSupport - (Updatable) Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- State
Asset
Aws Ec2State - (Updatable) Describes the current state of an instance.
- Subnet
Key string - (Updatable) EC2-VPC The ID of the subnet in which the instance is running.
-
[]Asset
Aws Ec2Tag - (Updatable) Any tags assigned to the instance.
- Time
Launch string - (Updatable) The time the instance was launched.
- Tpm
Support string - (Updatable) If the instance is configured for NitroTPM support, the value is v2.0.
- Virtualization
Type string - (Updatable) The virtualization type of the instance.
- Vpc
Key string - (Updatable) EC2-VPC The ID of the VPC in which the instance is running.
- architecture String
- (Updatable) The architecture of the image.
- are
Elastic BooleanInference Accelerators Present - (Updatable) Indicates if the elastic inference accelerators attached to an instance
- boot
Mode String - (Updatable) The boot mode of the instance.
- capacity
Reservation StringKey - (Updatable) The ID of the Capacity Reservation.
- image
Key String - (Updatable) The ID of the AMI used to launch the instance.
- instance
Key String - (Updatable) The ID of the instance.
- instance
Lifecycle String - (Updatable) Indicates whether this is a Spot Instance or a Scheduled Instance.
- instance
Type String - (Updatable) The instance type.
- ip
Address String - (Updatable) The public IPv4 address, or the Carrier IP address assigned to the instance.
- ipv6address String
- (Updatable) The IPv6 address assigned to the instance.
- is
Enclave BooleanOptions - (Updatable) Indicates whether the instance is enabled for AWS Nitro Enclaves.
- is
Hibernation BooleanOptions - (Updatable) Indicates whether the instance is enabled for hibernation.
- is
Source BooleanDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- is
Spot BooleanInstance - (Updatable) If the request is a Spot Instance request, this value will be true.
- kernel
Key String - (Updatable) The kernel associated with this instance, if applicable.
- licenses List<String>
- (Updatable) The license configurations for the instance.
- maintenance
Options String - (Updatable) Provides information on the recovery and maintenance options of your instance.
- monitoring String
- (Updatable) The monitoring for the instance.
- network
Interfaces List<AssetAws Ec2Network Interface> - (Updatable) The network interfaces for the instance.
- placement
Asset
Aws Ec2Placement - (Updatable) Describes the placement of an instance.
- private
Dns StringName - (Updatable) (IPv4 only) The private DNS hostname name assigned to the instance.
- private
Ip StringAddress - (Updatable) The private IPv4 address assigned to the instance.
- root
Device StringName - (Updatable) The device name of the root device volume.
- root
Device StringType - (Updatable) The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
- security
Groups List<AssetAws Ec2Security Group> - (Updatable) The security groups for the instance.
- sriov
Net StringSupport - (Updatable) Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- state
Asset
Aws Ec2State - (Updatable) Describes the current state of an instance.
- subnet
Key String - (Updatable) EC2-VPC The ID of the subnet in which the instance is running.
-
List<Asset
Aws Ec2Tag> - (Updatable) Any tags assigned to the instance.
- time
Launch String - (Updatable) The time the instance was launched.
- tpm
Support String - (Updatable) If the instance is configured for NitroTPM support, the value is v2.0.
- virtualization
Type String - (Updatable) The virtualization type of the instance.
- vpc
Key String - (Updatable) EC2-VPC The ID of the VPC in which the instance is running.
- architecture string
- (Updatable) The architecture of the image.
- are
Elastic booleanInference Accelerators Present - (Updatable) Indicates if the elastic inference accelerators attached to an instance
- boot
Mode string - (Updatable) The boot mode of the instance.
- capacity
Reservation stringKey - (Updatable) The ID of the Capacity Reservation.
- image
Key string - (Updatable) The ID of the AMI used to launch the instance.
- instance
Key string - (Updatable) The ID of the instance.
- instance
Lifecycle string - (Updatable) Indicates whether this is a Spot Instance or a Scheduled Instance.
- instance
Type string - (Updatable) The instance type.
- ip
Address string - (Updatable) The public IPv4 address, or the Carrier IP address assigned to the instance.
- ipv6address string
- (Updatable) The IPv6 address assigned to the instance.
- is
Enclave booleanOptions - (Updatable) Indicates whether the instance is enabled for AWS Nitro Enclaves.
- is
Hibernation booleanOptions - (Updatable) Indicates whether the instance is enabled for hibernation.
- is
Source booleanDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- is
Spot booleanInstance - (Updatable) If the request is a Spot Instance request, this value will be true.
- kernel
Key string - (Updatable) The kernel associated with this instance, if applicable.
- licenses string[]
- (Updatable) The license configurations for the instance.
- maintenance
Options string - (Updatable) Provides information on the recovery and maintenance options of your instance.
- monitoring string
- (Updatable) The monitoring for the instance.
- network
Interfaces AssetAws Ec2Network Interface[] - (Updatable) The network interfaces for the instance.
- placement
Asset
Aws Ec2Placement - (Updatable) Describes the placement of an instance.
- private
Dns stringName - (Updatable) (IPv4 only) The private DNS hostname name assigned to the instance.
- private
Ip stringAddress - (Updatable) The private IPv4 address assigned to the instance.
- root
Device stringName - (Updatable) The device name of the root device volume.
- root
Device stringType - (Updatable) The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
- security
Groups AssetAws Ec2Security Group[] - (Updatable) The security groups for the instance.
- sriov
Net stringSupport - (Updatable) Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- state
Asset
Aws Ec2State - (Updatable) Describes the current state of an instance.
- subnet
Key string - (Updatable) EC2-VPC The ID of the subnet in which the instance is running.
-
Asset
Aws Ec2Tag[] - (Updatable) Any tags assigned to the instance.
- time
Launch string - (Updatable) The time the instance was launched.
- tpm
Support string - (Updatable) If the instance is configured for NitroTPM support, the value is v2.0.
- virtualization
Type string - (Updatable) The virtualization type of the instance.
- vpc
Key string - (Updatable) EC2-VPC The ID of the VPC in which the instance is running.
- architecture str
- (Updatable) The architecture of the image.
- are_
elastic_ boolinference_ accelerators_ present - (Updatable) Indicates if the elastic inference accelerators attached to an instance
- boot_
mode str - (Updatable) The boot mode of the instance.
- capacity_
reservation_ strkey - (Updatable) The ID of the Capacity Reservation.
- image_
key str - (Updatable) The ID of the AMI used to launch the instance.
- instance_
key str - (Updatable) The ID of the instance.
- instance_
lifecycle str - (Updatable) Indicates whether this is a Spot Instance or a Scheduled Instance.
- instance_
type str - (Updatable) The instance type.
- ip_
address str - (Updatable) The public IPv4 address, or the Carrier IP address assigned to the instance.
- ipv6address str
- (Updatable) The IPv6 address assigned to the instance.
- is_
enclave_ booloptions - (Updatable) Indicates whether the instance is enabled for AWS Nitro Enclaves.
- is_
hibernation_ booloptions - (Updatable) Indicates whether the instance is enabled for hibernation.
- is_
source_ booldest_ check - (Updatable) Indicates whether source/destination checking is enabled.
- is_
spot_ boolinstance - (Updatable) If the request is a Spot Instance request, this value will be true.
- kernel_
key str - (Updatable) The kernel associated with this instance, if applicable.
- licenses Sequence[str]
- (Updatable) The license configurations for the instance.
- maintenance_
options str - (Updatable) Provides information on the recovery and maintenance options of your instance.
- monitoring str
- (Updatable) The monitoring for the instance.
- network_
interfaces Sequence[AssetAws Ec2Network Interface] - (Updatable) The network interfaces for the instance.
- placement
Asset
Aws Ec2Placement - (Updatable) Describes the placement of an instance.
- private_
dns_ strname - (Updatable) (IPv4 only) The private DNS hostname name assigned to the instance.
- private_
ip_ straddress - (Updatable) The private IPv4 address assigned to the instance.
- root_
device_ strname - (Updatable) The device name of the root device volume.
- root_
device_ strtype - (Updatable) The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
- security_
groups Sequence[AssetAws Ec2Security Group] - (Updatable) The security groups for the instance.
- sriov_
net_ strsupport - (Updatable) Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- state
Asset
Aws Ec2State - (Updatable) Describes the current state of an instance.
- subnet_
key str - (Updatable) EC2-VPC The ID of the subnet in which the instance is running.
-
Sequence[Asset
Aws Ec2Tag] - (Updatable) Any tags assigned to the instance.
- time_
launch str - (Updatable) The time the instance was launched.
- tpm_
support str - (Updatable) If the instance is configured for NitroTPM support, the value is v2.0.
- virtualization_
type str - (Updatable) The virtualization type of the instance.
- vpc_
key str - (Updatable) EC2-VPC The ID of the VPC in which the instance is running.
- architecture String
- (Updatable) The architecture of the image.
- are
Elastic BooleanInference Accelerators Present - (Updatable) Indicates if the elastic inference accelerators attached to an instance
- boot
Mode String - (Updatable) The boot mode of the instance.
- capacity
Reservation StringKey - (Updatable) The ID of the Capacity Reservation.
- image
Key String - (Updatable) The ID of the AMI used to launch the instance.
- instance
Key String - (Updatable) The ID of the instance.
- instance
Lifecycle String - (Updatable) Indicates whether this is a Spot Instance or a Scheduled Instance.
- instance
Type String - (Updatable) The instance type.
- ip
Address String - (Updatable) The public IPv4 address, or the Carrier IP address assigned to the instance.
- ipv6address String
- (Updatable) The IPv6 address assigned to the instance.
- is
Enclave BooleanOptions - (Updatable) Indicates whether the instance is enabled for AWS Nitro Enclaves.
- is
Hibernation BooleanOptions - (Updatable) Indicates whether the instance is enabled for hibernation.
- is
Source BooleanDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- is
Spot BooleanInstance - (Updatable) If the request is a Spot Instance request, this value will be true.
- kernel
Key String - (Updatable) The kernel associated with this instance, if applicable.
- licenses List<String>
- (Updatable) The license configurations for the instance.
- maintenance
Options String - (Updatable) Provides information on the recovery and maintenance options of your instance.
- monitoring String
- (Updatable) The monitoring for the instance.
- network
Interfaces List<Property Map> - (Updatable) The network interfaces for the instance.
- placement Property Map
- (Updatable) Describes the placement of an instance.
- private
Dns StringName - (Updatable) (IPv4 only) The private DNS hostname name assigned to the instance.
- private
Ip StringAddress - (Updatable) The private IPv4 address assigned to the instance.
- root
Device StringName - (Updatable) The device name of the root device volume.
- root
Device StringType - (Updatable) The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
- security
Groups List<Property Map> - (Updatable) The security groups for the instance.
- sriov
Net StringSupport - (Updatable) Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- state Property Map
- (Updatable) Describes the current state of an instance.
- subnet
Key String - (Updatable) EC2-VPC The ID of the subnet in which the instance is running.
- List<Property Map>
- (Updatable) Any tags assigned to the instance.
- time
Launch String - (Updatable) The time the instance was launched.
- tpm
Support String - (Updatable) If the instance is configured for NitroTPM support, the value is v2.0.
- virtualization
Type String - (Updatable) The virtualization type of the instance.
- vpc
Key String - (Updatable) EC2-VPC The ID of the VPC in which the instance is running.
AssetAwsEc2NetworkInterface, AssetAwsEc2NetworkInterfaceArgs
- Association
Asset
Aws Ec2Network Interface Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- Attachment
Asset
Aws Ec2Network Interface Attachment - (Updatable) Describes a network interface attachment.
- Description string
- (Updatable) The description.
- Interface
Type string - (Updatable) The type of network interface.
- Ipv4prefixes List<string>
- (Updatable) The IPv4 delegated prefixes that are assigned to the network interface.
- Ipv6addresses List<string>
- (Updatable) The IPv6 addresses associated with the network interface.
- Ipv6prefixes List<string>
- (Updatable) The IPv6 delegated prefixes that are assigned to the network interface.
- Is
Source boolDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- Mac
Address string - (Updatable) The MAC address.
- Network
Interface stringKey - (Updatable) The ID of the network interface.
- Owner
Key string - (Updatable) The ID of the AWS account that created the network interface.
- Private
Ip List<AssetAddresses Aws Ec2Network Interface Private Ip Address> - (Updatable) The private IPv4 addresses associated with the network interface.
- Security
Groups List<AssetAws Ec2Network Interface Security Group> - (Updatable) The security groups.
- Status string
- (Updatable) The status of the network interface.
- Subnet
Key string - (Updatable) The ID of the subnet.
- Association
Asset
Aws Ec2Network Interface Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- Attachment
Asset
Aws Ec2Network Interface Attachment - (Updatable) Describes a network interface attachment.
- Description string
- (Updatable) The description.
- Interface
Type string - (Updatable) The type of network interface.
- Ipv4prefixes []string
- (Updatable) The IPv4 delegated prefixes that are assigned to the network interface.
- Ipv6addresses []string
- (Updatable) The IPv6 addresses associated with the network interface.
- Ipv6prefixes []string
- (Updatable) The IPv6 delegated prefixes that are assigned to the network interface.
- Is
Source boolDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- Mac
Address string - (Updatable) The MAC address.
- Network
Interface stringKey - (Updatable) The ID of the network interface.
- Owner
Key string - (Updatable) The ID of the AWS account that created the network interface.
- Private
Ip []AssetAddresses Aws Ec2Network Interface Private Ip Address - (Updatable) The private IPv4 addresses associated with the network interface.
- Security
Groups []AssetAws Ec2Network Interface Security Group - (Updatable) The security groups.
- Status string
- (Updatable) The status of the network interface.
- Subnet
Key string - (Updatable) The ID of the subnet.
- association
Asset
Aws Ec2Network Interface Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- attachment
Asset
Aws Ec2Network Interface Attachment - (Updatable) Describes a network interface attachment.
- description String
- (Updatable) The description.
- interface
Type String - (Updatable) The type of network interface.
- ipv4prefixes List<String>
- (Updatable) The IPv4 delegated prefixes that are assigned to the network interface.
- ipv6addresses List<String>
- (Updatable) The IPv6 addresses associated with the network interface.
- ipv6prefixes List<String>
- (Updatable) The IPv6 delegated prefixes that are assigned to the network interface.
- is
Source BooleanDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- mac
Address String - (Updatable) The MAC address.
- network
Interface StringKey - (Updatable) The ID of the network interface.
- owner
Key String - (Updatable) The ID of the AWS account that created the network interface.
- private
Ip List<AssetAddresses Aws Ec2Network Interface Private Ip Address> - (Updatable) The private IPv4 addresses associated with the network interface.
- security
Groups List<AssetAws Ec2Network Interface Security Group> - (Updatable) The security groups.
- status String
- (Updatable) The status of the network interface.
- subnet
Key String - (Updatable) The ID of the subnet.
- association
Asset
Aws Ec2Network Interface Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- attachment
Asset
Aws Ec2Network Interface Attachment - (Updatable) Describes a network interface attachment.
- description string
- (Updatable) The description.
- interface
Type string - (Updatable) The type of network interface.
- ipv4prefixes string[]
- (Updatable) The IPv4 delegated prefixes that are assigned to the network interface.
- ipv6addresses string[]
- (Updatable) The IPv6 addresses associated with the network interface.
- ipv6prefixes string[]
- (Updatable) The IPv6 delegated prefixes that are assigned to the network interface.
- is
Source booleanDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- mac
Address string - (Updatable) The MAC address.
- network
Interface stringKey - (Updatable) The ID of the network interface.
- owner
Key string - (Updatable) The ID of the AWS account that created the network interface.
- private
Ip AssetAddresses Aws Ec2Network Interface Private Ip Address[] - (Updatable) The private IPv4 addresses associated with the network interface.
- security
Groups AssetAws Ec2Network Interface Security Group[] - (Updatable) The security groups.
- status string
- (Updatable) The status of the network interface.
- subnet
Key string - (Updatable) The ID of the subnet.
- association
Asset
Aws Ec2Network Interface Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- attachment
Asset
Aws Ec2Network Interface Attachment - (Updatable) Describes a network interface attachment.
- description str
- (Updatable) The description.
- interface_
type str - (Updatable) The type of network interface.
- ipv4prefixes Sequence[str]
- (Updatable) The IPv4 delegated prefixes that are assigned to the network interface.
- ipv6addresses Sequence[str]
- (Updatable) The IPv6 addresses associated with the network interface.
- ipv6prefixes Sequence[str]
- (Updatable) The IPv6 delegated prefixes that are assigned to the network interface.
- is_
source_ booldest_ check - (Updatable) Indicates whether source/destination checking is enabled.
- mac_
address str - (Updatable) The MAC address.
- network_
interface_ strkey - (Updatable) The ID of the network interface.
- owner_
key str - (Updatable) The ID of the AWS account that created the network interface.
- private_
ip_ Sequence[Assetaddresses Aws Ec2Network Interface Private Ip Address] - (Updatable) The private IPv4 addresses associated with the network interface.
- security_
groups Sequence[AssetAws Ec2Network Interface Security Group] - (Updatable) The security groups.
- status str
- (Updatable) The status of the network interface.
- subnet_
key str - (Updatable) The ID of the subnet.
- association Property Map
- (Updatable) Describes association information for an Elastic IP address (IPv4).
- attachment Property Map
- (Updatable) Describes a network interface attachment.
- description String
- (Updatable) The description.
- interface
Type String - (Updatable) The type of network interface.
- ipv4prefixes List<String>
- (Updatable) The IPv4 delegated prefixes that are assigned to the network interface.
- ipv6addresses List<String>
- (Updatable) The IPv6 addresses associated with the network interface.
- ipv6prefixes List<String>
- (Updatable) The IPv6 delegated prefixes that are assigned to the network interface.
- is
Source BooleanDest Check - (Updatable) Indicates whether source/destination checking is enabled.
- mac
Address String - (Updatable) The MAC address.
- network
Interface StringKey - (Updatable) The ID of the network interface.
- owner
Key String - (Updatable) The ID of the AWS account that created the network interface.
- private
Ip List<Property Map>Addresses - (Updatable) The private IPv4 addresses associated with the network interface.
- security
Groups List<Property Map> - (Updatable) The security groups.
- status String
- (Updatable) The status of the network interface.
- subnet
Key String - (Updatable) The ID of the subnet.
AssetAwsEc2NetworkInterfaceAssociation, AssetAwsEc2NetworkInterfaceAssociationArgs
- Carrier
Ip string - (Updatable) The carrier IP address associated with the network interface.
- Customer
Owned stringIp - (Updatable) The customer-owned IP address associated with the network interface.
- Ip
Owner stringKey - (Updatable) The ID of the owner of the Elastic IP address.
- Public
Dns stringName - (Updatable) The public DNS name.
- Public
Ip string - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- Carrier
Ip string - (Updatable) The carrier IP address associated with the network interface.
- Customer
Owned stringIp - (Updatable) The customer-owned IP address associated with the network interface.
- Ip
Owner stringKey - (Updatable) The ID of the owner of the Elastic IP address.
- Public
Dns stringName - (Updatable) The public DNS name.
- Public
Ip string - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- carrier
Ip String - (Updatable) The carrier IP address associated with the network interface.
- customer
Owned StringIp - (Updatable) The customer-owned IP address associated with the network interface.
- ip
Owner StringKey - (Updatable) The ID of the owner of the Elastic IP address.
- public
Dns StringName - (Updatable) The public DNS name.
- public
Ip String - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- carrier
Ip string - (Updatable) The carrier IP address associated with the network interface.
- customer
Owned stringIp - (Updatable) The customer-owned IP address associated with the network interface.
- ip
Owner stringKey - (Updatable) The ID of the owner of the Elastic IP address.
- public
Dns stringName - (Updatable) The public DNS name.
- public
Ip string - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- carrier_
ip str - (Updatable) The carrier IP address associated with the network interface.
- customer_
owned_ strip - (Updatable) The customer-owned IP address associated with the network interface.
- ip_
owner_ strkey - (Updatable) The ID of the owner of the Elastic IP address.
- public_
dns_ strname - (Updatable) The public DNS name.
- public_
ip str - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- carrier
Ip String - (Updatable) The carrier IP address associated with the network interface.
- customer
Owned StringIp - (Updatable) The customer-owned IP address associated with the network interface.
- ip
Owner StringKey - (Updatable) The ID of the owner of the Elastic IP address.
- public
Dns StringName - (Updatable) The public DNS name.
- public
Ip String - (Updatable) The public IP address or Elastic IP address bound to the network interface.
AssetAwsEc2NetworkInterfaceAttachment, AssetAwsEc2NetworkInterfaceAttachmentArgs
- Attachment
Key string - (Updatable) The ID of the network interface attachment.
- Device
Index int - (Updatable) The index of the device on the instance for the network interface attachment.
- Is
Delete boolOn Termination - (Updatable) Indicates whether the network interface is deleted when the instance is terminated.
- Network
Card intIndex - (Updatable) The index of the network card.
- Status string
- (Updatable) The attachment state.
- Time
Attach string - (Updatable) The timestamp when the attachment initiated.
- Attachment
Key string - (Updatable) The ID of the network interface attachment.
- Device
Index int - (Updatable) The index of the device on the instance for the network interface attachment.
- Is
Delete boolOn Termination - (Updatable) Indicates whether the network interface is deleted when the instance is terminated.
- Network
Card intIndex - (Updatable) The index of the network card.
- Status string
- (Updatable) The attachment state.
- Time
Attach string - (Updatable) The timestamp when the attachment initiated.
- attachment
Key String - (Updatable) The ID of the network interface attachment.
- device
Index Integer - (Updatable) The index of the device on the instance for the network interface attachment.
- is
Delete BooleanOn Termination - (Updatable) Indicates whether the network interface is deleted when the instance is terminated.
- network
Card IntegerIndex - (Updatable) The index of the network card.
- status String
- (Updatable) The attachment state.
- time
Attach String - (Updatable) The timestamp when the attachment initiated.
- attachment
Key string - (Updatable) The ID of the network interface attachment.
- device
Index number - (Updatable) The index of the device on the instance for the network interface attachment.
- is
Delete booleanOn Termination - (Updatable) Indicates whether the network interface is deleted when the instance is terminated.
- network
Card numberIndex - (Updatable) The index of the network card.
- status string
- (Updatable) The attachment state.
- time
Attach string - (Updatable) The timestamp when the attachment initiated.
- attachment_
key str - (Updatable) The ID of the network interface attachment.
- device_
index int - (Updatable) The index of the device on the instance for the network interface attachment.
- is_
delete_ boolon_ termination - (Updatable) Indicates whether the network interface is deleted when the instance is terminated.
- network_
card_ intindex - (Updatable) The index of the network card.
- status str
- (Updatable) The attachment state.
- time_
attach str - (Updatable) The timestamp when the attachment initiated.
- attachment
Key String - (Updatable) The ID of the network interface attachment.
- device
Index Number - (Updatable) The index of the device on the instance for the network interface attachment.
- is
Delete BooleanOn Termination - (Updatable) Indicates whether the network interface is deleted when the instance is terminated.
- network
Card NumberIndex - (Updatable) The index of the network card.
- status String
- (Updatable) The attachment state.
- time
Attach String - (Updatable) The timestamp when the attachment initiated.
AssetAwsEc2NetworkInterfacePrivateIpAddress, AssetAwsEc2NetworkInterfacePrivateIpAddressArgs
- Association
Asset
Aws Ec2Network Interface Private Ip Address Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- Is
Primary bool - (Updatable) Indicates whether this IPv4 address is the primary private IP address of the network interface.
- Private
Dns stringName - (Updatable) The private IPv4 DNS name.
- Private
Ip stringAddress - (Updatable) The private IPv4 address of the network interface.
- Association
Asset
Aws Ec2Network Interface Private Ip Address Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- Is
Primary bool - (Updatable) Indicates whether this IPv4 address is the primary private IP address of the network interface.
- Private
Dns stringName - (Updatable) The private IPv4 DNS name.
- Private
Ip stringAddress - (Updatable) The private IPv4 address of the network interface.
- association
Asset
Aws Ec2Network Interface Private Ip Address Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- is
Primary Boolean - (Updatable) Indicates whether this IPv4 address is the primary private IP address of the network interface.
- private
Dns StringName - (Updatable) The private IPv4 DNS name.
- private
Ip StringAddress - (Updatable) The private IPv4 address of the network interface.
- association
Asset
Aws Ec2Network Interface Private Ip Address Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- is
Primary boolean - (Updatable) Indicates whether this IPv4 address is the primary private IP address of the network interface.
- private
Dns stringName - (Updatable) The private IPv4 DNS name.
- private
Ip stringAddress - (Updatable) The private IPv4 address of the network interface.
- association
Asset
Aws Ec2Network Interface Private Ip Address Association - (Updatable) Describes association information for an Elastic IP address (IPv4).
- is_
primary bool - (Updatable) Indicates whether this IPv4 address is the primary private IP address of the network interface.
- private_
dns_ strname - (Updatable) The private IPv4 DNS name.
- private_
ip_ straddress - (Updatable) The private IPv4 address of the network interface.
- association Property Map
- (Updatable) Describes association information for an Elastic IP address (IPv4).
- is
Primary Boolean - (Updatable) Indicates whether this IPv4 address is the primary private IP address of the network interface.
- private
Dns StringName - (Updatable) The private IPv4 DNS name.
- private
Ip StringAddress - (Updatable) The private IPv4 address of the network interface.
AssetAwsEc2NetworkInterfacePrivateIpAddressAssociation, AssetAwsEc2NetworkInterfacePrivateIpAddressAssociationArgs
- Carrier
Ip string - (Updatable) The carrier IP address associated with the network interface.
- Customer
Owned stringIp - (Updatable) The customer-owned IP address associated with the network interface.
- Ip
Owner stringKey - (Updatable) The ID of the owner of the Elastic IP address.
- Public
Dns stringName - (Updatable) The public DNS name.
- Public
Ip string - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- Carrier
Ip string - (Updatable) The carrier IP address associated with the network interface.
- Customer
Owned stringIp - (Updatable) The customer-owned IP address associated with the network interface.
- Ip
Owner stringKey - (Updatable) The ID of the owner of the Elastic IP address.
- Public
Dns stringName - (Updatable) The public DNS name.
- Public
Ip string - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- carrier
Ip String - (Updatable) The carrier IP address associated with the network interface.
- customer
Owned StringIp - (Updatable) The customer-owned IP address associated with the network interface.
- ip
Owner StringKey - (Updatable) The ID of the owner of the Elastic IP address.
- public
Dns StringName - (Updatable) The public DNS name.
- public
Ip String - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- carrier
Ip string - (Updatable) The carrier IP address associated with the network interface.
- customer
Owned stringIp - (Updatable) The customer-owned IP address associated with the network interface.
- ip
Owner stringKey - (Updatable) The ID of the owner of the Elastic IP address.
- public
Dns stringName - (Updatable) The public DNS name.
- public
Ip string - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- carrier_
ip str - (Updatable) The carrier IP address associated with the network interface.
- customer_
owned_ strip - (Updatable) The customer-owned IP address associated with the network interface.
- ip_
owner_ strkey - (Updatable) The ID of the owner of the Elastic IP address.
- public_
dns_ strname - (Updatable) The public DNS name.
- public_
ip str - (Updatable) The public IP address or Elastic IP address bound to the network interface.
- carrier
Ip String - (Updatable) The carrier IP address associated with the network interface.
- customer
Owned StringIp - (Updatable) The customer-owned IP address associated with the network interface.
- ip
Owner StringKey - (Updatable) The ID of the owner of the Elastic IP address.
- public
Dns StringName - (Updatable) The public DNS name.
- public
Ip String - (Updatable) The public IP address or Elastic IP address bound to the network interface.
AssetAwsEc2NetworkInterfaceSecurityGroup, AssetAwsEc2NetworkInterfaceSecurityGroupArgs
- group_
key str - (Updatable) The ID of the security group.
- group_
name str - (Updatable) The name of the security group.
AssetAwsEc2Placement, AssetAwsEc2PlacementArgs
- Affinity string
- (Updatable) The affinity setting for the instance on the Dedicated Host.
- Availability
Zone string - (Updatable) The Availability Zone of the instance.
- Group
Name string - (Updatable) The name of the placement group the instance is in.
- Host
Key string - (Updatable) The ID of the Dedicated Host on which the instance resides.
- Host
Resource stringGroup Arn - (Updatable) The ARN of the host resource group in which to launch the instances.
- Partition
Number int - (Updatable) The number of the partition that the instance is in.
- Spread
Domain string - (Updatable) Reserved for future use.
- Tenancy string
- (Updatable) The tenancy of the instance (if the instance is running in a VPC).
- Affinity string
- (Updatable) The affinity setting for the instance on the Dedicated Host.
- Availability
Zone string - (Updatable) The Availability Zone of the instance.
- Group
Name string - (Updatable) The name of the placement group the instance is in.
- Host
Key string - (Updatable) The ID of the Dedicated Host on which the instance resides.
- Host
Resource stringGroup Arn - (Updatable) The ARN of the host resource group in which to launch the instances.
- Partition
Number int - (Updatable) The number of the partition that the instance is in.
- Spread
Domain string - (Updatable) Reserved for future use.
- Tenancy string
- (Updatable) The tenancy of the instance (if the instance is running in a VPC).
- affinity String
- (Updatable) The affinity setting for the instance on the Dedicated Host.
- availability
Zone String - (Updatable) The Availability Zone of the instance.
- group
Name String - (Updatable) The name of the placement group the instance is in.
- host
Key String - (Updatable) The ID of the Dedicated Host on which the instance resides.
- host
Resource StringGroup Arn - (Updatable) The ARN of the host resource group in which to launch the instances.
- partition
Number Integer - (Updatable) The number of the partition that the instance is in.
- spread
Domain String - (Updatable) Reserved for future use.
- tenancy String
- (Updatable) The tenancy of the instance (if the instance is running in a VPC).
- affinity string
- (Updatable) The affinity setting for the instance on the Dedicated Host.
- availability
Zone string - (Updatable) The Availability Zone of the instance.
- group
Name string - (Updatable) The name of the placement group the instance is in.
- host
Key string - (Updatable) The ID of the Dedicated Host on which the instance resides.
- host
Resource stringGroup Arn - (Updatable) The ARN of the host resource group in which to launch the instances.
- partition
Number number - (Updatable) The number of the partition that the instance is in.
- spread
Domain string - (Updatable) Reserved for future use.
- tenancy string
- (Updatable) The tenancy of the instance (if the instance is running in a VPC).
- affinity str
- (Updatable) The affinity setting for the instance on the Dedicated Host.
- availability_
zone str - (Updatable) The Availability Zone of the instance.
- group_
name str - (Updatable) The name of the placement group the instance is in.
- host_
key str - (Updatable) The ID of the Dedicated Host on which the instance resides.
- host_
resource_ strgroup_ arn - (Updatable) The ARN of the host resource group in which to launch the instances.
- partition_
number int - (Updatable) The number of the partition that the instance is in.
- spread_
domain str - (Updatable) Reserved for future use.
- tenancy str
- (Updatable) The tenancy of the instance (if the instance is running in a VPC).
- affinity String
- (Updatable) The affinity setting for the instance on the Dedicated Host.
- availability
Zone String - (Updatable) The Availability Zone of the instance.
- group
Name String - (Updatable) The name of the placement group the instance is in.
- host
Key String - (Updatable) The ID of the Dedicated Host on which the instance resides.
- host
Resource StringGroup Arn - (Updatable) The ARN of the host resource group in which to launch the instances.
- partition
Number Number - (Updatable) The number of the partition that the instance is in.
- spread
Domain String - (Updatable) Reserved for future use.
- tenancy String
- (Updatable) The tenancy of the instance (if the instance is running in a VPC).
AssetAwsEc2SecurityGroup, AssetAwsEc2SecurityGroupArgs
- group_
key str - (Updatable) The ID of the security group.
- group_
name str - (Updatable) The name of the security group.
AssetAwsEc2State, AssetAwsEc2StateArgs
AssetAwsEc2Tag, AssetAwsEc2TagArgs
AssetAwsEc2cost, AssetAwsEc2costArgs
- Amount double
- (Updatable) Monthly costs for maintenance of this asset.
- Currency
Code string - (Updatable) Currency code
- Amount float64
- (Updatable) Monthly costs for maintenance of this asset.
- Currency
Code string - (Updatable) Currency code
- amount Double
- (Updatable) Monthly costs for maintenance of this asset.
- currency
Code String - (Updatable) Currency code
- amount number
- (Updatable) Monthly costs for maintenance of this asset.
- currency
Code string - (Updatable) Currency code
- amount float
- (Updatable) Monthly costs for maintenance of this asset.
- currency_
code str - (Updatable) Currency code
- amount Number
- (Updatable) Monthly costs for maintenance of this asset.
- currency
Code String - (Updatable) Currency code
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[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[AssetCompute 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[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
Sequence[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 AssetCompute 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.
- Is
Cbt boolEnabled - (Updatable) Indicates that CBT (change disk tracking) is enabled for this virtual disk.
- 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.
- Is
Cbt boolEnabled - (Updatable) Indicates that CBT (change disk tracking) is enabled for this virtual disk.
- 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.
- is
Cbt BooleanEnabled - (Updatable) Indicates that CBT (change disk tracking) is enabled for this virtual disk.
- 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.
- is
Cbt booleanEnabled - (Updatable) Indicates that CBT (change disk tracking) is enabled for this virtual disk.
- 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.
- is_
cbt_ boolenabled - (Updatable) Indicates that CBT (change disk tracking) is enabled for this virtual disk.
- 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.
- is
Cbt BooleanEnabled - (Updatable) Indicates that CBT (change disk tracking) is enabled for this virtual disk.
- 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[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
ociTerraform Provider.
published on Friday, Apr 24, 2026 by Pulumi
