ModelDeploymentScalingProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scaling configuration for a model deployment. Exactly one of manual or
autoscale must be set.
This mutual-exclusion constraint is enforced by the service at request
validation time, not by the schema. A PUT request that sets both manual
and autoscale, or sets neither, is rejected with HTTP 400 (Bad Request)
and an InvalidScalingProfile error code;
Scale-to-zero semantics differ between the two modes:
- `manual` permits `replicas: 0`. This is an explicit operator action to
- `autoscale` does not permit `minReplicas: 0`. Autoscaling decisions are
public class ModelDeploymentScalingProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerServiceAIManager.Models.ModelDeploymentScalingProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerServiceAIManager.Models.ModelDeploymentScalingProfile>
type ModelDeploymentScalingProfile = class
interface IJsonModel<ModelDeploymentScalingProfile>
interface IPersistableModel<ModelDeploymentScalingProfile>
Public Class ModelDeploymentScalingProfile
Implements IJsonModel(Of ModelDeploymentScalingProfile), IPersistableModel(Of ModelDeploymentScalingProfile)
- Inheritance
-
ModelDeploymentScalingProfile
- Implements
Constructors
| Name | Description |
|---|---|
| ModelDeploymentScalingProfile() |
Initializes a new instance of ModelDeploymentScalingProfile. |
Properties
| Name | Description |
|---|---|
| Autoscale |
Autoscaling configuration. Mutually exclusive with |
| ManualReplicas |
Fixed number of replicas. May be |