Class Instance
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.Instance
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Instance
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Instance.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The confidential compute mode for this virtual server instance.static interface
The health of this resource: - `ok`: No abnormal behavior detected - `degraded`: Experiencing compromised performance, capacity, or connectivity - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated - `inapplicable`: The health state does not apply because of the current lifecycle state.static interface
The lifecycle state of the virtual server instance.static interface
The resource type.static interface
The status of the virtual server instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the availabilityPolicy.Gets the bandwidth.Gets the bootVolumeAttachment.Gets the catalogOffering.Gets the clusterNetwork.Gets the clusterNetworkAttachments.Gets the confidentialComputeMode.Gets the createdAt.getCrn()
Gets the crn.Gets the dedicatedHost.getDisks()
Gets the disks.getGpu()
Gets the gpu.Gets the healthReasons.Gets the healthState.getHref()
Gets the href.getId()
Gets the id.getImage()
Gets the image.Gets the lifecycleReasons.Gets the lifecycleState.Gets the memory.Gets the metadataService.getName()
Gets the name.Gets the networkAttachments.Gets the networkInterfaces.Gets the numaCount.Gets the placementTarget.Gets the primaryNetworkAttachment.Gets the primaryNetworkInterface.Gets the profile.Gets the reservation.Gets the reservationAffinity.Gets the resourceGroup.Gets the resourceType.Gets the status.Gets the statusReasons.Gets the totalNetworkBandwidth.Gets the totalVolumeBandwidth.getVcpu()
Gets the vcpu.Gets the volumeAttachments.getVpc()
Gets the vpc.getZone()
Gets the zone.Gets the enableSecureBoot.Gets the startable.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getAvailabilityPolicy
Gets the availabilityPolicy. The availability policy for this virtual server instance.- Returns:
- the availabilityPolicy
-
getBandwidth
Gets the bandwidth. The total bandwidth (in megabits per second) shared across the instance network attachments or instance network interfaces and storage volumes of the virtual server instance.- Returns:
- the bandwidth
-
getBootVolumeAttachment
Gets the bootVolumeAttachment. Boot volume attachment.- Returns:
- the bootVolumeAttachment
-
getCatalogOffering
Gets the catalogOffering. If present, this virtual server instance was provisioned from a [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user).- Returns:
- the catalogOffering
-
getClusterNetwork
Gets the clusterNetwork. If present, the cluster network that this virtual server instance resides in.- Returns:
- the clusterNetwork
-
getClusterNetworkAttachments
Gets the clusterNetworkAttachments. The cluster network attachments for this virtual server instance. The cluster network attachments are ordered for consistent instance configuration.- Returns:
- the clusterNetworkAttachments
-
getConfidentialComputeMode
Gets the confidentialComputeMode. The confidential compute mode for this virtual server instance.- Returns:
- the confidentialComputeMode
-
getCreatedAt
Gets the createdAt. The date and time that the virtual server instance was created.- Returns:
- the createdAt
-
getCrn
-
getDedicatedHost
Gets the dedicatedHost. If present, the dedicated host this virtual server instance has been placed on.- Returns:
- the dedicatedHost
-
getDisks
Gets the disks. The instance disks for this virtual server instance.- Returns:
- the disks
-
isEnableSecureBoot
Gets the enableSecureBoot. Indicates whether secure boot is enabled for this virtual server instance.- Returns:
- the enableSecureBoot
-
getGpu
Gets the gpu. The virtual server instance GPU configuration.- Returns:
- the gpu
-
getHealthReasons
Gets the healthReasons. The reasons for the current `health_state` (if any).- Returns:
- the healthReasons
-
getHealthState
Gets the healthState. The health of this resource: - `ok`: No abnormal behavior detected - `degraded`: Experiencing compromised performance, capacity, or connectivity - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated - `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.- Returns:
- the healthState
-
getHref
-
getId
Gets the id. The unique identifier for this virtual server instance.- Returns:
- the id
-
getImage
Gets the image. The image the virtual server instance was provisioned from.- Returns:
- the image
-
getLifecycleReasons
Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).- Returns:
- the lifecycleReasons
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of the virtual server instance.- Returns:
- the lifecycleState
-
getMemory
Gets the memory. The amount of memory, truncated to whole gibibytes. The maximum limit for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the memory
-
getMetadataService
Gets the metadataService. The metadata service configuration.- Returns:
- the metadataService
-
getName
Gets the name. The name for this virtual server instance. The name is unique across all virtual server instances in the region.- Returns:
- the name
-
getNetworkAttachments
Gets the networkAttachments. The network attachments for this virtual server instance, including the primary network attachment.- Returns:
- the networkAttachments
-
getNetworkInterfaces
Gets the networkInterfaces. The network interfaces for this instance, including the primary network interface. If this instance has network attachments, each network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface.- Returns:
- the networkInterfaces
-
getNumaCount
Gets the numaCount. The number of NUMA nodes this virtual server instance is provisioned on. This property will be absent if the instance's `status` is not `running`.- Returns:
- the numaCount
-
getPlacementTarget
Gets the placementTarget. The placement restrictions for the virtual server instance.- Returns:
- the placementTarget
-
getPrimaryNetworkAttachment
Gets the primaryNetworkAttachment. The primary network attachment for this virtual server instance.- Returns:
- the primaryNetworkAttachment
-
getPrimaryNetworkInterface
Gets the primaryNetworkInterface. The primary network interface for this virtual server instance. If this instance has network attachments, this primary network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of the primary network attachment and its attached virtual network interface.- Returns:
- the primaryNetworkInterface
-
getProfile
Gets the profile. The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-profiles) for this virtual server instance.- Returns:
- the profile
-
getReservation
Gets the reservation. The reservation used by this virtual server instance. If absent, no reservation is in use.- Returns:
- the reservation
-
getReservationAffinity
Gets the reservationAffinity.- Returns:
- the reservationAffinity
-
getResourceGroup
Gets the resourceGroup. The resource group for this instance.- Returns:
- the resourceGroup
-
getResourceType
-
isStartable
Gets the startable. Indicates whether the state of the virtual server instance permits a start request.- Returns:
- the startable
-
getStatus
Gets the status. The status of the virtual server instance. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the status
-
getStatusReasons
Gets the statusReasons. The reasons for the current status (if any).- Returns:
- the statusReasons
-
getTotalNetworkBandwidth
Gets the totalNetworkBandwidth. The amount of bandwidth (in megabits per second) allocated exclusively to instance network attachments or instance network interfaces.- Returns:
- the totalNetworkBandwidth
-
getTotalVolumeBandwidth
Gets the totalVolumeBandwidth. The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes. An increase in this value will result in a corresponding decrease to `total_network_bandwidth`.- Returns:
- the totalVolumeBandwidth
-
getVcpu
Gets the vcpu. The virtual server instance VCPU configuration.- Returns:
- the vcpu
-
getVolumeAttachments
Gets the volumeAttachments. The volume attachments for this virtual server instance, including the boot volume attachment.- Returns:
- the volumeAttachments
-
getVpc
Gets the vpc. The VPC this virtual server instance resides in.- Returns:
- the vpc
-
getZone
Gets the zone. The zone this virtual server instance resides in.- Returns:
- the zone
-