PrivateEndpointChannel¶
- class oci.devops.models.PrivateEndpointChannel(**kwargs)¶
Bases:
NetworkChannelSpecifies the configuration to access private endpoint.
Attributes:
A constant which can be used with the network_channel_type property of a NetworkChannel.
A constant which can be used with the network_channel_type property of a NetworkChannel.
[Required] Gets the network_channel_type of this NetworkChannel.
Gets the nsg_ids of this PrivateEndpointChannel.
[Required] Gets the subnet_id of this PrivateEndpointChannel.
Methods:
__init__(**kwargs)Initializes a new PrivateEndpointChannel 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_CHANNEL_TYPE_PRIVATE_ENDPOINT_CHANNEL = 'PRIVATE_ENDPOINT_CHANNEL'¶
A constant which can be used with the network_channel_type property of a NetworkChannel. This constant has a value of “PRIVATE_ENDPOINT_CHANNEL”
- NETWORK_CHANNEL_TYPE_SERVICE_VNIC_CHANNEL = 'SERVICE_VNIC_CHANNEL'¶
A constant which can be used with the network_channel_type property of a NetworkChannel. This constant has a value of “SERVICE_VNIC_CHANNEL”
- __init__(**kwargs)¶
Initializes a new PrivateEndpointChannel object with values from keyword arguments. The default value of the
network_channel_typeattribute of this class isPRIVATE_ENDPOINT_CHANNELand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
network_channel_type (str) – The value to assign to the network_channel_type property of this PrivateEndpointChannel. Allowed values for this property are: “PRIVATE_ENDPOINT_CHANNEL”, “SERVICE_VNIC_CHANNEL”
subnet_id (str) – The value to assign to the subnet_id property of this PrivateEndpointChannel.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this PrivateEndpointChannel.
- 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_channel_type¶
[Required] Gets the network_channel_type of this NetworkChannel. Network channel type.
Allowed values for this property are: “PRIVATE_ENDPOINT_CHANNEL”, “SERVICE_VNIC_CHANNEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The network_channel_type of this NetworkChannel.
- Return type
str
- property nsg_ids¶
Gets the nsg_ids of this PrivateEndpointChannel. An array of network security group OCIDs.
- Returns
The nsg_ids of this PrivateEndpointChannel.
- Return type
list[str]
- property subnet_id¶
[Required] Gets the subnet_id of this PrivateEndpointChannel. The OCID of the subnet where VNIC resources will be created for private endpoint.
- Returns
The subnet_id of this PrivateEndpointChannel.
- Return type
str