ClusterEndpointConfig

class oci.container_engine.models.ClusterEndpointConfig(**kwargs)

Bases: object

The properties that define the network configuration for the Cluster endpoint.

Methods

__init__(**kwargs) Initializes a new ClusterEndpointConfig object with values from keyword arguments.

Attributes

is_public_ip_enabled Gets the is_public_ip_enabled of this ClusterEndpointConfig.
nsg_ids Gets the nsg_ids of this ClusterEndpointConfig.
security_attributes Gets the security_attributes of this ClusterEndpointConfig.
subnet_id Gets the subnet_id of this ClusterEndpointConfig.
__init__(**kwargs)

Initializes a new ClusterEndpointConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • subnet_id (str) – The value to assign to the subnet_id property of this ClusterEndpointConfig.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this ClusterEndpointConfig.
  • is_public_ip_enabled (bool) – The value to assign to the is_public_ip_enabled property of this ClusterEndpointConfig.
  • security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this ClusterEndpointConfig.
is_public_ip_enabled

Gets the is_public_ip_enabled of this ClusterEndpointConfig. Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.

Returns:The is_public_ip_enabled of this ClusterEndpointConfig.
Return type:bool
nsg_ids

Gets the nsg_ids of this ClusterEndpointConfig. A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.

Returns:The nsg_ids of this ClusterEndpointConfig.
Return type:list[str]
security_attributes

Gets the security_attributes of this ClusterEndpointConfig. Security attributes are labels

for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.
Returns:The security_attributes of this ClusterEndpointConfig.
Return type:dict(str, dict(str, object))
subnet_id

Gets the subnet_id of this ClusterEndpointConfig. The OCID of the regional subnet in which to place the Cluster endpoint.

Returns:The subnet_id of this ClusterEndpointConfig.
Return type:str