Class InitialClusterConfiguration


  • @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).
    • Constructor Detail

      • InitialClusterConfiguration

        @Deprecated
        @ConstructorProperties({"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)
        Deprecated.
    • Method Detail

      • 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-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.

        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
      • 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
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel