Class CreateClusterDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20230701")
    public final class CreateClusterDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details of the Cluster.
    Note: Objects should always be created or deserialized using the CreateClusterDetails.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 CreateClusterDetails.Builder, which maintain a set of all explicitly set fields called CreateClusterDetails.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

      • CreateClusterDetails

        @Deprecated
        @ConstructorProperties({"sddcId","computeAvailabilityDomain","displayName","instanceDisplayNamePrefix","esxiHostsCount","networkConfiguration","initialCommitment","workloadNetworkCidr","initialHostShapeName","initialHostOcpuCount","isShieldedInstanceEnabled","capacityReservationId","datastores","vmwareSoftwareVersion","esxiSoftwareVersion","freeformTags","definedTags"})
        public CreateClusterDetails​(String sddcId,
                                    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,
                                    String vmwareSoftwareVersion,
                                    String esxiSoftwareVersion,
                                    Map<String,​String> freeformTags,
                                    Map<String,​Map<String,​Object>> definedTags)
        Deprecated.
    • Method Detail

      • getSddcId

        public String getSddcId()
        The OCID of the SDDC that the Cluster belongs to.
        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).

        *Note:** If you later delete EXSi hosts from a production Cluster to make SDDC total host count 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 the SDDC 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
      • getVmwareSoftwareVersion

        public String getVmwareSoftwareVersion()
        The VMware software bundle to install on the ESXi hosts in the Cluster.

        To get a list of the available versions, use listSupportedVmwareSoftwareVersions.

        Returns:
        the value
      • getEsxiSoftwareVersion

        public String getEsxiSoftwareVersion()
        The ESXi software bundle to install on the ESXi hosts in the Cluster.

        Only versions under the same vmwareSoftwareVersion and have been validate by Oracle Cloud VMware Solution will be accepted. To get a list of the available versions, use listSupportedVmwareSoftwareVersions.

        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.

        Example: {"Operations": {"CostCenter": "42"}}

        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