PublicEndpointDetails

class oci.visual_builder.models.PublicEndpointDetails(**kwargs)

Bases: NetworkEndpointDetails

Public endpoint configuration details.

Attributes:

NETWORK_ENDPOINT_TYPE_PRIVATE

A constant which can be used with the network_endpoint_type property of a NetworkEndpointDetails.

NETWORK_ENDPOINT_TYPE_PUBLIC

A constant which can be used with the network_endpoint_type property of a NetworkEndpointDetails.

allowlisted_http_ips

Gets the allowlisted_http_ips of this PublicEndpointDetails.

allowlisted_http_vcns

Gets the allowlisted_http_vcns of this PublicEndpointDetails.

network_endpoint_type

[Required] Gets the network_endpoint_type of this NetworkEndpointDetails.

Methods:

__init__(**kwargs)

Initializes a new PublicEndpointDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

NETWORK_ENDPOINT_TYPE_PRIVATE = 'PRIVATE'

A constant which can be used with the network_endpoint_type property of a NetworkEndpointDetails. This constant has a value of “PRIVATE”

NETWORK_ENDPOINT_TYPE_PUBLIC = 'PUBLIC'

A constant which can be used with the network_endpoint_type property of a NetworkEndpointDetails. This constant has a value of “PUBLIC”

__init__(**kwargs)

Initializes a new PublicEndpointDetails object with values from keyword arguments. The default value of the network_endpoint_type attribute of this class is PUBLIC and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • network_endpoint_type (str) – The value to assign to the network_endpoint_type property of this PublicEndpointDetails. Allowed values for this property are: “PUBLIC”, “PRIVATE”

  • allowlisted_http_ips (list[str]) – The value to assign to the allowlisted_http_ips property of this PublicEndpointDetails.

  • allowlisted_http_vcns (list[oci.visual_builder.models.VirtualCloudNetwork]) – The value to assign to the allowlisted_http_vcns property of this PublicEndpointDetails.

property allowlisted_http_ips

Gets the allowlisted_http_ips of this PublicEndpointDetails. Source IP addresses or IP address ranges ingress rules. (ex: “168.122.59.5/32”, “10.20.30.0/26”) An invalid IP or CIDR block will result in a 400 response.

Returns

The allowlisted_http_ips of this PublicEndpointDetails.

Return type

list[str]

property allowlisted_http_vcns

Gets the allowlisted_http_vcns of this PublicEndpointDetails. Virtual Cloud Networks allowed to access this network endpoint.

Returns

The allowlisted_http_vcns of this PublicEndpointDetails.

Return type

list[oci.visual_builder.models.VirtualCloudNetwork]

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property network_endpoint_type

[Required] Gets the network_endpoint_type of this NetworkEndpointDetails. The type of network endpoint.

Allowed values for this property are: “PUBLIC”, “PRIVATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The network_endpoint_type of this NetworkEndpointDetails.

Return type

str