@Generated(value="OracleSDKGenerator", comments="API Version: 20230701") public final class InitialClusterConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of the initial Cluster of SDDC.
Note: Objects should always be created or deserialized using the InitialClusterConfiguration.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 InitialClusterConfiguration.Builder
, which maintain a
set of all explicitly set fields called InitialClusterConfiguration.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
InitialClusterConfiguration.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InitialClusterConfiguration(VsphereTypes vsphereType,
String computeAvailabilityDomain,
String displayName,
String instanceDisplayNamePrefix,
Integer esxiHostsCount,
NetworkConfiguration networkConfiguration,
Commitment initialCommitment,
String workloadNetworkCidr,
String initialHostShapeName,
Float initialHostOcpuCount,
Boolean isShieldedInstanceEnabled,
String capacityReservationId,
List<DatastoreInfo> datastores)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InitialClusterConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCapacityReservationId()
The OCID of the
Capacity Reservation.
|
String |
getComputeAvailabilityDomain()
The availability domain to create the Cluster’s ESXi hosts in.
|
List<DatastoreInfo> |
getDatastores()
A list of datastore info for the Cluster.
|
String |
getDisplayName()
A descriptive name for the Cluster.
|
Integer |
getEsxiHostsCount()
The number of ESXi hosts to create in the Cluster.
|
Commitment |
getInitialCommitment()
The billing option selected during Cluster creation.
|
Float |
getInitialHostOcpuCount()
The initial OCPU count of the Cluster’s ESXi hosts.
|
String |
getInitialHostShapeName()
The initial compute shape of the Cluster’s ESXi hosts.
|
String |
getInstanceDisplayNamePrefix()
A prefix used in the name of each ESXi host and Compute instance in the Cluster.
|
Boolean |
getIsShieldedInstanceEnabled()
Indicates whether shielded instance is enabled for this Cluster.
|
NetworkConfiguration |
getNetworkConfiguration() |
VsphereTypes |
getVsphereType()
vSphere Cluster types.
|
String |
getWorkloadNetworkCidr()
The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application
workloads.
|
int |
hashCode() |
InitialClusterConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"vsphereType","computeAvailabilityDomain","displayName","instanceDisplayNamePrefix","esxiHostsCount","networkConfiguration","initialCommitment","workloadNetworkCidr","initialHostShapeName","initialHostOcpuCount","isShieldedInstanceEnabled","capacityReservationId","datastores"}) public InitialClusterConfiguration(VsphereTypes vsphereType, String computeAvailabilityDomain, String displayName, String instanceDisplayNamePrefix, Integer esxiHostsCount, NetworkConfiguration networkConfiguration, Commitment initialCommitment, String workloadNetworkCidr, String initialHostShapeName, Float initialHostOcpuCount, Boolean isShieldedInstanceEnabled, String capacityReservationId, List<DatastoreInfo> datastores)
public static InitialClusterConfiguration.Builder builder()
Create a new builder.
public InitialClusterConfiguration.Builder toBuilder()
public VsphereTypes getVsphereType()
vSphere Cluster types.
public String getComputeAvailabilityDomain()
The availability domain to create the Cluster’s ESXi hosts in. For multi-AD Cluster
deployment, set to multi-AD
.
public String getDisplayName()
A descriptive name for the Cluster. Cluster name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the region. Avoid entering confidential information.
public String getInstanceDisplayNamePrefix()
A prefix used in the name of each ESXi host and Compute instance in the Cluster. If this
isn’t set, the Cluster’s displayName
is used as the prefix.
For example, if the value is myCluster
, the ESXi hosts are named myCluster-1
, myCluster-2
, and so on.
public Integer getEsxiHostsCount()
The number of ESXi hosts to create in the Cluster. You can add more hosts later (see createEsxiHost
). Creating a Cluster with a ESXi host
count of 1 will be considered a single ESXi host Cluster.
*Note:** If you later delete EXSi hosts from a production Cluster to total less than 3, you are still billed for the 3 minimum recommended ESXi hosts. Also, you cannot add more VMware workloads to the Cluster until it again has at least 3 ESXi hosts.
public NetworkConfiguration getNetworkConfiguration()
public Commitment getInitialCommitment()
The billing option selected during Cluster creation. listSupportedCommitments
.
public String getWorkloadNetworkCidr()
The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application workloads.
public String getInitialHostShapeName()
The initial compute shape of the Cluster’s ESXi hosts. listSupportedHostShapes
.
public Float getInitialHostOcpuCount()
The initial OCPU count of the Cluster’s ESXi hosts.
public Boolean getIsShieldedInstanceEnabled()
Indicates whether shielded instance is enabled for this Cluster.
public String getCapacityReservationId()
The OCID of the Capacity Reservation.
public List<DatastoreInfo> getDatastores()
A list of datastore info for the Cluster. This value is required only when initialHostShapeName
is a standard shape.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.