UpdateInstancePoolInfrastructureConfigurationDetails¶
- class oci.data_science.models.UpdateInstancePoolInfrastructureConfigurationDetails(**kwargs)¶
Bases:
UpdateInfrastructureConfigurationDetailsInstance Pool based Infrastructure configuration details for update.
Attributes:
A constant which can be used with the infrastructure_type property of a UpdateInfrastructureConfigurationDetails.
Gets the bandwidth_mbps of this UpdateInstancePoolInfrastructureConfigurationDetails.
Gets the infrastructure_type of this UpdateInfrastructureConfigurationDetails.
Gets the instance_configuration of this UpdateInstancePoolInfrastructureConfigurationDetails.
Gets the maximum_bandwidth_mbps of this UpdateInstancePoolInfrastructureConfigurationDetails.
Gets the scaling_policy of this UpdateInstancePoolInfrastructureConfigurationDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateInstancePoolInfrastructureConfigurationDetails 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 UpdateInfrastructureConfigurationDetails. This constant has a value of “INSTANCE_POOL”
- __init__(**kwargs)¶
Initializes a new UpdateInstancePoolInfrastructureConfigurationDetails 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 UpdateInstancePoolInfrastructureConfigurationDetails. 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 UpdateInstancePoolInfrastructureConfigurationDetails.
scaling_policy (oci.data_science.models.ScalingPolicy) – The value to assign to the scaling_policy property of this UpdateInstancePoolInfrastructureConfigurationDetails.
bandwidth_mbps (int) – The value to assign to the bandwidth_mbps property of this UpdateInstancePoolInfrastructureConfigurationDetails.
maximum_bandwidth_mbps (int) – The value to assign to the maximum_bandwidth_mbps property of this UpdateInstancePoolInfrastructureConfigurationDetails.
- property bandwidth_mbps¶
Gets the bandwidth_mbps of this UpdateInstancePoolInfrastructureConfigurationDetails. The minimum network bandwidth for the model deployment.
- Returns
The bandwidth_mbps of this UpdateInstancePoolInfrastructureConfigurationDetails.
- 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¶
Gets the infrastructure_type of this UpdateInfrastructureConfigurationDetails. The type of the model deployment infrastructure.
Allowed values for this property are: “INSTANCE_POOL”
- Returns
The infrastructure_type of this UpdateInfrastructureConfigurationDetails.
- Return type
str
- property instance_configuration¶
Gets the instance_configuration of this UpdateInstancePoolInfrastructureConfigurationDetails.
- Returns
The instance_configuration of this UpdateInstancePoolInfrastructureConfigurationDetails.
- Return type
- property maximum_bandwidth_mbps¶
Gets the maximum_bandwidth_mbps of this UpdateInstancePoolInfrastructureConfigurationDetails. The maximum network bandwidth for the model deployment.
- Returns
The maximum_bandwidth_mbps of this UpdateInstancePoolInfrastructureConfigurationDetails.
- Return type
int
- property scaling_policy¶
Gets the scaling_policy of this UpdateInstancePoolInfrastructureConfigurationDetails.
- Returns
The scaling_policy of this UpdateInstancePoolInfrastructureConfigurationDetails.
- Return type