AiDeploymentResourcePoolDedicatedResourcesArgs

data class AiDeploymentResourcePoolDedicatedResourcesArgs(val autoscalingMetricSpecs: Output<List<AiDeploymentResourcePoolDedicatedResourcesAutoscalingMetricSpecArgs>>? = null, val machineSpec: Output<AiDeploymentResourcePoolDedicatedResourcesMachineSpecArgs>, val maxReplicaCount: Output<Int>? = null, val minReplicaCount: Output<Int>) : ConvertibleToJava<AiDeploymentResourcePoolDedicatedResourcesArgs>

Constructors

constructor(autoscalingMetricSpecs: Output<List<AiDeploymentResourcePoolDedicatedResourcesAutoscalingMetricSpecArgs>>? = null, machineSpec: Output<AiDeploymentResourcePoolDedicatedResourcesMachineSpecArgs>, maxReplicaCount: Output<Int>? = null, minReplicaCount: Output<Int>)

Properties

Link copied to clipboard

A list of the metric specifications that overrides a resource utilization metric. Structure is documented below.

Link copied to clipboard

The specification of a single machine used by the prediction Structure is documented below.

Link copied to clipboard
val maxReplicaCount: Output<Int>? = null

The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use min_replica_count as the default value. The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type).

Link copied to clipboard
val minReplicaCount: Output<Int>

The minimum number of machine replicas this DeployedModel will be always deployed on. This value must be greater than or equal to 1. If traffic against the DeployedModel increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed.

Functions

Link copied to clipboard
open override fun toJava(): AiDeploymentResourcePoolDedicatedResourcesArgs