NetworkChannel¶
- class oci.devops.models.NetworkChannel(**kwargs)¶
Bases:
objectSpecifies the configuration needed when the target OCI resource, i.e., OKE cluster, resides in customer’s private network.
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.
Methods:
__init__(**kwargs)Initializes a new NetworkChannel 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 NetworkChannel object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 NetworkChannel. 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’.
- 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