@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbSystemSummary extends Object
The Database Service supports several types of DB systems, ranging in size, price, and performance. For details about each type of system, see:
- Exadata DB Systems - Bare Metal and Virtual Machine DB Systems
To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
For information about access control and compartments, see Overview of the Identity Service.
For information about availability domains, see Regions and Availability Domains.
To get a list of availability domains, use the ListAvailabilityDomains
operation in the Identity Service API.
Warning:* Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Note: Objects should always be created or deserialized using the DbSystemSummary.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the DbSystemSummary.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
DbSystemSummary.Builder |
static class |
DbSystemSummary.DatabaseEdition
The Oracle Database edition that applies to all the databases on the DB system.
|
static class |
DbSystemSummary.DiskRedundancy
The type of redundancy configured for the DB system.
|
static class |
DbSystemSummary.LicenseModel
The Oracle license model that applies to all the databases on the DB system.
|
static class |
DbSystemSummary.LifecycleState
The current state of the DB system.
|
Constructor and Description |
---|
DbSystemSummary(String id,
String compartmentId,
String displayName,
String availabilityDomain,
List<String> faultDomains,
String subnetId,
String backupSubnetId,
String shape,
List<String> sshPublicKeys,
String timeZone,
String hostname,
String domain,
String version,
Integer cpuCoreCount,
String clusterName,
Integer dataStoragePercentage,
DbSystemSummary.DatabaseEdition databaseEdition,
String lastPatchHistoryEntryId,
Integer listenerPort,
DbSystemSummary.LifecycleState lifecycleState,
Date timeCreated,
String lifecycleDetails,
DbSystemSummary.DiskRedundancy diskRedundancy,
Boolean sparseDiskgroup,
List<String> scanIpIds,
List<String> vipIds,
String scanDnsRecordId,
Integer dataStorageSizeInGBs,
Integer recoStorageSizeInGB,
Integer nodeCount,
DbSystemSummary.LicenseModel licenseModel,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DbSystemSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAvailabilityDomain()
The name of the availability domain that the DB system is located in.
|
String |
getBackupSubnetId()
The OCID of the backup network subnet the DB system is associated with.
|
String |
getClusterName()
The cluster name for Exadata and 2-node RAC virtual machine DB systems.
|
String |
getCompartmentId()
The OCID of the compartment.
|
Integer |
getCpuCoreCount()
The number of CPU cores enabled on the DB system.
|
DbSystemSummary.DatabaseEdition |
getDatabaseEdition()
The Oracle Database edition that applies to all the databases on the DB system.
|
Integer |
getDataStoragePercentage()
The percentage assigned to DATA storage (user data and database files).
|
Integer |
getDataStorageSizeInGBs()
The data storage size, in gigabytes, that is currently available to the DB system.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
DbSystemSummary.DiskRedundancy |
getDiskRedundancy()
The type of redundancy configured for the DB system.
|
String |
getDisplayName()
The user-friendly name for the DB system.
|
String |
getDomain()
The domain name for the DB system.
|
List<String> |
getFaultDomains()
List of the Fault Domains in which this DB system is provisioned.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getHostname()
The hostname for the DB system.
|
String |
getId()
The OCID of the DB system.
|
String |
getLastPatchHistoryEntryId()
The OCID of the last patch history.
|
DbSystemSummary.LicenseModel |
getLicenseModel()
The Oracle license model that applies to all the databases on the DB system.
|
String |
getLifecycleDetails()
Additional information about the current lifecycleState.
|
DbSystemSummary.LifecycleState |
getLifecycleState()
The current state of the DB system.
|
Integer |
getListenerPort()
The port number configured for the listener on the DB system.
|
Integer |
getNodeCount()
The number of nodes in the DB system.
|
Integer |
getRecoStorageSizeInGB()
The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system.
|
String |
getScanDnsRecordId()
The OCID of the DNS record for the SCAN IP addresses that are associated with the DB system.
|
List<String> |
getScanIpIds()
The OCID of the Single Client Access Name (SCAN) IP addresses associated with the DB system.
|
String |
getShape()
The shape of the DB system.
|
Boolean |
getSparseDiskgroup()
True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup was not configured.
|
List<String> |
getSshPublicKeys()
The public key portion of one or more key pairs used for SSH access to the DB system.
|
String |
getSubnetId()
The OCID of the subnet the DB system is associated with.
|
Date |
getTimeCreated()
The date and time the DB system was created.
|
String |
getTimeZone()
The time zone of the DB system.
|
String |
getVersion()
The Oracle Database version of the DB system.
|
List<String> |
getVipIds()
The OCID of the virtual IP (VIP) addresses associated with the DB system.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","displayName","availabilityDomain","faultDomains","subnetId","backupSubnetId","shape","sshPublicKeys","timeZone","hostname","domain","version","cpuCoreCount","clusterName","dataStoragePercentage","databaseEdition","lastPatchHistoryEntryId","listenerPort","lifecycleState","timeCreated","lifecycleDetails","diskRedundancy","sparseDiskgroup","scanIpIds","vipIds","scanDnsRecordId","dataStorageSizeInGBs","recoStorageSizeInGB","nodeCount","licenseModel","freeformTags","definedTags"}) @Deprecated public DbSystemSummary(String id, String compartmentId, String displayName, String availabilityDomain, List<String> faultDomains, String subnetId, String backupSubnetId, String shape, List<String> sshPublicKeys, String timeZone, String hostname, String domain, String version, Integer cpuCoreCount, String clusterName, Integer dataStoragePercentage, DbSystemSummary.DatabaseEdition databaseEdition, String lastPatchHistoryEntryId, Integer listenerPort, DbSystemSummary.LifecycleState lifecycleState, Date timeCreated, String lifecycleDetails, DbSystemSummary.DiskRedundancy diskRedundancy, Boolean sparseDiskgroup, List<String> scanIpIds, List<String> vipIds, String scanDnsRecordId, Integer dataStorageSizeInGBs, Integer recoStorageSizeInGB, Integer nodeCount, DbSystemSummary.LicenseModel licenseModel, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static DbSystemSummary.Builder builder()
Create a new builder.
public String getDisplayName()
The user-friendly name for the DB system. The name does not have to be unique.
public String getAvailabilityDomain()
The name of the availability domain that the DB system is located in.
public List<String> getFaultDomains()
List of the Fault Domains in which this DB system is provisioned.
public String getSubnetId()
The OCID of the subnet the DB system is associated with.
Subnet Restrictions:* - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28. - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and backup subnet.
public String getBackupSubnetId()
The OCID of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.
Subnet Restriction:* See the subnet restrictions information for subnetId.
public String getShape()
The shape of the DB system. The shape determines resources to allocate to the DB system. - For virtual machine shapes, the number of CPU cores and memory - For bare metal and Exadata shapes, the number of CPU cores, storage, and memory
public List<String> getSshPublicKeys()
The public key portion of one or more key pairs used for SSH access to the DB system.
public String getTimeZone()
The time zone of the DB system. For details, see DB System Time Zones.
public String getHostname()
The hostname for the DB system.
public String getDomain()
The domain name for the DB system.
public String getVersion()
The Oracle Database version of the DB system.
public Integer getCpuCoreCount()
The number of CPU cores enabled on the DB system.
public String getClusterName()
The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
public Integer getDataStoragePercentage()
The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 40 and 80. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.
public DbSystemSummary.DatabaseEdition getDatabaseEdition()
The Oracle Database edition that applies to all the databases on the DB system.
public String getLastPatchHistoryEntryId()
The OCID of the last patch history. This value is updated as soon as a patch operation starts.
public Integer getListenerPort()
The port number configured for the listener on the DB system.
public DbSystemSummary.LifecycleState getLifecycleState()
The current state of the DB system.
public Date getTimeCreated()
The date and time the DB system was created.
public String getLifecycleDetails()
Additional information about the current lifecycleState.
public DbSystemSummary.DiskRedundancy getDiskRedundancy()
The type of redundancy configured for the DB system. NORMAL is 2-way redundancy. HIGH is 3-way redundancy.
public Boolean getSparseDiskgroup()
True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup was not configured.
public List<String> getScanIpIds()
The OCID of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
Note:* For a single-node DB system, this list is empty.
public List<String> getVipIds()
The OCID of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
Note:* For a single-node DB system, this list is empty.
public String getScanDnsRecordId()
The OCID of the DNS record for the SCAN IP addresses that are associated with the DB system.
public Integer getDataStorageSizeInGBs()
The data storage size, in gigabytes, that is currently available to the DB system. Applies only for virtual machine DB systems.
public Integer getRecoStorageSizeInGB()
The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.
public Integer getNodeCount()
The number of nodes in the DB system. For RAC DB systems, the value is greater than 1.
public DbSystemSummary.LicenseModel getLicenseModel()
The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.
public Map<String,String> getFreeformTags()
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\"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {\"Operations\": {\"CostCenter\": \"42\"}}
Copyright © 2016–2019. All rights reserved.