PrivateEndpointChannel¶
-
class
oci.devops.models.
PrivateEndpointChannel
(**kwargs)¶ Bases:
oci.devops.models.network_channel.NetworkChannel
Specifies the configuration to access private endpoint.
Attributes
NETWORK_CHANNEL_TYPE_PRIVATE_ENDPOINT_CHANNEL
str(object=’’) -> str NETWORK_CHANNEL_TYPE_SERVICE_VNIC_CHANNEL
str(object=’’) -> str network_channel_type
[Required] Gets the network_channel_type of this NetworkChannel. nsg_ids
Gets the nsg_ids of this PrivateEndpointChannel. subnet_id
[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'¶
-
NETWORK_CHANNEL_TYPE_SERVICE_VNIC_CHANNEL
= 'SERVICE_VNIC_CHANNEL'¶
-
__init__
(**kwargs)¶ Initializes a new PrivateEndpointChannel object with values from keyword arguments. The default value of the
network_channel_type
attribute of this class isPRIVATE_ENDPOINT_CHANNEL
and 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.
-
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
-
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]
-
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
-