CreateNetworkDetails

class oci.batch.models.CreateNetworkDetails(**kwargs)

Bases: object

Network configuration of the batch context.

Methods

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

Attributes

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

Initializes a new CreateNetworkDetails 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 CreateNetworkDetails.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateNetworkDetails.
nsg_ids

Gets the nsg_ids of this CreateNetworkDetails. A list of OCIDs of associated network security groups.

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

[Required] Gets the subnet_id of this CreateNetworkDetails. OCID of associated subnet.

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