DurabilityProvider.TryGetScaleMonitor Method
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.
Tries to obtain a scale monitor for autoscaling.
public virtual bool TryGetScaleMonitor (string functionId, string functionName, string hubName, string connectionName, out Microsoft.Azure.WebJobs.Host.Scale.IScaleMonitor scaleMonitor);
abstract member TryGetScaleMonitor : string * string * string * string * IScaleMonitor -> bool
override this.TryGetScaleMonitor : string * string * string * string * IScaleMonitor -> bool
Public Overridable Function TryGetScaleMonitor (functionId As String, functionName As String, hubName As String, connectionName As String, ByRef scaleMonitor As IScaleMonitor) As Boolean
Parameters
- functionId
- String
Function id.
- functionName
- String
Function name.
- hubName
- String
Task hub name.
- connectionName
- String
The name of the storage-specific connection settings.
- scaleMonitor
- Microsoft.Azure.WebJobs.Host.Scale.IScaleMonitor
The scale monitor.
Returns
True if autoscaling is supported, false otherwise.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET