oci.Core.InstanceConfiguration
Explore with Pulumi AI
This resource provides the Instance Configuration resource in Oracle Cloud Infrastructure Core service.
Creates an instance configuration. An instance configuration is a template that defines the settings to use when creating Compute instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInstanceConfiguration = new oci.core.InstanceConfiguration("test_instance_configuration", {
compartmentId: compartmentId,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationDisplayName,
freeformTags: {
Department: "Finance",
},
instanceDetails: {
instanceType: instanceConfigurationInstanceDetailsInstanceType,
blockVolumes: [{
attachDetails: {
type: instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsType,
device: instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDevice,
displayName: instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDisplayName,
isPvEncryptionInTransitEnabled: instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled,
isReadOnly: instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsReadOnly,
isShareable: instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsShareable,
useChap: instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsUseChap,
},
createDetails: {
autotunePolicies: [{
autotuneType: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType,
maxVpusPerGb: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb,
}],
availabilityDomain: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAvailabilityDomain,
backupPolicyId: testVolumeBackupPolicies.volumeBackupPolicies[0].id,
blockVolumeReplicas: {
availabilityDomain: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasAvailabilityDomain,
displayName: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasDisplayName,
},
clusterPlacementGroupId: clusterPlacementGroupId,
compartmentId: compartmentId,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsDisplayName,
freeformTags: {
Department: "Finance",
},
isAutoTuneEnabled: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsIsAutoTuneEnabled,
kmsKeyId: testKey.id,
sizeInGbs: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSizeInGbs,
sourceDetails: {
type: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsType,
id: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsId,
},
vpusPerGb: instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsVpusPerGb,
xrcKmsKeyId: testKey.id,
},
volumeId: testVolume.id,
}],
launchDetails: {
agentConfig: {
areAllPluginsDisabled: instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigAreAllPluginsDisabled,
isManagementDisabled: instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsManagementDisabled,
isMonitoringDisabled: instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsMonitoringDisabled,
pluginsConfigs: [{
desiredState: instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigDesiredState,
name: instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigName,
}],
},
availabilityConfig: {
isLiveMigrationPreferred: instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigIsLiveMigrationPreferred,
recoveryAction: instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigRecoveryAction,
},
availabilityDomain: instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityDomain,
capacityReservationId: testCapacityReservation.id,
clusterPlacementGroupId: testGroup.id,
compartmentId: compartmentId,
createVnicDetails: {
assignIpv6ip: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip,
assignPrivateDnsRecord: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord,
assignPublicIp: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPublicIp,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsDisplayName,
freeformTags: {
Department: "Finance",
},
hostnameLabel: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsHostnameLabel,
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6address: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address,
ipv6subnetCidr: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
}],
nsgIds: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsNsgIds,
privateIp: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsPrivateIp,
securityAttributes: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSecurityAttributes,
skipSourceDestCheck: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck,
subnetId: testSubnet.id,
},
dedicatedVmHostId: testDedicatedVmHost.id,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationInstanceDetailsLaunchDetailsDisplayName,
extendedMetadata: instanceConfigurationInstanceDetailsLaunchDetailsExtendedMetadata,
faultDomain: instanceConfigurationInstanceDetailsLaunchDetailsFaultDomain,
freeformTags: {
Department: "Finance",
},
instanceOptions: {
areLegacyImdsEndpointsDisabled: instanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled,
},
ipxeScript: instanceConfigurationInstanceDetailsLaunchDetailsIpxeScript,
isPvEncryptionInTransitEnabled: instanceConfigurationInstanceDetailsLaunchDetailsIsPvEncryptionInTransitEnabled,
launchMode: instanceConfigurationInstanceDetailsLaunchDetailsLaunchMode,
launchOptions: {
bootVolumeType: instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsBootVolumeType,
firmware: instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsFirmware,
isConsistentVolumeNamingEnabled: instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled,
isPvEncryptionInTransitEnabled: instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled,
networkType: instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsNetworkType,
remoteDataVolumeType: instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsRemoteDataVolumeType,
},
metadata: instanceConfigurationInstanceDetailsLaunchDetailsMetadata,
platformConfig: {
type: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigType,
areVirtualInstructionsEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled,
configMap: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigConfigMap,
isAccessControlServiceEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled,
isInputOutputMemoryManagementUnitEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled,
isMeasuredBootEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMeasuredBootEnabled,
isMemoryEncryptionEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled,
isSecureBootEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSecureBootEnabled,
isSymmetricMultiThreadingEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled,
isTrustedPlatformModuleEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled,
numaNodesPerSocket: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigNumaNodesPerSocket,
percentageOfCoresEnabled: instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigPercentageOfCoresEnabled,
},
preemptibleInstanceConfig: {
preemptionAction: {
type: instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType,
preserveBootVolume: instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume,
},
},
preferredMaintenanceAction: instanceConfigurationInstanceDetailsLaunchDetailsPreferredMaintenanceAction,
securityAttributes: instanceConfigurationInstanceDetailsLaunchDetailsSecurityAttributes,
shape: instanceConfigurationInstanceDetailsLaunchDetailsShape,
shapeConfig: {
baselineOcpuUtilization: instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigBaselineOcpuUtilization,
memoryInGbs: instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigMemoryInGbs,
nvmes: instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigNvmes,
ocpus: instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigOcpus,
vcpus: instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigVcpus,
},
sourceDetails: {
sourceType: instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsSourceType,
bootVolumeId: testBootVolume.id,
bootVolumeSizeInGbs: instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeSizeInGbs,
bootVolumeVpusPerGb: instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeVpusPerGb,
imageId: testImage.id,
kmsKeyId: testKey.id,
instanceSourceImageFilterDetails: {
compartmentId: compartmentId,
definedTagsFilter: instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter,
operatingSystem: instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem,
operatingSystemVersion: instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion,
},
},
},
options: [{
blockVolumes: [{
attachDetails: {
type: instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsType,
device: instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDevice,
displayName: instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDisplayName,
isPvEncryptionInTransitEnabled: instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled,
isReadOnly: instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsReadOnly,
isShareable: instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsShareable,
useChap: instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsUseChap,
},
createDetails: {
autotunePolicies: [{
autotuneType: instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType,
maxVpusPerGb: instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb,
}],
availabilityDomain: instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAvailabilityDomain,
backupPolicyId: testVolumeBackupPolicies.volumeBackupPolicies[0].id,
clusterPlacementGroupId: clusterPlacementGroupId,
compartmentId: compartmentId,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsDisplayName,
freeformTags: {
Department: "Finance",
},
kmsKeyId: testKey.id,
sizeInGbs: instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSizeInGbs,
sourceDetails: {
type: instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsType,
id: instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsId,
},
vpusPerGb: instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsVpusPerGb,
xrcKmsKeyId: testKey.id,
},
volumeId: testVolume.id,
}],
launchDetails: {
agentConfig: {
areAllPluginsDisabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigAreAllPluginsDisabled,
isManagementDisabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsManagementDisabled,
isMonitoringDisabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsMonitoringDisabled,
pluginsConfigs: [{
desiredState: instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigDesiredState,
name: instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigName,
}],
},
availabilityConfig: {
recoveryAction: instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityConfigRecoveryAction,
},
availabilityDomain: instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityDomain,
capacityReservationId: testCapacityReservation.id,
clusterPlacementGroupId: testGroup.id,
compartmentId: compartmentId,
createVnicDetails: {
assignIpv6ip: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip,
assignPrivateDnsRecord: instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord,
assignPublicIp: instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPublicIp,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsDisplayName,
freeformTags: {
Department: "Finance",
},
hostnameLabel: instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsHostnameLabel,
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6address: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address,
ipv6subnetCidr: instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
}],
nsgIds: instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsNsgIds,
privateIp: instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsPrivateIp,
securityAttributes: instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSecurityAttributes,
skipSourceDestCheck: instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck,
subnetId: testSubnet.id,
},
dedicatedVmHostId: testDedicatedVmHost.id,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationInstanceDetailsOptionsLaunchDetailsDisplayName,
extendedMetadata: instanceConfigurationInstanceDetailsOptionsLaunchDetailsExtendedMetadata,
faultDomain: instanceConfigurationInstanceDetailsOptionsLaunchDetailsFaultDomain,
freeformTags: {
Department: "Finance",
},
instanceOptions: {
areLegacyImdsEndpointsDisabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled,
},
ipxeScript: instanceConfigurationInstanceDetailsOptionsLaunchDetailsIpxeScript,
isPvEncryptionInTransitEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsIsPvEncryptionInTransitEnabled,
launchMode: instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchMode,
launchOptions: {
bootVolumeType: instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsBootVolumeType,
firmware: instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsFirmware,
isConsistentVolumeNamingEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled,
isPvEncryptionInTransitEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled,
networkType: instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsNetworkType,
remoteDataVolumeType: instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsRemoteDataVolumeType,
},
metadata: instanceConfigurationInstanceDetailsOptionsLaunchDetailsMetadata,
platformConfig: {
type: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigType,
areVirtualInstructionsEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled,
isAccessControlServiceEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled,
isInputOutputMemoryManagementUnitEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled,
isMeasuredBootEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMeasuredBootEnabled,
isMemoryEncryptionEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled,
isSecureBootEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSecureBootEnabled,
isSymmetricMultiThreadingEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled,
isTrustedPlatformModuleEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled,
numaNodesPerSocket: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigNumaNodesPerSocket,
percentageOfCoresEnabled: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigPercentageOfCoresEnabled,
},
preemptibleInstanceConfig: {
preemptionAction: {
type: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType,
preserveBootVolume: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume,
},
},
preferredMaintenanceAction: instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreferredMaintenanceAction,
securityAttributes: instanceConfigurationInstanceDetailsOptionsLaunchDetailsSecurityAttributes,
shape: instanceConfigurationInstanceDetailsOptionsLaunchDetailsShape,
shapeConfig: {
baselineOcpuUtilization: instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigBaselineOcpuUtilization,
memoryInGbs: instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigMemoryInGbs,
nvmes: instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigNvmes,
ocpus: instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigOcpus,
vcpus: instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigVcpus,
},
sourceDetails: {
sourceType: instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsSourceType,
bootVolumeId: testBootVolume.id,
bootVolumeSizeInGbs: instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeSizeInGbs,
bootVolumeVpusPerGb: instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeVpusPerGb,
imageId: testImage.id,
instanceSourceImageFilterDetails: {
compartmentId: compartmentId,
definedTagsFilter: instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter,
operatingSystem: instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem,
operatingSystemVersion: instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion,
},
},
},
secondaryVnics: [{
createVnicDetails: {
assignIpv6ip: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignIpv6ip,
assignPrivateDnsRecord: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord,
assignPublicIp: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPublicIp,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsDisplayName,
freeformTags: {
Department: "Finance",
},
hostnameLabel: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsHostnameLabel,
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6address: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address,
ipv6subnetCidr: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
}],
nsgIds: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsNsgIds,
privateIp: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsPrivateIp,
securityAttributes: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSecurityAttributes,
skipSourceDestCheck: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck,
subnetId: testSubnet.id,
},
displayName: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsDisplayName,
nicIndex: instanceConfigurationInstanceDetailsOptionsSecondaryVnicsNicIndex,
}],
}],
secondaryVnics: [{
createVnicDetails: {
assignPrivateDnsRecord: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord,
assignPublicIp: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPublicIp,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsDisplayName,
freeformTags: {
Department: "Finance",
},
hostnameLabel: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsHostnameLabel,
nsgIds: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsNsgIds,
privateIp: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsPrivateIp,
securityAttributes: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSecurityAttributes,
skipSourceDestCheck: instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck,
subnetId: testSubnet.id,
},
displayName: instanceConfigurationInstanceDetailsSecondaryVnicsDisplayName,
nicIndex: instanceConfigurationInstanceDetailsSecondaryVnicsNicIndex,
}],
},
instanceId: testInstance.id,
source: instanceConfigurationSource,
});
import pulumi
import pulumi_oci as oci
test_instance_configuration = oci.core.InstanceConfiguration("test_instance_configuration",
compartment_id=compartment_id,
defined_tags={
"Operations.CostCenter": "42",
},
display_name=instance_configuration_display_name,
freeform_tags={
"Department": "Finance",
},
instance_details={
"instance_type": instance_configuration_instance_details_instance_type,
"block_volumes": [{
"attach_details": {
"type": instance_configuration_instance_details_block_volumes_attach_details_type,
"device": instance_configuration_instance_details_block_volumes_attach_details_device,
"display_name": instance_configuration_instance_details_block_volumes_attach_details_display_name,
"is_pv_encryption_in_transit_enabled": instance_configuration_instance_details_block_volumes_attach_details_is_pv_encryption_in_transit_enabled,
"is_read_only": instance_configuration_instance_details_block_volumes_attach_details_is_read_only,
"is_shareable": instance_configuration_instance_details_block_volumes_attach_details_is_shareable,
"use_chap": instance_configuration_instance_details_block_volumes_attach_details_use_chap,
},
"create_details": {
"autotune_policies": [{
"autotune_type": instance_configuration_instance_details_block_volumes_create_details_autotune_policies_autotune_type,
"max_vpus_per_gb": instance_configuration_instance_details_block_volumes_create_details_autotune_policies_max_vpus_per_gb,
}],
"availability_domain": instance_configuration_instance_details_block_volumes_create_details_availability_domain,
"backup_policy_id": test_volume_backup_policies["volumeBackupPolicies"][0]["id"],
"block_volume_replicas": {
"availability_domain": instance_configuration_instance_details_block_volumes_create_details_block_volume_replicas_availability_domain,
"display_name": instance_configuration_instance_details_block_volumes_create_details_block_volume_replicas_display_name,
},
"cluster_placement_group_id": cluster_placement_group_id,
"compartment_id": compartment_id,
"defined_tags": {
"Operations.CostCenter": "42",
},
"display_name": instance_configuration_instance_details_block_volumes_create_details_display_name,
"freeform_tags": {
"Department": "Finance",
},
"is_auto_tune_enabled": instance_configuration_instance_details_block_volumes_create_details_is_auto_tune_enabled,
"kms_key_id": test_key["id"],
"size_in_gbs": instance_configuration_instance_details_block_volumes_create_details_size_in_gbs,
"source_details": {
"type": instance_configuration_instance_details_block_volumes_create_details_source_details_type,
"id": instance_configuration_instance_details_block_volumes_create_details_source_details_id,
},
"vpus_per_gb": instance_configuration_instance_details_block_volumes_create_details_vpus_per_gb,
"xrc_kms_key_id": test_key["id"],
},
"volume_id": test_volume["id"],
}],
"launch_details": {
"agent_config": {
"are_all_plugins_disabled": instance_configuration_instance_details_launch_details_agent_config_are_all_plugins_disabled,
"is_management_disabled": instance_configuration_instance_details_launch_details_agent_config_is_management_disabled,
"is_monitoring_disabled": instance_configuration_instance_details_launch_details_agent_config_is_monitoring_disabled,
"plugins_configs": [{
"desired_state": instance_configuration_instance_details_launch_details_agent_config_plugins_config_desired_state,
"name": instance_configuration_instance_details_launch_details_agent_config_plugins_config_name,
}],
},
"availability_config": {
"is_live_migration_preferred": instance_configuration_instance_details_launch_details_availability_config_is_live_migration_preferred,
"recovery_action": instance_configuration_instance_details_launch_details_availability_config_recovery_action,
},
"availability_domain": instance_configuration_instance_details_launch_details_availability_domain,
"capacity_reservation_id": test_capacity_reservation["id"],
"cluster_placement_group_id": test_group["id"],
"compartment_id": compartment_id,
"create_vnic_details": {
"assign_ipv6ip": instance_configuration_instance_details_launch_details_create_vnic_details_assign_ipv6ip,
"assign_private_dns_record": instance_configuration_instance_details_launch_details_create_vnic_details_assign_private_dns_record,
"assign_public_ip": instance_configuration_instance_details_launch_details_create_vnic_details_assign_public_ip,
"defined_tags": {
"Operations.CostCenter": "42",
},
"display_name": instance_configuration_instance_details_launch_details_create_vnic_details_display_name,
"freeform_tags": {
"Department": "Finance",
},
"hostname_label": instance_configuration_instance_details_launch_details_create_vnic_details_hostname_label,
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6address": instance_configuration_instance_details_launch_details_create_vnic_details_ipv6address_ipv6subnet_cidr_pair_details_ipv6address,
"ipv6subnet_cidr": instance_configuration_instance_details_launch_details_create_vnic_details_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
}],
"nsg_ids": instance_configuration_instance_details_launch_details_create_vnic_details_nsg_ids,
"private_ip": instance_configuration_instance_details_launch_details_create_vnic_details_private_ip,
"security_attributes": instance_configuration_instance_details_launch_details_create_vnic_details_security_attributes,
"skip_source_dest_check": instance_configuration_instance_details_launch_details_create_vnic_details_skip_source_dest_check,
"subnet_id": test_subnet["id"],
},
"dedicated_vm_host_id": test_dedicated_vm_host["id"],
"defined_tags": {
"Operations.CostCenter": "42",
},
"display_name": instance_configuration_instance_details_launch_details_display_name,
"extended_metadata": instance_configuration_instance_details_launch_details_extended_metadata,
"fault_domain": instance_configuration_instance_details_launch_details_fault_domain,
"freeform_tags": {
"Department": "Finance",
},
"instance_options": {
"are_legacy_imds_endpoints_disabled": instance_configuration_instance_details_launch_details_instance_options_are_legacy_imds_endpoints_disabled,
},
"ipxe_script": instance_configuration_instance_details_launch_details_ipxe_script,
"is_pv_encryption_in_transit_enabled": instance_configuration_instance_details_launch_details_is_pv_encryption_in_transit_enabled,
"launch_mode": instance_configuration_instance_details_launch_details_launch_mode,
"launch_options": {
"boot_volume_type": instance_configuration_instance_details_launch_details_launch_options_boot_volume_type,
"firmware": instance_configuration_instance_details_launch_details_launch_options_firmware,
"is_consistent_volume_naming_enabled": instance_configuration_instance_details_launch_details_launch_options_is_consistent_volume_naming_enabled,
"is_pv_encryption_in_transit_enabled": instance_configuration_instance_details_launch_details_launch_options_is_pv_encryption_in_transit_enabled,
"network_type": instance_configuration_instance_details_launch_details_launch_options_network_type,
"remote_data_volume_type": instance_configuration_instance_details_launch_details_launch_options_remote_data_volume_type,
},
"metadata": instance_configuration_instance_details_launch_details_metadata,
"platform_config": {
"type": instance_configuration_instance_details_launch_details_platform_config_type,
"are_virtual_instructions_enabled": instance_configuration_instance_details_launch_details_platform_config_are_virtual_instructions_enabled,
"config_map": instance_configuration_instance_details_launch_details_platform_config_config_map,
"is_access_control_service_enabled": instance_configuration_instance_details_launch_details_platform_config_is_access_control_service_enabled,
"is_input_output_memory_management_unit_enabled": instance_configuration_instance_details_launch_details_platform_config_is_input_output_memory_management_unit_enabled,
"is_measured_boot_enabled": instance_configuration_instance_details_launch_details_platform_config_is_measured_boot_enabled,
"is_memory_encryption_enabled": instance_configuration_instance_details_launch_details_platform_config_is_memory_encryption_enabled,
"is_secure_boot_enabled": instance_configuration_instance_details_launch_details_platform_config_is_secure_boot_enabled,
"is_symmetric_multi_threading_enabled": instance_configuration_instance_details_launch_details_platform_config_is_symmetric_multi_threading_enabled,
"is_trusted_platform_module_enabled": instance_configuration_instance_details_launch_details_platform_config_is_trusted_platform_module_enabled,
"numa_nodes_per_socket": instance_configuration_instance_details_launch_details_platform_config_numa_nodes_per_socket,
"percentage_of_cores_enabled": instance_configuration_instance_details_launch_details_platform_config_percentage_of_cores_enabled,
},
"preemptible_instance_config": {
"preemption_action": {
"type": instance_configuration_instance_details_launch_details_preemptible_instance_config_preemption_action_type,
"preserve_boot_volume": instance_configuration_instance_details_launch_details_preemptible_instance_config_preemption_action_preserve_boot_volume,
},
},
"preferred_maintenance_action": instance_configuration_instance_details_launch_details_preferred_maintenance_action,
"security_attributes": instance_configuration_instance_details_launch_details_security_attributes,
"shape": instance_configuration_instance_details_launch_details_shape,
"shape_config": {
"baseline_ocpu_utilization": instance_configuration_instance_details_launch_details_shape_config_baseline_ocpu_utilization,
"memory_in_gbs": instance_configuration_instance_details_launch_details_shape_config_memory_in_gbs,
"nvmes": instance_configuration_instance_details_launch_details_shape_config_nvmes,
"ocpus": instance_configuration_instance_details_launch_details_shape_config_ocpus,
"vcpus": instance_configuration_instance_details_launch_details_shape_config_vcpus,
},
"source_details": {
"source_type": instance_configuration_instance_details_launch_details_source_details_source_type,
"boot_volume_id": test_boot_volume["id"],
"boot_volume_size_in_gbs": instance_configuration_instance_details_launch_details_source_details_boot_volume_size_in_gbs,
"boot_volume_vpus_per_gb": instance_configuration_instance_details_launch_details_source_details_boot_volume_vpus_per_gb,
"image_id": test_image["id"],
"kms_key_id": test_key["id"],
"instance_source_image_filter_details": {
"compartment_id": compartment_id,
"defined_tags_filter": instance_configuration_instance_details_launch_details_source_details_instance_source_image_filter_details_defined_tags_filter,
"operating_system": instance_configuration_instance_details_launch_details_source_details_instance_source_image_filter_details_operating_system,
"operating_system_version": instance_configuration_instance_details_launch_details_source_details_instance_source_image_filter_details_operating_system_version,
},
},
},
"options": [{
"block_volumes": [{
"attach_details": {
"type": instance_configuration_instance_details_options_block_volumes_attach_details_type,
"device": instance_configuration_instance_details_options_block_volumes_attach_details_device,
"display_name": instance_configuration_instance_details_options_block_volumes_attach_details_display_name,
"is_pv_encryption_in_transit_enabled": instance_configuration_instance_details_options_block_volumes_attach_details_is_pv_encryption_in_transit_enabled,
"is_read_only": instance_configuration_instance_details_options_block_volumes_attach_details_is_read_only,
"is_shareable": instance_configuration_instance_details_options_block_volumes_attach_details_is_shareable,
"use_chap": instance_configuration_instance_details_options_block_volumes_attach_details_use_chap,
},
"create_details": {
"autotune_policies": [{
"autotune_type": instance_configuration_instance_details_options_block_volumes_create_details_autotune_policies_autotune_type,
"max_vpus_per_gb": instance_configuration_instance_details_options_block_volumes_create_details_autotune_policies_max_vpus_per_gb,
}],
"availability_domain": instance_configuration_instance_details_options_block_volumes_create_details_availability_domain,
"backup_policy_id": test_volume_backup_policies["volumeBackupPolicies"][0]["id"],
"cluster_placement_group_id": cluster_placement_group_id,
"compartment_id": compartment_id,
"defined_tags": {
"Operations.CostCenter": "42",
},
"display_name": instance_configuration_instance_details_options_block_volumes_create_details_display_name,
"freeform_tags": {
"Department": "Finance",
},
"kms_key_id": test_key["id"],
"size_in_gbs": instance_configuration_instance_details_options_block_volumes_create_details_size_in_gbs,
"source_details": {
"type": instance_configuration_instance_details_options_block_volumes_create_details_source_details_type,
"id": instance_configuration_instance_details_options_block_volumes_create_details_source_details_id,
},
"vpus_per_gb": instance_configuration_instance_details_options_block_volumes_create_details_vpus_per_gb,
"xrc_kms_key_id": test_key["id"],
},
"volume_id": test_volume["id"],
}],
"launch_details": {
"agent_config": {
"are_all_plugins_disabled": instance_configuration_instance_details_options_launch_details_agent_config_are_all_plugins_disabled,
"is_management_disabled": instance_configuration_instance_details_options_launch_details_agent_config_is_management_disabled,
"is_monitoring_disabled": instance_configuration_instance_details_options_launch_details_agent_config_is_monitoring_disabled,
"plugins_configs": [{
"desired_state": instance_configuration_instance_details_options_launch_details_agent_config_plugins_config_desired_state,
"name": instance_configuration_instance_details_options_launch_details_agent_config_plugins_config_name,
}],
},
"availability_config": {
"recovery_action": instance_configuration_instance_details_options_launch_details_availability_config_recovery_action,
},
"availability_domain": instance_configuration_instance_details_options_launch_details_availability_domain,
"capacity_reservation_id": test_capacity_reservation["id"],
"cluster_placement_group_id": test_group["id"],
"compartment_id": compartment_id,
"create_vnic_details": {
"assign_ipv6ip": instance_configuration_instance_details_launch_details_create_vnic_details_assign_ipv6ip,
"assign_private_dns_record": instance_configuration_instance_details_options_launch_details_create_vnic_details_assign_private_dns_record,
"assign_public_ip": instance_configuration_instance_details_options_launch_details_create_vnic_details_assign_public_ip,
"defined_tags": {
"Operations.CostCenter": "42",
},
"display_name": instance_configuration_instance_details_options_launch_details_create_vnic_details_display_name,
"freeform_tags": {
"Department": "Finance",
},
"hostname_label": instance_configuration_instance_details_options_launch_details_create_vnic_details_hostname_label,
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6address": instance_configuration_instance_details_launch_details_create_vnic_details_ipv6address_ipv6subnet_cidr_pair_details_ipv6address,
"ipv6subnet_cidr": instance_configuration_instance_details_launch_details_create_vnic_details_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
}],
"nsg_ids": instance_configuration_instance_details_options_launch_details_create_vnic_details_nsg_ids,
"private_ip": instance_configuration_instance_details_options_launch_details_create_vnic_details_private_ip,
"security_attributes": instance_configuration_instance_details_options_launch_details_create_vnic_details_security_attributes,
"skip_source_dest_check": instance_configuration_instance_details_options_launch_details_create_vnic_details_skip_source_dest_check,
"subnet_id": test_subnet["id"],
},
"dedicated_vm_host_id": test_dedicated_vm_host["id"],
"defined_tags": {
"Operations.CostCenter": "42",
},
"display_name": instance_configuration_instance_details_options_launch_details_display_name,
"extended_metadata": instance_configuration_instance_details_options_launch_details_extended_metadata,
"fault_domain": instance_configuration_instance_details_options_launch_details_fault_domain,
"freeform_tags": {
"Department": "Finance",
},
"instance_options": {
"are_legacy_imds_endpoints_disabled": instance_configuration_instance_details_options_launch_details_instance_options_are_legacy_imds_endpoints_disabled,
},
"ipxe_script": instance_configuration_instance_details_options_launch_details_ipxe_script,
"is_pv_encryption_in_transit_enabled": instance_configuration_instance_details_options_launch_details_is_pv_encryption_in_transit_enabled,
"launch_mode": instance_configuration_instance_details_options_launch_details_launch_mode,
"launch_options": {
"boot_volume_type": instance_configuration_instance_details_options_launch_details_launch_options_boot_volume_type,
"firmware": instance_configuration_instance_details_options_launch_details_launch_options_firmware,
"is_consistent_volume_naming_enabled": instance_configuration_instance_details_options_launch_details_launch_options_is_consistent_volume_naming_enabled,
"is_pv_encryption_in_transit_enabled": instance_configuration_instance_details_options_launch_details_launch_options_is_pv_encryption_in_transit_enabled,
"network_type": instance_configuration_instance_details_options_launch_details_launch_options_network_type,
"remote_data_volume_type": instance_configuration_instance_details_options_launch_details_launch_options_remote_data_volume_type,
},
"metadata": instance_configuration_instance_details_options_launch_details_metadata,
"platform_config": {
"type": instance_configuration_instance_details_options_launch_details_platform_config_type,
"are_virtual_instructions_enabled": instance_configuration_instance_details_options_launch_details_platform_config_are_virtual_instructions_enabled,
"is_access_control_service_enabled": instance_configuration_instance_details_options_launch_details_platform_config_is_access_control_service_enabled,
"is_input_output_memory_management_unit_enabled": instance_configuration_instance_details_options_launch_details_platform_config_is_input_output_memory_management_unit_enabled,
"is_measured_boot_enabled": instance_configuration_instance_details_options_launch_details_platform_config_is_measured_boot_enabled,
"is_memory_encryption_enabled": instance_configuration_instance_details_options_launch_details_platform_config_is_memory_encryption_enabled,
"is_secure_boot_enabled": instance_configuration_instance_details_options_launch_details_platform_config_is_secure_boot_enabled,
"is_symmetric_multi_threading_enabled": instance_configuration_instance_details_options_launch_details_platform_config_is_symmetric_multi_threading_enabled,
"is_trusted_platform_module_enabled": instance_configuration_instance_details_options_launch_details_platform_config_is_trusted_platform_module_enabled,
"numa_nodes_per_socket": instance_configuration_instance_details_options_launch_details_platform_config_numa_nodes_per_socket,
"percentage_of_cores_enabled": instance_configuration_instance_details_options_launch_details_platform_config_percentage_of_cores_enabled,
},
"preemptible_instance_config": {
"preemption_action": {
"type": instance_configuration_instance_details_options_launch_details_preemptible_instance_config_preemption_action_type,
"preserve_boot_volume": instance_configuration_instance_details_options_launch_details_preemptible_instance_config_preemption_action_preserve_boot_volume,
},
},
"preferred_maintenance_action": instance_configuration_instance_details_options_launch_details_preferred_maintenance_action,
"security_attributes": instance_configuration_instance_details_options_launch_details_security_attributes,
"shape": instance_configuration_instance_details_options_launch_details_shape,
"shape_config": {
"baseline_ocpu_utilization": instance_configuration_instance_details_options_launch_details_shape_config_baseline_ocpu_utilization,
"memory_in_gbs": instance_configuration_instance_details_options_launch_details_shape_config_memory_in_gbs,
"nvmes": instance_configuration_instance_details_options_launch_details_shape_config_nvmes,
"ocpus": instance_configuration_instance_details_options_launch_details_shape_config_ocpus,
"vcpus": instance_configuration_instance_details_options_launch_details_shape_config_vcpus,
},
"source_details": {
"source_type": instance_configuration_instance_details_options_launch_details_source_details_source_type,
"boot_volume_id": test_boot_volume["id"],
"boot_volume_size_in_gbs": instance_configuration_instance_details_options_launch_details_source_details_boot_volume_size_in_gbs,
"boot_volume_vpus_per_gb": instance_configuration_instance_details_options_launch_details_source_details_boot_volume_vpus_per_gb,
"image_id": test_image["id"],
"instance_source_image_filter_details": {
"compartment_id": compartment_id,
"defined_tags_filter": instance_configuration_instance_details_options_launch_details_source_details_instance_source_image_filter_details_defined_tags_filter,
"operating_system": instance_configuration_instance_details_options_launch_details_source_details_instance_source_image_filter_details_operating_system,
"operating_system_version": instance_configuration_instance_details_options_launch_details_source_details_instance_source_image_filter_details_operating_system_version,
},
},
},
"secondary_vnics": [{
"create_vnic_details": {
"assign_ipv6ip": instance_configuration_instance_details_secondary_vnics_create_vnic_details_assign_ipv6ip,
"assign_private_dns_record": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_assign_private_dns_record,
"assign_public_ip": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_assign_public_ip,
"defined_tags": {
"Operations.CostCenter": "42",
},
"display_name": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_display_name,
"freeform_tags": {
"Department": "Finance",
},
"hostname_label": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_hostname_label,
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6address": instance_configuration_instance_details_secondary_vnics_create_vnic_details_ipv6address_ipv6subnet_cidr_pair_details_ipv6address,
"ipv6subnet_cidr": instance_configuration_instance_details_secondary_vnics_create_vnic_details_ipv6address_ipv6subnet_cidr_pair_details_ipv6subnet_cidr,
}],
"nsg_ids": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_nsg_ids,
"private_ip": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_private_ip,
"security_attributes": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_security_attributes,
"skip_source_dest_check": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_skip_source_dest_check,
"subnet_id": test_subnet["id"],
},
"display_name": instance_configuration_instance_details_options_secondary_vnics_display_name,
"nic_index": instance_configuration_instance_details_options_secondary_vnics_nic_index,
}],
}],
"secondary_vnics": [{
"create_vnic_details": {
"assign_private_dns_record": instance_configuration_instance_details_secondary_vnics_create_vnic_details_assign_private_dns_record,
"assign_public_ip": instance_configuration_instance_details_secondary_vnics_create_vnic_details_assign_public_ip,
"defined_tags": {
"Operations.CostCenter": "42",
},
"display_name": instance_configuration_instance_details_secondary_vnics_create_vnic_details_display_name,
"freeform_tags": {
"Department": "Finance",
},
"hostname_label": instance_configuration_instance_details_secondary_vnics_create_vnic_details_hostname_label,
"nsg_ids": instance_configuration_instance_details_secondary_vnics_create_vnic_details_nsg_ids,
"private_ip": instance_configuration_instance_details_secondary_vnics_create_vnic_details_private_ip,
"security_attributes": instance_configuration_instance_details_secondary_vnics_create_vnic_details_security_attributes,
"skip_source_dest_check": instance_configuration_instance_details_secondary_vnics_create_vnic_details_skip_source_dest_check,
"subnet_id": test_subnet["id"],
},
"display_name": instance_configuration_instance_details_secondary_vnics_display_name,
"nic_index": instance_configuration_instance_details_secondary_vnics_nic_index,
}],
},
instance_id=test_instance["id"],
source=instance_configuration_source)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.NewInstanceConfiguration(ctx, "test_instance_configuration", &Core.InstanceConfigurationArgs{
CompartmentId: pulumi.Any(compartmentId),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
InstanceDetails: &core.InstanceConfigurationInstanceDetailsArgs{
InstanceType: pulumi.Any(instanceConfigurationInstanceDetailsInstanceType),
BlockVolumes: core.InstanceConfigurationInstanceDetailsBlockVolumeArray{
&core.InstanceConfigurationInstanceDetailsBlockVolumeArgs{
AttachDetails: &core.InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs{
Type: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsType),
Device: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDevice),
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDisplayName),
IsPvEncryptionInTransitEnabled: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled),
IsReadOnly: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsReadOnly),
IsShareable: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsShareable),
UseChap: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsUseChap),
},
CreateDetails: &core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs{
AutotunePolicies: core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArray{
&core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs{
AutotuneType: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType),
MaxVpusPerGb: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb),
},
},
AvailabilityDomain: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAvailabilityDomain),
BackupPolicyId: pulumi.Any(testVolumeBackupPolicies.VolumeBackupPolicies[0].Id),
BlockVolumeReplicas: &core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs{
AvailabilityDomain: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasAvailabilityDomain),
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasDisplayName),
},
ClusterPlacementGroupId: pulumi.Any(clusterPlacementGroupId),
CompartmentId: pulumi.Any(compartmentId),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
IsAutoTuneEnabled: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsIsAutoTuneEnabled),
KmsKeyId: pulumi.Any(testKey.Id),
SizeInGbs: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSizeInGbs),
SourceDetails: &core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs{
Type: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsType),
Id: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsId),
},
VpusPerGb: pulumi.Any(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsVpusPerGb),
XrcKmsKeyId: pulumi.Any(testKey.Id),
},
VolumeId: pulumi.Any(testVolume.Id),
},
},
LaunchDetails: &core.InstanceConfigurationInstanceDetailsLaunchDetailsArgs{
AgentConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs{
AreAllPluginsDisabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigAreAllPluginsDisabled),
IsManagementDisabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsManagementDisabled),
IsMonitoringDisabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsMonitoringDisabled),
PluginsConfigs: core.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArray{
&core.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs{
DesiredState: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigDesiredState),
Name: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigName),
},
},
},
AvailabilityConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs{
IsLiveMigrationPreferred: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigIsLiveMigrationPreferred),
RecoveryAction: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigRecoveryAction),
},
AvailabilityDomain: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityDomain),
CapacityReservationId: pulumi.Any(testCapacityReservation.Id),
ClusterPlacementGroupId: pulumi.Any(testGroup.Id),
CompartmentId: pulumi.Any(compartmentId),
CreateVnicDetails: &core.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs{
AssignIpv6ip: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip),
AssignPrivateDnsRecord: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord),
AssignPublicIp: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPublicIp),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
HostnameLabel: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsHostnameLabel),
Ipv6addressIpv6subnetCidrPairDetails: core.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6address: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address),
Ipv6subnetCidr: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr),
},
},
NsgIds: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsNsgIds),
PrivateIp: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsPrivateIp),
SecurityAttributes: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSecurityAttributes),
SkipSourceDestCheck: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck),
SubnetId: pulumi.Any(testSubnet.Id),
},
DedicatedVmHostId: pulumi.Any(testDedicatedVmHost.Id),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsDisplayName),
ExtendedMetadata: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsExtendedMetadata),
FaultDomain: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsFaultDomain),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
InstanceOptions: &core.InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs{
AreLegacyImdsEndpointsDisabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled),
},
IpxeScript: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsIpxeScript),
IsPvEncryptionInTransitEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsIsPvEncryptionInTransitEnabled),
LaunchMode: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsLaunchMode),
LaunchOptions: &core.InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs{
BootVolumeType: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsBootVolumeType),
Firmware: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsFirmware),
IsConsistentVolumeNamingEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled),
IsPvEncryptionInTransitEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled),
NetworkType: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsNetworkType),
RemoteDataVolumeType: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsRemoteDataVolumeType),
},
Metadata: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsMetadata),
PlatformConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs{
Type: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigType),
AreVirtualInstructionsEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled),
ConfigMap: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigConfigMap),
IsAccessControlServiceEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled),
IsInputOutputMemoryManagementUnitEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled),
IsMeasuredBootEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMeasuredBootEnabled),
IsMemoryEncryptionEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled),
IsSecureBootEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSecureBootEnabled),
IsSymmetricMultiThreadingEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled),
IsTrustedPlatformModuleEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled),
NumaNodesPerSocket: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigNumaNodesPerSocket),
PercentageOfCoresEnabled: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigPercentageOfCoresEnabled),
},
PreemptibleInstanceConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs{
PreemptionAction: &core.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs{
Type: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType),
PreserveBootVolume: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume),
},
},
PreferredMaintenanceAction: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsPreferredMaintenanceAction),
SecurityAttributes: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsSecurityAttributes),
Shape: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsShape),
ShapeConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs{
BaselineOcpuUtilization: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigBaselineOcpuUtilization),
MemoryInGbs: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigMemoryInGbs),
Nvmes: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigNvmes),
Ocpus: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigOcpus),
Vcpus: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigVcpus),
},
SourceDetails: &core.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs{
SourceType: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsSourceType),
BootVolumeId: pulumi.Any(testBootVolume.Id),
BootVolumeSizeInGbs: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeSizeInGbs),
BootVolumeVpusPerGb: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeVpusPerGb),
ImageId: pulumi.Any(testImage.Id),
KmsKeyId: pulumi.Any(testKey.Id),
InstanceSourceImageFilterDetails: &core.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs{
CompartmentId: pulumi.Any(compartmentId),
DefinedTagsFilter: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter),
OperatingSystem: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem),
OperatingSystemVersion: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion),
},
},
},
Options: core.InstanceConfigurationInstanceDetailsOptionArray{
&core.InstanceConfigurationInstanceDetailsOptionArgs{
BlockVolumes: core.InstanceConfigurationInstanceDetailsOptionBlockVolumeArray{
&core.InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs{
AttachDetails: &core.InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs{
Type: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsType),
Device: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDevice),
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDisplayName),
IsPvEncryptionInTransitEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled),
IsReadOnly: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsReadOnly),
IsShareable: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsShareable),
UseChap: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsUseChap),
},
CreateDetails: &core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs{
AutotunePolicies: core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArray{
&core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs{
AutotuneType: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType),
MaxVpusPerGb: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb),
},
},
AvailabilityDomain: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAvailabilityDomain),
BackupPolicyId: pulumi.Any(testVolumeBackupPolicies.VolumeBackupPolicies[0].Id),
ClusterPlacementGroupId: pulumi.Any(clusterPlacementGroupId),
CompartmentId: pulumi.Any(compartmentId),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
KmsKeyId: pulumi.Any(testKey.Id),
SizeInGbs: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSizeInGbs),
SourceDetails: &core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs{
Type: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsType),
Id: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsId),
},
VpusPerGb: pulumi.Any(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsVpusPerGb),
XrcKmsKeyId: pulumi.Any(testKey.Id),
},
VolumeId: pulumi.Any(testVolume.Id),
},
},
LaunchDetails: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs{
AgentConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs{
AreAllPluginsDisabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigAreAllPluginsDisabled),
IsManagementDisabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsManagementDisabled),
IsMonitoringDisabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsMonitoringDisabled),
PluginsConfigs: core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArray{
&core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs{
DesiredState: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigDesiredState),
Name: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigName),
},
},
},
AvailabilityConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs{
RecoveryAction: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityConfigRecoveryAction),
},
AvailabilityDomain: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityDomain),
CapacityReservationId: pulumi.Any(testCapacityReservation.Id),
ClusterPlacementGroupId: pulumi.Any(testGroup.Id),
CompartmentId: pulumi.Any(compartmentId),
CreateVnicDetails: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs{
AssignIpv6ip: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip),
AssignPrivateDnsRecord: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord),
AssignPublicIp: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPublicIp),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
HostnameLabel: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsHostnameLabel),
Ipv6addressIpv6subnetCidrPairDetails: core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6address: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address),
Ipv6subnetCidr: pulumi.Any(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr),
},
},
NsgIds: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsNsgIds),
PrivateIp: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsPrivateIp),
SecurityAttributes: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSecurityAttributes),
SkipSourceDestCheck: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck),
SubnetId: pulumi.Any(testSubnet.Id),
},
DedicatedVmHostId: pulumi.Any(testDedicatedVmHost.Id),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsDisplayName),
ExtendedMetadata: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsExtendedMetadata),
FaultDomain: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsFaultDomain),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
InstanceOptions: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs{
AreLegacyImdsEndpointsDisabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled),
},
IpxeScript: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsIpxeScript),
IsPvEncryptionInTransitEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsIsPvEncryptionInTransitEnabled),
LaunchMode: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchMode),
LaunchOptions: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs{
BootVolumeType: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsBootVolumeType),
Firmware: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsFirmware),
IsConsistentVolumeNamingEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled),
IsPvEncryptionInTransitEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled),
NetworkType: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsNetworkType),
RemoteDataVolumeType: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsRemoteDataVolumeType),
},
Metadata: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsMetadata),
PlatformConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs{
Type: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigType),
AreVirtualInstructionsEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled),
IsAccessControlServiceEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled),
IsInputOutputMemoryManagementUnitEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled),
IsMeasuredBootEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMeasuredBootEnabled),
IsMemoryEncryptionEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled),
IsSecureBootEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSecureBootEnabled),
IsSymmetricMultiThreadingEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled),
IsTrustedPlatformModuleEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled),
NumaNodesPerSocket: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigNumaNodesPerSocket),
PercentageOfCoresEnabled: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigPercentageOfCoresEnabled),
},
PreemptibleInstanceConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs{
PreemptionAction: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs{
Type: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType),
PreserveBootVolume: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume),
},
},
PreferredMaintenanceAction: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreferredMaintenanceAction),
SecurityAttributes: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSecurityAttributes),
Shape: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShape),
ShapeConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs{
BaselineOcpuUtilization: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigBaselineOcpuUtilization),
MemoryInGbs: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigMemoryInGbs),
Nvmes: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigNvmes),
Ocpus: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigOcpus),
Vcpus: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigVcpus),
},
SourceDetails: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs{
SourceType: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsSourceType),
BootVolumeId: pulumi.Any(testBootVolume.Id),
BootVolumeSizeInGbs: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeSizeInGbs),
BootVolumeVpusPerGb: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeVpusPerGb),
ImageId: pulumi.Any(testImage.Id),
InstanceSourceImageFilterDetails: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs{
CompartmentId: pulumi.Any(compartmentId),
DefinedTagsFilter: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter),
OperatingSystem: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem),
OperatingSystemVersion: pulumi.Any(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion),
},
},
},
SecondaryVnics: core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicArray{
&core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs{
CreateVnicDetails: &core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs{
AssignIpv6ip: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignIpv6ip),
AssignPrivateDnsRecord: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord),
AssignPublicIp: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPublicIp),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
HostnameLabel: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsHostnameLabel),
Ipv6addressIpv6subnetCidrPairDetails: core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6address: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address),
Ipv6subnetCidr: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr),
},
},
NsgIds: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsNsgIds),
PrivateIp: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsPrivateIp),
SecurityAttributes: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSecurityAttributes),
SkipSourceDestCheck: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck),
SubnetId: pulumi.Any(testSubnet.Id),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsDisplayName),
NicIndex: pulumi.Any(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsNicIndex),
},
},
},
},
SecondaryVnics: core.InstanceConfigurationInstanceDetailsSecondaryVnicArray{
&core.InstanceConfigurationInstanceDetailsSecondaryVnicArgs{
CreateVnicDetails: &core.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs{
AssignPrivateDnsRecord: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord),
AssignPublicIp: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPublicIp),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
HostnameLabel: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsHostnameLabel),
NsgIds: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsNsgIds),
PrivateIp: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsPrivateIp),
SecurityAttributes: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSecurityAttributes),
SkipSourceDestCheck: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck),
SubnetId: pulumi.Any(testSubnet.Id),
},
DisplayName: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsDisplayName),
NicIndex: pulumi.Any(instanceConfigurationInstanceDetailsSecondaryVnicsNicIndex),
},
},
},
InstanceId: pulumi.Any(testInstance.Id),
Source: pulumi.Any(instanceConfigurationSource),
})
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 testInstanceConfiguration = new Oci.Core.InstanceConfiguration("test_instance_configuration", new()
{
CompartmentId = compartmentId,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
InstanceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsArgs
{
InstanceType = instanceConfigurationInstanceDetailsInstanceType,
BlockVolumes = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeArgs
{
AttachDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs
{
Type = instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsType,
Device = instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDevice,
DisplayName = instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDisplayName,
IsPvEncryptionInTransitEnabled = instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled,
IsReadOnly = instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsReadOnly,
IsShareable = instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsShareable,
UseChap = instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsUseChap,
},
CreateDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs
{
AutotunePolicies = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs
{
AutotuneType = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType,
MaxVpusPerGb = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb,
},
},
AvailabilityDomain = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAvailabilityDomain,
BackupPolicyId = testVolumeBackupPolicies.VolumeBackupPolicies[0].Id,
BlockVolumeReplicas = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs
{
AvailabilityDomain = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasAvailabilityDomain,
DisplayName = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasDisplayName,
},
ClusterPlacementGroupId = clusterPlacementGroupId,
CompartmentId = compartmentId,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
IsAutoTuneEnabled = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsIsAutoTuneEnabled,
KmsKeyId = testKey.Id,
SizeInGbs = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSizeInGbs,
SourceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs
{
Type = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsType,
Id = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsId,
},
VpusPerGb = instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsVpusPerGb,
XrcKmsKeyId = testKey.Id,
},
VolumeId = testVolume.Id,
},
},
LaunchDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsArgs
{
AgentConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs
{
AreAllPluginsDisabled = instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigAreAllPluginsDisabled,
IsManagementDisabled = instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsManagementDisabled,
IsMonitoringDisabled = instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsMonitoringDisabled,
PluginsConfigs = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs
{
DesiredState = instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigDesiredState,
Name = instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigName,
},
},
},
AvailabilityConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs
{
IsLiveMigrationPreferred = instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigIsLiveMigrationPreferred,
RecoveryAction = instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigRecoveryAction,
},
AvailabilityDomain = instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityDomain,
CapacityReservationId = testCapacityReservation.Id,
ClusterPlacementGroupId = testGroup.Id,
CompartmentId = compartmentId,
CreateVnicDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs
{
AssignIpv6ip = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip,
AssignPrivateDnsRecord = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord,
AssignPublicIp = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPublicIp,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
HostnameLabel = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsHostnameLabel,
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6address = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address,
Ipv6subnetCidr = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
},
},
NsgIds = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsNsgIds,
PrivateIp = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsPrivateIp,
SecurityAttributes = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSecurityAttributes,
SkipSourceDestCheck = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck,
SubnetId = testSubnet.Id,
},
DedicatedVmHostId = testDedicatedVmHost.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationInstanceDetailsLaunchDetailsDisplayName,
ExtendedMetadata = instanceConfigurationInstanceDetailsLaunchDetailsExtendedMetadata,
FaultDomain = instanceConfigurationInstanceDetailsLaunchDetailsFaultDomain,
FreeformTags =
{
{ "Department", "Finance" },
},
InstanceOptions = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs
{
AreLegacyImdsEndpointsDisabled = instanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled,
},
IpxeScript = instanceConfigurationInstanceDetailsLaunchDetailsIpxeScript,
IsPvEncryptionInTransitEnabled = instanceConfigurationInstanceDetailsLaunchDetailsIsPvEncryptionInTransitEnabled,
LaunchMode = instanceConfigurationInstanceDetailsLaunchDetailsLaunchMode,
LaunchOptions = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs
{
BootVolumeType = instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsBootVolumeType,
Firmware = instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsFirmware,
IsConsistentVolumeNamingEnabled = instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled,
IsPvEncryptionInTransitEnabled = instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled,
NetworkType = instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsNetworkType,
RemoteDataVolumeType = instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsRemoteDataVolumeType,
},
Metadata = instanceConfigurationInstanceDetailsLaunchDetailsMetadata,
PlatformConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs
{
Type = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigType,
AreVirtualInstructionsEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled,
ConfigMap = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigConfigMap,
IsAccessControlServiceEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled,
IsInputOutputMemoryManagementUnitEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled,
IsMeasuredBootEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMeasuredBootEnabled,
IsMemoryEncryptionEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled,
IsSecureBootEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSecureBootEnabled,
IsSymmetricMultiThreadingEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled,
IsTrustedPlatformModuleEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled,
NumaNodesPerSocket = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigNumaNodesPerSocket,
PercentageOfCoresEnabled = instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigPercentageOfCoresEnabled,
},
PreemptibleInstanceConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs
{
PreemptionAction = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs
{
Type = instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType,
PreserveBootVolume = instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume,
},
},
PreferredMaintenanceAction = instanceConfigurationInstanceDetailsLaunchDetailsPreferredMaintenanceAction,
SecurityAttributes = instanceConfigurationInstanceDetailsLaunchDetailsSecurityAttributes,
Shape = instanceConfigurationInstanceDetailsLaunchDetailsShape,
ShapeConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs
{
BaselineOcpuUtilization = instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigBaselineOcpuUtilization,
MemoryInGbs = instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigMemoryInGbs,
Nvmes = instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigNvmes,
Ocpus = instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigOcpus,
Vcpus = instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigVcpus,
},
SourceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs
{
SourceType = instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsSourceType,
BootVolumeId = testBootVolume.Id,
BootVolumeSizeInGbs = instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeSizeInGbs,
BootVolumeVpusPerGb = instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeVpusPerGb,
ImageId = testImage.Id,
KmsKeyId = testKey.Id,
InstanceSourceImageFilterDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs
{
CompartmentId = compartmentId,
DefinedTagsFilter = instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter,
OperatingSystem = instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem,
OperatingSystemVersion = instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion,
},
},
},
Options = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionArgs
{
BlockVolumes = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs
{
AttachDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs
{
Type = instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsType,
Device = instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDevice,
DisplayName = instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDisplayName,
IsPvEncryptionInTransitEnabled = instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled,
IsReadOnly = instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsReadOnly,
IsShareable = instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsShareable,
UseChap = instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsUseChap,
},
CreateDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs
{
AutotunePolicies = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs
{
AutotuneType = instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType,
MaxVpusPerGb = instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb,
},
},
AvailabilityDomain = instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAvailabilityDomain,
BackupPolicyId = testVolumeBackupPolicies.VolumeBackupPolicies[0].Id,
ClusterPlacementGroupId = clusterPlacementGroupId,
CompartmentId = compartmentId,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
KmsKeyId = testKey.Id,
SizeInGbs = instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSizeInGbs,
SourceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs
{
Type = instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsType,
Id = instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsId,
},
VpusPerGb = instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsVpusPerGb,
XrcKmsKeyId = testKey.Id,
},
VolumeId = testVolume.Id,
},
},
LaunchDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs
{
AgentConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs
{
AreAllPluginsDisabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigAreAllPluginsDisabled,
IsManagementDisabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsManagementDisabled,
IsMonitoringDisabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsMonitoringDisabled,
PluginsConfigs = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs
{
DesiredState = instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigDesiredState,
Name = instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigName,
},
},
},
AvailabilityConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs
{
RecoveryAction = instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityConfigRecoveryAction,
},
AvailabilityDomain = instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityDomain,
CapacityReservationId = testCapacityReservation.Id,
ClusterPlacementGroupId = testGroup.Id,
CompartmentId = compartmentId,
CreateVnicDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs
{
AssignIpv6ip = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip,
AssignPrivateDnsRecord = instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord,
AssignPublicIp = instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPublicIp,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
HostnameLabel = instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsHostnameLabel,
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6address = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address,
Ipv6subnetCidr = instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
},
},
NsgIds = instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsNsgIds,
PrivateIp = instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsPrivateIp,
SecurityAttributes = instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSecurityAttributes,
SkipSourceDestCheck = instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck,
SubnetId = testSubnet.Id,
},
DedicatedVmHostId = testDedicatedVmHost.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationInstanceDetailsOptionsLaunchDetailsDisplayName,
ExtendedMetadata = instanceConfigurationInstanceDetailsOptionsLaunchDetailsExtendedMetadata,
FaultDomain = instanceConfigurationInstanceDetailsOptionsLaunchDetailsFaultDomain,
FreeformTags =
{
{ "Department", "Finance" },
},
InstanceOptions = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs
{
AreLegacyImdsEndpointsDisabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled,
},
IpxeScript = instanceConfigurationInstanceDetailsOptionsLaunchDetailsIpxeScript,
IsPvEncryptionInTransitEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsIsPvEncryptionInTransitEnabled,
LaunchMode = instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchMode,
LaunchOptions = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs
{
BootVolumeType = instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsBootVolumeType,
Firmware = instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsFirmware,
IsConsistentVolumeNamingEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled,
IsPvEncryptionInTransitEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled,
NetworkType = instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsNetworkType,
RemoteDataVolumeType = instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsRemoteDataVolumeType,
},
Metadata = instanceConfigurationInstanceDetailsOptionsLaunchDetailsMetadata,
PlatformConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs
{
Type = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigType,
AreVirtualInstructionsEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled,
IsAccessControlServiceEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled,
IsInputOutputMemoryManagementUnitEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled,
IsMeasuredBootEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMeasuredBootEnabled,
IsMemoryEncryptionEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled,
IsSecureBootEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSecureBootEnabled,
IsSymmetricMultiThreadingEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled,
IsTrustedPlatformModuleEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled,
NumaNodesPerSocket = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigNumaNodesPerSocket,
PercentageOfCoresEnabled = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigPercentageOfCoresEnabled,
},
PreemptibleInstanceConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs
{
PreemptionAction = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs
{
Type = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType,
PreserveBootVolume = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume,
},
},
PreferredMaintenanceAction = instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreferredMaintenanceAction,
SecurityAttributes = instanceConfigurationInstanceDetailsOptionsLaunchDetailsSecurityAttributes,
Shape = instanceConfigurationInstanceDetailsOptionsLaunchDetailsShape,
ShapeConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs
{
BaselineOcpuUtilization = instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigBaselineOcpuUtilization,
MemoryInGbs = instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigMemoryInGbs,
Nvmes = instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigNvmes,
Ocpus = instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigOcpus,
Vcpus = instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigVcpus,
},
SourceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs
{
SourceType = instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsSourceType,
BootVolumeId = testBootVolume.Id,
BootVolumeSizeInGbs = instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeSizeInGbs,
BootVolumeVpusPerGb = instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeVpusPerGb,
ImageId = testImage.Id,
InstanceSourceImageFilterDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs
{
CompartmentId = compartmentId,
DefinedTagsFilter = instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter,
OperatingSystem = instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem,
OperatingSystemVersion = instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion,
},
},
},
SecondaryVnics = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs
{
CreateVnicDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs
{
AssignIpv6ip = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignIpv6ip,
AssignPrivateDnsRecord = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord,
AssignPublicIp = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPublicIp,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
HostnameLabel = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsHostnameLabel,
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6address = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address,
Ipv6subnetCidr = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr,
},
},
NsgIds = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsNsgIds,
PrivateIp = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsPrivateIp,
SecurityAttributes = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSecurityAttributes,
SkipSourceDestCheck = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck,
SubnetId = testSubnet.Id,
},
DisplayName = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsDisplayName,
NicIndex = instanceConfigurationInstanceDetailsOptionsSecondaryVnicsNicIndex,
},
},
},
},
SecondaryVnics = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsSecondaryVnicArgs
{
CreateVnicDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs
{
AssignPrivateDnsRecord = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord,
AssignPublicIp = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPublicIp,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
HostnameLabel = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsHostnameLabel,
NsgIds = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsNsgIds,
PrivateIp = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsPrivateIp,
SecurityAttributes = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSecurityAttributes,
SkipSourceDestCheck = instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck,
SubnetId = testSubnet.Id,
},
DisplayName = instanceConfigurationInstanceDetailsSecondaryVnicsDisplayName,
NicIndex = instanceConfigurationInstanceDetailsSecondaryVnicsNicIndex,
},
},
},
InstanceId = testInstance.Id,
Source = instanceConfigurationSource,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.InstanceConfiguration;
import com.pulumi.oci.Core.InstanceConfigurationArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs;
import com.pulumi.oci.Core.inputs.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs;
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 testInstanceConfiguration = new InstanceConfiguration("testInstanceConfiguration", InstanceConfigurationArgs.builder()
.compartmentId(compartmentId)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.instanceDetails(InstanceConfigurationInstanceDetailsArgs.builder()
.instanceType(instanceConfigurationInstanceDetailsInstanceType)
.blockVolumes(InstanceConfigurationInstanceDetailsBlockVolumeArgs.builder()
.attachDetails(InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs.builder()
.type(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsType)
.device(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDevice)
.displayName(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDisplayName)
.isPvEncryptionInTransitEnabled(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled)
.isReadOnly(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsReadOnly)
.isShareable(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsShareable)
.useChap(instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsUseChap)
.build())
.createDetails(InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs.builder()
.autotunePolicies(InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs.builder()
.autotuneType(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType)
.maxVpusPerGb(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb)
.build())
.availabilityDomain(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAvailabilityDomain)
.backupPolicyId(testVolumeBackupPolicies.volumeBackupPolicies()[0].id())
.blockVolumeReplicas(InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs.builder()
.availabilityDomain(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasAvailabilityDomain)
.displayName(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasDisplayName)
.build())
.clusterPlacementGroupId(clusterPlacementGroupId)
.compartmentId(compartmentId)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.isAutoTuneEnabled(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsIsAutoTuneEnabled)
.kmsKeyId(testKey.id())
.sizeInGbs(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSizeInGbs)
.sourceDetails(InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs.builder()
.type(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsType)
.id(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsId)
.build())
.vpusPerGb(instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsVpusPerGb)
.xrcKmsKeyId(testKey.id())
.build())
.volumeId(testVolume.id())
.build())
.launchDetails(InstanceConfigurationInstanceDetailsLaunchDetailsArgs.builder()
.agentConfig(InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs.builder()
.areAllPluginsDisabled(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigAreAllPluginsDisabled)
.isManagementDisabled(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsManagementDisabled)
.isMonitoringDisabled(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsMonitoringDisabled)
.pluginsConfigs(InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs.builder()
.desiredState(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigDesiredState)
.name(instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigName)
.build())
.build())
.availabilityConfig(InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs.builder()
.isLiveMigrationPreferred(instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigIsLiveMigrationPreferred)
.recoveryAction(instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigRecoveryAction)
.build())
.availabilityDomain(instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityDomain)
.capacityReservationId(testCapacityReservation.id())
.clusterPlacementGroupId(testGroup.id())
.compartmentId(compartmentId)
.createVnicDetails(InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs.builder()
.assignIpv6ip(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip)
.assignPrivateDnsRecord(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord)
.assignPublicIp(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPublicIp)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.hostnameLabel(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsHostnameLabel)
.ipv6addressIpv6subnetCidrPairDetails(InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6address(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address)
.ipv6subnetCidr(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr)
.build())
.nsgIds(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsNsgIds)
.privateIp(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsPrivateIp)
.securityAttributes(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSecurityAttributes)
.skipSourceDestCheck(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck)
.subnetId(testSubnet.id())
.build())
.dedicatedVmHostId(testDedicatedVmHost.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationInstanceDetailsLaunchDetailsDisplayName)
.extendedMetadata(instanceConfigurationInstanceDetailsLaunchDetailsExtendedMetadata)
.faultDomain(instanceConfigurationInstanceDetailsLaunchDetailsFaultDomain)
.freeformTags(Map.of("Department", "Finance"))
.instanceOptions(InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs.builder()
.areLegacyImdsEndpointsDisabled(instanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled)
.build())
.ipxeScript(instanceConfigurationInstanceDetailsLaunchDetailsIpxeScript)
.isPvEncryptionInTransitEnabled(instanceConfigurationInstanceDetailsLaunchDetailsIsPvEncryptionInTransitEnabled)
.launchMode(instanceConfigurationInstanceDetailsLaunchDetailsLaunchMode)
.launchOptions(InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs.builder()
.bootVolumeType(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsBootVolumeType)
.firmware(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsFirmware)
.isConsistentVolumeNamingEnabled(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled)
.isPvEncryptionInTransitEnabled(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled)
.networkType(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsNetworkType)
.remoteDataVolumeType(instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsRemoteDataVolumeType)
.build())
.metadata(instanceConfigurationInstanceDetailsLaunchDetailsMetadata)
.platformConfig(InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs.builder()
.type(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigType)
.areVirtualInstructionsEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled)
.configMap(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigConfigMap)
.isAccessControlServiceEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled)
.isInputOutputMemoryManagementUnitEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled)
.isMeasuredBootEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMeasuredBootEnabled)
.isMemoryEncryptionEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled)
.isSecureBootEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSecureBootEnabled)
.isSymmetricMultiThreadingEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled)
.isTrustedPlatformModuleEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled)
.numaNodesPerSocket(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigNumaNodesPerSocket)
.percentageOfCoresEnabled(instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigPercentageOfCoresEnabled)
.build())
.preemptibleInstanceConfig(InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs.builder()
.preemptionAction(InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs.builder()
.type(instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType)
.preserveBootVolume(instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume)
.build())
.build())
.preferredMaintenanceAction(instanceConfigurationInstanceDetailsLaunchDetailsPreferredMaintenanceAction)
.securityAttributes(instanceConfigurationInstanceDetailsLaunchDetailsSecurityAttributes)
.shape(instanceConfigurationInstanceDetailsLaunchDetailsShape)
.shapeConfig(InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs.builder()
.baselineOcpuUtilization(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigBaselineOcpuUtilization)
.memoryInGbs(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigMemoryInGbs)
.nvmes(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigNvmes)
.ocpus(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigOcpus)
.vcpus(instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigVcpus)
.build())
.sourceDetails(InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs.builder()
.sourceType(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsSourceType)
.bootVolumeId(testBootVolume.id())
.bootVolumeSizeInGbs(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeSizeInGbs)
.bootVolumeVpusPerGb(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeVpusPerGb)
.imageId(testImage.id())
.kmsKeyId(testKey.id())
.instanceSourceImageFilterDetails(InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs.builder()
.compartmentId(compartmentId)
.definedTagsFilter(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter)
.operatingSystem(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem)
.operatingSystemVersion(instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion)
.build())
.build())
.build())
.options(InstanceConfigurationInstanceDetailsOptionArgs.builder()
.blockVolumes(InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs.builder()
.attachDetails(InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs.builder()
.type(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsType)
.device(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDevice)
.displayName(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDisplayName)
.isPvEncryptionInTransitEnabled(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled)
.isReadOnly(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsReadOnly)
.isShareable(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsShareable)
.useChap(instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsUseChap)
.build())
.createDetails(InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs.builder()
.autotunePolicies(InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs.builder()
.autotuneType(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType)
.maxVpusPerGb(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb)
.build())
.availabilityDomain(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAvailabilityDomain)
.backupPolicyId(testVolumeBackupPolicies.volumeBackupPolicies()[0].id())
.clusterPlacementGroupId(clusterPlacementGroupId)
.compartmentId(compartmentId)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.kmsKeyId(testKey.id())
.sizeInGbs(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSizeInGbs)
.sourceDetails(InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs.builder()
.type(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsType)
.id(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsId)
.build())
.vpusPerGb(instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsVpusPerGb)
.xrcKmsKeyId(testKey.id())
.build())
.volumeId(testVolume.id())
.build())
.launchDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs.builder()
.agentConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs.builder()
.areAllPluginsDisabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigAreAllPluginsDisabled)
.isManagementDisabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsManagementDisabled)
.isMonitoringDisabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsMonitoringDisabled)
.pluginsConfigs(InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs.builder()
.desiredState(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigDesiredState)
.name(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigName)
.build())
.build())
.availabilityConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs.builder()
.recoveryAction(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityConfigRecoveryAction)
.build())
.availabilityDomain(instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityDomain)
.capacityReservationId(testCapacityReservation.id())
.clusterPlacementGroupId(testGroup.id())
.compartmentId(compartmentId)
.createVnicDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs.builder()
.assignIpv6ip(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip)
.assignPrivateDnsRecord(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord)
.assignPublicIp(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPublicIp)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.hostnameLabel(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsHostnameLabel)
.ipv6addressIpv6subnetCidrPairDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6address(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address)
.ipv6subnetCidr(instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr)
.build())
.nsgIds(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsNsgIds)
.privateIp(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsPrivateIp)
.securityAttributes(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSecurityAttributes)
.skipSourceDestCheck(instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck)
.subnetId(testSubnet.id())
.build())
.dedicatedVmHostId(testDedicatedVmHost.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationInstanceDetailsOptionsLaunchDetailsDisplayName)
.extendedMetadata(instanceConfigurationInstanceDetailsOptionsLaunchDetailsExtendedMetadata)
.faultDomain(instanceConfigurationInstanceDetailsOptionsLaunchDetailsFaultDomain)
.freeformTags(Map.of("Department", "Finance"))
.instanceOptions(InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs.builder()
.areLegacyImdsEndpointsDisabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled)
.build())
.ipxeScript(instanceConfigurationInstanceDetailsOptionsLaunchDetailsIpxeScript)
.isPvEncryptionInTransitEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsIsPvEncryptionInTransitEnabled)
.launchMode(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchMode)
.launchOptions(InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs.builder()
.bootVolumeType(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsBootVolumeType)
.firmware(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsFirmware)
.isConsistentVolumeNamingEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled)
.isPvEncryptionInTransitEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled)
.networkType(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsNetworkType)
.remoteDataVolumeType(instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsRemoteDataVolumeType)
.build())
.metadata(instanceConfigurationInstanceDetailsOptionsLaunchDetailsMetadata)
.platformConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs.builder()
.type(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigType)
.areVirtualInstructionsEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled)
.isAccessControlServiceEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled)
.isInputOutputMemoryManagementUnitEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled)
.isMeasuredBootEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMeasuredBootEnabled)
.isMemoryEncryptionEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled)
.isSecureBootEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSecureBootEnabled)
.isSymmetricMultiThreadingEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled)
.isTrustedPlatformModuleEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled)
.numaNodesPerSocket(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigNumaNodesPerSocket)
.percentageOfCoresEnabled(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigPercentageOfCoresEnabled)
.build())
.preemptibleInstanceConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs.builder()
.preemptionAction(InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs.builder()
.type(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType)
.preserveBootVolume(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume)
.build())
.build())
.preferredMaintenanceAction(instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreferredMaintenanceAction)
.securityAttributes(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSecurityAttributes)
.shape(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShape)
.shapeConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs.builder()
.baselineOcpuUtilization(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigBaselineOcpuUtilization)
.memoryInGbs(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigMemoryInGbs)
.nvmes(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigNvmes)
.ocpus(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigOcpus)
.vcpus(instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigVcpus)
.build())
.sourceDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs.builder()
.sourceType(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsSourceType)
.bootVolumeId(testBootVolume.id())
.bootVolumeSizeInGbs(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeSizeInGbs)
.bootVolumeVpusPerGb(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeVpusPerGb)
.imageId(testImage.id())
.instanceSourceImageFilterDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs.builder()
.compartmentId(compartmentId)
.definedTagsFilter(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter)
.operatingSystem(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem)
.operatingSystemVersion(instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion)
.build())
.build())
.build())
.secondaryVnics(InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs.builder()
.createVnicDetails(InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs.builder()
.assignIpv6ip(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignIpv6ip)
.assignPrivateDnsRecord(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord)
.assignPublicIp(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPublicIp)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.hostnameLabel(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsHostnameLabel)
.ipv6addressIpv6subnetCidrPairDetails(InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6address(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address)
.ipv6subnetCidr(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr)
.build())
.nsgIds(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsNsgIds)
.privateIp(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsPrivateIp)
.securityAttributes(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSecurityAttributes)
.skipSourceDestCheck(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck)
.subnetId(testSubnet.id())
.build())
.displayName(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsDisplayName)
.nicIndex(instanceConfigurationInstanceDetailsOptionsSecondaryVnicsNicIndex)
.build())
.build())
.secondaryVnics(InstanceConfigurationInstanceDetailsSecondaryVnicArgs.builder()
.createVnicDetails(InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs.builder()
.assignPrivateDnsRecord(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord)
.assignPublicIp(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPublicIp)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.hostnameLabel(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsHostnameLabel)
.nsgIds(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsNsgIds)
.privateIp(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsPrivateIp)
.securityAttributes(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSecurityAttributes)
.skipSourceDestCheck(instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck)
.subnetId(testSubnet.id())
.build())
.displayName(instanceConfigurationInstanceDetailsSecondaryVnicsDisplayName)
.nicIndex(instanceConfigurationInstanceDetailsSecondaryVnicsNicIndex)
.build())
.build())
.instanceId(testInstance.id())
.source(instanceConfigurationSource)
.build());
}
}
resources:
testInstanceConfiguration:
type: oci:Core:InstanceConfiguration
name: test_instance_configuration
properties:
compartmentId: ${compartmentId}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationDisplayName}
freeformTags:
Department: Finance
instanceDetails:
instanceType: ${instanceConfigurationInstanceDetailsInstanceType}
blockVolumes:
- attachDetails:
type: ${instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsType}
device: ${instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDevice}
displayName: ${instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsDisplayName}
isPvEncryptionInTransitEnabled: ${instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled}
isReadOnly: ${instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsReadOnly}
isShareable: ${instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsIsShareable}
useChap: ${instanceConfigurationInstanceDetailsBlockVolumesAttachDetailsUseChap}
createDetails:
autotunePolicies:
- autotuneType: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType}
maxVpusPerGb: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb}
availabilityDomain: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsAvailabilityDomain}
backupPolicyId: ${testVolumeBackupPolicies.volumeBackupPolicies[0].id}
blockVolumeReplicas:
availabilityDomain: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasAvailabilityDomain}
displayName: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsBlockVolumeReplicasDisplayName}
clusterPlacementGroupId: ${clusterPlacementGroupId}
compartmentId: ${compartmentId}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsDisplayName}
freeformTags:
Department: Finance
isAutoTuneEnabled: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsIsAutoTuneEnabled}
kmsKeyId: ${testKey.id}
sizeInGbs: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSizeInGbs}
sourceDetails:
type: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsType}
id: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsSourceDetailsId}
vpusPerGb: ${instanceConfigurationInstanceDetailsBlockVolumesCreateDetailsVpusPerGb}
xrcKmsKeyId: ${testKey.id}
volumeId: ${testVolume.id}
launchDetails:
agentConfig:
areAllPluginsDisabled: ${instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigAreAllPluginsDisabled}
isManagementDisabled: ${instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsManagementDisabled}
isMonitoringDisabled: ${instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigIsMonitoringDisabled}
pluginsConfigs:
- desiredState: ${instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigDesiredState}
name: ${instanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigName}
availabilityConfig:
isLiveMigrationPreferred: ${instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigIsLiveMigrationPreferred}
recoveryAction: ${instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigRecoveryAction}
availabilityDomain: ${instanceConfigurationInstanceDetailsLaunchDetailsAvailabilityDomain}
capacityReservationId: ${testCapacityReservation.id}
clusterPlacementGroupId: ${testGroup.id}
compartmentId: ${compartmentId}
createVnicDetails:
assignIpv6ip: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip}
assignPrivateDnsRecord: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord}
assignPublicIp: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignPublicIp}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsDisplayName}
freeformTags:
Department: Finance
hostnameLabel: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsHostnameLabel}
ipv6addressIpv6subnetCidrPairDetails:
- ipv6address: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address}
ipv6subnetCidr: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr}
nsgIds: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsNsgIds}
privateIp: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsPrivateIp}
securityAttributes: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSecurityAttributes}
skipSourceDestCheck: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck}
subnetId: ${testSubnet.id}
dedicatedVmHostId: ${testDedicatedVmHost.id}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationInstanceDetailsLaunchDetailsDisplayName}
extendedMetadata: ${instanceConfigurationInstanceDetailsLaunchDetailsExtendedMetadata}
faultDomain: ${instanceConfigurationInstanceDetailsLaunchDetailsFaultDomain}
freeformTags:
Department: Finance
instanceOptions:
areLegacyImdsEndpointsDisabled: ${instanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled}
ipxeScript: ${instanceConfigurationInstanceDetailsLaunchDetailsIpxeScript}
isPvEncryptionInTransitEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsIsPvEncryptionInTransitEnabled}
launchMode: ${instanceConfigurationInstanceDetailsLaunchDetailsLaunchMode}
launchOptions:
bootVolumeType: ${instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsBootVolumeType}
firmware: ${instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsFirmware}
isConsistentVolumeNamingEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled}
isPvEncryptionInTransitEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled}
networkType: ${instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsNetworkType}
remoteDataVolumeType: ${instanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsRemoteDataVolumeType}
metadata: ${instanceConfigurationInstanceDetailsLaunchDetailsMetadata}
platformConfig:
type: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigType}
areVirtualInstructionsEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled}
configMap: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigConfigMap}
isAccessControlServiceEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled}
isInputOutputMemoryManagementUnitEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled}
isMeasuredBootEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMeasuredBootEnabled}
isMemoryEncryptionEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled}
isSecureBootEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSecureBootEnabled}
isSymmetricMultiThreadingEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled}
isTrustedPlatformModuleEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled}
numaNodesPerSocket: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigNumaNodesPerSocket}
percentageOfCoresEnabled: ${instanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigPercentageOfCoresEnabled}
preemptibleInstanceConfig:
preemptionAction:
type: ${instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType}
preserveBootVolume: ${instanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume}
preferredMaintenanceAction: ${instanceConfigurationInstanceDetailsLaunchDetailsPreferredMaintenanceAction}
securityAttributes: ${instanceConfigurationInstanceDetailsLaunchDetailsSecurityAttributes}
shape: ${instanceConfigurationInstanceDetailsLaunchDetailsShape}
shapeConfig:
baselineOcpuUtilization: ${instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigBaselineOcpuUtilization}
memoryInGbs: ${instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigMemoryInGbs}
nvmes: ${instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigNvmes}
ocpus: ${instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigOcpus}
vcpus: ${instanceConfigurationInstanceDetailsLaunchDetailsShapeConfigVcpus}
sourceDetails:
sourceType: ${instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsSourceType}
bootVolumeId: ${testBootVolume.id}
bootVolumeSizeInGbs: ${instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeSizeInGbs}
bootVolumeVpusPerGb: ${instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsBootVolumeVpusPerGb}
imageId: ${testImage.id}
kmsKeyId: ${testKey.id}
instanceSourceImageFilterDetails:
compartmentId: ${compartmentId}
definedTagsFilter: ${instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter}
operatingSystem: ${instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem}
operatingSystemVersion: ${instanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion}
options:
- blockVolumes:
- attachDetails:
type: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsType}
device: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDevice}
displayName: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsDisplayName}
isPvEncryptionInTransitEnabled: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsPvEncryptionInTransitEnabled}
isReadOnly: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsReadOnly}
isShareable: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsIsShareable}
useChap: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesAttachDetailsUseChap}
createDetails:
autotunePolicies:
- autotuneType: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesAutotuneType}
maxVpusPerGb: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAutotunePoliciesMaxVpusPerGb}
availabilityDomain: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsAvailabilityDomain}
backupPolicyId: ${testVolumeBackupPolicies.volumeBackupPolicies[0].id}
clusterPlacementGroupId: ${clusterPlacementGroupId}
compartmentId: ${compartmentId}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsDisplayName}
freeformTags:
Department: Finance
kmsKeyId: ${testKey.id}
sizeInGbs: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSizeInGbs}
sourceDetails:
type: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsType}
id: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsSourceDetailsId}
vpusPerGb: ${instanceConfigurationInstanceDetailsOptionsBlockVolumesCreateDetailsVpusPerGb}
xrcKmsKeyId: ${testKey.id}
volumeId: ${testVolume.id}
launchDetails:
agentConfig:
areAllPluginsDisabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigAreAllPluginsDisabled}
isManagementDisabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsManagementDisabled}
isMonitoringDisabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigIsMonitoringDisabled}
pluginsConfigs:
- desiredState: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigDesiredState}
name: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsAgentConfigPluginsConfigName}
availabilityConfig:
recoveryAction: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityConfigRecoveryAction}
availabilityDomain: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsAvailabilityDomain}
capacityReservationId: ${testCapacityReservation.id}
clusterPlacementGroupId: ${testGroup.id}
compartmentId: ${compartmentId}
createVnicDetails:
assignIpv6ip: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsAssignIpv6ip}
assignPrivateDnsRecord: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPrivateDnsRecord}
assignPublicIp: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsAssignPublicIp}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsDisplayName}
freeformTags:
Department: Finance
hostnameLabel: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsHostnameLabel}
ipv6addressIpv6subnetCidrPairDetails:
- ipv6address: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address}
ipv6subnetCidr: ${instanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr}
nsgIds: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsNsgIds}
privateIp: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsPrivateIp}
securityAttributes: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSecurityAttributes}
skipSourceDestCheck: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsCreateVnicDetailsSkipSourceDestCheck}
subnetId: ${testSubnet.id}
dedicatedVmHostId: ${testDedicatedVmHost.id}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsDisplayName}
extendedMetadata: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsExtendedMetadata}
faultDomain: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsFaultDomain}
freeformTags:
Department: Finance
instanceOptions:
areLegacyImdsEndpointsDisabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsInstanceOptionsAreLegacyImdsEndpointsDisabled}
ipxeScript: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsIpxeScript}
isPvEncryptionInTransitEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsIsPvEncryptionInTransitEnabled}
launchMode: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchMode}
launchOptions:
bootVolumeType: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsBootVolumeType}
firmware: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsFirmware}
isConsistentVolumeNamingEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsConsistentVolumeNamingEnabled}
isPvEncryptionInTransitEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsIsPvEncryptionInTransitEnabled}
networkType: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsNetworkType}
remoteDataVolumeType: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsLaunchOptionsRemoteDataVolumeType}
metadata: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsMetadata}
platformConfig:
type: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigType}
areVirtualInstructionsEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigAreVirtualInstructionsEnabled}
isAccessControlServiceEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsAccessControlServiceEnabled}
isInputOutputMemoryManagementUnitEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsInputOutputMemoryManagementUnitEnabled}
isMeasuredBootEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMeasuredBootEnabled}
isMemoryEncryptionEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsMemoryEncryptionEnabled}
isSecureBootEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSecureBootEnabled}
isSymmetricMultiThreadingEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsSymmetricMultiThreadingEnabled}
isTrustedPlatformModuleEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigIsTrustedPlatformModuleEnabled}
numaNodesPerSocket: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigNumaNodesPerSocket}
percentageOfCoresEnabled: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPlatformConfigPercentageOfCoresEnabled}
preemptibleInstanceConfig:
preemptionAction:
type: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionType}
preserveBootVolume: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreemptibleInstanceConfigPreemptionActionPreserveBootVolume}
preferredMaintenanceAction: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsPreferredMaintenanceAction}
securityAttributes: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsSecurityAttributes}
shape: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsShape}
shapeConfig:
baselineOcpuUtilization: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigBaselineOcpuUtilization}
memoryInGbs: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigMemoryInGbs}
nvmes: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigNvmes}
ocpus: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigOcpus}
vcpus: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsShapeConfigVcpus}
sourceDetails:
sourceType: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsSourceType}
bootVolumeId: ${testBootVolume.id}
bootVolumeSizeInGbs: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeSizeInGbs}
bootVolumeVpusPerGb: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsBootVolumeVpusPerGb}
imageId: ${testImage.id}
instanceSourceImageFilterDetails:
compartmentId: ${compartmentId}
definedTagsFilter: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsDefinedTagsFilter}
operatingSystem: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystem}
operatingSystemVersion: ${instanceConfigurationInstanceDetailsOptionsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsOperatingSystemVersion}
secondaryVnics:
- createVnicDetails:
assignIpv6ip: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignIpv6ip}
assignPrivateDnsRecord: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord}
assignPublicIp: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsAssignPublicIp}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsDisplayName}
freeformTags:
Department: Finance
hostnameLabel: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsHostnameLabel}
ipv6addressIpv6subnetCidrPairDetails:
- ipv6address: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6address}
ipv6subnetCidr: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailsIpv6subnetCidr}
nsgIds: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsNsgIds}
privateIp: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsPrivateIp}
securityAttributes: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSecurityAttributes}
skipSourceDestCheck: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck}
subnetId: ${testSubnet.id}
displayName: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsDisplayName}
nicIndex: ${instanceConfigurationInstanceDetailsOptionsSecondaryVnicsNicIndex}
secondaryVnics:
- createVnicDetails:
assignPrivateDnsRecord: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPrivateDnsRecord}
assignPublicIp: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsAssignPublicIp}
definedTags:
Operations.CostCenter: '42'
displayName: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsDisplayName}
freeformTags:
Department: Finance
hostnameLabel: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsHostnameLabel}
nsgIds: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsNsgIds}
privateIp: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsPrivateIp}
securityAttributes: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSecurityAttributes}
skipSourceDestCheck: ${instanceConfigurationInstanceDetailsSecondaryVnicsCreateVnicDetailsSkipSourceDestCheck}
subnetId: ${testSubnet.id}
displayName: ${instanceConfigurationInstanceDetailsSecondaryVnicsDisplayName}
nicIndex: ${instanceConfigurationInstanceDetailsSecondaryVnicsNicIndex}
instanceId: ${testInstance.id}
source: ${instanceConfigurationSource}
Create InstanceConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InstanceConfiguration(name: string, args: InstanceConfigurationArgs, opts?: CustomResourceOptions);
@overload
def InstanceConfiguration(resource_name: str,
args: InstanceConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InstanceConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
instance_details: Optional[_core.InstanceConfigurationInstanceDetailsArgs] = None,
instance_id: Optional[str] = None,
source: Optional[str] = None)
func NewInstanceConfiguration(ctx *Context, name string, args InstanceConfigurationArgs, opts ...ResourceOption) (*InstanceConfiguration, error)
public InstanceConfiguration(string name, InstanceConfigurationArgs args, CustomResourceOptions? opts = null)
public InstanceConfiguration(String name, InstanceConfigurationArgs args)
public InstanceConfiguration(String name, InstanceConfigurationArgs args, CustomResourceOptions options)
type: oci:Core:InstanceConfiguration
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 InstanceConfigurationArgs
- 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 InstanceConfigurationArgs
- 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 InstanceConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var instanceConfigurationResource = new Oci.Core.InstanceConfiguration("instanceConfigurationResource", new()
{
CompartmentId = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
InstanceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsArgs
{
InstanceType = "string",
BlockVolumes = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeArgs
{
AttachDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs
{
Type = "string",
Device = "string",
DisplayName = "string",
IsPvEncryptionInTransitEnabled = false,
IsReadOnly = false,
IsShareable = false,
UseChap = false,
},
CreateDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs
{
AutotunePolicies = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs
{
AutotuneType = "string",
MaxVpusPerGb = "string",
},
},
AvailabilityDomain = "string",
BackupPolicyId = "string",
BlockVolumeReplicas = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs
{
AvailabilityDomain = "string",
DisplayName = "string",
},
ClusterPlacementGroupId = "string",
CompartmentId = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
IsAutoTuneEnabled = false,
KmsKeyId = "string",
SizeInGbs = "string",
SourceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs
{
Type = "string",
Id = "string",
},
VpusPerGb = "string",
XrcKmsKeyId = "string",
},
VolumeId = "string",
},
},
LaunchDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsArgs
{
AgentConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs
{
AreAllPluginsDisabled = false,
IsManagementDisabled = false,
IsMonitoringDisabled = false,
PluginsConfigs = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs
{
DesiredState = "string",
Name = "string",
},
},
},
AvailabilityConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs
{
IsLiveMigrationPreferred = false,
RecoveryAction = "string",
},
AvailabilityDomain = "string",
CapacityReservationId = "string",
ClusterPlacementGroupId = "string",
CompartmentId = "string",
CreateVnicDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs
{
AssignIpv6ip = false,
AssignPrivateDnsRecord = false,
AssignPublicIp = false,
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
HostnameLabel = "string",
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6address = "string",
Ipv6subnetCidr = "string",
},
},
NsgIds = new[]
{
"string",
},
PrivateIp = "string",
SecurityAttributes =
{
{ "string", "string" },
},
SkipSourceDestCheck = false,
SubnetId = "string",
},
DedicatedVmHostId = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
ExtendedMetadata =
{
{ "string", "string" },
},
FaultDomain = "string",
FreeformTags =
{
{ "string", "string" },
},
InstanceOptions = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs
{
AreLegacyImdsEndpointsDisabled = false,
},
IpxeScript = "string",
IsPvEncryptionInTransitEnabled = false,
LaunchMode = "string",
LaunchOptions = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs
{
BootVolumeType = "string",
Firmware = "string",
IsConsistentVolumeNamingEnabled = false,
IsPvEncryptionInTransitEnabled = false,
NetworkType = "string",
RemoteDataVolumeType = "string",
},
Metadata =
{
{ "string", "string" },
},
PlatformConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs
{
Type = "string",
AreVirtualInstructionsEnabled = false,
ConfigMap =
{
{ "string", "string" },
},
IsAccessControlServiceEnabled = false,
IsInputOutputMemoryManagementUnitEnabled = false,
IsMeasuredBootEnabled = false,
IsMemoryEncryptionEnabled = false,
IsSecureBootEnabled = false,
IsSymmetricMultiThreadingEnabled = false,
IsTrustedPlatformModuleEnabled = false,
NumaNodesPerSocket = "string",
PercentageOfCoresEnabled = 0,
},
PreemptibleInstanceConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs
{
PreemptionAction = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs
{
Type = "string",
PreserveBootVolume = false,
},
},
PreferredMaintenanceAction = "string",
SecurityAttributes =
{
{ "string", "string" },
},
Shape = "string",
ShapeConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs
{
BaselineOcpuUtilization = "string",
MemoryInGbs = 0,
Nvmes = 0,
Ocpus = 0,
Vcpus = 0,
},
SourceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs
{
SourceType = "string",
BootVolumeId = "string",
BootVolumeSizeInGbs = "string",
BootVolumeVpusPerGb = "string",
ImageId = "string",
InstanceSourceImageFilterDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs
{
CompartmentId = "string",
DefinedTagsFilter =
{
{ "string", "string" },
},
OperatingSystem = "string",
OperatingSystemVersion = "string",
},
KmsKeyId = "string",
},
},
Options = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionArgs
{
BlockVolumes = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs
{
AttachDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs
{
Type = "string",
Device = "string",
DisplayName = "string",
IsPvEncryptionInTransitEnabled = false,
IsReadOnly = false,
IsShareable = false,
UseChap = false,
},
CreateDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs
{
AutotunePolicies = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs
{
AutotuneType = "string",
MaxVpusPerGb = "string",
},
},
AvailabilityDomain = "string",
BackupPolicyId = "string",
BlockVolumeReplicas = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicasArgs
{
AvailabilityDomain = "string",
DisplayName = "string",
},
ClusterPlacementGroupId = "string",
CompartmentId = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
IsAutoTuneEnabled = false,
KmsKeyId = "string",
SizeInGbs = "string",
SourceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs
{
Type = "string",
Id = "string",
},
VpusPerGb = "string",
XrcKmsKeyId = "string",
},
VolumeId = "string",
},
},
LaunchDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs
{
AgentConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs
{
AreAllPluginsDisabled = false,
IsManagementDisabled = false,
IsMonitoringDisabled = false,
PluginsConfigs = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs
{
DesiredState = "string",
Name = "string",
},
},
},
AvailabilityConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs
{
IsLiveMigrationPreferred = false,
RecoveryAction = "string",
},
AvailabilityDomain = "string",
CapacityReservationId = "string",
ClusterPlacementGroupId = "string",
CompartmentId = "string",
CreateVnicDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs
{
AssignIpv6ip = false,
AssignPrivateDnsRecord = false,
AssignPublicIp = false,
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
HostnameLabel = "string",
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6address = "string",
Ipv6subnetCidr = "string",
},
},
NsgIds = new[]
{
"string",
},
PrivateIp = "string",
SecurityAttributes =
{
{ "string", "string" },
},
SkipSourceDestCheck = false,
SubnetId = "string",
},
DedicatedVmHostId = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
ExtendedMetadata =
{
{ "string", "string" },
},
FaultDomain = "string",
FreeformTags =
{
{ "string", "string" },
},
InstanceOptions = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs
{
AreLegacyImdsEndpointsDisabled = false,
},
IpxeScript = "string",
IsPvEncryptionInTransitEnabled = false,
LaunchMode = "string",
LaunchOptions = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs
{
BootVolumeType = "string",
Firmware = "string",
IsConsistentVolumeNamingEnabled = false,
IsPvEncryptionInTransitEnabled = false,
NetworkType = "string",
RemoteDataVolumeType = "string",
},
Metadata =
{
{ "string", "string" },
},
PlatformConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs
{
Type = "string",
AreVirtualInstructionsEnabled = false,
IsAccessControlServiceEnabled = false,
IsInputOutputMemoryManagementUnitEnabled = false,
IsMeasuredBootEnabled = false,
IsMemoryEncryptionEnabled = false,
IsSecureBootEnabled = false,
IsSymmetricMultiThreadingEnabled = false,
IsTrustedPlatformModuleEnabled = false,
NumaNodesPerSocket = "string",
PercentageOfCoresEnabled = 0,
},
PreemptibleInstanceConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs
{
PreemptionAction = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs
{
Type = "string",
PreserveBootVolume = false,
},
},
PreferredMaintenanceAction = "string",
SecurityAttributes =
{
{ "string", "string" },
},
Shape = "string",
ShapeConfig = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs
{
BaselineOcpuUtilization = "string",
MemoryInGbs = 0,
Nvmes = 0,
Ocpus = 0,
Vcpus = 0,
},
SourceDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs
{
SourceType = "string",
BootVolumeId = "string",
BootVolumeSizeInGbs = "string",
BootVolumeVpusPerGb = "string",
ImageId = "string",
InstanceSourceImageFilterDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs
{
CompartmentId = "string",
DefinedTagsFilter =
{
{ "string", "string" },
},
OperatingSystem = "string",
OperatingSystemVersion = "string",
},
KmsKeyId = "string",
},
},
SecondaryVnics = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs
{
CreateVnicDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs
{
AssignIpv6ip = false,
AssignPrivateDnsRecord = false,
AssignPublicIp = false,
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
HostnameLabel = "string",
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6address = "string",
Ipv6subnetCidr = "string",
},
},
NsgIds = new[]
{
"string",
},
PrivateIp = "string",
SecurityAttributes =
{
{ "string", "string" },
},
SkipSourceDestCheck = false,
SubnetId = "string",
},
DisplayName = "string",
NicIndex = 0,
},
},
},
},
SecondaryVnics = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsSecondaryVnicArgs
{
CreateVnicDetails = new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs
{
AssignIpv6ip = false,
AssignPrivateDnsRecord = false,
AssignPublicIp = false,
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
HostnameLabel = "string",
Ipv6addressIpv6subnetCidrPairDetails = new[]
{
new Oci.Core.Inputs.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
{
Ipv6address = "string",
Ipv6subnetCidr = "string",
},
},
NsgIds = new[]
{
"string",
},
PrivateIp = "string",
SecurityAttributes =
{
{ "string", "string" },
},
SkipSourceDestCheck = false,
SubnetId = "string",
},
DisplayName = "string",
NicIndex = 0,
},
},
},
InstanceId = "string",
Source = "string",
});
example, err := Core.NewInstanceConfiguration(ctx, "instanceConfigurationResource", &Core.InstanceConfigurationArgs{
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
InstanceDetails: &core.InstanceConfigurationInstanceDetailsArgs{
InstanceType: pulumi.String("string"),
BlockVolumes: core.InstanceConfigurationInstanceDetailsBlockVolumeArray{
&core.InstanceConfigurationInstanceDetailsBlockVolumeArgs{
AttachDetails: &core.InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs{
Type: pulumi.String("string"),
Device: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IsPvEncryptionInTransitEnabled: pulumi.Bool(false),
IsReadOnly: pulumi.Bool(false),
IsShareable: pulumi.Bool(false),
UseChap: pulumi.Bool(false),
},
CreateDetails: &core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs{
AutotunePolicies: core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArray{
&core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs{
AutotuneType: pulumi.String("string"),
MaxVpusPerGb: pulumi.String("string"),
},
},
AvailabilityDomain: pulumi.String("string"),
BackupPolicyId: pulumi.String("string"),
BlockVolumeReplicas: &core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs{
AvailabilityDomain: pulumi.String("string"),
DisplayName: pulumi.String("string"),
},
ClusterPlacementGroupId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsAutoTuneEnabled: pulumi.Bool(false),
KmsKeyId: pulumi.String("string"),
SizeInGbs: pulumi.String("string"),
SourceDetails: &core.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs{
Type: pulumi.String("string"),
Id: pulumi.String("string"),
},
VpusPerGb: pulumi.String("string"),
XrcKmsKeyId: pulumi.String("string"),
},
VolumeId: pulumi.String("string"),
},
},
LaunchDetails: &core.InstanceConfigurationInstanceDetailsLaunchDetailsArgs{
AgentConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs{
AreAllPluginsDisabled: pulumi.Bool(false),
IsManagementDisabled: pulumi.Bool(false),
IsMonitoringDisabled: pulumi.Bool(false),
PluginsConfigs: core.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArray{
&core.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs{
DesiredState: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
},
AvailabilityConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs{
IsLiveMigrationPreferred: pulumi.Bool(false),
RecoveryAction: pulumi.String("string"),
},
AvailabilityDomain: pulumi.String("string"),
CapacityReservationId: pulumi.String("string"),
ClusterPlacementGroupId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
CreateVnicDetails: &core.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs{
AssignIpv6ip: pulumi.Bool(false),
AssignPrivateDnsRecord: pulumi.Bool(false),
AssignPublicIp: pulumi.Bool(false),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
HostnameLabel: pulumi.String("string"),
Ipv6addressIpv6subnetCidrPairDetails: core.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6address: pulumi.String("string"),
Ipv6subnetCidr: pulumi.String("string"),
},
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
PrivateIp: pulumi.String("string"),
SecurityAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
SkipSourceDestCheck: pulumi.Bool(false),
SubnetId: pulumi.String("string"),
},
DedicatedVmHostId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
ExtendedMetadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
FaultDomain: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
InstanceOptions: &core.InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs{
AreLegacyImdsEndpointsDisabled: pulumi.Bool(false),
},
IpxeScript: pulumi.String("string"),
IsPvEncryptionInTransitEnabled: pulumi.Bool(false),
LaunchMode: pulumi.String("string"),
LaunchOptions: &core.InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs{
BootVolumeType: pulumi.String("string"),
Firmware: pulumi.String("string"),
IsConsistentVolumeNamingEnabled: pulumi.Bool(false),
IsPvEncryptionInTransitEnabled: pulumi.Bool(false),
NetworkType: pulumi.String("string"),
RemoteDataVolumeType: pulumi.String("string"),
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
PlatformConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs{
Type: pulumi.String("string"),
AreVirtualInstructionsEnabled: pulumi.Bool(false),
ConfigMap: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsAccessControlServiceEnabled: pulumi.Bool(false),
IsInputOutputMemoryManagementUnitEnabled: pulumi.Bool(false),
IsMeasuredBootEnabled: pulumi.Bool(false),
IsMemoryEncryptionEnabled: pulumi.Bool(false),
IsSecureBootEnabled: pulumi.Bool(false),
IsSymmetricMultiThreadingEnabled: pulumi.Bool(false),
IsTrustedPlatformModuleEnabled: pulumi.Bool(false),
NumaNodesPerSocket: pulumi.String("string"),
PercentageOfCoresEnabled: pulumi.Int(0),
},
PreemptibleInstanceConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs{
PreemptionAction: &core.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs{
Type: pulumi.String("string"),
PreserveBootVolume: pulumi.Bool(false),
},
},
PreferredMaintenanceAction: pulumi.String("string"),
SecurityAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
Shape: pulumi.String("string"),
ShapeConfig: &core.InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs{
BaselineOcpuUtilization: pulumi.String("string"),
MemoryInGbs: pulumi.Float64(0),
Nvmes: pulumi.Int(0),
Ocpus: pulumi.Float64(0),
Vcpus: pulumi.Int(0),
},
SourceDetails: &core.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs{
SourceType: pulumi.String("string"),
BootVolumeId: pulumi.String("string"),
BootVolumeSizeInGbs: pulumi.String("string"),
BootVolumeVpusPerGb: pulumi.String("string"),
ImageId: pulumi.String("string"),
InstanceSourceImageFilterDetails: &core.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs{
CompartmentId: pulumi.String("string"),
DefinedTagsFilter: pulumi.StringMap{
"string": pulumi.String("string"),
},
OperatingSystem: pulumi.String("string"),
OperatingSystemVersion: pulumi.String("string"),
},
KmsKeyId: pulumi.String("string"),
},
},
Options: core.InstanceConfigurationInstanceDetailsOptionArray{
&core.InstanceConfigurationInstanceDetailsOptionArgs{
BlockVolumes: core.InstanceConfigurationInstanceDetailsOptionBlockVolumeArray{
&core.InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs{
AttachDetails: &core.InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs{
Type: pulumi.String("string"),
Device: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IsPvEncryptionInTransitEnabled: pulumi.Bool(false),
IsReadOnly: pulumi.Bool(false),
IsShareable: pulumi.Bool(false),
UseChap: pulumi.Bool(false),
},
CreateDetails: &core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs{
AutotunePolicies: core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArray{
&core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs{
AutotuneType: pulumi.String("string"),
MaxVpusPerGb: pulumi.String("string"),
},
},
AvailabilityDomain: pulumi.String("string"),
BackupPolicyId: pulumi.String("string"),
BlockVolumeReplicas: &core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicasArgs{
AvailabilityDomain: pulumi.String("string"),
DisplayName: pulumi.String("string"),
},
ClusterPlacementGroupId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsAutoTuneEnabled: pulumi.Bool(false),
KmsKeyId: pulumi.String("string"),
SizeInGbs: pulumi.String("string"),
SourceDetails: &core.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs{
Type: pulumi.String("string"),
Id: pulumi.String("string"),
},
VpusPerGb: pulumi.String("string"),
XrcKmsKeyId: pulumi.String("string"),
},
VolumeId: pulumi.String("string"),
},
},
LaunchDetails: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs{
AgentConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs{
AreAllPluginsDisabled: pulumi.Bool(false),
IsManagementDisabled: pulumi.Bool(false),
IsMonitoringDisabled: pulumi.Bool(false),
PluginsConfigs: core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArray{
&core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs{
DesiredState: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
},
AvailabilityConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs{
IsLiveMigrationPreferred: pulumi.Bool(false),
RecoveryAction: pulumi.String("string"),
},
AvailabilityDomain: pulumi.String("string"),
CapacityReservationId: pulumi.String("string"),
ClusterPlacementGroupId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
CreateVnicDetails: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs{
AssignIpv6ip: pulumi.Bool(false),
AssignPrivateDnsRecord: pulumi.Bool(false),
AssignPublicIp: pulumi.Bool(false),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
HostnameLabel: pulumi.String("string"),
Ipv6addressIpv6subnetCidrPairDetails: core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6address: pulumi.String("string"),
Ipv6subnetCidr: pulumi.String("string"),
},
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
PrivateIp: pulumi.String("string"),
SecurityAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
SkipSourceDestCheck: pulumi.Bool(false),
SubnetId: pulumi.String("string"),
},
DedicatedVmHostId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
ExtendedMetadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
FaultDomain: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
InstanceOptions: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs{
AreLegacyImdsEndpointsDisabled: pulumi.Bool(false),
},
IpxeScript: pulumi.String("string"),
IsPvEncryptionInTransitEnabled: pulumi.Bool(false),
LaunchMode: pulumi.String("string"),
LaunchOptions: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs{
BootVolumeType: pulumi.String("string"),
Firmware: pulumi.String("string"),
IsConsistentVolumeNamingEnabled: pulumi.Bool(false),
IsPvEncryptionInTransitEnabled: pulumi.Bool(false),
NetworkType: pulumi.String("string"),
RemoteDataVolumeType: pulumi.String("string"),
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
PlatformConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs{
Type: pulumi.String("string"),
AreVirtualInstructionsEnabled: pulumi.Bool(false),
IsAccessControlServiceEnabled: pulumi.Bool(false),
IsInputOutputMemoryManagementUnitEnabled: pulumi.Bool(false),
IsMeasuredBootEnabled: pulumi.Bool(false),
IsMemoryEncryptionEnabled: pulumi.Bool(false),
IsSecureBootEnabled: pulumi.Bool(false),
IsSymmetricMultiThreadingEnabled: pulumi.Bool(false),
IsTrustedPlatformModuleEnabled: pulumi.Bool(false),
NumaNodesPerSocket: pulumi.String("string"),
PercentageOfCoresEnabled: pulumi.Int(0),
},
PreemptibleInstanceConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs{
PreemptionAction: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs{
Type: pulumi.String("string"),
PreserveBootVolume: pulumi.Bool(false),
},
},
PreferredMaintenanceAction: pulumi.String("string"),
SecurityAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
Shape: pulumi.String("string"),
ShapeConfig: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs{
BaselineOcpuUtilization: pulumi.String("string"),
MemoryInGbs: pulumi.Float64(0),
Nvmes: pulumi.Int(0),
Ocpus: pulumi.Float64(0),
Vcpus: pulumi.Int(0),
},
SourceDetails: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs{
SourceType: pulumi.String("string"),
BootVolumeId: pulumi.String("string"),
BootVolumeSizeInGbs: pulumi.String("string"),
BootVolumeVpusPerGb: pulumi.String("string"),
ImageId: pulumi.String("string"),
InstanceSourceImageFilterDetails: &core.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs{
CompartmentId: pulumi.String("string"),
DefinedTagsFilter: pulumi.StringMap{
"string": pulumi.String("string"),
},
OperatingSystem: pulumi.String("string"),
OperatingSystemVersion: pulumi.String("string"),
},
KmsKeyId: pulumi.String("string"),
},
},
SecondaryVnics: core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicArray{
&core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs{
CreateVnicDetails: &core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs{
AssignIpv6ip: pulumi.Bool(false),
AssignPrivateDnsRecord: pulumi.Bool(false),
AssignPublicIp: pulumi.Bool(false),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
HostnameLabel: pulumi.String("string"),
Ipv6addressIpv6subnetCidrPairDetails: core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6address: pulumi.String("string"),
Ipv6subnetCidr: pulumi.String("string"),
},
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
PrivateIp: pulumi.String("string"),
SecurityAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
SkipSourceDestCheck: pulumi.Bool(false),
SubnetId: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
NicIndex: pulumi.Int(0),
},
},
},
},
SecondaryVnics: core.InstanceConfigurationInstanceDetailsSecondaryVnicArray{
&core.InstanceConfigurationInstanceDetailsSecondaryVnicArgs{
CreateVnicDetails: &core.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs{
AssignIpv6ip: pulumi.Bool(false),
AssignPrivateDnsRecord: pulumi.Bool(false),
AssignPublicIp: pulumi.Bool(false),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
HostnameLabel: pulumi.String("string"),
Ipv6addressIpv6subnetCidrPairDetails: core.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArray{
&core.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs{
Ipv6address: pulumi.String("string"),
Ipv6subnetCidr: pulumi.String("string"),
},
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
PrivateIp: pulumi.String("string"),
SecurityAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
SkipSourceDestCheck: pulumi.Bool(false),
SubnetId: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
NicIndex: pulumi.Int(0),
},
},
},
InstanceId: pulumi.String("string"),
Source: pulumi.String("string"),
})
var instanceConfigurationResource = new InstanceConfiguration("instanceConfigurationResource", InstanceConfigurationArgs.builder()
.compartmentId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.instanceDetails(InstanceConfigurationInstanceDetailsArgs.builder()
.instanceType("string")
.blockVolumes(InstanceConfigurationInstanceDetailsBlockVolumeArgs.builder()
.attachDetails(InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs.builder()
.type("string")
.device("string")
.displayName("string")
.isPvEncryptionInTransitEnabled(false)
.isReadOnly(false)
.isShareable(false)
.useChap(false)
.build())
.createDetails(InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs.builder()
.autotunePolicies(InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs.builder()
.autotuneType("string")
.maxVpusPerGb("string")
.build())
.availabilityDomain("string")
.backupPolicyId("string")
.blockVolumeReplicas(InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs.builder()
.availabilityDomain("string")
.displayName("string")
.build())
.clusterPlacementGroupId("string")
.compartmentId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.isAutoTuneEnabled(false)
.kmsKeyId("string")
.sizeInGbs("string")
.sourceDetails(InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs.builder()
.type("string")
.id("string")
.build())
.vpusPerGb("string")
.xrcKmsKeyId("string")
.build())
.volumeId("string")
.build())
.launchDetails(InstanceConfigurationInstanceDetailsLaunchDetailsArgs.builder()
.agentConfig(InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs.builder()
.areAllPluginsDisabled(false)
.isManagementDisabled(false)
.isMonitoringDisabled(false)
.pluginsConfigs(InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs.builder()
.desiredState("string")
.name("string")
.build())
.build())
.availabilityConfig(InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs.builder()
.isLiveMigrationPreferred(false)
.recoveryAction("string")
.build())
.availabilityDomain("string")
.capacityReservationId("string")
.clusterPlacementGroupId("string")
.compartmentId("string")
.createVnicDetails(InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs.builder()
.assignIpv6ip(false)
.assignPrivateDnsRecord(false)
.assignPublicIp(false)
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.hostnameLabel("string")
.ipv6addressIpv6subnetCidrPairDetails(InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6address("string")
.ipv6subnetCidr("string")
.build())
.nsgIds("string")
.privateIp("string")
.securityAttributes(Map.of("string", "string"))
.skipSourceDestCheck(false)
.subnetId("string")
.build())
.dedicatedVmHostId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.extendedMetadata(Map.of("string", "string"))
.faultDomain("string")
.freeformTags(Map.of("string", "string"))
.instanceOptions(InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs.builder()
.areLegacyImdsEndpointsDisabled(false)
.build())
.ipxeScript("string")
.isPvEncryptionInTransitEnabled(false)
.launchMode("string")
.launchOptions(InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs.builder()
.bootVolumeType("string")
.firmware("string")
.isConsistentVolumeNamingEnabled(false)
.isPvEncryptionInTransitEnabled(false)
.networkType("string")
.remoteDataVolumeType("string")
.build())
.metadata(Map.of("string", "string"))
.platformConfig(InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs.builder()
.type("string")
.areVirtualInstructionsEnabled(false)
.configMap(Map.of("string", "string"))
.isAccessControlServiceEnabled(false)
.isInputOutputMemoryManagementUnitEnabled(false)
.isMeasuredBootEnabled(false)
.isMemoryEncryptionEnabled(false)
.isSecureBootEnabled(false)
.isSymmetricMultiThreadingEnabled(false)
.isTrustedPlatformModuleEnabled(false)
.numaNodesPerSocket("string")
.percentageOfCoresEnabled(0)
.build())
.preemptibleInstanceConfig(InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs.builder()
.preemptionAction(InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs.builder()
.type("string")
.preserveBootVolume(false)
.build())
.build())
.preferredMaintenanceAction("string")
.securityAttributes(Map.of("string", "string"))
.shape("string")
.shapeConfig(InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs.builder()
.baselineOcpuUtilization("string")
.memoryInGbs(0)
.nvmes(0)
.ocpus(0)
.vcpus(0)
.build())
.sourceDetails(InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs.builder()
.sourceType("string")
.bootVolumeId("string")
.bootVolumeSizeInGbs("string")
.bootVolumeVpusPerGb("string")
.imageId("string")
.instanceSourceImageFilterDetails(InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs.builder()
.compartmentId("string")
.definedTagsFilter(Map.of("string", "string"))
.operatingSystem("string")
.operatingSystemVersion("string")
.build())
.kmsKeyId("string")
.build())
.build())
.options(InstanceConfigurationInstanceDetailsOptionArgs.builder()
.blockVolumes(InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs.builder()
.attachDetails(InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs.builder()
.type("string")
.device("string")
.displayName("string")
.isPvEncryptionInTransitEnabled(false)
.isReadOnly(false)
.isShareable(false)
.useChap(false)
.build())
.createDetails(InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs.builder()
.autotunePolicies(InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs.builder()
.autotuneType("string")
.maxVpusPerGb("string")
.build())
.availabilityDomain("string")
.backupPolicyId("string")
.blockVolumeReplicas(InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicasArgs.builder()
.availabilityDomain("string")
.displayName("string")
.build())
.clusterPlacementGroupId("string")
.compartmentId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.isAutoTuneEnabled(false)
.kmsKeyId("string")
.sizeInGbs("string")
.sourceDetails(InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs.builder()
.type("string")
.id("string")
.build())
.vpusPerGb("string")
.xrcKmsKeyId("string")
.build())
.volumeId("string")
.build())
.launchDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs.builder()
.agentConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs.builder()
.areAllPluginsDisabled(false)
.isManagementDisabled(false)
.isMonitoringDisabled(false)
.pluginsConfigs(InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs.builder()
.desiredState("string")
.name("string")
.build())
.build())
.availabilityConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs.builder()
.isLiveMigrationPreferred(false)
.recoveryAction("string")
.build())
.availabilityDomain("string")
.capacityReservationId("string")
.clusterPlacementGroupId("string")
.compartmentId("string")
.createVnicDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs.builder()
.assignIpv6ip(false)
.assignPrivateDnsRecord(false)
.assignPublicIp(false)
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.hostnameLabel("string")
.ipv6addressIpv6subnetCidrPairDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6address("string")
.ipv6subnetCidr("string")
.build())
.nsgIds("string")
.privateIp("string")
.securityAttributes(Map.of("string", "string"))
.skipSourceDestCheck(false)
.subnetId("string")
.build())
.dedicatedVmHostId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.extendedMetadata(Map.of("string", "string"))
.faultDomain("string")
.freeformTags(Map.of("string", "string"))
.instanceOptions(InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs.builder()
.areLegacyImdsEndpointsDisabled(false)
.build())
.ipxeScript("string")
.isPvEncryptionInTransitEnabled(false)
.launchMode("string")
.launchOptions(InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs.builder()
.bootVolumeType("string")
.firmware("string")
.isConsistentVolumeNamingEnabled(false)
.isPvEncryptionInTransitEnabled(false)
.networkType("string")
.remoteDataVolumeType("string")
.build())
.metadata(Map.of("string", "string"))
.platformConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs.builder()
.type("string")
.areVirtualInstructionsEnabled(false)
.isAccessControlServiceEnabled(false)
.isInputOutputMemoryManagementUnitEnabled(false)
.isMeasuredBootEnabled(false)
.isMemoryEncryptionEnabled(false)
.isSecureBootEnabled(false)
.isSymmetricMultiThreadingEnabled(false)
.isTrustedPlatformModuleEnabled(false)
.numaNodesPerSocket("string")
.percentageOfCoresEnabled(0)
.build())
.preemptibleInstanceConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs.builder()
.preemptionAction(InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs.builder()
.type("string")
.preserveBootVolume(false)
.build())
.build())
.preferredMaintenanceAction("string")
.securityAttributes(Map.of("string", "string"))
.shape("string")
.shapeConfig(InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs.builder()
.baselineOcpuUtilization("string")
.memoryInGbs(0)
.nvmes(0)
.ocpus(0)
.vcpus(0)
.build())
.sourceDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs.builder()
.sourceType("string")
.bootVolumeId("string")
.bootVolumeSizeInGbs("string")
.bootVolumeVpusPerGb("string")
.imageId("string")
.instanceSourceImageFilterDetails(InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs.builder()
.compartmentId("string")
.definedTagsFilter(Map.of("string", "string"))
.operatingSystem("string")
.operatingSystemVersion("string")
.build())
.kmsKeyId("string")
.build())
.build())
.secondaryVnics(InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs.builder()
.createVnicDetails(InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs.builder()
.assignIpv6ip(false)
.assignPrivateDnsRecord(false)
.assignPublicIp(false)
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.hostnameLabel("string")
.ipv6addressIpv6subnetCidrPairDetails(InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6address("string")
.ipv6subnetCidr("string")
.build())
.nsgIds("string")
.privateIp("string")
.securityAttributes(Map.of("string", "string"))
.skipSourceDestCheck(false)
.subnetId("string")
.build())
.displayName("string")
.nicIndex(0)
.build())
.build())
.secondaryVnics(InstanceConfigurationInstanceDetailsSecondaryVnicArgs.builder()
.createVnicDetails(InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs.builder()
.assignIpv6ip(false)
.assignPrivateDnsRecord(false)
.assignPublicIp(false)
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.hostnameLabel("string")
.ipv6addressIpv6subnetCidrPairDetails(InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs.builder()
.ipv6address("string")
.ipv6subnetCidr("string")
.build())
.nsgIds("string")
.privateIp("string")
.securityAttributes(Map.of("string", "string"))
.skipSourceDestCheck(false)
.subnetId("string")
.build())
.displayName("string")
.nicIndex(0)
.build())
.build())
.instanceId("string")
.source("string")
.build());
instance_configuration_resource = oci.core.InstanceConfiguration("instanceConfigurationResource",
compartment_id="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
instance_details={
"instance_type": "string",
"block_volumes": [{
"attach_details": {
"type": "string",
"device": "string",
"display_name": "string",
"is_pv_encryption_in_transit_enabled": False,
"is_read_only": False,
"is_shareable": False,
"use_chap": False,
},
"create_details": {
"autotune_policies": [{
"autotune_type": "string",
"max_vpus_per_gb": "string",
}],
"availability_domain": "string",
"backup_policy_id": "string",
"block_volume_replicas": {
"availability_domain": "string",
"display_name": "string",
},
"cluster_placement_group_id": "string",
"compartment_id": "string",
"defined_tags": {
"string": "string",
},
"display_name": "string",
"freeform_tags": {
"string": "string",
},
"is_auto_tune_enabled": False,
"kms_key_id": "string",
"size_in_gbs": "string",
"source_details": {
"type": "string",
"id": "string",
},
"vpus_per_gb": "string",
"xrc_kms_key_id": "string",
},
"volume_id": "string",
}],
"launch_details": {
"agent_config": {
"are_all_plugins_disabled": False,
"is_management_disabled": False,
"is_monitoring_disabled": False,
"plugins_configs": [{
"desired_state": "string",
"name": "string",
}],
},
"availability_config": {
"is_live_migration_preferred": False,
"recovery_action": "string",
},
"availability_domain": "string",
"capacity_reservation_id": "string",
"cluster_placement_group_id": "string",
"compartment_id": "string",
"create_vnic_details": {
"assign_ipv6ip": False,
"assign_private_dns_record": False,
"assign_public_ip": False,
"defined_tags": {
"string": "string",
},
"display_name": "string",
"freeform_tags": {
"string": "string",
},
"hostname_label": "string",
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6address": "string",
"ipv6subnet_cidr": "string",
}],
"nsg_ids": ["string"],
"private_ip": "string",
"security_attributes": {
"string": "string",
},
"skip_source_dest_check": False,
"subnet_id": "string",
},
"dedicated_vm_host_id": "string",
"defined_tags": {
"string": "string",
},
"display_name": "string",
"extended_metadata": {
"string": "string",
},
"fault_domain": "string",
"freeform_tags": {
"string": "string",
},
"instance_options": {
"are_legacy_imds_endpoints_disabled": False,
},
"ipxe_script": "string",
"is_pv_encryption_in_transit_enabled": False,
"launch_mode": "string",
"launch_options": {
"boot_volume_type": "string",
"firmware": "string",
"is_consistent_volume_naming_enabled": False,
"is_pv_encryption_in_transit_enabled": False,
"network_type": "string",
"remote_data_volume_type": "string",
},
"metadata": {
"string": "string",
},
"platform_config": {
"type": "string",
"are_virtual_instructions_enabled": False,
"config_map": {
"string": "string",
},
"is_access_control_service_enabled": False,
"is_input_output_memory_management_unit_enabled": False,
"is_measured_boot_enabled": False,
"is_memory_encryption_enabled": False,
"is_secure_boot_enabled": False,
"is_symmetric_multi_threading_enabled": False,
"is_trusted_platform_module_enabled": False,
"numa_nodes_per_socket": "string",
"percentage_of_cores_enabled": 0,
},
"preemptible_instance_config": {
"preemption_action": {
"type": "string",
"preserve_boot_volume": False,
},
},
"preferred_maintenance_action": "string",
"security_attributes": {
"string": "string",
},
"shape": "string",
"shape_config": {
"baseline_ocpu_utilization": "string",
"memory_in_gbs": 0,
"nvmes": 0,
"ocpus": 0,
"vcpus": 0,
},
"source_details": {
"source_type": "string",
"boot_volume_id": "string",
"boot_volume_size_in_gbs": "string",
"boot_volume_vpus_per_gb": "string",
"image_id": "string",
"instance_source_image_filter_details": {
"compartment_id": "string",
"defined_tags_filter": {
"string": "string",
},
"operating_system": "string",
"operating_system_version": "string",
},
"kms_key_id": "string",
},
},
"options": [{
"block_volumes": [{
"attach_details": {
"type": "string",
"device": "string",
"display_name": "string",
"is_pv_encryption_in_transit_enabled": False,
"is_read_only": False,
"is_shareable": False,
"use_chap": False,
},
"create_details": {
"autotune_policies": [{
"autotune_type": "string",
"max_vpus_per_gb": "string",
}],
"availability_domain": "string",
"backup_policy_id": "string",
"block_volume_replicas": {
"availability_domain": "string",
"display_name": "string",
},
"cluster_placement_group_id": "string",
"compartment_id": "string",
"defined_tags": {
"string": "string",
},
"display_name": "string",
"freeform_tags": {
"string": "string",
},
"is_auto_tune_enabled": False,
"kms_key_id": "string",
"size_in_gbs": "string",
"source_details": {
"type": "string",
"id": "string",
},
"vpus_per_gb": "string",
"xrc_kms_key_id": "string",
},
"volume_id": "string",
}],
"launch_details": {
"agent_config": {
"are_all_plugins_disabled": False,
"is_management_disabled": False,
"is_monitoring_disabled": False,
"plugins_configs": [{
"desired_state": "string",
"name": "string",
}],
},
"availability_config": {
"is_live_migration_preferred": False,
"recovery_action": "string",
},
"availability_domain": "string",
"capacity_reservation_id": "string",
"cluster_placement_group_id": "string",
"compartment_id": "string",
"create_vnic_details": {
"assign_ipv6ip": False,
"assign_private_dns_record": False,
"assign_public_ip": False,
"defined_tags": {
"string": "string",
},
"display_name": "string",
"freeform_tags": {
"string": "string",
},
"hostname_label": "string",
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6address": "string",
"ipv6subnet_cidr": "string",
}],
"nsg_ids": ["string"],
"private_ip": "string",
"security_attributes": {
"string": "string",
},
"skip_source_dest_check": False,
"subnet_id": "string",
},
"dedicated_vm_host_id": "string",
"defined_tags": {
"string": "string",
},
"display_name": "string",
"extended_metadata": {
"string": "string",
},
"fault_domain": "string",
"freeform_tags": {
"string": "string",
},
"instance_options": {
"are_legacy_imds_endpoints_disabled": False,
},
"ipxe_script": "string",
"is_pv_encryption_in_transit_enabled": False,
"launch_mode": "string",
"launch_options": {
"boot_volume_type": "string",
"firmware": "string",
"is_consistent_volume_naming_enabled": False,
"is_pv_encryption_in_transit_enabled": False,
"network_type": "string",
"remote_data_volume_type": "string",
},
"metadata": {
"string": "string",
},
"platform_config": {
"type": "string",
"are_virtual_instructions_enabled": False,
"is_access_control_service_enabled": False,
"is_input_output_memory_management_unit_enabled": False,
"is_measured_boot_enabled": False,
"is_memory_encryption_enabled": False,
"is_secure_boot_enabled": False,
"is_symmetric_multi_threading_enabled": False,
"is_trusted_platform_module_enabled": False,
"numa_nodes_per_socket": "string",
"percentage_of_cores_enabled": 0,
},
"preemptible_instance_config": {
"preemption_action": {
"type": "string",
"preserve_boot_volume": False,
},
},
"preferred_maintenance_action": "string",
"security_attributes": {
"string": "string",
},
"shape": "string",
"shape_config": {
"baseline_ocpu_utilization": "string",
"memory_in_gbs": 0,
"nvmes": 0,
"ocpus": 0,
"vcpus": 0,
},
"source_details": {
"source_type": "string",
"boot_volume_id": "string",
"boot_volume_size_in_gbs": "string",
"boot_volume_vpus_per_gb": "string",
"image_id": "string",
"instance_source_image_filter_details": {
"compartment_id": "string",
"defined_tags_filter": {
"string": "string",
},
"operating_system": "string",
"operating_system_version": "string",
},
"kms_key_id": "string",
},
},
"secondary_vnics": [{
"create_vnic_details": {
"assign_ipv6ip": False,
"assign_private_dns_record": False,
"assign_public_ip": False,
"defined_tags": {
"string": "string",
},
"display_name": "string",
"freeform_tags": {
"string": "string",
},
"hostname_label": "string",
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6address": "string",
"ipv6subnet_cidr": "string",
}],
"nsg_ids": ["string"],
"private_ip": "string",
"security_attributes": {
"string": "string",
},
"skip_source_dest_check": False,
"subnet_id": "string",
},
"display_name": "string",
"nic_index": 0,
}],
}],
"secondary_vnics": [{
"create_vnic_details": {
"assign_ipv6ip": False,
"assign_private_dns_record": False,
"assign_public_ip": False,
"defined_tags": {
"string": "string",
},
"display_name": "string",
"freeform_tags": {
"string": "string",
},
"hostname_label": "string",
"ipv6address_ipv6subnet_cidr_pair_details": [{
"ipv6address": "string",
"ipv6subnet_cidr": "string",
}],
"nsg_ids": ["string"],
"private_ip": "string",
"security_attributes": {
"string": "string",
},
"skip_source_dest_check": False,
"subnet_id": "string",
},
"display_name": "string",
"nic_index": 0,
}],
},
instance_id="string",
source="string")
const instanceConfigurationResource = new oci.core.InstanceConfiguration("instanceConfigurationResource", {
compartmentId: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
instanceDetails: {
instanceType: "string",
blockVolumes: [{
attachDetails: {
type: "string",
device: "string",
displayName: "string",
isPvEncryptionInTransitEnabled: false,
isReadOnly: false,
isShareable: false,
useChap: false,
},
createDetails: {
autotunePolicies: [{
autotuneType: "string",
maxVpusPerGb: "string",
}],
availabilityDomain: "string",
backupPolicyId: "string",
blockVolumeReplicas: {
availabilityDomain: "string",
displayName: "string",
},
clusterPlacementGroupId: "string",
compartmentId: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
isAutoTuneEnabled: false,
kmsKeyId: "string",
sizeInGbs: "string",
sourceDetails: {
type: "string",
id: "string",
},
vpusPerGb: "string",
xrcKmsKeyId: "string",
},
volumeId: "string",
}],
launchDetails: {
agentConfig: {
areAllPluginsDisabled: false,
isManagementDisabled: false,
isMonitoringDisabled: false,
pluginsConfigs: [{
desiredState: "string",
name: "string",
}],
},
availabilityConfig: {
isLiveMigrationPreferred: false,
recoveryAction: "string",
},
availabilityDomain: "string",
capacityReservationId: "string",
clusterPlacementGroupId: "string",
compartmentId: "string",
createVnicDetails: {
assignIpv6ip: false,
assignPrivateDnsRecord: false,
assignPublicIp: false,
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
hostnameLabel: "string",
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6address: "string",
ipv6subnetCidr: "string",
}],
nsgIds: ["string"],
privateIp: "string",
securityAttributes: {
string: "string",
},
skipSourceDestCheck: false,
subnetId: "string",
},
dedicatedVmHostId: "string",
definedTags: {
string: "string",
},
displayName: "string",
extendedMetadata: {
string: "string",
},
faultDomain: "string",
freeformTags: {
string: "string",
},
instanceOptions: {
areLegacyImdsEndpointsDisabled: false,
},
ipxeScript: "string",
isPvEncryptionInTransitEnabled: false,
launchMode: "string",
launchOptions: {
bootVolumeType: "string",
firmware: "string",
isConsistentVolumeNamingEnabled: false,
isPvEncryptionInTransitEnabled: false,
networkType: "string",
remoteDataVolumeType: "string",
},
metadata: {
string: "string",
},
platformConfig: {
type: "string",
areVirtualInstructionsEnabled: false,
configMap: {
string: "string",
},
isAccessControlServiceEnabled: false,
isInputOutputMemoryManagementUnitEnabled: false,
isMeasuredBootEnabled: false,
isMemoryEncryptionEnabled: false,
isSecureBootEnabled: false,
isSymmetricMultiThreadingEnabled: false,
isTrustedPlatformModuleEnabled: false,
numaNodesPerSocket: "string",
percentageOfCoresEnabled: 0,
},
preemptibleInstanceConfig: {
preemptionAction: {
type: "string",
preserveBootVolume: false,
},
},
preferredMaintenanceAction: "string",
securityAttributes: {
string: "string",
},
shape: "string",
shapeConfig: {
baselineOcpuUtilization: "string",
memoryInGbs: 0,
nvmes: 0,
ocpus: 0,
vcpus: 0,
},
sourceDetails: {
sourceType: "string",
bootVolumeId: "string",
bootVolumeSizeInGbs: "string",
bootVolumeVpusPerGb: "string",
imageId: "string",
instanceSourceImageFilterDetails: {
compartmentId: "string",
definedTagsFilter: {
string: "string",
},
operatingSystem: "string",
operatingSystemVersion: "string",
},
kmsKeyId: "string",
},
},
options: [{
blockVolumes: [{
attachDetails: {
type: "string",
device: "string",
displayName: "string",
isPvEncryptionInTransitEnabled: false,
isReadOnly: false,
isShareable: false,
useChap: false,
},
createDetails: {
autotunePolicies: [{
autotuneType: "string",
maxVpusPerGb: "string",
}],
availabilityDomain: "string",
backupPolicyId: "string",
blockVolumeReplicas: {
availabilityDomain: "string",
displayName: "string",
},
clusterPlacementGroupId: "string",
compartmentId: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
isAutoTuneEnabled: false,
kmsKeyId: "string",
sizeInGbs: "string",
sourceDetails: {
type: "string",
id: "string",
},
vpusPerGb: "string",
xrcKmsKeyId: "string",
},
volumeId: "string",
}],
launchDetails: {
agentConfig: {
areAllPluginsDisabled: false,
isManagementDisabled: false,
isMonitoringDisabled: false,
pluginsConfigs: [{
desiredState: "string",
name: "string",
}],
},
availabilityConfig: {
isLiveMigrationPreferred: false,
recoveryAction: "string",
},
availabilityDomain: "string",
capacityReservationId: "string",
clusterPlacementGroupId: "string",
compartmentId: "string",
createVnicDetails: {
assignIpv6ip: false,
assignPrivateDnsRecord: false,
assignPublicIp: false,
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
hostnameLabel: "string",
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6address: "string",
ipv6subnetCidr: "string",
}],
nsgIds: ["string"],
privateIp: "string",
securityAttributes: {
string: "string",
},
skipSourceDestCheck: false,
subnetId: "string",
},
dedicatedVmHostId: "string",
definedTags: {
string: "string",
},
displayName: "string",
extendedMetadata: {
string: "string",
},
faultDomain: "string",
freeformTags: {
string: "string",
},
instanceOptions: {
areLegacyImdsEndpointsDisabled: false,
},
ipxeScript: "string",
isPvEncryptionInTransitEnabled: false,
launchMode: "string",
launchOptions: {
bootVolumeType: "string",
firmware: "string",
isConsistentVolumeNamingEnabled: false,
isPvEncryptionInTransitEnabled: false,
networkType: "string",
remoteDataVolumeType: "string",
},
metadata: {
string: "string",
},
platformConfig: {
type: "string",
areVirtualInstructionsEnabled: false,
isAccessControlServiceEnabled: false,
isInputOutputMemoryManagementUnitEnabled: false,
isMeasuredBootEnabled: false,
isMemoryEncryptionEnabled: false,
isSecureBootEnabled: false,
isSymmetricMultiThreadingEnabled: false,
isTrustedPlatformModuleEnabled: false,
numaNodesPerSocket: "string",
percentageOfCoresEnabled: 0,
},
preemptibleInstanceConfig: {
preemptionAction: {
type: "string",
preserveBootVolume: false,
},
},
preferredMaintenanceAction: "string",
securityAttributes: {
string: "string",
},
shape: "string",
shapeConfig: {
baselineOcpuUtilization: "string",
memoryInGbs: 0,
nvmes: 0,
ocpus: 0,
vcpus: 0,
},
sourceDetails: {
sourceType: "string",
bootVolumeId: "string",
bootVolumeSizeInGbs: "string",
bootVolumeVpusPerGb: "string",
imageId: "string",
instanceSourceImageFilterDetails: {
compartmentId: "string",
definedTagsFilter: {
string: "string",
},
operatingSystem: "string",
operatingSystemVersion: "string",
},
kmsKeyId: "string",
},
},
secondaryVnics: [{
createVnicDetails: {
assignIpv6ip: false,
assignPrivateDnsRecord: false,
assignPublicIp: false,
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
hostnameLabel: "string",
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6address: "string",
ipv6subnetCidr: "string",
}],
nsgIds: ["string"],
privateIp: "string",
securityAttributes: {
string: "string",
},
skipSourceDestCheck: false,
subnetId: "string",
},
displayName: "string",
nicIndex: 0,
}],
}],
secondaryVnics: [{
createVnicDetails: {
assignIpv6ip: false,
assignPrivateDnsRecord: false,
assignPublicIp: false,
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
hostnameLabel: "string",
ipv6addressIpv6subnetCidrPairDetails: [{
ipv6address: "string",
ipv6subnetCidr: "string",
}],
nsgIds: ["string"],
privateIp: "string",
securityAttributes: {
string: "string",
},
skipSourceDestCheck: false,
subnetId: "string",
},
displayName: "string",
nicIndex: 0,
}],
},
instanceId: "string",
source: "string",
});
type: oci:Core:InstanceConfiguration
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
instanceDetails:
blockVolumes:
- attachDetails:
device: string
displayName: string
isPvEncryptionInTransitEnabled: false
isReadOnly: false
isShareable: false
type: string
useChap: false
createDetails:
autotunePolicies:
- autotuneType: string
maxVpusPerGb: string
availabilityDomain: string
backupPolicyId: string
blockVolumeReplicas:
availabilityDomain: string
displayName: string
clusterPlacementGroupId: string
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
isAutoTuneEnabled: false
kmsKeyId: string
sizeInGbs: string
sourceDetails:
id: string
type: string
vpusPerGb: string
xrcKmsKeyId: string
volumeId: string
instanceType: string
launchDetails:
agentConfig:
areAllPluginsDisabled: false
isManagementDisabled: false
isMonitoringDisabled: false
pluginsConfigs:
- desiredState: string
name: string
availabilityConfig:
isLiveMigrationPreferred: false
recoveryAction: string
availabilityDomain: string
capacityReservationId: string
clusterPlacementGroupId: string
compartmentId: string
createVnicDetails:
assignIpv6ip: false
assignPrivateDnsRecord: false
assignPublicIp: false
definedTags:
string: string
displayName: string
freeformTags:
string: string
hostnameLabel: string
ipv6addressIpv6subnetCidrPairDetails:
- ipv6address: string
ipv6subnetCidr: string
nsgIds:
- string
privateIp: string
securityAttributes:
string: string
skipSourceDestCheck: false
subnetId: string
dedicatedVmHostId: string
definedTags:
string: string
displayName: string
extendedMetadata:
string: string
faultDomain: string
freeformTags:
string: string
instanceOptions:
areLegacyImdsEndpointsDisabled: false
ipxeScript: string
isPvEncryptionInTransitEnabled: false
launchMode: string
launchOptions:
bootVolumeType: string
firmware: string
isConsistentVolumeNamingEnabled: false
isPvEncryptionInTransitEnabled: false
networkType: string
remoteDataVolumeType: string
metadata:
string: string
platformConfig:
areVirtualInstructionsEnabled: false
configMap:
string: string
isAccessControlServiceEnabled: false
isInputOutputMemoryManagementUnitEnabled: false
isMeasuredBootEnabled: false
isMemoryEncryptionEnabled: false
isSecureBootEnabled: false
isSymmetricMultiThreadingEnabled: false
isTrustedPlatformModuleEnabled: false
numaNodesPerSocket: string
percentageOfCoresEnabled: 0
type: string
preemptibleInstanceConfig:
preemptionAction:
preserveBootVolume: false
type: string
preferredMaintenanceAction: string
securityAttributes:
string: string
shape: string
shapeConfig:
baselineOcpuUtilization: string
memoryInGbs: 0
nvmes: 0
ocpus: 0
vcpus: 0
sourceDetails:
bootVolumeId: string
bootVolumeSizeInGbs: string
bootVolumeVpusPerGb: string
imageId: string
instanceSourceImageFilterDetails:
compartmentId: string
definedTagsFilter:
string: string
operatingSystem: string
operatingSystemVersion: string
kmsKeyId: string
sourceType: string
options:
- blockVolumes:
- attachDetails:
device: string
displayName: string
isPvEncryptionInTransitEnabled: false
isReadOnly: false
isShareable: false
type: string
useChap: false
createDetails:
autotunePolicies:
- autotuneType: string
maxVpusPerGb: string
availabilityDomain: string
backupPolicyId: string
blockVolumeReplicas:
availabilityDomain: string
displayName: string
clusterPlacementGroupId: string
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
isAutoTuneEnabled: false
kmsKeyId: string
sizeInGbs: string
sourceDetails:
id: string
type: string
vpusPerGb: string
xrcKmsKeyId: string
volumeId: string
launchDetails:
agentConfig:
areAllPluginsDisabled: false
isManagementDisabled: false
isMonitoringDisabled: false
pluginsConfigs:
- desiredState: string
name: string
availabilityConfig:
isLiveMigrationPreferred: false
recoveryAction: string
availabilityDomain: string
capacityReservationId: string
clusterPlacementGroupId: string
compartmentId: string
createVnicDetails:
assignIpv6ip: false
assignPrivateDnsRecord: false
assignPublicIp: false
definedTags:
string: string
displayName: string
freeformTags:
string: string
hostnameLabel: string
ipv6addressIpv6subnetCidrPairDetails:
- ipv6address: string
ipv6subnetCidr: string
nsgIds:
- string
privateIp: string
securityAttributes:
string: string
skipSourceDestCheck: false
subnetId: string
dedicatedVmHostId: string
definedTags:
string: string
displayName: string
extendedMetadata:
string: string
faultDomain: string
freeformTags:
string: string
instanceOptions:
areLegacyImdsEndpointsDisabled: false
ipxeScript: string
isPvEncryptionInTransitEnabled: false
launchMode: string
launchOptions:
bootVolumeType: string
firmware: string
isConsistentVolumeNamingEnabled: false
isPvEncryptionInTransitEnabled: false
networkType: string
remoteDataVolumeType: string
metadata:
string: string
platformConfig:
areVirtualInstructionsEnabled: false
isAccessControlServiceEnabled: false
isInputOutputMemoryManagementUnitEnabled: false
isMeasuredBootEnabled: false
isMemoryEncryptionEnabled: false
isSecureBootEnabled: false
isSymmetricMultiThreadingEnabled: false
isTrustedPlatformModuleEnabled: false
numaNodesPerSocket: string
percentageOfCoresEnabled: 0
type: string
preemptibleInstanceConfig:
preemptionAction:
preserveBootVolume: false
type: string
preferredMaintenanceAction: string
securityAttributes:
string: string
shape: string
shapeConfig:
baselineOcpuUtilization: string
memoryInGbs: 0
nvmes: 0
ocpus: 0
vcpus: 0
sourceDetails:
bootVolumeId: string
bootVolumeSizeInGbs: string
bootVolumeVpusPerGb: string
imageId: string
instanceSourceImageFilterDetails:
compartmentId: string
definedTagsFilter:
string: string
operatingSystem: string
operatingSystemVersion: string
kmsKeyId: string
sourceType: string
secondaryVnics:
- createVnicDetails:
assignIpv6ip: false
assignPrivateDnsRecord: false
assignPublicIp: false
definedTags:
string: string
displayName: string
freeformTags:
string: string
hostnameLabel: string
ipv6addressIpv6subnetCidrPairDetails:
- ipv6address: string
ipv6subnetCidr: string
nsgIds:
- string
privateIp: string
securityAttributes:
string: string
skipSourceDestCheck: false
subnetId: string
displayName: string
nicIndex: 0
secondaryVnics:
- createVnicDetails:
assignIpv6ip: false
assignPrivateDnsRecord: false
assignPublicIp: false
definedTags:
string: string
displayName: string
freeformTags:
string: string
hostnameLabel: string
ipv6addressIpv6subnetCidrPairDetails:
- ipv6address: string
ipv6subnetCidr: string
nsgIds:
- string
privateIp: string
securityAttributes:
string: string
skipSourceDestCheck: false
subnetId: string
displayName: string
nicIndex: 0
instanceId: string
source: string
InstanceConfiguration 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 InstanceConfiguration resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Instance
Details InstanceConfiguration Instance Details - Instance
Id string - The OCID of the instance to use to create the instance configuration.
- Source string
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Instance
Details InstanceConfiguration Instance Details Args - Instance
Id string - The OCID of the instance to use to create the instance configuration.
- Source string
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance configuration.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Details InstanceConfiguration Instance Details - instance
Id String - The OCID of the instance to use to create the instance configuration.
- source String
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Details InstanceConfiguration Instance Details - instance
Id string - The OCID of the instance to use to create the instance configuration.
- source string
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- compartment_
id str - (Updatable) The OCID of the compartment containing the instance configuration.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance_
details core.Instance Configuration Instance Details Args - instance_
id str - The OCID of the instance to use to create the instance configuration.
- source str
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance configuration.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Details Property Map - instance
Id String - The OCID of the instance to use to create the instance configuration.
- source String
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceConfiguration resource produces the following output properties:
- Deferred
Fields List<string> - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Time
Created string - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Deferred
Fields []string - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Time
Created string - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- deferred
Fields List<String> - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- id String
- The provider-assigned unique ID for this managed resource.
- time
Created String - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- deferred
Fields string[] - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- id string
- The provider-assigned unique ID for this managed resource.
- time
Created string - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- deferred_
fields Sequence[str] - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- id str
- The provider-assigned unique ID for this managed resource.
- time_
created str - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- deferred
Fields List<String> - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- id String
- The provider-assigned unique ID for this managed resource.
- time
Created String - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Look up Existing InstanceConfiguration Resource
Get an existing InstanceConfiguration 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?: InstanceConfigurationState, opts?: CustomResourceOptions): InstanceConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
deferred_fields: Optional[Sequence[str]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
instance_details: Optional[_core.InstanceConfigurationInstanceDetailsArgs] = None,
instance_id: Optional[str] = None,
source: Optional[str] = None,
time_created: Optional[str] = None) -> InstanceConfiguration
func GetInstanceConfiguration(ctx *Context, name string, id IDInput, state *InstanceConfigurationState, opts ...ResourceOption) (*InstanceConfiguration, error)
public static InstanceConfiguration Get(string name, Input<string> id, InstanceConfigurationState? state, CustomResourceOptions? opts = null)
public static InstanceConfiguration get(String name, Output<String> id, InstanceConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- Deferred
Fields List<string> - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Instance
Details InstanceConfiguration Instance Details - Instance
Id string - The OCID of the instance to use to create the instance configuration.
- Source string
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- Time
Created string - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- Deferred
Fields []string - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Instance
Details InstanceConfiguration Instance Details Args - Instance
Id string - The OCID of the instance to use to create the instance configuration.
- Source string
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- Time
Created string - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance configuration.
- deferred
Fields List<String> - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Details InstanceConfiguration Instance Details - instance
Id String - The OCID of the instance to use to create the instance configuration.
- source String
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- time
Created String - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- deferred
Fields string[] - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Details InstanceConfiguration Instance Details - instance
Id string - The OCID of the instance to use to create the instance configuration.
- source string
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- time
Created string - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - (Updatable) The OCID of the compartment containing the instance configuration.
- deferred_
fields Sequence[str] - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance_
details core.Instance Configuration Instance Details Args - instance_
id str - The OCID of the instance to use to create the instance configuration.
- source str
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- time_
created str - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance configuration.
- deferred
Fields List<String> - Parameters that were not specified when the instance configuration was created, but that are required to launch an instance from the instance configuration. See the LaunchInstanceConfiguration operation.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Details Property Map - instance
Id String - The OCID of the instance to use to create the instance configuration.
- source String
The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
When you create an instance configuration using an existing instance as a template, the instance configuration does not include any information from the source instance's boot volume, such as installed applications, binaries, and files on the instance. It also does not include the contents of any block volumes that are attached to the instance.
To create an instance configuration that includes the custom setup from an instance's boot volume, you must first create a custom image from the instance (see CreateImage). Then, use the custom image to launch a new instance (see LaunchInstance). Finally, create the instance configuration based on the instance that you created from the custom image.
To include block volume contents with an instance configuration, first create a backup of the attached block volumes (see CreateVolumeBackup). Then, create the instance configuration by specifying the list of settings, using InstanceConfigurationVolumeSourceFromVolumeBackupDetails to include the block volume backups in the list of settings.
The following values are supported:
NONE
: Creates an instance configuration using the list of settings that you specify.INSTANCE
: Creates an instance configuration using an existing instance as a template.
** 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
- time
Created String - The date and time the instance configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Supporting Types
InstanceConfigurationInstanceDetails, InstanceConfigurationInstanceDetailsArgs
- Instance
Type string - The type of instance details. Supported instanceType is compute
- Block
Volumes List<InstanceConfiguration Instance Details Block Volume> - Block volume parameters.
- Launch
Details InstanceConfiguration Instance Details Launch Details - Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance. See LaunchInstanceDetails for more information. - Options
List<Instance
Configuration Instance Details Option> - Multiple Compute Instance Configuration instance details.
- Secondary
Vnics List<InstanceConfiguration Instance Details Secondary Vnic> - Secondary VNIC parameters.
- Instance
Type string - The type of instance details. Supported instanceType is compute
- Block
Volumes []InstanceConfiguration Instance Details Block Volume - Block volume parameters.
- Launch
Details InstanceConfiguration Instance Details Launch Details - Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance. See LaunchInstanceDetails for more information. - Options
[]Instance
Configuration Instance Details Option - Multiple Compute Instance Configuration instance details.
- Secondary
Vnics []InstanceConfiguration Instance Details Secondary Vnic - Secondary VNIC parameters.
- instance
Type String - The type of instance details. Supported instanceType is compute
- block
Volumes List<InstanceConfiguration Instance Details Block Volume> - Block volume parameters.
- launch
Details InstanceConfiguration Instance Details Launch Details - Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance. See LaunchInstanceDetails for more information. - options
List<Instance
Configuration Instance Details Option> - Multiple Compute Instance Configuration instance details.
- secondary
Vnics List<InstanceConfiguration Instance Details Secondary Vnic> - Secondary VNIC parameters.
- instance
Type string - The type of instance details. Supported instanceType is compute
- block
Volumes InstanceConfiguration Instance Details Block Volume[] - Block volume parameters.
- launch
Details InstanceConfiguration Instance Details Launch Details - Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance. See LaunchInstanceDetails for more information. - options
Instance
Configuration Instance Details Option[] - Multiple Compute Instance Configuration instance details.
- secondary
Vnics InstanceConfiguration Instance Details Secondary Vnic[] - Secondary VNIC parameters.
- instance_
type str - The type of instance details. Supported instanceType is compute
- block_
volumes Sequence[core.Instance Configuration Instance Details Block Volume] - Block volume parameters.
- launch_
details core.Instance Configuration Instance Details Launch Details - Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance. See LaunchInstanceDetails for more information. - options
Sequence[core.
Instance Configuration Instance Details Option] - Multiple Compute Instance Configuration instance details.
- secondary_
vnics Sequence[core.Instance Configuration Instance Details Secondary Vnic] - Secondary VNIC parameters.
- instance
Type String - The type of instance details. Supported instanceType is compute
- block
Volumes List<Property Map> - Block volume parameters.
- launch
Details Property Map - Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance. See LaunchInstanceDetails for more information. - options List<Property Map>
- Multiple Compute Instance Configuration instance details.
- secondary
Vnics List<Property Map> - Secondary VNIC parameters.
InstanceConfigurationInstanceDetailsBlockVolume, InstanceConfigurationInstanceDetailsBlockVolumeArgs
- Attach
Details InstanceConfiguration Instance Details Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- Create
Details InstanceConfiguration Instance Details Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- Volume
Id string - The OCID of the volume.
- Attach
Details InstanceConfiguration Instance Details Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- Create
Details InstanceConfiguration Instance Details Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- Volume
Id string - The OCID of the volume.
- attach
Details InstanceConfiguration Instance Details Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- create
Details InstanceConfiguration Instance Details Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- volume
Id String - The OCID of the volume.
- attach
Details InstanceConfiguration Instance Details Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- create
Details InstanceConfiguration Instance Details Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- volume
Id string - The OCID of the volume.
- attach_
details core.Instance Configuration Instance Details Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- create_
details core.Instance Configuration Instance Details Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- volume_
id str - The OCID of the volume.
- attach
Details Property Map - Volume attachmentDetails. Please see AttachVolumeDetails
- create
Details Property Map - Creates a new block volume. Please see CreateVolumeDetails
- volume
Id String - The OCID of the volume.
InstanceConfigurationInstanceDetailsBlockVolumeAttachDetails, InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs
- Type string
- The type of volume. The only supported values are "iscsi" and "paravirtualized"
- Device string
- The device name.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Is
Pv boolEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- Is
Read boolOnly - Whether the attachment should be created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- Use
Chap bool - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- Type string
- The type of volume. The only supported values are "iscsi" and "paravirtualized"
- Device string
- The device name.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Is
Pv boolEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- Is
Read boolOnly - Whether the attachment should be created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- Use
Chap bool - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- type String
- The type of volume. The only supported values are "iscsi" and "paravirtualized"
- device String
- The device name.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- is
Pv BooleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- is
Read BooleanOnly - Whether the attachment should be created in read-only mode.
- Boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- use
Chap Boolean - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- type string
- The type of volume. The only supported values are "iscsi" and "paravirtualized"
- device string
- The device name.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- is
Pv booleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- is
Read booleanOnly - Whether the attachment should be created in read-only mode.
- boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- use
Chap boolean - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- type str
- The type of volume. The only supported values are "iscsi" and "paravirtualized"
- device str
- The device name.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- is_
pv_ boolencryption_ in_ transit_ enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- is_
read_ boolonly - Whether the attachment should be created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- use_
chap bool - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- type String
- The type of volume. The only supported values are "iscsi" and "paravirtualized"
- device String
- The device name.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- is
Pv BooleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- is
Read BooleanOnly - Whether the attachment should be created in read-only mode.
- Boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- use
Chap Boolean - Whether to use CHAP authentication for the volume attachment. Defaults to false.
InstanceConfigurationInstanceDetailsBlockVolumeCreateDetails, InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs
- Autotune
Policies List<InstanceConfiguration Instance Details Block Volume Create Details Autotune Policy> - The list of autotune policies enabled for this volume.
- Availability
Domain string - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- Backup
Policy stringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- Block
Volume InstanceReplicas Configuration Instance Details Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- Cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- Compartment
Id string - The OCID of the compartment that contains the volume.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Auto boolTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - Kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- Size
In stringGbs - The size of the volume in GBs.
- Source
Details InstanceConfiguration Instance Details Block Volume Create Details Source Details - Vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- Xrc
Kms stringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Autotune
Policies []InstanceConfiguration Instance Details Block Volume Create Details Autotune Policy - The list of autotune policies enabled for this volume.
- Availability
Domain string - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- Backup
Policy stringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- Block
Volume InstanceReplicas Configuration Instance Details Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- Cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- Compartment
Id string - The OCID of the compartment that contains the volume.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Auto boolTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - Kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- Size
In stringGbs - The size of the volume in GBs.
- Source
Details InstanceConfiguration Instance Details Block Volume Create Details Source Details - Vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- Xrc
Kms stringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- autotune
Policies List<InstanceConfiguration Instance Details Block Volume Create Details Autotune Policy> - The list of autotune policies enabled for this volume.
- availability
Domain String - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- backup
Policy StringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- block
Volume InstanceReplicas Configuration Instance Details Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- cluster
Placement StringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id String - The OCID of the compartment that contains the volume.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Auto BooleanTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - kms
Key StringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- size
In StringGbs - The size of the volume in GBs.
- source
Details InstanceConfiguration Instance Details Block Volume Create Details Source Details - vpus
Per StringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- xrc
Kms StringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- autotune
Policies InstanceConfiguration Instance Details Block Volume Create Details Autotune Policy[] - The list of autotune policies enabled for this volume.
- availability
Domain string - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- backup
Policy stringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- block
Volume InstanceReplicas Configuration Instance Details Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id string - The OCID of the compartment that contains the volume.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Auto booleanTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- size
In stringGbs - The size of the volume in GBs.
- source
Details InstanceConfiguration Instance Details Block Volume Create Details Source Details - vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- xrc
Kms stringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- autotune_
policies Sequence[core.Instance Configuration Instance Details Block Volume Create Details Autotune Policy] - The list of autotune policies enabled for this volume.
- availability_
domain str - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- backup_
policy_ strid - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- block_
volume_ core.replicas Instance Configuration Instance Details Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- cluster_
placement_ strgroup_ id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment_
id str - The OCID of the compartment that contains the volume.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is_
auto_ booltune_ enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - kms_
key_ strid - The OCID of the Vault service key to assign as the master encryption key for the volume.
- size_
in_ strgbs - The size of the volume in GBs.
- source_
details core.Instance Configuration Instance Details Block Volume Create Details Source Details - vpus_
per_ strgb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- xrc_
kms_ strkey_ id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- autotune
Policies List<Property Map> - The list of autotune policies enabled for this volume.
- availability
Domain String - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- backup
Policy StringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- block
Volume Property MapReplicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- cluster
Placement StringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id String - The OCID of the compartment that contains the volume.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Auto BooleanTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - kms
Key StringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- size
In StringGbs - The size of the volume in GBs.
- source
Details Property Map - vpus
Per StringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- xrc
Kms StringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicy, InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs
- Autotune
Type string - This specifies the type of autotunes supported by OCI.
- Max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- Autotune
Type string - This specifies the type of autotunes supported by OCI.
- Max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type String - This specifies the type of autotunes supported by OCI.
- max
Vpus StringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type string - This specifies the type of autotunes supported by OCI.
- max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune_
type str - This specifies the type of autotunes supported by OCI.
- max_
vpus_ strper_ gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type String - This specifies the type of autotunes supported by OCI.
- max
Vpus StringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicas, InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs
- Availability
Domain string - The availability domain of the block volume replica. Example:
Uocm:PHX-AD-1
- Display
Name string - The display name of the block volume replica. You may optionally specify a display name for the block volume replica, otherwise a default is provided.
- Availability
Domain string - The availability domain of the block volume replica. Example:
Uocm:PHX-AD-1
- Display
Name string - The display name of the block volume replica. You may optionally specify a display name for the block volume replica, otherwise a default is provided.
- availability
Domain String - The availability domain of the block volume replica. Example:
Uocm:PHX-AD-1
- display
Name String - The display name of the block volume replica. You may optionally specify a display name for the block volume replica, otherwise a default is provided.
- availability
Domain string - The availability domain of the block volume replica. Example:
Uocm:PHX-AD-1
- display
Name string - The display name of the block volume replica. You may optionally specify a display name for the block volume replica, otherwise a default is provided.
- availability_
domain str - The availability domain of the block volume replica. Example:
Uocm:PHX-AD-1
- display_
name str - The display name of the block volume replica. You may optionally specify a display name for the block volume replica, otherwise a default is provided.
- availability
Domain String - The availability domain of the block volume replica. Example:
Uocm:PHX-AD-1
- display
Name String - The display name of the block volume replica. You may optionally specify a display name for the block volume replica, otherwise a default is provided.
InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetails, InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs
InstanceConfigurationInstanceDetailsLaunchDetails, InstanceConfigurationInstanceDetailsLaunchDetailsArgs
- Agent
Config InstanceConfiguration Instance Details Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- Availability
Config InstanceConfiguration Instance Details Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- Availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- Capacity
Reservation stringId - The OCID of the compute capacity reservation this instance is launched under.
- Cluster
Placement stringGroup Id - The OCID of the cluster placement group of the instance.
- Compartment
Id string - The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- Create
Vnic InstanceDetails Configuration Instance Details Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- Dedicated
Vm stringHost Id The OCID of the dedicated virtual machine host to place the instance on.
Dedicated VM hosts can be used when launching individual instances from an instance configuration. They cannot be used to launch instance pools.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Extended
Metadata Dictionary<string, string> Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object.They are distinguished from
metadata
fields in that these can be nested JSON objects (whereasmetadata
fields are string/string maps only).The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- Fault
Domain string A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
If you do not specify the fault domain, the system selects one for you.
To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.
Example:
FAULT-DOMAIN-1
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Instance
Options InstanceConfiguration Instance Details Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- Ipxe
Script string This is an advanced option.
When a bare metal or virtual machine instance boots, the iPXE firmware that runs on the instance is configured to run an iPXE script to continue the boot process.
If you want more control over the boot process, you can provide your own custom iPXE script that will run when the instance boots; however, you should be aware that the same iPXE script will run every time an instance boots; not only after the initial LaunchInstance call.
The default iPXE script connects to the instance's local boot volume over iSCSI and performs a network boot. If you use a custom iPXE script and want to network-boot from the instance's local boot volume over iSCSI the same way as the default iPXE script, you should use the following iSCSI IP address: 169.254.0.2, and boot volume IQN: iqn.2015-02.oracle.boot.
For more information about the Bring Your Own Image feature of Oracle Cloud Infrastructure, see Bring Your Own Image.
For more information about iPXE, see http://ipxe.org.
- Is
Pv boolEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- Launch
Mode string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- Launch
Options InstanceConfiguration Instance Details Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- Metadata Dictionary<string, string>
Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
A metadata service runs on every launched instance. The service is an HTTP endpoint listening on 169.254.169.254. You can use the service to:
- Provide information to Cloud-Init to be used for various system initialization tasks.
- Get information about the instance, including the custom metadata that you provide when you launch the instance.
Providing Cloud-Init Metadata
You can use the following metadata key names to provide information to Cloud-Init:
"ssh_authorized_keys" - Provide one or more public SSH keys to be included in the
~/.ssh/authorized_keys
file for the default user on the instance. Use a newline character to separate multiple keys. The SSH keys must be in the format necessary for theauthorized_keys
file, as shown in the example below."user_data" - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
Metadata Example
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" } Getting Metadata on the Instance
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- Platform
Config InstanceConfiguration Instance Details Launch Details Platform Config (Optional) (Updatable only for VM's) The platform configuration requested for the instance.
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the
shape
that you specify. If you don't provide the parameter, the default values for theshape
are used.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- Preemptible
Instance InstanceConfig Configuration Instance Details Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- Preferred
Maintenance stringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- Security
Attributes Dictionary<string, string> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Shape string
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- Shape
Config InstanceConfiguration Instance Details Launch Details Shape Config The shape configuration requested for the instance.
If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the
shape
that you specify.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- Source
Details InstanceConfiguration Instance Details Launch Details Source Details
- Agent
Config InstanceConfiguration Instance Details Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- Availability
Config InstanceConfiguration Instance Details Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- Availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- Capacity
Reservation stringId - The OCID of the compute capacity reservation this instance is launched under.
- Cluster
Placement stringGroup Id - The OCID of the cluster placement group of the instance.
- Compartment
Id string - The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- Create
Vnic InstanceDetails Configuration Instance Details Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- Dedicated
Vm stringHost Id The OCID of the dedicated virtual machine host to place the instance on.
Dedicated VM hosts can be used when launching individual instances from an instance configuration. They cannot be used to launch instance pools.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Extended
Metadata map[string]string Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object.They are distinguished from
metadata
fields in that these can be nested JSON objects (whereasmetadata
fields are string/string maps only).The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- Fault
Domain string A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
If you do not specify the fault domain, the system selects one for you.
To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.
Example:
FAULT-DOMAIN-1
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Instance
Options InstanceConfiguration Instance Details Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- Ipxe
Script string This is an advanced option.
When a bare metal or virtual machine instance boots, the iPXE firmware that runs on the instance is configured to run an iPXE script to continue the boot process.
If you want more control over the boot process, you can provide your own custom iPXE script that will run when the instance boots; however, you should be aware that the same iPXE script will run every time an instance boots; not only after the initial LaunchInstance call.
The default iPXE script connects to the instance's local boot volume over iSCSI and performs a network boot. If you use a custom iPXE script and want to network-boot from the instance's local boot volume over iSCSI the same way as the default iPXE script, you should use the following iSCSI IP address: 169.254.0.2, and boot volume IQN: iqn.2015-02.oracle.boot.
For more information about the Bring Your Own Image feature of Oracle Cloud Infrastructure, see Bring Your Own Image.
For more information about iPXE, see http://ipxe.org.
- Is
Pv boolEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- Launch
Mode string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- Launch
Options InstanceConfiguration Instance Details Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- Metadata map[string]string
Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
A metadata service runs on every launched instance. The service is an HTTP endpoint listening on 169.254.169.254. You can use the service to:
- Provide information to Cloud-Init to be used for various system initialization tasks.
- Get information about the instance, including the custom metadata that you provide when you launch the instance.
Providing Cloud-Init Metadata
You can use the following metadata key names to provide information to Cloud-Init:
"ssh_authorized_keys" - Provide one or more public SSH keys to be included in the
~/.ssh/authorized_keys
file for the default user on the instance. Use a newline character to separate multiple keys. The SSH keys must be in the format necessary for theauthorized_keys
file, as shown in the example below."user_data" - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
Metadata Example
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" } Getting Metadata on the Instance
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- Platform
Config InstanceConfiguration Instance Details Launch Details Platform Config (Optional) (Updatable only for VM's) The platform configuration requested for the instance.
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the
shape
that you specify. If you don't provide the parameter, the default values for theshape
are used.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- Preemptible
Instance InstanceConfig Configuration Instance Details Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- Preferred
Maintenance stringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- Security
Attributes map[string]string - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Shape string
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- Shape
Config InstanceConfiguration Instance Details Launch Details Shape Config The shape configuration requested for the instance.
If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the
shape
that you specify.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- Source
Details InstanceConfiguration Instance Details Launch Details Source Details
- agent
Config InstanceConfiguration Instance Details Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- availability
Config InstanceConfiguration Instance Details Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- availability
Domain String - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- capacity
Reservation StringId - The OCID of the compute capacity reservation this instance is launched under.
- cluster
Placement StringGroup Id - The OCID of the cluster placement group of the instance.
- compartment
Id String - The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- create
Vnic InstanceDetails Configuration Instance Details Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- dedicated
Vm StringHost Id The OCID of the dedicated virtual machine host to place the instance on.
Dedicated VM hosts can be used when launching individual instances from an instance configuration. They cannot be used to launch instance pools.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- extended
Metadata Map<String,String> Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object.They are distinguished from
metadata
fields in that these can be nested JSON objects (whereasmetadata
fields are string/string maps only).The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- fault
Domain String A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
If you do not specify the fault domain, the system selects one for you.
To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.
Example:
FAULT-DOMAIN-1
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Options InstanceConfiguration Instance Details Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- ipxe
Script String This is an advanced option.
When a bare metal or virtual machine instance boots, the iPXE firmware that runs on the instance is configured to run an iPXE script to continue the boot process.
If you want more control over the boot process, you can provide your own custom iPXE script that will run when the instance boots; however, you should be aware that the same iPXE script will run every time an instance boots; not only after the initial LaunchInstance call.
The default iPXE script connects to the instance's local boot volume over iSCSI and performs a network boot. If you use a custom iPXE script and want to network-boot from the instance's local boot volume over iSCSI the same way as the default iPXE script, you should use the following iSCSI IP address: 169.254.0.2, and boot volume IQN: iqn.2015-02.oracle.boot.
For more information about the Bring Your Own Image feature of Oracle Cloud Infrastructure, see Bring Your Own Image.
For more information about iPXE, see http://ipxe.org.
- is
Pv BooleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- launch
Mode String - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options InstanceConfiguration Instance Details Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- metadata Map<String,String>
Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
A metadata service runs on every launched instance. The service is an HTTP endpoint listening on 169.254.169.254. You can use the service to:
- Provide information to Cloud-Init to be used for various system initialization tasks.
- Get information about the instance, including the custom metadata that you provide when you launch the instance.
Providing Cloud-Init Metadata
You can use the following metadata key names to provide information to Cloud-Init:
"ssh_authorized_keys" - Provide one or more public SSH keys to be included in the
~/.ssh/authorized_keys
file for the default user on the instance. Use a newline character to separate multiple keys. The SSH keys must be in the format necessary for theauthorized_keys
file, as shown in the example below."user_data" - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
Metadata Example
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" } Getting Metadata on the Instance
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- platform
Config InstanceConfiguration Instance Details Launch Details Platform Config (Optional) (Updatable only for VM's) The platform configuration requested for the instance.
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the
shape
that you specify. If you don't provide the parameter, the default values for theshape
are used.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- preemptible
Instance InstanceConfig Configuration Instance Details Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- preferred
Maintenance StringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- security
Attributes Map<String,String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- shape String
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape
Config InstanceConfiguration Instance Details Launch Details Shape Config The shape configuration requested for the instance.
If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the
shape
that you specify.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- source
Details InstanceConfiguration Instance Details Launch Details Source Details
- agent
Config InstanceConfiguration Instance Details Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- availability
Config InstanceConfiguration Instance Details Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- capacity
Reservation stringId - The OCID of the compute capacity reservation this instance is launched under.
- cluster
Placement stringGroup Id - The OCID of the cluster placement group of the instance.
- compartment
Id string - The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- create
Vnic InstanceDetails Configuration Instance Details Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- dedicated
Vm stringHost Id The OCID of the dedicated virtual machine host to place the instance on.
Dedicated VM hosts can be used when launching individual instances from an instance configuration. They cannot be used to launch instance pools.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- extended
Metadata {[key: string]: string} Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object.They are distinguished from
metadata
fields in that these can be nested JSON objects (whereasmetadata
fields are string/string maps only).The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- fault
Domain string A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
If you do not specify the fault domain, the system selects one for you.
To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.
Example:
FAULT-DOMAIN-1
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Options InstanceConfiguration Instance Details Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- ipxe
Script string This is an advanced option.
When a bare metal or virtual machine instance boots, the iPXE firmware that runs on the instance is configured to run an iPXE script to continue the boot process.
If you want more control over the boot process, you can provide your own custom iPXE script that will run when the instance boots; however, you should be aware that the same iPXE script will run every time an instance boots; not only after the initial LaunchInstance call.
The default iPXE script connects to the instance's local boot volume over iSCSI and performs a network boot. If you use a custom iPXE script and want to network-boot from the instance's local boot volume over iSCSI the same way as the default iPXE script, you should use the following iSCSI IP address: 169.254.0.2, and boot volume IQN: iqn.2015-02.oracle.boot.
For more information about the Bring Your Own Image feature of Oracle Cloud Infrastructure, see Bring Your Own Image.
For more information about iPXE, see http://ipxe.org.
- is
Pv booleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- launch
Mode string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options InstanceConfiguration Instance Details Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- metadata {[key: string]: string}
Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
A metadata service runs on every launched instance. The service is an HTTP endpoint listening on 169.254.169.254. You can use the service to:
- Provide information to Cloud-Init to be used for various system initialization tasks.
- Get information about the instance, including the custom metadata that you provide when you launch the instance.
Providing Cloud-Init Metadata
You can use the following metadata key names to provide information to Cloud-Init:
"ssh_authorized_keys" - Provide one or more public SSH keys to be included in the
~/.ssh/authorized_keys
file for the default user on the instance. Use a newline character to separate multiple keys. The SSH keys must be in the format necessary for theauthorized_keys
file, as shown in the example below."user_data" - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
Metadata Example
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" } Getting Metadata on the Instance
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- platform
Config InstanceConfiguration Instance Details Launch Details Platform Config (Optional) (Updatable only for VM's) The platform configuration requested for the instance.
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the
shape
that you specify. If you don't provide the parameter, the default values for theshape
are used.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- preemptible
Instance InstanceConfig Configuration Instance Details Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- preferred
Maintenance stringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- security
Attributes {[key: string]: string} - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- shape string
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape
Config InstanceConfiguration Instance Details Launch Details Shape Config The shape configuration requested for the instance.
If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the
shape
that you specify.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- source
Details InstanceConfiguration Instance Details Launch Details Source Details
- agent_
config core.Instance Configuration Instance Details Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- availability_
config core.Instance Configuration Instance Details Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- availability_
domain str - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- capacity_
reservation_ strid - The OCID of the compute capacity reservation this instance is launched under.
- cluster_
placement_ strgroup_ id - The OCID of the cluster placement group of the instance.
- compartment_
id str - The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- create_
vnic_ core.details Instance Configuration Instance Details Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- dedicated_
vm_ strhost_ id The OCID of the dedicated virtual machine host to place the instance on.
Dedicated VM hosts can be used when launching individual instances from an instance configuration. They cannot be used to launch instance pools.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- extended_
metadata Mapping[str, str] Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object.They are distinguished from
metadata
fields in that these can be nested JSON objects (whereasmetadata
fields are string/string maps only).The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- fault_
domain str A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
If you do not specify the fault domain, the system selects one for you.
To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.
Example:
FAULT-DOMAIN-1
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance_
options core.Instance Configuration Instance Details Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- ipxe_
script str This is an advanced option.
When a bare metal or virtual machine instance boots, the iPXE firmware that runs on the instance is configured to run an iPXE script to continue the boot process.
If you want more control over the boot process, you can provide your own custom iPXE script that will run when the instance boots; however, you should be aware that the same iPXE script will run every time an instance boots; not only after the initial LaunchInstance call.
The default iPXE script connects to the instance's local boot volume over iSCSI and performs a network boot. If you use a custom iPXE script and want to network-boot from the instance's local boot volume over iSCSI the same way as the default iPXE script, you should use the following iSCSI IP address: 169.254.0.2, and boot volume IQN: iqn.2015-02.oracle.boot.
For more information about the Bring Your Own Image feature of Oracle Cloud Infrastructure, see Bring Your Own Image.
For more information about iPXE, see http://ipxe.org.
- is_
pv_ boolencryption_ in_ transit_ enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- launch_
mode str - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch_
options core.Instance Configuration Instance Details Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- metadata Mapping[str, str]
Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
A metadata service runs on every launched instance. The service is an HTTP endpoint listening on 169.254.169.254. You can use the service to:
- Provide information to Cloud-Init to be used for various system initialization tasks.
- Get information about the instance, including the custom metadata that you provide when you launch the instance.
Providing Cloud-Init Metadata
You can use the following metadata key names to provide information to Cloud-Init:
"ssh_authorized_keys" - Provide one or more public SSH keys to be included in the
~/.ssh/authorized_keys
file for the default user on the instance. Use a newline character to separate multiple keys. The SSH keys must be in the format necessary for theauthorized_keys
file, as shown in the example below."user_data" - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
Metadata Example
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" } Getting Metadata on the Instance
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- platform_
config core.Instance Configuration Instance Details Launch Details Platform Config (Optional) (Updatable only for VM's) The platform configuration requested for the instance.
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the
shape
that you specify. If you don't provide the parameter, the default values for theshape
are used.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- preemptible_
instance_ core.config Instance Configuration Instance Details Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- preferred_
maintenance_ straction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- security_
attributes Mapping[str, str] - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- shape str
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape_
config core.Instance Configuration Instance Details Launch Details Shape Config The shape configuration requested for the instance.
If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the
shape
that you specify.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- source_
details core.Instance Configuration Instance Details Launch Details Source Details
- agent
Config Property Map - Configuration options for the Oracle Cloud Agent software running on the instance.
- availability
Config Property Map - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- availability
Domain String - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- capacity
Reservation StringId - The OCID of the compute capacity reservation this instance is launched under.
- cluster
Placement StringGroup Id - The OCID of the cluster placement group of the instance.
- compartment
Id String - The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- create
Vnic Property MapDetails - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- dedicated
Vm StringHost Id The OCID of the dedicated virtual machine host to place the instance on.
Dedicated VM hosts can be used when launching individual instances from an instance configuration. They cannot be used to launch instance pools.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- extended
Metadata Map<String> Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object.They are distinguished from
metadata
fields in that these can be nested JSON objects (whereasmetadata
fields are string/string maps only).The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- fault
Domain String A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
If you do not specify the fault domain, the system selects one for you.
To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.
Example:
FAULT-DOMAIN-1
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Options Property Map - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- ipxe
Script String This is an advanced option.
When a bare metal or virtual machine instance boots, the iPXE firmware that runs on the instance is configured to run an iPXE script to continue the boot process.
If you want more control over the boot process, you can provide your own custom iPXE script that will run when the instance boots; however, you should be aware that the same iPXE script will run every time an instance boots; not only after the initial LaunchInstance call.
The default iPXE script connects to the instance's local boot volume over iSCSI and performs a network boot. If you use a custom iPXE script and want to network-boot from the instance's local boot volume over iSCSI the same way as the default iPXE script, you should use the following iSCSI IP address: 169.254.0.2, and boot volume IQN: iqn.2015-02.oracle.boot.
For more information about the Bring Your Own Image feature of Oracle Cloud Infrastructure, see Bring Your Own Image.
For more information about iPXE, see http://ipxe.org.
- is
Pv BooleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- launch
Mode String - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options Property Map - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- metadata Map<String>
Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
A metadata service runs on every launched instance. The service is an HTTP endpoint listening on 169.254.169.254. You can use the service to:
- Provide information to Cloud-Init to be used for various system initialization tasks.
- Get information about the instance, including the custom metadata that you provide when you launch the instance.
Providing Cloud-Init Metadata
You can use the following metadata key names to provide information to Cloud-Init:
"ssh_authorized_keys" - Provide one or more public SSH keys to be included in the
~/.ssh/authorized_keys
file for the default user on the instance. Use a newline character to separate multiple keys. The SSH keys must be in the format necessary for theauthorized_keys
file, as shown in the example below."user_data" - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
Metadata Example
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" } Getting Metadata on the Instance
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/ curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
The combined size of the
metadata
andextendedMetadata
objects can be a maximum of 32,000 bytes.- platform
Config Property Map (Optional) (Updatable only for VM's) The platform configuration requested for the instance.
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the
shape
that you specify. If you don't provide the parameter, the default values for theshape
are used.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- preemptible
Instance Property MapConfig - Configuration options for preemptible instances.
- preferred
Maintenance StringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- security
Attributes Map<String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- shape String
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling ListShapes.
- shape
Config Property Map The shape configuration requested for the instance.
If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the
shape
that you specify.Each shape only supports certain configurable values. If the values that you provide are not valid for the specified
shape
, an error is returned.- source
Details Property Map
InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfig, InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs
- Are
All boolPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- Is
Management boolDisabled - Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
- Is
Monitoring boolDisabled - Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
- Plugins
Configs List<InstanceConfiguration Instance Details Launch Details Agent Config Plugins Config> - The configuration of plugins associated with this instance.
- Are
All boolPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- Is
Management boolDisabled - Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
- Is
Monitoring boolDisabled - Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
- Plugins
Configs []InstanceConfiguration Instance Details Launch Details Agent Config Plugins Config - The configuration of plugins associated with this instance.
- are
All BooleanPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- is
Management BooleanDisabled - Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
- is
Monitoring BooleanDisabled - Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
- plugins
Configs List<InstanceConfiguration Instance Details Launch Details Agent Config Plugins Config> - The configuration of plugins associated with this instance.
- are
All booleanPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- is
Management booleanDisabled - Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
- is
Monitoring booleanDisabled - Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
- plugins
Configs InstanceConfiguration Instance Details Launch Details Agent Config Plugins Config[] - The configuration of plugins associated with this instance.
- are_
all_ boolplugins_ disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- is_
management_ booldisabled - Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
- is_
monitoring_ booldisabled - Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
- plugins_
configs Sequence[core.Instance Configuration Instance Details Launch Details Agent Config Plugins Config] - The configuration of plugins associated with this instance.
- are
All BooleanPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- is
Management BooleanDisabled - Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
- is
Monitoring BooleanDisabled - Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
- plugins
Configs List<Property Map> - The configuration of plugins associated with this instance.
InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfig, InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs
- Desired
State string - Whether the plugin should be enabled or disabled.
- Name string
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- Desired
State string - Whether the plugin should be enabled or disabled.
- Name string
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- desired
State String - Whether the plugin should be enabled or disabled.
- name String
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- desired
State string - Whether the plugin should be enabled or disabled.
- name string
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- desired_
state str - Whether the plugin should be enabled or disabled.
- name str
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- desired
State String - Whether the plugin should be enabled or disabled.
- name String
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfig, InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs
- Is
Live boolMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- Recovery
Action string - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- Is
Live boolMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- Recovery
Action string - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- is
Live BooleanMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- recovery
Action String - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- is
Live booleanMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- recovery
Action string - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- is_
live_ boolmigration_ preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- recovery_
action str - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- is
Live BooleanMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- recovery
Action String - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetails, InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs
- Assign
Ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - Assign
Private boolDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - Assign
Public boolIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - Ipv6address
Ipv6subnet List<InstanceCidr Pair Details Configuration Instance Details Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail> - A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure selects an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
- Nsg
Ids List<string> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - Security
Attributes Dictionary<string, string> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Skip
Source boolDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - Subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- Assign
Ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - Assign
Private boolDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - Assign
Public boolIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - Ipv6address
Ipv6subnet []InstanceCidr Pair Details Configuration Instance Details Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail - A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure selects an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
- Nsg
Ids []string - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - Security
Attributes map[string]string - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Skip
Source boolDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - Subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip Boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private BooleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public BooleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet List<InstanceCidr Pair Details Configuration Instance Details Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail> - A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure selects an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
- nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip String - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes Map<String,String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source BooleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id String - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private booleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public booleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet InstanceCidr Pair Details Configuration Instance Details Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail[] - A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure selects an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
- nsg
Ids string[] - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes {[key: string]: string} - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source booleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign_
ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign_
private_ booldns_ record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign_
public_ boolip - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname_
label str - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address_
ipv6subnet_ Sequence[core.cidr_ pair_ details Instance Configuration Instance Details Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail] - A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure selects an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
- nsg_
ids Sequence[str] - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private_
ip str - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security_
attributes Mapping[str, str] - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip_
source_ booldest_ check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet_
id str - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip Boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private BooleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public BooleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet List<Property Map>Cidr Pair Details - A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure selects an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
- nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip String - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes Map<String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source BooleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id String - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail, InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
- Ipv6address string
- Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned).
- Ipv6subnet
Cidr string - Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- Ipv6address string
- Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned).
- Ipv6subnet
Cidr string - Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- ipv6address String
- Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned).
- ipv6subnet
Cidr String - Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- ipv6address string
- Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned).
- ipv6subnet
Cidr string - Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- ipv6address str
- Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned).
- ipv6subnet_
cidr str - Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
- ipv6address String
- Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned).
- ipv6subnet
Cidr String - Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptions, InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs
- Are
Legacy boolImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- Are
Legacy boolImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- are
Legacy BooleanImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- are
Legacy booleanImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- are_
legacy_ boolimds_ endpoints_ disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- are
Legacy BooleanImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptions, InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs
- Boot
Volume stringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Firmware string
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- Is
Consistent boolVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- Is
Pv boolEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - Network
Type string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- Remote
Data stringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Boot
Volume stringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Firmware string
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- Is
Consistent boolVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- Is
Pv boolEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - Network
Type string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- Remote
Data stringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume StringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware String
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent BooleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv BooleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - network
Type String - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data StringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume stringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware string
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent booleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv booleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - network
Type string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data stringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot_
volume_ strtype - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware str
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is_
consistent_ boolvolume_ naming_ enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is_
pv_ boolencryption_ in_ transit_ enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - network_
type str - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote_
data_ strvolume_ type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume StringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware String
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent BooleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv BooleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - network
Type String - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data StringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfig, InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs
- Type string
- The type of platform being configured.
- Are
Virtual boolInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- Config
Map Dictionary<string, string> - Instance Platform Configuration Configuration Map for flexible setting input.
- Is
Access boolControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- Is
Input boolOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- Is
Measured boolBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- Is
Memory boolEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - Is
Secure boolBoot Enabled - Whether Secure Boot is enabled on the instance.
- Is
Symmetric boolMulti Threading Enabled (Updatable only for AMD_VM and INTEL_VM) Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
- Is
Trusted boolPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- Numa
Nodes stringPer Socket - The number of NUMA nodes per socket (NPS).
- Percentage
Of intCores Enabled The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
- Type string
- The type of platform being configured.
- Are
Virtual boolInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- Config
Map map[string]string - Instance Platform Configuration Configuration Map for flexible setting input.
- Is
Access boolControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- Is
Input boolOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- Is
Measured boolBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- Is
Memory boolEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - Is
Secure boolBoot Enabled - Whether Secure Boot is enabled on the instance.
- Is
Symmetric boolMulti Threading Enabled (Updatable only for AMD_VM and INTEL_VM) Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
- Is
Trusted boolPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- Numa
Nodes stringPer Socket - The number of NUMA nodes per socket (NPS).
- Percentage
Of intCores Enabled The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
- type String
- The type of platform being configured.
- are
Virtual BooleanInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- config
Map Map<String,String> - Instance Platform Configuration Configuration Map for flexible setting input.
- is
Access BooleanControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- is
Input BooleanOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- is
Measured BooleanBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- is
Memory BooleanEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - is
Secure BooleanBoot Enabled - Whether Secure Boot is enabled on the instance.
- is
Symmetric BooleanMulti Threading Enabled (Updatable only for AMD_VM and INTEL_VM) Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
- is
Trusted BooleanPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- numa
Nodes StringPer Socket - The number of NUMA nodes per socket (NPS).
- percentage
Of IntegerCores Enabled The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
- type string
- The type of platform being configured.
- are
Virtual booleanInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- config
Map {[key: string]: string} - Instance Platform Configuration Configuration Map for flexible setting input.
- is
Access booleanControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- is
Input booleanOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- is
Measured booleanBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- is
Memory booleanEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - is
Secure booleanBoot Enabled - Whether Secure Boot is enabled on the instance.
- is
Symmetric booleanMulti Threading Enabled (Updatable only for AMD_VM and INTEL_VM) Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
- is
Trusted booleanPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- numa
Nodes stringPer Socket - The number of NUMA nodes per socket (NPS).
- percentage
Of numberCores Enabled The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
- type str
- The type of platform being configured.
- are_
virtual_ boolinstructions_ enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- config_
map Mapping[str, str] - Instance Platform Configuration Configuration Map for flexible setting input.
- is_
access_ boolcontrol_ service_ enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- is_
input_ booloutput_ memory_ management_ unit_ enabled - Whether the input-output memory management unit is enabled.
- is_
measured_ boolboot_ enabled - Whether the Measured Boot feature is enabled on the instance.
- is_
memory_ boolencryption_ enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - is_
secure_ boolboot_ enabled - Whether Secure Boot is enabled on the instance.
- is_
symmetric_ boolmulti_ threading_ enabled (Updatable only for AMD_VM and INTEL_VM) Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
- is_
trusted_ boolplatform_ module_ enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- numa_
nodes_ strper_ socket - The number of NUMA nodes per socket (NPS).
- percentage_
of_ intcores_ enabled The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
- type String
- The type of platform being configured.
- are
Virtual BooleanInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- config
Map Map<String> - Instance Platform Configuration Configuration Map for flexible setting input.
- is
Access BooleanControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- is
Input BooleanOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- is
Measured BooleanBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- is
Memory BooleanEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - is
Secure BooleanBoot Enabled - Whether Secure Boot is enabled on the instance.
- is
Symmetric BooleanMulti Threading Enabled (Updatable only for AMD_VM and INTEL_VM) Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
- is
Trusted BooleanPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- numa
Nodes StringPer Socket - The number of NUMA nodes per socket (NPS).
- percentage
Of NumberCores Enabled The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfig, InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs
- Preemption
Action InstanceConfiguration Instance Details Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- Preemption
Action InstanceConfiguration Instance Details Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- preemption
Action InstanceConfiguration Instance Details Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- preemption
Action InstanceConfiguration Instance Details Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- preemption_
action core.Instance Configuration Instance Details Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- preemption
Action Property Map - The action to run when the preemptible instance is interrupted for eviction.
InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionAction, InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs
- Type string
- The type of action to run when the instance is interrupted for eviction.
- Preserve
Boot boolVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- Type string
- The type of action to run when the instance is interrupted for eviction.
- Preserve
Boot boolVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- type String
- The type of action to run when the instance is interrupted for eviction.
- preserve
Boot BooleanVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- type string
- The type of action to run when the instance is interrupted for eviction.
- preserve
Boot booleanVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- type str
- The type of action to run when the instance is interrupted for eviction.
- preserve_
boot_ boolvolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- type String
- The type of action to run when the instance is interrupted for eviction.
- preserve
Boot BooleanVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfig, InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs
- Baseline
Ocpu stringUtilization The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
.The following values are supported:
BASELINE_1_8
- baseline usage is 1/8 of an OCPU.BASELINE_1_2
- baseline usage is 1/2 of an OCPU.BASELINE_1_1
- baseline usage is an entire OCPU. This represents a non-burstable instance.
- Memory
In doubleGbs - The total amount of memory available to the instance, in gigabytes.
- Nvmes int
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- Ocpus double
- The total number of OCPUs available to the instance.
- Vcpus int
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- Baseline
Ocpu stringUtilization The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
.The following values are supported:
BASELINE_1_8
- baseline usage is 1/8 of an OCPU.BASELINE_1_2
- baseline usage is 1/2 of an OCPU.BASELINE_1_1
- baseline usage is an entire OCPU. This represents a non-burstable instance.
- Memory
In float64Gbs - The total amount of memory available to the instance, in gigabytes.
- Nvmes int
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- Ocpus float64
- The total number of OCPUs available to the instance.
- Vcpus int
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu StringUtilization The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
.The following values are supported:
BASELINE_1_8
- baseline usage is 1/8 of an OCPU.BASELINE_1_2
- baseline usage is 1/2 of an OCPU.BASELINE_1_1
- baseline usage is an entire OCPU. This represents a non-burstable instance.
- memory
In DoubleGbs - The total amount of memory available to the instance, in gigabytes.
- nvmes Integer
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus Double
- The total number of OCPUs available to the instance.
- vcpus Integer
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu stringUtilization The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
.The following values are supported:
BASELINE_1_8
- baseline usage is 1/8 of an OCPU.BASELINE_1_2
- baseline usage is 1/2 of an OCPU.BASELINE_1_1
- baseline usage is an entire OCPU. This represents a non-burstable instance.
- memory
In numberGbs - The total amount of memory available to the instance, in gigabytes.
- nvmes number
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus number
- The total number of OCPUs available to the instance.
- vcpus number
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline_
ocpu_ strutilization The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
.The following values are supported:
BASELINE_1_8
- baseline usage is 1/8 of an OCPU.BASELINE_1_2
- baseline usage is 1/2 of an OCPU.BASELINE_1_1
- baseline usage is an entire OCPU. This represents a non-burstable instance.
- memory_
in_ floatgbs - The total amount of memory available to the instance, in gigabytes.
- nvmes int
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus float
- The total number of OCPUs available to the instance.
- vcpus int
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu StringUtilization The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
.The following values are supported:
BASELINE_1_8
- baseline usage is 1/8 of an OCPU.BASELINE_1_2
- baseline usage is 1/2 of an OCPU.BASELINE_1_1
- baseline usage is an entire OCPU. This represents a non-burstable instance.
- memory
In NumberGbs - The total amount of memory available to the instance, in gigabytes.
- nvmes Number
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus Number
- The total number of OCPUs available to the instance.
- vcpus Number
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetails, InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs
- Source
Type string - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - Boot
Volume stringId - The OCID of the boot volume used to boot the instance.
- Boot
Volume stringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- Boot
Volume stringVpus Per Gb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- Image
Id string - The OCID of the image used to boot the instance.
- Instance
Source InstanceImage Filter Details Configuration Instance Details Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- Kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the boot volume.
- Source
Type string - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - Boot
Volume stringId - The OCID of the boot volume used to boot the instance.
- Boot
Volume stringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- Boot
Volume stringVpus Per Gb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- Image
Id string - The OCID of the image used to boot the instance.
- Instance
Source InstanceImage Filter Details Configuration Instance Details Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- Kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the boot volume.
- source
Type String - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - boot
Volume StringId - The OCID of the boot volume used to boot the instance.
- boot
Volume StringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- boot
Volume StringVpus Per Gb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- image
Id String - The OCID of the image used to boot the instance.
- instance
Source InstanceImage Filter Details Configuration Instance Details Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- kms
Key StringId - The OCID of the Vault service key to assign as the master encryption key for the boot volume.
- source
Type string - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - boot
Volume stringId - The OCID of the boot volume used to boot the instance.
- boot
Volume stringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- boot
Volume stringVpus Per Gb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- image
Id string - The OCID of the image used to boot the instance.
- instance
Source InstanceImage Filter Details Configuration Instance Details Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the boot volume.
- source_
type str - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - boot_
volume_ strid - The OCID of the boot volume used to boot the instance.
- boot_
volume_ strsize_ in_ gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- boot_
volume_ strvpus_ per_ gb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- image_
id str - The OCID of the image used to boot the instance.
- instance_
source_ core.image_ filter_ details Instance Configuration Instance Details Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- kms_
key_ strid - The OCID of the Vault service key to assign as the master encryption key for the boot volume.
- source
Type String - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - boot
Volume StringId - The OCID of the boot volume used to boot the instance.
- boot
Volume StringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- boot
Volume StringVpus Per Gb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- image
Id String - The OCID of the image used to boot the instance.
- instance
Source Property MapImage Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- kms
Key StringId - The OCID of the Vault service key to assign as the master encryption key for the boot volume.
InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetails, InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs
- Compartment
Id string - (Updatable) The OCID of the compartment containing images to search
- Dictionary<string, string>
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Compartment
Id string - (Updatable) The OCID of the compartment containing images to search
- map[string]string
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- compartment
Id String - (Updatable) The OCID of the compartment containing images to search
- Map<String,String>
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- compartment
Id string - (Updatable) The OCID of the compartment containing images to search
- {[key: string]: string}
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- operating
System string - The image's operating system. Example:
Oracle Linux
- operating
System stringVersion - The image's operating system version. Example:
7.2
- compartment_
id str - (Updatable) The OCID of the compartment containing images to search
- Mapping[str, str]
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- operating_
system str - The image's operating system. Example:
Oracle Linux
- operating_
system_ strversion - The image's operating system version. Example:
7.2
- compartment
Id String - (Updatable) The OCID of the compartment containing images to search
- Map<String>
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
InstanceConfigurationInstanceDetailsOption, InstanceConfigurationInstanceDetailsOptionArgs
- Block
Volumes List<InstanceConfiguration Instance Details Option Block Volume> - Block volume parameters.
- Launch
Details InstanceConfiguration Instance Details Option Launch Details Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance.See LaunchInstanceDetails for more information.
- Secondary
Vnics List<InstanceConfiguration Instance Details Option Secondary Vnic> - Secondary VNIC parameters.
- Block
Volumes []InstanceConfiguration Instance Details Option Block Volume - Block volume parameters.
- Launch
Details InstanceConfiguration Instance Details Option Launch Details Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance.See LaunchInstanceDetails for more information.
- Secondary
Vnics []InstanceConfiguration Instance Details Option Secondary Vnic - Secondary VNIC parameters.
- block
Volumes List<InstanceConfiguration Instance Details Option Block Volume> - Block volume parameters.
- launch
Details InstanceConfiguration Instance Details Option Launch Details Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance.See LaunchInstanceDetails for more information.
- secondary
Vnics List<InstanceConfiguration Instance Details Option Secondary Vnic> - Secondary VNIC parameters.
- block
Volumes InstanceConfiguration Instance Details Option Block Volume[] - Block volume parameters.
- launch
Details InstanceConfiguration Instance Details Option Launch Details Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance.See LaunchInstanceDetails for more information.
- secondary
Vnics InstanceConfiguration Instance Details Option Secondary Vnic[] - Secondary VNIC parameters.
- block_
volumes Sequence[core.Instance Configuration Instance Details Option Block Volume] - Block volume parameters.
- launch_
details core.Instance Configuration Instance Details Option Launch Details Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance.See LaunchInstanceDetails for more information.
- secondary_
vnics Sequence[core.Instance Configuration Instance Details Option Secondary Vnic] - Secondary VNIC parameters.
- block
Volumes List<Property Map> - Block volume parameters.
- launch
Details Property Map Instance launch details for creating an instance from an instance configuration. Use the
sourceDetails
parameter to specify whether a boot volume or an image should be used to launch a new instance.See LaunchInstanceDetails for more information.
- secondary
Vnics List<Property Map> - Secondary VNIC parameters.
InstanceConfigurationInstanceDetailsOptionBlockVolume, InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs
- Attach
Details InstanceConfiguration Instance Details Option Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- Create
Details InstanceConfiguration Instance Details Option Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- Volume
Id string - The OCID of the volume.
- Attach
Details InstanceConfiguration Instance Details Option Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- Create
Details InstanceConfiguration Instance Details Option Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- Volume
Id string - The OCID of the volume.
- attach
Details InstanceConfiguration Instance Details Option Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- create
Details InstanceConfiguration Instance Details Option Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- volume
Id String - The OCID of the volume.
- attach
Details InstanceConfiguration Instance Details Option Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- create
Details InstanceConfiguration Instance Details Option Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- volume
Id string - The OCID of the volume.
- attach_
details core.Instance Configuration Instance Details Option Block Volume Attach Details - Volume attachmentDetails. Please see AttachVolumeDetails
- create_
details core.Instance Configuration Instance Details Option Block Volume Create Details - Creates a new block volume. Please see CreateVolumeDetails
- volume_
id str - The OCID of the volume.
- attach
Details Property Map - Volume attachmentDetails. Please see AttachVolumeDetails
- create
Details Property Map - Creates a new block volume. Please see CreateVolumeDetails
- volume
Id String - The OCID of the volume.
InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetails, InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs
- Type string
- The type of volume. The only supported values are "iscsi" and "paravirtualized".
- Device string
- The device name.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Is
Pv boolEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- Is
Read boolOnly - Whether the attachment should be created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- Use
Chap bool - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- Type string
- The type of volume. The only supported values are "iscsi" and "paravirtualized".
- Device string
- The device name.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Is
Pv boolEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- Is
Read boolOnly - Whether the attachment should be created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- Use
Chap bool - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- type String
- The type of volume. The only supported values are "iscsi" and "paravirtualized".
- device String
- The device name.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- is
Pv BooleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- is
Read BooleanOnly - Whether the attachment should be created in read-only mode.
- Boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- use
Chap Boolean - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- type string
- The type of volume. The only supported values are "iscsi" and "paravirtualized".
- device string
- The device name.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- is
Pv booleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- is
Read booleanOnly - Whether the attachment should be created in read-only mode.
- boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- use
Chap boolean - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- type str
- The type of volume. The only supported values are "iscsi" and "paravirtualized".
- device str
- The device name.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- is_
pv_ boolencryption_ in_ transit_ enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- is_
read_ boolonly - Whether the attachment should be created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- use_
chap bool - Whether to use CHAP authentication for the volume attachment. Defaults to false.
- type String
- The type of volume. The only supported values are "iscsi" and "paravirtualized".
- device String
- The device name.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- is
Pv BooleanEncryption In Transit Enabled - Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
- is
Read BooleanOnly - Whether the attachment should be created in read-only mode.
- Boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- use
Chap Boolean - Whether to use CHAP authentication for the volume attachment. Defaults to false.
InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetails, InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs
- Autotune
Policies List<InstanceConfiguration Instance Details Option Block Volume Create Details Autotune Policy> - The list of autotune policies enabled for this volume.
- Availability
Domain string - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- Backup
Policy stringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- Block
Volume InstanceReplicas Configuration Instance Details Option Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- Cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the volume.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Auto boolTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - Kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- Size
In stringGbs - The size of the volume in GBs.
- Source
Details InstanceConfiguration Instance Details Option Block Volume Create Details Source Details - Vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- Xrc
Kms stringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Autotune
Policies []InstanceConfiguration Instance Details Option Block Volume Create Details Autotune Policy - The list of autotune policies enabled for this volume.
- Availability
Domain string - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- Backup
Policy stringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- Block
Volume InstanceReplicas Configuration Instance Details Option Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- Cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the volume.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Auto boolTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - Kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- Size
In stringGbs - The size of the volume in GBs.
- Source
Details InstanceConfiguration Instance Details Option Block Volume Create Details Source Details - Vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- Xrc
Kms stringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- autotune
Policies List<InstanceConfiguration Instance Details Option Block Volume Create Details Autotune Policy> - The list of autotune policies enabled for this volume.
- availability
Domain String - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- backup
Policy StringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- block
Volume InstanceReplicas Configuration Instance Details Option Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- cluster
Placement StringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the volume.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Auto BooleanTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - kms
Key StringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- size
In StringGbs - The size of the volume in GBs.
- source
Details InstanceConfiguration Instance Details Option Block Volume Create Details Source Details - vpus
Per StringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- xrc
Kms StringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- autotune
Policies InstanceConfiguration Instance Details Option Block Volume Create Details Autotune Policy[] - The list of autotune policies enabled for this volume.
- availability
Domain string - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- backup
Policy stringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- block
Volume InstanceReplicas Configuration Instance Details Option Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the volume.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Auto booleanTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- size
In stringGbs - The size of the volume in GBs.
- source
Details InstanceConfiguration Instance Details Option Block Volume Create Details Source Details - vpus
Per stringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- xrc
Kms stringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- autotune_
policies Sequence[core.Instance Configuration Instance Details Option Block Volume Create Details Autotune Policy] - The list of autotune policies enabled for this volume.
- availability_
domain str - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- backup_
policy_ strid - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- block_
volume_ core.replicas Instance Configuration Instance Details Option Block Volume Create Details Block Volume Replicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- cluster_
placement_ strgroup_ id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment_
id str - (Updatable) The OCID of the compartment that contains the volume.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is_
auto_ booltune_ enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - kms_
key_ strid - The OCID of the Vault service key to assign as the master encryption key for the volume.
- size_
in_ strgbs - The size of the volume in GBs.
- source_
details core.Instance Configuration Instance Details Option Block Volume Create Details Source Details - vpus_
per_ strgb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- xrc_
kms_ strkey_ id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- autotune
Policies List<Property Map> - The list of autotune policies enabled for this volume.
- availability
Domain String - The availability domain of the volume. Example:
Uocm:PHX-AD-1
- backup
Policy StringId - If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- block
Volume Property MapReplicas - The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- cluster
Placement StringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the volume.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Auto BooleanTune Enabled - Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the
InstanceConfigurationDetachedVolumeAutotunePolicy
instead to enable the volume for detached autotune. - kms
Key StringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- size
In StringGbs - The size of the volume in GBs.
- source
Details Property Map - vpus
Per StringGb The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- xrc
Kms StringKey Id - The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicy, InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs
- Autotune
Type string - This specifies the type of autotunes supported by OCI.
- Max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- Autotune
Type string - This specifies the type of autotunes supported by OCI.
- Max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type String - This specifies the type of autotunes supported by OCI.
- max
Vpus StringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type string - This specifies the type of autotunes supported by OCI.
- max
Vpus stringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune_
type str - This specifies the type of autotunes supported by OCI.
- max_
vpus_ strper_ gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
- autotune
Type String - This specifies the type of autotunes supported by OCI.
- max
Vpus StringPer Gb - This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.
InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicas, InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicasArgs
- Availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- availability
Domain String - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- availability_
domain str - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- availability
Domain String - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetails, InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs
InstanceConfigurationInstanceDetailsOptionLaunchDetails, InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs
- Agent
Config InstanceConfiguration Instance Details Option Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- Availability
Config InstanceConfiguration Instance Details Option Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- Availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- Capacity
Reservation stringId - The OCID of the compute capacity reservation this instance is launched under.
- Cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- Create
Vnic InstanceDetails Configuration Instance Details Option Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- Dedicated
Vm stringHost Id - The OCID of the dedicated virtual machine host to place the instance on.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Extended
Metadata Dictionary<string, string> - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object. - Fault
Domain string - A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Instance
Options InstanceConfiguration Instance Details Option Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- Ipxe
Script string - This is an advanced option.
- Is
Pv boolEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - Launch
Mode string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- Launch
Options InstanceConfiguration Instance Details Option Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- Metadata Dictionary<string, string>
- Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
- Platform
Config InstanceConfiguration Instance Details Option Launch Details Platform Config - The platform configuration requested for the instance.
- Preemptible
Instance InstanceConfig Configuration Instance Details Option Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- Preferred
Maintenance stringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- Security
Attributes Dictionary<string, string> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Shape string
- The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
- Shape
Config InstanceConfiguration Instance Details Option Launch Details Shape Config - The shape configuration requested for the instance.
- Source
Details InstanceConfiguration Instance Details Option Launch Details Source Details
- Agent
Config InstanceConfiguration Instance Details Option Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- Availability
Config InstanceConfiguration Instance Details Option Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- Availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- Capacity
Reservation stringId - The OCID of the compute capacity reservation this instance is launched under.
- Cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- Create
Vnic InstanceDetails Configuration Instance Details Option Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- Dedicated
Vm stringHost Id - The OCID of the dedicated virtual machine host to place the instance on.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Extended
Metadata map[string]string - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object. - Fault
Domain string - A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Instance
Options InstanceConfiguration Instance Details Option Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- Ipxe
Script string - This is an advanced option.
- Is
Pv boolEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - Launch
Mode string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- Launch
Options InstanceConfiguration Instance Details Option Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- Metadata map[string]string
- Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
- Platform
Config InstanceConfiguration Instance Details Option Launch Details Platform Config - The platform configuration requested for the instance.
- Preemptible
Instance InstanceConfig Configuration Instance Details Option Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- Preferred
Maintenance stringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- Security
Attributes map[string]string - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Shape string
- The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
- Shape
Config InstanceConfiguration Instance Details Option Launch Details Shape Config - The shape configuration requested for the instance.
- Source
Details InstanceConfiguration Instance Details Option Launch Details Source Details
- agent
Config InstanceConfiguration Instance Details Option Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- availability
Config InstanceConfiguration Instance Details Option Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- availability
Domain String - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- capacity
Reservation StringId - The OCID of the compute capacity reservation this instance is launched under.
- cluster
Placement StringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- create
Vnic InstanceDetails Configuration Instance Details Option Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- dedicated
Vm StringHost Id - The OCID of the dedicated virtual machine host to place the instance on.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- extended
Metadata Map<String,String> - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object. - fault
Domain String - A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Options InstanceConfiguration Instance Details Option Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- ipxe
Script String - This is an advanced option.
- is
Pv BooleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - launch
Mode String - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options InstanceConfiguration Instance Details Option Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- metadata Map<String,String>
- Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
- platform
Config InstanceConfiguration Instance Details Option Launch Details Platform Config - The platform configuration requested for the instance.
- preemptible
Instance InstanceConfig Configuration Instance Details Option Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- preferred
Maintenance StringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- security
Attributes Map<String,String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- shape String
- The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
- shape
Config InstanceConfiguration Instance Details Option Launch Details Shape Config - The shape configuration requested for the instance.
- source
Details InstanceConfiguration Instance Details Option Launch Details Source Details
- agent
Config InstanceConfiguration Instance Details Option Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- availability
Config InstanceConfiguration Instance Details Option Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- availability
Domain string - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- capacity
Reservation stringId - The OCID of the compute capacity reservation this instance is launched under.
- cluster
Placement stringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id string - (Updatable) The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- create
Vnic InstanceDetails Configuration Instance Details Option Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- dedicated
Vm stringHost Id - The OCID of the dedicated virtual machine host to place the instance on.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- extended
Metadata {[key: string]: string} - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object. - fault
Domain string - A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Options InstanceConfiguration Instance Details Option Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- ipxe
Script string - This is an advanced option.
- is
Pv booleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - launch
Mode string - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options InstanceConfiguration Instance Details Option Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- metadata {[key: string]: string}
- Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
- platform
Config InstanceConfiguration Instance Details Option Launch Details Platform Config - The platform configuration requested for the instance.
- preemptible
Instance InstanceConfig Configuration Instance Details Option Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- preferred
Maintenance stringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- security
Attributes {[key: string]: string} - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- shape string
- The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
- shape
Config InstanceConfiguration Instance Details Option Launch Details Shape Config - The shape configuration requested for the instance.
- source
Details InstanceConfiguration Instance Details Option Launch Details Source Details
- agent_
config core.Instance Configuration Instance Details Option Launch Details Agent Config - Configuration options for the Oracle Cloud Agent software running on the instance.
- availability_
config core.Instance Configuration Instance Details Option Launch Details Availability Config - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- availability_
domain str - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- capacity_
reservation_ strid - The OCID of the compute capacity reservation this instance is launched under.
- cluster_
placement_ strgroup_ id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment_
id str - (Updatable) The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- create_
vnic_ core.details Instance Configuration Instance Details Option Launch Details Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- dedicated_
vm_ strhost_ id - The OCID of the dedicated virtual machine host to place the instance on.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- extended_
metadata Mapping[str, str] - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object. - fault_
domain str - A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance_
options core.Instance Configuration Instance Details Option Launch Details Instance Options - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- ipxe_
script str - This is an advanced option.
- is_
pv_ boolencryption_ in_ transit_ enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - launch_
mode str - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch_
options core.Instance Configuration Instance Details Option Launch Details Launch Options - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- metadata Mapping[str, str]
- Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
- platform_
config core.Instance Configuration Instance Details Option Launch Details Platform Config - The platform configuration requested for the instance.
- preemptible_
instance_ core.config Instance Configuration Instance Details Option Launch Details Preemptible Instance Config - Configuration options for preemptible instances.
- preferred_
maintenance_ straction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- security_
attributes Mapping[str, str] - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- shape str
- The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
- shape_
config core.Instance Configuration Instance Details Option Launch Details Shape Config - The shape configuration requested for the instance.
- source_
details core.Instance Configuration Instance Details Option Launch Details Source Details
- agent
Config Property Map - Configuration options for the Oracle Cloud Agent software running on the instance.
- availability
Config Property Map - Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.
- availability
Domain String - The availability domain of the instance. Example:
Uocm:PHX-AD-1
- capacity
Reservation StringId - The OCID of the compute capacity reservation this instance is launched under.
- cluster
Placement StringGroup Id - The clusterPlacementGroup Id of the volume for volume placement.
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance. Instances created from instance configurations are placed in the same compartment as the instance that was used to create the instance configuration.
- create
Vnic Property MapDetails - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- dedicated
Vm StringHost Id - The OCID of the dedicated virtual machine host to place the instance on.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- extended
Metadata Map<String> - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the
metadata
object. - fault
Domain String - A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- instance
Options Property Map - Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.
- ipxe
Script String - This is an advanced option.
- is
Pv BooleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - launch
Mode String - Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
NATIVE
- VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.EMULATED
- VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.CUSTOM
- VM instances launch with custom configuration settings specified in theLaunchOptions
parameter.
- launch
Options Property Map - Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
- metadata Map<String>
- Custom metadata key/value pairs that you provide, such as the SSH public key required to connect to the instance.
- platform
Config Property Map - The platform configuration requested for the instance.
- preemptible
Instance Property MapConfig - Configuration options for preemptible instances.
- preferred
Maintenance StringAction - The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
LIVE_MIGRATE
- Run maintenance using a live migration.REBOOT
- Run maintenance using a reboot.
- security
Attributes Map<String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- shape String
- The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
- shape
Config Property Map - The shape configuration requested for the instance.
- source
Details Property Map
InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfig, InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs
- Are
All boolPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- Is
Management boolDisabled Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
These are the management plugins: OS Management Service Agent and Compute Instance Run Command.
The management plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isManagementDisabled
is true, all of the management plugins are disabled, regardless of the per-plugin configuration. - If
isManagementDisabled
is false, all of the management plugins are enabled. You can optionally disable individual management plugins by providing a value in thepluginsConfig
object.
- If
- Is
Monitoring boolDisabled Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
These are the monitoring plugins: Compute Instance Monitoring and Custom Logs Monitoring.
The monitoring plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isMonitoringDisabled
is true, all of the monitoring plugins are disabled, regardless of the per-plugin configuration. - If
isMonitoringDisabled
is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in thepluginsConfig
object.
- If
- Plugins
Configs List<InstanceConfiguration Instance Details Option Launch Details Agent Config Plugins Config> - The configuration of plugins associated with this instance.
- Are
All boolPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- Is
Management boolDisabled Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
These are the management plugins: OS Management Service Agent and Compute Instance Run Command.
The management plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isManagementDisabled
is true, all of the management plugins are disabled, regardless of the per-plugin configuration. - If
isManagementDisabled
is false, all of the management plugins are enabled. You can optionally disable individual management plugins by providing a value in thepluginsConfig
object.
- If
- Is
Monitoring boolDisabled Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
These are the monitoring plugins: Compute Instance Monitoring and Custom Logs Monitoring.
The monitoring plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isMonitoringDisabled
is true, all of the monitoring plugins are disabled, regardless of the per-plugin configuration. - If
isMonitoringDisabled
is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in thepluginsConfig
object.
- If
- Plugins
Configs []InstanceConfiguration Instance Details Option Launch Details Agent Config Plugins Config - The configuration of plugins associated with this instance.
- are
All BooleanPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- is
Management BooleanDisabled Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
These are the management plugins: OS Management Service Agent and Compute Instance Run Command.
The management plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isManagementDisabled
is true, all of the management plugins are disabled, regardless of the per-plugin configuration. - If
isManagementDisabled
is false, all of the management plugins are enabled. You can optionally disable individual management plugins by providing a value in thepluginsConfig
object.
- If
- is
Monitoring BooleanDisabled Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
These are the monitoring plugins: Compute Instance Monitoring and Custom Logs Monitoring.
The monitoring plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isMonitoringDisabled
is true, all of the monitoring plugins are disabled, regardless of the per-plugin configuration. - If
isMonitoringDisabled
is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in thepluginsConfig
object.
- If
- plugins
Configs List<InstanceConfiguration Instance Details Option Launch Details Agent Config Plugins Config> - The configuration of plugins associated with this instance.
- are
All booleanPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- is
Management booleanDisabled Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
These are the management plugins: OS Management Service Agent and Compute Instance Run Command.
The management plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isManagementDisabled
is true, all of the management plugins are disabled, regardless of the per-plugin configuration. - If
isManagementDisabled
is false, all of the management plugins are enabled. You can optionally disable individual management plugins by providing a value in thepluginsConfig
object.
- If
- is
Monitoring booleanDisabled Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
These are the monitoring plugins: Compute Instance Monitoring and Custom Logs Monitoring.
The monitoring plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isMonitoringDisabled
is true, all of the monitoring plugins are disabled, regardless of the per-plugin configuration. - If
isMonitoringDisabled
is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in thepluginsConfig
object.
- If
- plugins
Configs InstanceConfiguration Instance Details Option Launch Details Agent Config Plugins Config[] - The configuration of plugins associated with this instance.
- are_
all_ boolplugins_ disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- is_
management_ booldisabled Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
These are the management plugins: OS Management Service Agent and Compute Instance Run Command.
The management plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isManagementDisabled
is true, all of the management plugins are disabled, regardless of the per-plugin configuration. - If
isManagementDisabled
is false, all of the management plugins are enabled. You can optionally disable individual management plugins by providing a value in thepluginsConfig
object.
- If
- is_
monitoring_ booldisabled Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
These are the monitoring plugins: Compute Instance Monitoring and Custom Logs Monitoring.
The monitoring plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isMonitoringDisabled
is true, all of the monitoring plugins are disabled, regardless of the per-plugin configuration. - If
isMonitoringDisabled
is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in thepluginsConfig
object.
- If
- plugins_
configs Sequence[core.Instance Configuration Instance Details Option Launch Details Agent Config Plugins Config] - The configuration of plugins associated with this instance.
- are
All BooleanPlugins Disabled Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- is
Management BooleanDisabled Whether Oracle Cloud Agent can run all the available management plugins. Default value is false (management plugins are enabled).
These are the management plugins: OS Management Service Agent and Compute Instance Run Command.
The management plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isManagementDisabled
is true, all of the management plugins are disabled, regardless of the per-plugin configuration. - If
isManagementDisabled
is false, all of the management plugins are enabled. You can optionally disable individual management plugins by providing a value in thepluginsConfig
object.
- If
- is
Monitoring BooleanDisabled Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled).
These are the monitoring plugins: Compute Instance Monitoring and Custom Logs Monitoring.
The monitoring plugins are controlled by this parameter and by the per-plugin configuration in the
pluginsConfig
object.- If
isMonitoringDisabled
is true, all of the monitoring plugins are disabled, regardless of the per-plugin configuration. - If
isMonitoringDisabled
is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in thepluginsConfig
object.
- If
- plugins
Configs List<Property Map> - The configuration of plugins associated with this instance.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfig, InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs
- Desired
State string Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the
isMonitoringDisabled
andisManagementDisabled
attributes must also be set to false.- Name string
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- Desired
State string Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the
isMonitoringDisabled
andisManagementDisabled
attributes must also be set to false.- Name string
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- desired
State String Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the
isMonitoringDisabled
andisManagementDisabled
attributes must also be set to false.- name String
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- desired
State string Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the
isMonitoringDisabled
andisManagementDisabled
attributes must also be set to false.- name string
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- desired_
state str Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the
isMonitoringDisabled
andisManagementDisabled
attributes must also be set to false.- name str
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
- desired
State String Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the
isMonitoringDisabled
andisManagementDisabled
attributes must also be set to false.- name String
- The plugin name. To get a list of available plugins, use the ListInstanceagentAvailablePlugins operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfig, InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs
- Is
Live boolMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- Recovery
Action string - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- Is
Live boolMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- Recovery
Action string - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- is
Live BooleanMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- recovery
Action String - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- is
Live booleanMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- recovery
Action string - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- is_
live_ boolmigration_ preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- recovery_
action str - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
- is
Live BooleanMigration Preferred - Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
- recovery
Action String - The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetails, InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs
- Assign
Ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - Assign
Private boolDns Record - Whether the VNIC should be assigned a private DNS record. Defaults to true. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - Assign
Public boolIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - Ipv6address
Ipv6subnet List<InstanceCidr Pair Details Configuration Instance Details Option Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail> - Nsg
Ids List<string> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - Security
Attributes Dictionary<string, string> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Skip
Source boolDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - Subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- Assign
Ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - Assign
Private boolDns Record - Whether the VNIC should be assigned a private DNS record. Defaults to true. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - Assign
Public boolIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - Ipv6address
Ipv6subnet []InstanceCidr Pair Details Configuration Instance Details Option Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail - Nsg
Ids []string - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - Security
Attributes map[string]string - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Skip
Source boolDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - Subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip Boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private BooleanDns Record - Whether the VNIC should be assigned a private DNS record. Defaults to true. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public BooleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet List<InstanceCidr Pair Details Configuration Instance Details Option Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail> - nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip String - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes Map<String,String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source BooleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id String - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private booleanDns Record - Whether the VNIC should be assigned a private DNS record. Defaults to true. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public booleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet InstanceCidr Pair Details Configuration Instance Details Option Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail[] - nsg
Ids string[] - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes {[key: string]: string} - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source booleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign_
ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign_
private_ booldns_ record - Whether the VNIC should be assigned a private DNS record. Defaults to true. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign_
public_ boolip - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname_
label str - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address_
ipv6subnet_ Sequence[core.cidr_ pair_ details Instance Configuration Instance Details Option Launch Details Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail] - nsg_
ids Sequence[str] - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private_
ip str - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security_
attributes Mapping[str, str] - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip_
source_ booldest_ check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet_
id str - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip Boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private BooleanDns Record - Whether the VNIC should be assigned a private DNS record. Defaults to true. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public BooleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet List<Property Map>Cidr Pair Details - nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip String - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes Map<String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source BooleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id String - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail, InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
- Ipv6address string
- Ipv6subnet
Cidr string
- Ipv6address string
- Ipv6subnet
Cidr string
- ipv6address String
- ipv6subnet
Cidr String
- ipv6address string
- ipv6subnet
Cidr string
- ipv6address str
- ipv6subnet_
cidr str
- ipv6address String
- ipv6subnet
Cidr String
InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptions, InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs
- Are
Legacy boolImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- Are
Legacy boolImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- are
Legacy BooleanImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- are
Legacy booleanImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- are_
legacy_ boolimds_ endpoints_ disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
- are
Legacy BooleanImds Endpoints Disabled - Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptions, InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs
- Boot
Volume stringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Firmware string
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- Is
Consistent boolVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- Is
Pv boolEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - Network
Type string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- Remote
Data stringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Boot
Volume stringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- Firmware string
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- Is
Consistent boolVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- Is
Pv boolEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - Network
Type string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- Remote
Data stringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume StringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware String
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent BooleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv BooleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - network
Type String - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data StringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume stringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware string
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent booleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv booleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - network
Type string - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data stringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot_
volume_ strtype - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware str
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is_
consistent_ boolvolume_ naming_ enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is_
pv_ boolencryption_ in_ transit_ enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - network_
type str - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote_
data_ strvolume_ type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- boot
Volume StringType - Emulation type for the boot volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
- firmware String
- Firmware used to boot VM. Select the option that matches your operating system.
BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders.UEFI_64
- Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
- is
Consistent BooleanVolume Naming Enabled - Whether to enable consistent volume naming feature. Defaults to false.
- is
Pv BooleanEncryption In Transit Enabled - Deprecated. Instead use
isPvEncryptionInTransitEnabled
in InstanceConfigurationLaunchInstanceDetails. - network
Type String - Emulation type for the physical network interface card (NIC).
E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO
- Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO drivers.
- remote
Data StringVolume Type - Emulation type for volume.
ISCSI
- ISCSI attached block storage device.SCSI
- Emulated SCSI disk.IDE
- Emulated IDE disk.VFIO
- Direct attached Virtual Function storage. This is the default option for local data volumes on platform images.PARAVIRTUALIZED
- Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfig, InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs
- Type string
- The type of action to run when the instance is interrupted for eviction.
- Are
Virtual boolInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- Is
Access boolControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- Is
Input boolOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- Is
Measured boolBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- Is
Memory boolEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - Is
Secure boolBoot Enabled - Whether Secure Boot is enabled on the instance.
- Is
Symmetric boolMulti Threading Enabled - Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
- Is
Trusted boolPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- Numa
Nodes stringPer Socket - The number of NUMA nodes per socket (NPS).
- Percentage
Of intCores Enabled - The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
- Type string
- The type of action to run when the instance is interrupted for eviction.
- Are
Virtual boolInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- Is
Access boolControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- Is
Input boolOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- Is
Measured boolBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- Is
Memory boolEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - Is
Secure boolBoot Enabled - Whether Secure Boot is enabled on the instance.
- Is
Symmetric boolMulti Threading Enabled - Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
- Is
Trusted boolPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- Numa
Nodes stringPer Socket - The number of NUMA nodes per socket (NPS).
- Percentage
Of intCores Enabled - The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
- type String
- The type of action to run when the instance is interrupted for eviction.
- are
Virtual BooleanInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- is
Access BooleanControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- is
Input BooleanOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- is
Measured BooleanBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- is
Memory BooleanEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - is
Secure BooleanBoot Enabled - Whether Secure Boot is enabled on the instance.
- is
Symmetric BooleanMulti Threading Enabled - Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
- is
Trusted BooleanPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- numa
Nodes StringPer Socket - The number of NUMA nodes per socket (NPS).
- percentage
Of IntegerCores Enabled - The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
- type string
- The type of action to run when the instance is interrupted for eviction.
- are
Virtual booleanInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- is
Access booleanControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- is
Input booleanOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- is
Measured booleanBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- is
Memory booleanEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - is
Secure booleanBoot Enabled - Whether Secure Boot is enabled on the instance.
- is
Symmetric booleanMulti Threading Enabled - Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
- is
Trusted booleanPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- numa
Nodes stringPer Socket - The number of NUMA nodes per socket (NPS).
- percentage
Of numberCores Enabled - The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
- type str
- The type of action to run when the instance is interrupted for eviction.
- are_
virtual_ boolinstructions_ enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- is_
access_ boolcontrol_ service_ enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- is_
input_ booloutput_ memory_ management_ unit_ enabled - Whether the input-output memory management unit is enabled.
- is_
measured_ boolboot_ enabled - Whether the Measured Boot feature is enabled on the instance.
- is_
memory_ boolencryption_ enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - is_
secure_ boolboot_ enabled - Whether Secure Boot is enabled on the instance.
- is_
symmetric_ boolmulti_ threading_ enabled - Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
- is_
trusted_ boolplatform_ module_ enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- numa_
nodes_ strper_ socket - The number of NUMA nodes per socket (NPS).
- percentage_
of_ intcores_ enabled - The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
- type String
- The type of action to run when the instance is interrupted for eviction.
- are
Virtual BooleanInstructions Enabled - Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- is
Access BooleanControl Service Enabled - Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- is
Input BooleanOutput Memory Management Unit Enabled - Whether the input-output memory management unit is enabled.
- is
Measured BooleanBoot Enabled - Whether the Measured Boot feature is enabled on the instance.
- is
Memory BooleanEncryption Enabled - Whether the instance is a confidential instance. If this value is
true
, the instance is a confidential instance. The default value isfalse
. - is
Secure BooleanBoot Enabled - Whether Secure Boot is enabled on the instance.
- is
Symmetric BooleanMulti Threading Enabled - Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
- is
Trusted BooleanPlatform Module Enabled - Whether the Trusted Platform Module (TPM) is enabled on the instance.
- numa
Nodes StringPer Socket - The number of NUMA nodes per socket (NPS).
- percentage
Of NumberCores Enabled - The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfig, InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs
- Preemption
Action InstanceConfiguration Instance Details Option Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- Preemption
Action InstanceConfiguration Instance Details Option Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- preemption
Action InstanceConfiguration Instance Details Option Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- preemption
Action InstanceConfiguration Instance Details Option Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- preemption_
action core.Instance Configuration Instance Details Option Launch Details Preemptible Instance Config Preemption Action - The action to run when the preemptible instance is interrupted for eviction.
- preemption
Action Property Map - The action to run when the preemptible instance is interrupted for eviction.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionAction, InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs
- Type string
- The type of action to run when the instance is interrupted for eviction.
- Preserve
Boot boolVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- Type string
- The type of action to run when the instance is interrupted for eviction.
- Preserve
Boot boolVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- type String
- The type of action to run when the instance is interrupted for eviction.
- preserve
Boot BooleanVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- type string
- The type of action to run when the instance is interrupted for eviction.
- preserve
Boot booleanVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- type str
- The type of action to run when the instance is interrupted for eviction.
- preserve_
boot_ boolvolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
- type String
- The type of action to run when the instance is interrupted for eviction.
- preserve
Boot BooleanVolume - Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfig, InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs
- Baseline
Ocpu stringUtilization - The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
. - Memory
In doubleGbs - The total amount of memory available to the instance, in gigabytes.
- Nvmes int
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- Ocpus double
- The total number of OCPUs available to the instance.
- Vcpus int
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- Baseline
Ocpu stringUtilization - The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
. - Memory
In float64Gbs - The total amount of memory available to the instance, in gigabytes.
- Nvmes int
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- Ocpus float64
- The total number of OCPUs available to the instance.
- Vcpus int
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu StringUtilization - The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
. - memory
In DoubleGbs - The total amount of memory available to the instance, in gigabytes.
- nvmes Integer
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus Double
- The total number of OCPUs available to the instance.
- vcpus Integer
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu stringUtilization - The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
. - memory
In numberGbs - The total amount of memory available to the instance, in gigabytes.
- nvmes number
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus number
- The total number of OCPUs available to the instance.
- vcpus number
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline_
ocpu_ strutilization - The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
. - memory_
in_ floatgbs - The total amount of memory available to the instance, in gigabytes.
- nvmes int
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus float
- The total number of OCPUs available to the instance.
- vcpus int
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
- baseline
Ocpu StringUtilization - The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with
BASELINE_1_1
. - memory
In NumberGbs - The total amount of memory available to the instance, in gigabytes.
- nvmes Number
- The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
- ocpus Number
- The total number of OCPUs available to the instance.
- vcpus Number
- The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetails, InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs
- Source
Type string - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - Boot
Volume stringId - The OCID of the boot volume used to boot the instance.
- Boot
Volume stringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- Boot
Volume stringVpus Per Gb - The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- Image
Id string - The OCID of the image used to boot the instance.
- Instance
Source InstanceImage Filter Details Configuration Instance Details Option Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- Kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- Source
Type string - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - Boot
Volume stringId - The OCID of the boot volume used to boot the instance.
- Boot
Volume stringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- Boot
Volume stringVpus Per Gb - The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- Image
Id string - The OCID of the image used to boot the instance.
- Instance
Source InstanceImage Filter Details Configuration Instance Details Option Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- Kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- source
Type String - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - boot
Volume StringId - The OCID of the boot volume used to boot the instance.
- boot
Volume StringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- boot
Volume StringVpus Per Gb - The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- image
Id String - The OCID of the image used to boot the instance.
- instance
Source InstanceImage Filter Details Configuration Instance Details Option Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- kms
Key StringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- source
Type string - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - boot
Volume stringId - The OCID of the boot volume used to boot the instance.
- boot
Volume stringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- boot
Volume stringVpus Per Gb - The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- image
Id string - The OCID of the image used to boot the instance.
- instance
Source InstanceImage Filter Details Configuration Instance Details Option Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- kms
Key stringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
- source_
type str - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - boot_
volume_ strid - The OCID of the boot volume used to boot the instance.
- boot_
volume_ strsize_ in_ gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- boot_
volume_ strvpus_ per_ gb - The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- image_
id str - The OCID of the image used to boot the instance.
- instance_
source_ core.image_ filter_ details Instance Configuration Instance Details Option Launch Details Source Details Instance Source Image Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- kms_
key_ strid - The OCID of the Vault service key to assign as the master encryption key for the volume.
- source
Type String - The source type for the instance. Use
image
when specifying the image OCID. UsebootVolume
when specifying the boot volume OCID. - boot
Volume StringId - The OCID of the boot volume used to boot the instance.
- boot
Volume StringSize In Gbs - The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
- boot
Volume StringVpus Per Gb - The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See Block Volume Performance Levels for more information.
- image
Id String - The OCID of the image used to boot the instance.
- instance
Source Property MapImage Filter Details - These are the criteria for selecting an image. This is required if imageId is not specified.
- kms
Key StringId - The OCID of the Vault service key to assign as the master encryption key for the volume.
InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetails, InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- Dictionary<string, string>
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- Compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- map[string]string
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Operating
System string - The image's operating system. Example:
Oracle Linux
- Operating
System stringVersion - The image's operating system version. Example:
7.2
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance configuration.
- Map<String,String>
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
- compartment
Id string - (Updatable) The OCID of the compartment containing the instance configuration.
- {[key: string]: string}
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- operating
System string - The image's operating system. Example:
Oracle Linux
- operating
System stringVersion - The image's operating system version. Example:
7.2
- compartment_
id str - (Updatable) The OCID of the compartment containing the instance configuration.
- Mapping[str, str]
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- operating_
system str - The image's operating system. Example:
Oracle Linux
- operating_
system_ strversion - The image's operating system version. Example:
7.2
- compartment
Id String - (Updatable) The OCID of the compartment containing the instance configuration.
- Map<String>
- Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- operating
System String - The image's operating system. Example:
Oracle Linux
- operating
System StringVersion - The image's operating system version. Example:
7.2
InstanceConfigurationInstanceDetailsOptionSecondaryVnic, InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs
- Create
Vnic InstanceDetails Configuration Instance Details Option Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Nic
Index int - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- Create
Vnic InstanceDetails Configuration Instance Details Option Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Nic
Index int - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- create
Vnic InstanceDetails Configuration Instance Details Option Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- nic
Index Integer - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- create
Vnic InstanceDetails Configuration Instance Details Option Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- nic
Index number - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- create_
vnic_ core.details Instance Configuration Instance Details Option Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- nic_
index int - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- create
Vnic Property MapDetails - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- nic
Index Number - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetails, InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs
- Assign
Ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - Assign
Private boolDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - Assign
Public boolIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - Ipv6address
Ipv6subnet List<InstanceCidr Pair Details Configuration Instance Details Option Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail> - Nsg
Ids List<string> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - Security
Attributes Dictionary<string, string> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Skip
Source boolDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - Subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- Assign
Ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - Assign
Private boolDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - Assign
Public boolIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - Ipv6address
Ipv6subnet []InstanceCidr Pair Details Configuration Instance Details Option Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail - Nsg
Ids []string - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - Security
Attributes map[string]string - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Skip
Source boolDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - Subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip Boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private BooleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public BooleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet List<InstanceCidr Pair Details Configuration Instance Details Option Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail> - nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip String - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes Map<String,String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source BooleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id String - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private booleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public booleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet InstanceCidr Pair Details Configuration Instance Details Option Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail[] - nsg
Ids string[] - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes {[key: string]: string} - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source booleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign_
ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign_
private_ booldns_ record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign_
public_ boolip - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname_
label str - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address_
ipv6subnet_ Sequence[core.cidr_ pair_ details Instance Configuration Instance Details Option Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail] - nsg_
ids Sequence[str] - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private_
ip str - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security_
attributes Mapping[str, str] - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip_
source_ booldest_ check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet_
id str - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip Boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private BooleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public BooleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet List<Property Map>Cidr Pair Details - nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip String - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes Map<String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source BooleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id String - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail, InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
- Ipv6address string
- Ipv6subnet
Cidr string
- Ipv6address string
- Ipv6subnet
Cidr string
- ipv6address String
- ipv6subnet
Cidr String
- ipv6address string
- ipv6subnet
Cidr string
- ipv6address str
- ipv6subnet_
cidr str
- ipv6address String
- ipv6subnet
Cidr String
InstanceConfigurationInstanceDetailsSecondaryVnic, InstanceConfigurationInstanceDetailsSecondaryVnicArgs
- Create
Vnic InstanceDetails Configuration Instance Details Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Nic
Index int - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- Create
Vnic InstanceDetails Configuration Instance Details Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Nic
Index int - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- create
Vnic InstanceDetails Configuration Instance Details Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- nic
Index Integer - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- create
Vnic InstanceDetails Configuration Instance Details Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- nic
Index number - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- create_
vnic_ core.details Instance Configuration Instance Details Secondary Vnic Create Vnic Details - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- nic_
index int - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
- create
Vnic Property MapDetails - Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- nic
Index Number - Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetails, InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs
- Assign
Ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - Assign
Private boolDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - Assign
Public boolIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - Ipv6address
Ipv6subnet List<InstanceCidr Pair Details Configuration Instance Details Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail> - Nsg
Ids List<string> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - Security
Attributes Dictionary<string, string> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Skip
Source boolDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - Subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- Assign
Ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - Assign
Private boolDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - Assign
Public boolIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - Ipv6address
Ipv6subnet []InstanceCidr Pair Details Configuration Instance Details Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail - Nsg
Ids []string - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - Security
Attributes map[string]string - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Skip
Source boolDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - Subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip Boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private BooleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public BooleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet List<InstanceCidr Pair Details Configuration Instance Details Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail> - nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip String - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes Map<String,String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source BooleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id String - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private booleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public booleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label string - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet InstanceCidr Pair Details Configuration Instance Details Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail[] - nsg
Ids string[] - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip string - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes {[key: string]: string} - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source booleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id string - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign_
ipv6ip bool - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign_
private_ booldns_ record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign_
public_ boolip - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname_
label str - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address_
ipv6subnet_ Sequence[core.cidr_ pair_ details Instance Configuration Instance Details Secondary Vnic Create Vnic Details Ipv6address Ipv6subnet Cidr Pair Detail] - nsg_
ids Sequence[str] - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private_
ip str - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security_
attributes Mapping[str, str] - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip_
source_ booldest_ check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet_
id str - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
- assign
Ipv6ip Boolean - Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (
ipv6SubnetCidr
) of your choice to assign the IPv6 address from. Ifipv6SubnetCidr
is not provided then an IPv6 prefix is chosen for you. - assign
Private BooleanDns Record - Whether the VNIC should be assigned a private DNS record. See the
assignPrivateDnsRecord
attribute of CreateVnicDetails for more information. - assign
Public BooleanIp - Whether the VNIC should be assigned a public IP address. See the
assignPublicIp
attribute of CreateVnicDetails for more information. - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String - The hostname for the VNIC's primary private IP. See the
hostnameLabel
attribute of CreateVnicDetails for more information. - ipv6address
Ipv6subnet List<Property Map>Cidr Pair Details - nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.
- private
Ip String - A private IP address of your choice to assign to the VNIC. See the
privateIp
attribute of CreateVnicDetails for more information. - security
Attributes Map<String> - Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- skip
Source BooleanDest Check - Whether the source/destination check is disabled on the VNIC. See the
skipSourceDestCheck
attribute of CreateVnicDetails for more information. - subnet
Id String - The OCID of the subnet to create the VNIC in. See the
subnetId
attribute of CreateVnicDetails for more information.
InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail, InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs
- Ipv6address string
- Ipv6subnet
Cidr string
- Ipv6address string
- Ipv6subnet
Cidr string
- ipv6address String
- ipv6subnet
Cidr String
- ipv6address string
- ipv6subnet
Cidr string
- ipv6address str
- ipv6subnet_
cidr str
- ipv6address String
- ipv6subnet
Cidr String
Import
InstanceConfigurations can be imported using the id
, e.g.
$ pulumi import oci:Core/instanceConfiguration:InstanceConfiguration test_instance_configuration "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.