Class ScaleCapacity
The number of instances that can be used during this profile.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class ScaleCapacity
Constructors
ScaleCapacity()
Initializes a new instance of the ScaleCapacity class.
Declaration
public ScaleCapacity ();
ScaleCapacity(String, String, String)
Initializes a new instance of the ScaleCapacity class.
Declaration
public ScaleCapacity (string minimum, string maximum, string defaultProperty);
Parameters
|
String
minimum
the minimum number of instances for the resource. |
|
String
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. |
|
String
defaultProperty
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. |
Properties
DefaultProperty
Gets or sets 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.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="default")]
public string DefaultProperty { get; set; }
Property Value
|
String
|
Maximum
Gets or sets 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.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="maximum")]
public string Maximum { get; set; }
Property Value
|
String
|
Minimum
Gets or sets the minimum number of instances for the resource.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="minimum")]
public string Minimum { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |