ServiceVnicChannel¶
- class oci.devops.models.ServiceVnicChannel(**kwargs)¶
Bases:
NetworkChannelSpecifies the configuration to access private resources in customer tenancy using service managed VNIC.
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 ServiceVnicChannel.
[Required] Gets the subnet_id of this ServiceVnicChannel.
Methods:
__init__(**kwargs)Initializes a new ServiceVnicChannel 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 ServiceVnicChannel object with values from keyword arguments. The default value of the
network_channel_typeattribute of this class isSERVICE_VNIC_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 ServiceVnicChannel. 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 ServiceVnicChannel.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this ServiceVnicChannel.
- 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 ServiceVnicChannel. An array of network security group OCIDs.
- Returns
The nsg_ids of this ServiceVnicChannel.
- Return type
list[str]
- property subnet_id¶
[Required] Gets the subnet_id of this ServiceVnicChannel. The OCID of the subnet where private resources exist.
- Returns
The subnet_id of this ServiceVnicChannel.
- Return type
str