Class DeploymentScaleSettings
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.DeploymentScaleSettings
Properties of Cognitive Services account deployment model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the activeCapacity property: Deployment active capacity.capacity()
Get the capacity property: Deployment capacity.Get the scaleType property: Deployment scale type.void
validate()
Validates the instance.withCapacity
(Integer capacity) Set the capacity property: Deployment capacity.withScaleType
(DeploymentScaleType scaleType) Set the scaleType property: Deployment scale type.
-
Constructor Details
-
DeploymentScaleSettings
public DeploymentScaleSettings()
-
-
Method Details
-
scaleType
Get the scaleType property: Deployment scale type.- Returns:
- the scaleType value.
-
withScaleType
Set the scaleType property: Deployment scale type.- Parameters:
scaleType
- the scaleType value to set.- Returns:
- the DeploymentScaleSettings object itself.
-
capacity
Get the capacity property: Deployment capacity.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: Deployment capacity.- Parameters:
capacity
- the capacity value to set.- Returns:
- the DeploymentScaleSettings object itself.
-
activeCapacity
Get the activeCapacity property: Deployment active capacity. This value might be different from `capacity` if customer recently updated `capacity`.- Returns:
- the activeCapacity value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-