Network¶
-
class
oci.batch.models.Network(**kwargs)¶ Bases:
objectNetwork configuration of the batch context.
Methods
__init__(**kwargs)Initializes a new Network object with values from keyword arguments. Attributes
nsg_ids[Required] Gets the nsg_ids of this Network. subnet_id[Required] Gets the subnet_id of this Network. vnics[Required] Gets the vnics of this Network. -
__init__(**kwargs)¶ Initializes a new Network 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 Network.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this Network.
- vnics (list[oci.batch.models.Vnic]) – The value to assign to the vnics property of this Network.
-
nsg_ids¶ [Required] Gets the nsg_ids of this Network. A list of OCIDs of associated network security groups.
Returns: The nsg_ids of this Network. Return type: list[str]
-
subnet_id¶ [Required] Gets the subnet_id of this Network. OCID of associated subnet.
Returns: The subnet_id of this Network. Return type: str
-
vnics¶ [Required] Gets the vnics of this Network. A list of private endpoint’s VNICs.
Returns: The vnics of this Network. Return type: list[oci.batch.models.Vnic]
-