NetworkConfig¶
- class oci.bds.models.NetworkConfig(**kwargs)¶
Bases:
objectAdditional configuration of the user’s network.
Methods:
__init__(**kwargs)Initializes a new NetworkConfig object with values from keyword arguments.
Attributes:
Gets the cidr_block of this NetworkConfig.
Gets the is_nat_gateway_required of this NetworkConfig.
- __init__(**kwargs)¶
Initializes a new NetworkConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_nat_gateway_required (bool) – The value to assign to the is_nat_gateway_required property of this NetworkConfig.
cidr_block (str) – The value to assign to the cidr_block property of this NetworkConfig.
- property cidr_block¶
Gets the cidr_block of this NetworkConfig. The CIDR IP address block of the VCN.
- Returns
The cidr_block of this NetworkConfig.
- Return type
str
- property is_nat_gateway_required¶
Gets the is_nat_gateway_required of this NetworkConfig. A boolean flag whether to configure a NAT gateway.
- Returns
The is_nat_gateway_required of this NetworkConfig.
- Return type
bool