C# Class Elastacloud.AzureManagement.Fluent.WasabiWeb.WasabiWebRulesEngine

Inheritance: IWasabiWebRulesEngine
Datei anzeigen Open project: azurecoder/fluent-management Class Usage Examples

Public Methods

Method Description
AddRule ( IWasabiWebRule rule ) : void

Adds a rule to the

Scale ( WasabiWebLogicalOperation operation, List metrics ) : WasabiWebState

A scalar used to determine whether the site should be scaled up down or left alone

WasabiWebRulesEngine ( string websiteName, int samplePeriod ) : System
this ( string metricName ) : IWasabiWebRule

An indexer used to get any of the values of the website metrics rules

Method Details

AddRule() public method

Adds a rule to the
public AddRule ( IWasabiWebRule rule ) : void
rule IWasabiWebRule
return void

Scale() public method

A scalar used to determine whether the site should be scaled up down or left alone
public Scale ( WasabiWebLogicalOperation operation, List metrics ) : WasabiWebState
operation WasabiWebLogicalOperation
metrics List
return WasabiWebState

WasabiWebRulesEngine() public method

public WasabiWebRulesEngine ( string websiteName, int samplePeriod ) : System
websiteName string
samplePeriod int
return System

this() public method

An indexer used to get any of the values of the website metrics rules
public this ( string metricName ) : IWasabiWebRule
metricName string The name of the metric
return IWasabiWebRule