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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET