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

An implementation of the custom connector which uses Fluent Management
Inheritance: IWebsiteManagementConnector
Mostra file Open project: azurecoder/fluent-management Class Usage Examples

Public Methods

Method Description
MonitorAndAlert ( ) : void

Raises the alert event if any of the metrics have been breached in the time period

MonitorAndScale ( ) : WasabiWebState

Updates the website based on the scale option

WebsiteManagementConnector ( IWasabiWebRulesEngine engine, string subscriptionId, WasabiWebLogicalOperation logicalOperation = WasabiWebLogicalOperation.And, string publishSettingsFile = null ) : System

Used to construct a connector to Fluent Management

Private Methods

Method Description
EnsureManagementCertificate ( ) : void

Method Details

MonitorAndAlert() public method

Raises the alert event if any of the metrics have been breached in the time period
public MonitorAndAlert ( ) : void
return void

MonitorAndScale() public method

Updates the website based on the scale option
public MonitorAndScale ( ) : WasabiWebState
return WasabiWebState

WebsiteManagementConnector() public method

Used to construct a connector to Fluent Management
public WebsiteManagementConnector ( IWasabiWebRulesEngine engine, string subscriptionId, WasabiWebLogicalOperation logicalOperation = WasabiWebLogicalOperation.And, string publishSettingsFile = null ) : System
engine IWasabiWebRulesEngine
subscriptionId string
logicalOperation WasabiWebLogicalOperation
publishSettingsFile string
return System