NetworkConfiguration

class oci.adm.models.NetworkConfiguration(**kwargs)

Bases: object

A network configuration defines the required network characteristics for an ADM remediation recipe. A network configuration is required if the build service is one of: GitHub Actions, GitLab Pipeline, or Jenkins Pipeline.

Methods

__init__(**kwargs) Initializes a new NetworkConfiguration object with values from keyword arguments.

Attributes

nsg_ids Gets the nsg_ids of this NetworkConfiguration.
subnet_id [Required] Gets the subnet_id of this NetworkConfiguration.
__init__(**kwargs)

Initializes a new NetworkConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • subnet_id (str) – The value to assign to the subnet_id property of this NetworkConfiguration.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this NetworkConfiguration.
nsg_ids

Gets the nsg_ids of this NetworkConfiguration. The list of Oracle Cloud Identifiers (OCID) corresponding to Network Security Groups.

Returns:The nsg_ids of this NetworkConfiguration.
Return type:list[str]
subnet_id

[Required] Gets the subnet_id of this NetworkConfiguration. The Oracle Cloud Identifier (OCID) of the subnet.

Returns:The subnet_id of this NetworkConfiguration.
Return type:str