InitialClusterConfiguration¶
- class oci.ocvp.models.InitialClusterConfiguration(**kwargs)¶
Bases:
objectDetails of the initial Cluster of SDDC.
Attributes:
A constant which can be used with the initial_commitment property of a InitialClusterConfiguration.
A constant which can be used with the initial_commitment property of a InitialClusterConfiguration.
A constant which can be used with the initial_commitment property of a InitialClusterConfiguration.
A constant which can be used with the initial_commitment property of a InitialClusterConfiguration.
A constant which can be used with the initial_fault_domain_host_distribution property of a InitialClusterConfiguration.
A constant which can be used with the initial_fault_domain_host_distribution property of a InitialClusterConfiguration.
A constant which can be used with the vsphere_type property of a InitialClusterConfiguration.
A constant which can be used with the vsphere_type property of a InitialClusterConfiguration.
Gets the capacity_reservation_id of this InitialClusterConfiguration.
Gets the cluster_byol_allocation_details of this InitialClusterConfiguration.
[Required] Gets the compute_availability_domain of this InitialClusterConfiguration.
Gets the datastore_cluster_ids of this InitialClusterConfiguration.
Gets the datastores of this InitialClusterConfiguration.
Gets the display_name of this InitialClusterConfiguration.
[Required] Gets the esxi_hosts_count of this InitialClusterConfiguration.
Gets the initial_commitment of this InitialClusterConfiguration.
Gets the initial_fault_domain_host_distribution of this InitialClusterConfiguration.
Gets the initial_host_ocpu_count of this InitialClusterConfiguration.
Gets the initial_host_shape_name of this InitialClusterConfiguration.
Gets the initial_vcf_byol_allocation_id of this InitialClusterConfiguration.
Gets the instance_display_name_prefix of this InitialClusterConfiguration.
Gets the is_shielded_instance_enabled of this InitialClusterConfiguration.
[Required] Gets the network_configuration of this InitialClusterConfiguration.
[Required] Gets the vsphere_type of this InitialClusterConfiguration.
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”
- INITIAL_FAULT_DOMAIN_HOST_DISTRIBUTION_EVENLY_DISTRIBUTED = 'EVENLY_DISTRIBUTED'¶
A constant which can be used with the initial_fault_domain_host_distribution property of a InitialClusterConfiguration. This constant has a value of “EVENLY_DISTRIBUTED”
- INITIAL_FAULT_DOMAIN_HOST_DISTRIBUTION_UNEVENLY_DISTRIBUTED = 'UNEVENLY_DISTRIBUTED'¶
A constant which can be used with the initial_fault_domain_host_distribution property of a InitialClusterConfiguration. This constant has a value of “UNEVENLY_DISTRIBUTED”
- 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.
datastore_cluster_ids (list[str]) – The value to assign to the datastore_cluster_ids property of this InitialClusterConfiguration.
initial_fault_domain_host_distribution (str) – The value to assign to the initial_fault_domain_host_distribution property of this InitialClusterConfiguration. Allowed values for this property are: “EVENLY_DISTRIBUTED”, “UNEVENLY_DISTRIBUTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
cluster_byol_allocation_details (oci.ocvp.models.ClusterByolAllocationDetails) – The value to assign to the cluster_byol_allocation_details property of this InitialClusterConfiguration.
initial_vcf_byol_allocation_id (str) – The value to assign to the initial_vcf_byol_allocation_id property of this InitialClusterConfiguration.
- property 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
- property cluster_byol_allocation_details¶
Gets the cluster_byol_allocation_details of this InitialClusterConfiguration.
- Returns
The cluster_byol_allocation_details of this InitialClusterConfiguration.
- Return type
- property 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
- property datastore_cluster_ids¶
Gets the datastore_cluster_ids of this InitialClusterConfiguration. A list of datastore clusters.
- Returns
The datastore_cluster_ids of this InitialClusterConfiguration.
- Return type
list[str]
- property 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
- property display_name¶
Gets the display_name of this InitialClusterConfiguration. 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 display_name of this InitialClusterConfiguration.
- Return type
str
- property 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
- property 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
- property initial_fault_domain_host_distribution¶
Gets the initial_fault_domain_host_distribution of this InitialClusterConfiguration. Initial Fault Domain Host distribution mode for the Cluster.
Allowed values for this property are: “EVENLY_DISTRIBUTED”, “UNEVENLY_DISTRIBUTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The initial_fault_domain_host_distribution of this InitialClusterConfiguration.
- Return type
str
- property 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
- property 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
- property initial_vcf_byol_allocation_id¶
Gets the initial_vcf_byol_allocation_id of this InitialClusterConfiguration. The OCID of the initial VMware BYOL Allocation used to deploy VMware Cloud Foundation.
- Returns
The initial_vcf_byol_allocation_id of this InitialClusterConfiguration.
- Return type
str
- property 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
- property 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
- property network_configuration¶
[Required] Gets the network_configuration of this InitialClusterConfiguration.
- Returns
The network_configuration of this InitialClusterConfiguration.
- Return type
- property 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
- property 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