InstancePoolInfrastructureConfigurationDetails¶
- class oci.data_science.models.InstancePoolInfrastructureConfigurationDetails(**kwargs)¶
Bases:
InfrastructureConfigurationDetailsInstance Pool based Infrastructure configuration details.
Attributes:
A constant which can be used with the infrastructure_type property of a InfrastructureConfigurationDetails.
Gets the bandwidth_mbps of this InstancePoolInfrastructureConfigurationDetails.
[Required] Gets the infrastructure_type of this InfrastructureConfigurationDetails.
[Required] Gets the instance_configuration of this InstancePoolInfrastructureConfigurationDetails.
Gets the maximum_bandwidth_mbps of this InstancePoolInfrastructureConfigurationDetails.
Gets the scaling_policy of this InstancePoolInfrastructureConfigurationDetails.
Methods:
__init__(**kwargs)Initializes a new InstancePoolInfrastructureConfigurationDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- INFRASTRUCTURE_TYPE_INSTANCE_POOL = 'INSTANCE_POOL'¶
A constant which can be used with the infrastructure_type property of a InfrastructureConfigurationDetails. This constant has a value of “INSTANCE_POOL”
- __init__(**kwargs)¶
Initializes a new InstancePoolInfrastructureConfigurationDetails object with values from keyword arguments. The default value of the
infrastructure_typeattribute of this class isINSTANCE_POOLand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
infrastructure_type (str) – The value to assign to the infrastructure_type property of this InstancePoolInfrastructureConfigurationDetails. Allowed values for this property are: “INSTANCE_POOL”
instance_configuration (oci.data_science.models.InstanceConfiguration) – The value to assign to the instance_configuration property of this InstancePoolInfrastructureConfigurationDetails.
scaling_policy (oci.data_science.models.ScalingPolicy) – The value to assign to the scaling_policy property of this InstancePoolInfrastructureConfigurationDetails.
bandwidth_mbps (int) – The value to assign to the bandwidth_mbps property of this InstancePoolInfrastructureConfigurationDetails.
maximum_bandwidth_mbps (int) – The value to assign to the maximum_bandwidth_mbps property of this InstancePoolInfrastructureConfigurationDetails.
- property bandwidth_mbps¶
Gets the bandwidth_mbps of this InstancePoolInfrastructureConfigurationDetails. The minimum network bandwidth for the model deployment.
- Returns
The bandwidth_mbps of this InstancePoolInfrastructureConfigurationDetails.
- Return type
int
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property infrastructure_type¶
[Required] Gets the infrastructure_type of this InfrastructureConfigurationDetails. The type of the model deployment infrastructure.
Allowed values for this property are: “INSTANCE_POOL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The infrastructure_type of this InfrastructureConfigurationDetails.
- Return type
str
- property instance_configuration¶
[Required] Gets the instance_configuration of this InstancePoolInfrastructureConfigurationDetails.
- Returns
The instance_configuration of this InstancePoolInfrastructureConfigurationDetails.
- Return type
- property maximum_bandwidth_mbps¶
Gets the maximum_bandwidth_mbps of this InstancePoolInfrastructureConfigurationDetails. The maximum network bandwidth for the model deployment.
- Returns
The maximum_bandwidth_mbps of this InstancePoolInfrastructureConfigurationDetails.
- Return type
int
- property scaling_policy¶
Gets the scaling_policy of this InstancePoolInfrastructureConfigurationDetails.
- Returns
The scaling_policy of this InstancePoolInfrastructureConfigurationDetails.
- Return type