Class InitialClusterConfiguration
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.ocvp.model.InitialClusterConfiguration
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230701") public final class InitialClusterConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of the initial Cluster of SDDC.
Note: Objects should always be created or deserialized using theInitialClusterConfiguration.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 theInitialClusterConfiguration.Builder, which maintain a set of all explicitly set fields calledInitialClusterConfiguration.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 classInitialClusterConfiguration.Builder
-
Constructor Summary
Constructors Constructor 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, List<String> datastoreClusterIds)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InitialClusterConfiguration.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCapacityReservationId()The OCID of the Capacity Reservation.StringgetComputeAvailabilityDomain()The availability domain to create the Cluster’s ESXi hosts in.List<String>getDatastoreClusterIds()A list of datastore clusters.List<DatastoreInfo>getDatastores()A list of datastore info for the Cluster.StringgetDisplayName()A descriptive name for the Cluster.IntegergetEsxiHostsCount()The number of ESXi hosts to create in the Cluster.CommitmentgetInitialCommitment()The billing option selected during Cluster creation.FloatgetInitialHostOcpuCount()The initial OCPU count of the Cluster’s ESXi hosts.StringgetInitialHostShapeName()The initial compute shape of the Cluster’s ESXi hosts.StringgetInstanceDisplayNamePrefix()A prefix used in the name of each ESXi host and Compute instance in the Cluster.BooleangetIsShieldedInstanceEnabled()Indicates whether shielded instance is enabled for this Cluster.NetworkConfigurationgetNetworkConfiguration()VsphereTypesgetVsphereType()vSphere Cluster types.StringgetWorkloadNetworkCidr()The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application workloads.inthashCode()InitialClusterConfiguration.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
InitialClusterConfiguration
@Deprecated @ConstructorProperties({"vsphereType","computeAvailabilityDomain","displayName","instanceDisplayNamePrefix","esxiHostsCount","networkConfiguration","initialCommitment","workloadNetworkCidr","initialHostShapeName","initialHostOcpuCount","isShieldedInstanceEnabled","capacityReservationId","datastores","datastoreClusterIds"}) 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, List<String> datastoreClusterIds)
Deprecated.
-
-
Method Detail
-
builder
public static InitialClusterConfiguration.Builder builder()
Create a new builder.
-
toBuilder
public InitialClusterConfiguration.Builder toBuilder()
-
getVsphereType
public VsphereTypes getVsphereType()
vSphere Cluster types.- Returns:
- the value
-
getComputeAvailabilityDomain
public String getComputeAvailabilityDomain()
The availability domain to create the Cluster’s ESXi hosts in.For multi-AD Cluster deployment, set to multi-AD.
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A descriptive name for the Cluster.Cluster name requirements are 1-22 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.
- Returns:
- the value
-
getInstanceDisplayNamePrefix
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.
- Returns:
- the value
-
getEsxiHostsCount
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.
- Returns:
- the value
-
getNetworkConfiguration
public NetworkConfiguration getNetworkConfiguration()
-
getInitialCommitment
public Commitment getInitialCommitment()
The billing option selected during Cluster creation.listSupportedCommitments.- Returns:
- the value
-
getWorkloadNetworkCidr
public String getWorkloadNetworkCidr()
The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application workloads.- Returns:
- the value
-
getInitialHostShapeName
public String getInitialHostShapeName()
The initial compute shape of the Cluster’s ESXi hosts.listSupportedHostShapes.- Returns:
- the value
-
getInitialHostOcpuCount
public Float getInitialHostOcpuCount()
The initial OCPU count of the Cluster’s ESXi hosts.- Returns:
- the value
-
getIsShieldedInstanceEnabled
public Boolean getIsShieldedInstanceEnabled()
Indicates whether shielded instance is enabled for this Cluster.- Returns:
- the value
-
getCapacityReservationId
public String getCapacityReservationId()
The OCID of the Capacity Reservation.- Returns:
- the value
-
getDatastores
public List<DatastoreInfo> getDatastores()
A list of datastore info for the Cluster.This value is required only when initialHostShapeName is a standard shape.
- Returns:
- the value
-
getDatastoreClusterIds
public List<String> getDatastoreClusterIds()
A list of datastore clusters.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-