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:
[Required] Gets the nsg_ids of this Network.
[Required] Gets the subnet_id of this Network.
[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.
- property 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]
- property subnet_id¶
[Required] Gets the subnet_id of this Network. OCID of associated subnet.
- Returns
The subnet_id of this Network.
- Return type
str
- property 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]