InitialClusterConfiguration¶
-
class
oci.ocvp.models.
InitialClusterConfiguration
(**kwargs)¶ Bases:
object
Details of the initial Cluster of SDDC.
Attributes
INITIAL_COMMITMENT_HOUR
A constant which can be used with the initial_commitment property of a InitialClusterConfiguration. INITIAL_COMMITMENT_MONTH
A constant which can be used with the initial_commitment property of a InitialClusterConfiguration. INITIAL_COMMITMENT_ONE_YEAR
A constant which can be used with the initial_commitment property of a InitialClusterConfiguration. INITIAL_COMMITMENT_THREE_YEARS
A constant which can be used with the initial_commitment property of a InitialClusterConfiguration. VSPHERE_TYPE_MANAGEMENT
A constant which can be used with the vsphere_type property of a InitialClusterConfiguration. VSPHERE_TYPE_WORKLOAD
A constant which can be used with the vsphere_type property of a InitialClusterConfiguration. capacity_reservation_id
Gets the capacity_reservation_id of this InitialClusterConfiguration. compute_availability_domain
[Required] Gets the compute_availability_domain of this InitialClusterConfiguration. datastores
Gets the datastores of this InitialClusterConfiguration. display_name
Gets the display_name of this InitialClusterConfiguration. esxi_hosts_count
[Required] Gets the esxi_hosts_count of this InitialClusterConfiguration. initial_commitment
Gets the initial_commitment of this InitialClusterConfiguration. initial_host_ocpu_count
Gets the initial_host_ocpu_count of this InitialClusterConfiguration. initial_host_shape_name
Gets the initial_host_shape_name of this InitialClusterConfiguration. instance_display_name_prefix
Gets the instance_display_name_prefix of this InitialClusterConfiguration. is_shielded_instance_enabled
Gets the is_shielded_instance_enabled of this InitialClusterConfiguration. network_configuration
[Required] Gets the network_configuration of this InitialClusterConfiguration. vsphere_type
[Required] Gets the vsphere_type of this InitialClusterConfiguration. workload_network_cidr
Gets the workload_network_cidr of this InitialClusterConfiguration. Methods
__init__
(**kwargs)Initializes a new InitialClusterConfiguration object with values from keyword arguments. -
INITIAL_COMMITMENT_HOUR
= 'HOUR'¶ A constant which can be used with the initial_commitment property of a InitialClusterConfiguration. This constant has a value of “HOUR”
-
INITIAL_COMMITMENT_MONTH
= 'MONTH'¶ A constant which can be used with the initial_commitment property of a InitialClusterConfiguration. This constant has a value of “MONTH”
-
INITIAL_COMMITMENT_ONE_YEAR
= 'ONE_YEAR'¶ A constant which can be used with the initial_commitment property of a InitialClusterConfiguration. This constant has a value of “ONE_YEAR”
-
INITIAL_COMMITMENT_THREE_YEARS
= 'THREE_YEARS'¶ A constant which can be used with the initial_commitment property of a InitialClusterConfiguration. This constant has a value of “THREE_YEARS”
-
VSPHERE_TYPE_MANAGEMENT
= 'MANAGEMENT'¶ A constant which can be used with the vsphere_type property of a InitialClusterConfiguration. This constant has a value of “MANAGEMENT”
-
VSPHERE_TYPE_WORKLOAD
= 'WORKLOAD'¶ A constant which can be used with the vsphere_type property of a InitialClusterConfiguration. This constant has a value of “WORKLOAD”
-
__init__
(**kwargs)¶ Initializes a new InitialClusterConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - vsphere_type (str) – The value to assign to the vsphere_type property of this InitialClusterConfiguration. Allowed values for this property are: “MANAGEMENT”, “WORKLOAD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- compute_availability_domain (str) – The value to assign to the compute_availability_domain property of this InitialClusterConfiguration.
- display_name (str) – The value to assign to the display_name property of this InitialClusterConfiguration.
- instance_display_name_prefix (str) – The value to assign to the instance_display_name_prefix property of this InitialClusterConfiguration.
- esxi_hosts_count (int) – The value to assign to the esxi_hosts_count property of this InitialClusterConfiguration.
- network_configuration (oci.ocvp.models.NetworkConfiguration) – The value to assign to the network_configuration property of this InitialClusterConfiguration.
- initial_commitment (str) – The value to assign to the initial_commitment property of this InitialClusterConfiguration. Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- workload_network_cidr (str) – The value to assign to the workload_network_cidr property of this InitialClusterConfiguration.
- initial_host_shape_name (str) – The value to assign to the initial_host_shape_name property of this InitialClusterConfiguration.
- initial_host_ocpu_count (float) – The value to assign to the initial_host_ocpu_count property of this InitialClusterConfiguration.
- is_shielded_instance_enabled (bool) – The value to assign to the is_shielded_instance_enabled property of this InitialClusterConfiguration.
- capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this InitialClusterConfiguration.
- datastores (list[oci.ocvp.models.DatastoreInfo]) – The value to assign to the datastores property of this InitialClusterConfiguration.
-
capacity_reservation_id
¶ Gets the capacity_reservation_id of this InitialClusterConfiguration. The OCID of the Capacity Reservation.
Returns: The capacity_reservation_id of this InitialClusterConfiguration. Return type: str
-
compute_availability_domain
¶ [Required] Gets the compute_availability_domain of this InitialClusterConfiguration. The availability domain to create the Cluster’s ESXi hosts in. For multi-AD Cluster deployment, set to multi-AD.
Returns: The compute_availability_domain of this InitialClusterConfiguration. Return type: str
-
datastores
¶ Gets the datastores of this InitialClusterConfiguration. A list of datastore info for the Cluster. This value is required only when initialHostShapeName is a standard shape.
Returns: The datastores of this InitialClusterConfiguration. Return type: list[oci.ocvp.models.DatastoreInfo]
-
display_name
¶ Gets the display_name of this InitialClusterConfiguration. 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 display_name of this InitialClusterConfiguration. Return type: str
-
esxi_hosts_count
¶ [Required] Gets the esxi_hosts_count of this InitialClusterConfiguration. The number of ESXi hosts to create in the Cluster. You can add more hosts later (see
create_esxi_host()
). 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 esxi_hosts_count of this InitialClusterConfiguration. Return type: int
-
initial_commitment
¶ Gets the initial_commitment of this InitialClusterConfiguration. The billing option selected during Cluster creation.
list_supported_commitments()
.Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The initial_commitment of this InitialClusterConfiguration. Return type: str
-
initial_host_ocpu_count
¶ Gets the initial_host_ocpu_count of this InitialClusterConfiguration. The initial OCPU count of the Cluster’s ESXi hosts.
Returns: The initial_host_ocpu_count of this InitialClusterConfiguration. Return type: float
-
initial_host_shape_name
¶ Gets the initial_host_shape_name of this InitialClusterConfiguration. The initial compute shape of the Cluster’s ESXi hosts.
list_supported_host_shapes()
.Returns: The initial_host_shape_name of this InitialClusterConfiguration. Return type: str
-
instance_display_name_prefix
¶ Gets the instance_display_name_prefix of this InitialClusterConfiguration. 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 instance_display_name_prefix of this InitialClusterConfiguration. Return type: str
-
is_shielded_instance_enabled
¶ Gets the is_shielded_instance_enabled of this InitialClusterConfiguration. Indicates whether shielded instance is enabled for this Cluster.
Returns: The is_shielded_instance_enabled of this InitialClusterConfiguration. Return type: bool
-
network_configuration
¶ [Required] Gets the network_configuration of this InitialClusterConfiguration.
Returns: The network_configuration of this InitialClusterConfiguration. Return type: oci.ocvp.models.NetworkConfiguration
-
vsphere_type
¶ [Required] Gets the vsphere_type of this InitialClusterConfiguration. vSphere Cluster types.
Allowed values for this property are: “MANAGEMENT”, “WORKLOAD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The vsphere_type of this InitialClusterConfiguration. Return type: str
-
workload_network_cidr
¶ Gets the workload_network_cidr of this InitialClusterConfiguration. The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application workloads.
Returns: The workload_network_cidr of this InitialClusterConfiguration. Return type: str
-