ShapeNetworkingBandwidthOptions¶
- class oci.core.models.ShapeNetworkingBandwidthOptions(**kwargs)¶
Bases:
objectFor a flexible shape, the amount of networking bandwidth available for instances that use this shape.
If this field is null, then this shape has a fixed amount of bandwidth equivalent to networkingBandwidthInGbps.
Methods:
__init__(**kwargs)Initializes a new ShapeNetworkingBandwidthOptions object with values from keyword arguments.
Attributes:
Gets the default_per_ocpu_in_gbps of this ShapeNetworkingBandwidthOptions.
Gets the max_in_gbps of this ShapeNetworkingBandwidthOptions.
Gets the min_in_gbps of this ShapeNetworkingBandwidthOptions.
- __init__(**kwargs)¶
Initializes a new ShapeNetworkingBandwidthOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
min_in_gbps (float) – The value to assign to the min_in_gbps property of this ShapeNetworkingBandwidthOptions.
max_in_gbps (float) – The value to assign to the max_in_gbps property of this ShapeNetworkingBandwidthOptions.
default_per_ocpu_in_gbps (float) – The value to assign to the default_per_ocpu_in_gbps property of this ShapeNetworkingBandwidthOptions.
- property default_per_ocpu_in_gbps¶
Gets the default_per_ocpu_in_gbps of this ShapeNetworkingBandwidthOptions. The default amount of networking bandwidth per OCPU, in gigabits per second.
- Returns
The default_per_ocpu_in_gbps of this ShapeNetworkingBandwidthOptions.
- Return type
float
- property max_in_gbps¶
Gets the max_in_gbps of this ShapeNetworkingBandwidthOptions. The maximum amount of networking bandwidth, in gigabits per second.
- Returns
The max_in_gbps of this ShapeNetworkingBandwidthOptions.
- Return type
float
- property min_in_gbps¶
Gets the min_in_gbps of this ShapeNetworkingBandwidthOptions. The minimum amount of networking bandwidth, in gigabits per second.
- Returns
The min_in_gbps of this ShapeNetworkingBandwidthOptions.
- Return type
float