Class CreateCloudVmClusterDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CreateCloudVmClusterDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateCloudVmClusterDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details for the create cloud VM cluster operation.Applies to Exadata Cloud Service instances only.
Note: Objects should always be created or deserialized using theCreateCloudVmClusterDetails.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 theCreateCloudVmClusterDetails.Builder
, which maintain a set of all explicitly set fields calledCreateCloudVmClusterDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateCloudVmClusterDetails.Builder
static class
CreateCloudVmClusterDetails.LicenseModel
The Oracle license model that applies to the cloud VM cluster.static class
CreateCloudVmClusterDetails.VmClusterType
The vmcluster type for the VM cluster/Cloud VM cluster.
-
Constructor Summary
Constructors Constructor Description CreateCloudVmClusterDetails(String compartmentId, String subscriptionId, String subnetId, String backupSubnetId, Integer cpuCoreCount, Float ocpuCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Double dataStorageSizeInTBs, List<String> dbServers, String clusterName, Integer dataStoragePercentage, String displayName, String cloudExadataInfrastructureId, String hostname, String domain, List<String> sshPublicKeys, CreateCloudVmClusterDetails.LicenseModel licenseModel, Boolean isSparseDiskgroupEnabled, Boolean isLocalBackupEnabled, String timeZone, Integer scanListenerPortTcp, Integer scanListenerPortTcpSsl, String privateZoneId, List<String> nsgIds, List<String> backupNetworkNsgIds, String giVersion, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, DataCollectionOptions dataCollectionOptions, String systemVersion, List<FileSystemConfigurationDetail> fileSystemConfigurationDetails, CloudAutomationUpdateDetails cloudAutomationUpdateDetails, CreateCloudVmClusterDetails.VmClusterType vmClusterType)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateCloudVmClusterDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<String>
getBackupNetworkNsgIds()
A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.String
getBackupSubnetId()
The OCID of the backup network subnet associated with the cloud VM cluster.CloudAutomationUpdateDetails
getCloudAutomationUpdateDetails()
String
getCloudExadataInfrastructureId()
The OCID of the cloud Exadata infrastructure resource.String
getClusterName()
The cluster name for cloud VM cluster.String
getCompartmentId()
The OCID of the compartment.Integer
getCpuCoreCount()
The number of CPU cores to enable for a cloud VM cluster.DataCollectionOptions
getDataCollectionOptions()
Integer
getDataStoragePercentage()
The percentage assigned to DATA storage (user data and database files).Double
getDataStorageSizeInTBs()
The data disk group size to be allocated in TBs.Integer
getDbNodeStorageSizeInGBs()
The local node storage to be allocated in GBs.List<String>
getDbServers()
The list of DB servers.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
The user-friendly name for the cloud VM cluster.String
getDomain()
A domain name used for the cloud VM cluster.List<FileSystemConfigurationDetail>
getFileSystemConfigurationDetails()
Details of the file system configuration of the VM cluster.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getGiVersion()
A valid Oracle Grid Infrastructure (GI) software version.String
getHostname()
The hostname for the cloud VM cluster.Boolean
getIsLocalBackupEnabled()
If true, database backup on local Exadata storage is configured for the cloud VM cluster.Boolean
getIsSparseDiskgroupEnabled()
If true, the sparse disk group is configured for the cloud VM cluster.CreateCloudVmClusterDetails.LicenseModel
getLicenseModel()
The Oracle license model that applies to the cloud VM cluster.Integer
getMemorySizeInGBs()
The memory to be allocated in GBs.List<String>
getNsgIds()
The list of OCIDs for the network security groups (NSGs) to which this resource belongs.Float
getOcpuCount()
The number of OCPU cores to enable for a cloud VM cluster.String
getPrivateZoneId()
The private zone id in which DNS records need to be created.Integer
getScanListenerPortTcp()
The TCP Single Client Access Name (SCAN) port.Integer
getScanListenerPortTcpSsl()
The TCPS Single Client Access Name (SCAN) port.Map<String,Map<String,Object>>
getSecurityAttributes()
Security Attributes for this resource.List<String>
getSshPublicKeys()
The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.String
getSubnetId()
The OCID of the subnet associated with the cloud VM cluster.String
getSubscriptionId()
The OCID of the subscription with which resource needs to be associated with.String
getSystemVersion()
Operating system version of the image.String
getTimeZone()
The time zone to use for the cloud VM cluster.CreateCloudVmClusterDetails.VmClusterType
getVmClusterType()
The vmcluster type for the VM cluster/Cloud VM cluster.int
hashCode()
CreateCloudVmClusterDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateCloudVmClusterDetails
@Deprecated @ConstructorProperties({"compartmentId","subscriptionId","subnetId","backupSubnetId","cpuCoreCount","ocpuCount","memorySizeInGBs","dbNodeStorageSizeInGBs","dataStorageSizeInTBs","dbServers","clusterName","dataStoragePercentage","displayName","cloudExadataInfrastructureId","hostname","domain","sshPublicKeys","licenseModel","isSparseDiskgroupEnabled","isLocalBackupEnabled","timeZone","scanListenerPortTcp","scanListenerPortTcpSsl","privateZoneId","nsgIds","backupNetworkNsgIds","giVersion","freeformTags","definedTags","securityAttributes","dataCollectionOptions","systemVersion","fileSystemConfigurationDetails","cloudAutomationUpdateDetails","vmClusterType"}) public CreateCloudVmClusterDetails(String compartmentId, String subscriptionId, String subnetId, String backupSubnetId, Integer cpuCoreCount, Float ocpuCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Double dataStorageSizeInTBs, List<String> dbServers, String clusterName, Integer dataStoragePercentage, String displayName, String cloudExadataInfrastructureId, String hostname, String domain, List<String> sshPublicKeys, CreateCloudVmClusterDetails.LicenseModel licenseModel, Boolean isSparseDiskgroupEnabled, Boolean isLocalBackupEnabled, String timeZone, Integer scanListenerPortTcp, Integer scanListenerPortTcpSsl, String privateZoneId, List<String> nsgIds, List<String> backupNetworkNsgIds, String giVersion, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, DataCollectionOptions dataCollectionOptions, String systemVersion, List<FileSystemConfigurationDetail> fileSystemConfigurationDetails, CloudAutomationUpdateDetails cloudAutomationUpdateDetails, CreateCloudVmClusterDetails.VmClusterType vmClusterType)
Deprecated.
-
-
Method Detail
-
builder
public static CreateCloudVmClusterDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateCloudVmClusterDetails.Builder toBuilder()
-
getSubscriptionId
public String getSubscriptionId()
The OCID of the subscription with which resource needs to be associated with.- Returns:
- the value
-
getSubnetId
public String getSubnetId()
The OCID of the subnet associated with the cloud VM cluster.- Returns:
- the value
-
getBackupSubnetId
public String getBackupSubnetId()
The OCID of the backup network subnet associated with the cloud VM cluster.- Returns:
- the value
-
getCpuCoreCount
public Integer getCpuCoreCount()
The number of CPU cores to enable for a cloud VM cluster.Valid values depend on the specified shape:
- Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84. - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168. - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336. - Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92. - Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184. - Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368.
- Returns:
- the value
-
getOcpuCount
public Float getOcpuCount()
The number of OCPU cores to enable for a cloud VM cluster.Only 1 decimal place is allowed for the fractional part.
- Returns:
- the value
-
getMemorySizeInGBs
public Integer getMemorySizeInGBs()
The memory to be allocated in GBs.- Returns:
- the value
-
getDbNodeStorageSizeInGBs
public Integer getDbNodeStorageSizeInGBs()
The local node storage to be allocated in GBs.- Returns:
- the value
-
getDataStorageSizeInTBs
public Double getDataStorageSizeInTBs()
The data disk group size to be allocated in TBs.- Returns:
- the value
-
getClusterName
public String getClusterName()
The cluster name for cloud VM cluster.The cluster name must begin with 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.
- Returns:
- the value
-
getDataStoragePercentage
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 35, 40, 60 and 80. The default is 80 percent assigned to DATA storage. See Storage Configuration in the Exadata documentation for details on the impact of the configuration settings on storage.
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The user-friendly name for the cloud VM cluster.The name does not need to be unique.
- Returns:
- the value
-
getCloudExadataInfrastructureId
public String getCloudExadataInfrastructureId()
The OCID of the cloud Exadata infrastructure resource.- Returns:
- the value
-
getHostname
public String getHostname()
The hostname for the cloud VM cluster.The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). The maximum length of the hostname is 16 characters for bare metal and virtual machine DB systems, and 12 characters for Exadata systems.
The maximum length of the combined hostname and domain is 63 characters.
*Note:** The hostname must be unique within the subnet. If it is not unique, the cloud VM Cluster will fail to provision.
- Returns:
- the value
-
getDomain
public String getDomain()
A domain name used for the cloud VM cluster.If the Oracle-provided internet and VCN resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. Applies to Exadata Cloud Service instances only.
- Returns:
- the value
-
getSshPublicKeys
public List<String> getSshPublicKeys()
The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.- Returns:
- the value
-
getLicenseModel
public CreateCloudVmClusterDetails.LicenseModel getLicenseModel()
The Oracle license model that applies to the cloud VM cluster.The default is BRING_YOUR_OWN_LICENSE.
- Returns:
- the value
-
getIsSparseDiskgroupEnabled
public Boolean getIsSparseDiskgroupEnabled()
If true, the sparse disk group is configured for the cloud VM cluster.If false, the sparse disk group is not created.
- Returns:
- the value
-
getIsLocalBackupEnabled
public Boolean getIsLocalBackupEnabled()
If true, database backup on local Exadata storage is configured for the cloud VM cluster.If false, database backup on local Exadata storage is not available in the cloud VM cluster.
- Returns:
- the value
-
getTimeZone
public String getTimeZone()
The time zone to use for the cloud VM cluster.For details, see Time Zones.
- Returns:
- the value
-
getScanListenerPortTcp
public Integer getScanListenerPortTcp()
The TCP Single Client Access Name (SCAN) port.The default port is 1521.
- Returns:
- the value
-
getScanListenerPortTcpSsl
public Integer getScanListenerPortTcpSsl()
The TCPS Single Client Access Name (SCAN) port.The default port is 2484.
- Returns:
- the value
-
getPrivateZoneId
public String getPrivateZoneId()
The private zone id in which DNS records need to be created.- Returns:
- the value
-
getNsgIds
public List<String> getNsgIds()
The list of OCIDs for the network security groups (NSGs) to which this resource belongs.Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions: - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
- Returns:
- the value
-
getBackupNetworkNsgIds
public List<String> getBackupNetworkNsgIds()
A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules. Applicable only to Exadata systems.
- Returns:
- the value
-
getGiVersion
public String getGiVersion()
A valid Oracle Grid Infrastructure (GI) software version.- Returns:
- the value
-
getFreeformTags
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"}
- Returns:
- the value
-
getDefinedTags
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.
- Returns:
- the value
-
getSecurityAttributes
public Map<String,Map<String,Object>> getSecurityAttributes()
Security Attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}}
- Returns:
- the value
-
getDataCollectionOptions
public DataCollectionOptions getDataCollectionOptions()
-
getSystemVersion
public String getSystemVersion()
Operating system version of the image.- Returns:
- the value
-
getFileSystemConfigurationDetails
public List<FileSystemConfigurationDetail> getFileSystemConfigurationDetails()
Details of the file system configuration of the VM cluster.- Returns:
- the value
-
getCloudAutomationUpdateDetails
public CloudAutomationUpdateDetails getCloudAutomationUpdateDetails()
-
getVmClusterType
public CreateCloudVmClusterDetails.VmClusterType getVmClusterType()
The vmcluster type for the VM cluster/Cloud VM cluster.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-