ServiceVnicChannel¶
-
class
oci.devops.models.
ServiceVnicChannel
(**kwargs)¶ Bases:
oci.devops.models.network_channel.NetworkChannel
Specifies the configuration to access private resources in customer tenancy using service managed VNIC.
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 ServiceVnicChannel. subnet_id
[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'¶
-
NETWORK_CHANNEL_TYPE_SERVICE_VNIC_CHANNEL
= 'SERVICE_VNIC_CHANNEL'¶
-
__init__
(**kwargs)¶ Initializes a new ServiceVnicChannel object with values from keyword arguments. The default value of the
network_channel_type
attribute of this class isSERVICE_VNIC_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 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.
-
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 ServiceVnicChannel. An array of network security group OCIDs.
Returns: The nsg_ids of this ServiceVnicChannel. Return type: list[str]
-
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
-