UpdatePublicEndpointDetails¶
- class oci.visual_builder.models.UpdatePublicEndpointDetails(**kwargs)¶
Bases:
UpdateNetworkEndpointDetailsPublic endpoint configuration details (update).
Attributes:
A constant which can be used with the network_endpoint_type property of a UpdateNetworkEndpointDetails.
A constant which can be used with the network_endpoint_type property of a UpdateNetworkEndpointDetails.
Gets the allowlisted_http_ips of this UpdatePublicEndpointDetails.
Gets the allowlisted_http_vcns of this UpdatePublicEndpointDetails.
[Required] Gets the network_endpoint_type of this UpdateNetworkEndpointDetails.
Methods:
__init__(**kwargs)Initializes a new UpdatePublicEndpointDetails 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 UpdateNetworkEndpointDetails. 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 UpdateNetworkEndpointDetails. This constant has a value of “PUBLIC”
- __init__(**kwargs)¶
Initializes a new UpdatePublicEndpointDetails object with values from keyword arguments. The default value of the
network_endpoint_typeattribute of this class isPUBLICand 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 UpdatePublicEndpointDetails. 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 UpdatePublicEndpointDetails.
allowlisted_http_vcns (list[oci.visual_builder.models.VirtualCloudNetwork]) – The value to assign to the allowlisted_http_vcns property of this UpdatePublicEndpointDetails.
- property allowlisted_http_ips¶
Gets the allowlisted_http_ips of this UpdatePublicEndpointDetails. 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 UpdatePublicEndpointDetails.
- Return type
list[str]
- property allowlisted_http_vcns¶
Gets the allowlisted_http_vcns of this UpdatePublicEndpointDetails. Virtual Cloud Networks allowed to access this network endpoint.
- Returns
The allowlisted_http_vcns of this UpdatePublicEndpointDetails.
- Return type
- 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 UpdateNetworkEndpointDetails. The type of network endpoint.
Allowed values for this property are: “PUBLIC”, “PRIVATE”
- Returns
The network_endpoint_type of this UpdateNetworkEndpointDetails.
- Return type
str