NetworkConfiguration

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

Bases: object

A network configuration defines the required network characteristics for the remediation run of the recipe to access the source repository and/or verify build services.

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.

property 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]

property 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