ApplicationMetricDescription 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.
Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.
public class ApplicationMetricDescription
public class ApplicationMetricDescription : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ApplicationMetricDescription>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ApplicationMetricDescription>
type ApplicationMetricDescription = class
type ApplicationMetricDescription = class
interface IJsonModel<ApplicationMetricDescription>
interface IPersistableModel<ApplicationMetricDescription>
Public Class ApplicationMetricDescription
Public Class ApplicationMetricDescription
Implements IJsonModel(Of ApplicationMetricDescription), IPersistableModel(Of ApplicationMetricDescription)
- Inheritance
-
ApplicationMetricDescription
- Implements
Constructors
ApplicationMetricDescription() |
Initializes a new instance of ApplicationMetricDescription. |
Properties
MaximumCapacity |
The maximum node capacity for Service Fabric application. This is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value. If set to zero, capacity for this metric is unlimited on each node. When creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity. When updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity. |
Name |
The name of the metric. |
ReservationCapacity |
The node reservation capacity for Service Fabric application. This is the amount of load which is reserved on nodes which have instances of this application. If MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application. If set to zero, no capacity is reserved for this metric. When setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric. |
TotalApplicationCapacity |
The total metric capacity for Service Fabric application. This is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value. When creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value. |
Explicit Interface Implementations
IJsonModel<ApplicationMetricDescription>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ApplicationMetricDescription>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ApplicationMetricDescription>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ApplicationMetricDescription>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ApplicationMetricDescription>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET