ScaleCapacity 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.
The number of instances that can be used during this profile.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleCapacityTypeConverter))]
public class ScaleCapacity : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IScaleCapacity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleCapacityTypeConverter))>]
type ScaleCapacity = class
interface IScaleCapacity
interface IJsonSerializable
Public Class ScaleCapacity
Implements IScaleCapacity
- Inheritance
-
ScaleCapacity
- Attributes
- Implements
Constructors
ScaleCapacity() |
Creates an new ScaleCapacity instance. |
Properties
Default |
the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default. |
Maximum |
the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription. |
Minimum |
the minimum number of instances for the resource. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ScaleCapacity. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ScaleCapacity. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IScaleCapacity. |
FromJsonString(String) |
Creates a new instance of ScaleCapacity, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ScaleCapacity into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |