Framework/Core/SVT/Services/StreamAnalytics.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Set-StrictMode -Version Latest 
class StreamAnalytics: SVTBase
{       
    hidden [PSObject] $ResourceObject;

    StreamAnalytics([string] $subscriptionId, [string] $resourceGroupName, [string] $resourceName): 
                 Base($subscriptionId, $resourceGroupName, $resourceName) 
    { 
    }

    StreamAnalytics([string] $subscriptionId, [SVTResource] $svtResource): 
        Base($subscriptionId, $svtResource) 
    { 
    }

    hidden [ControlResult] CheckStreamAnalyticsMetricAlert([ControlResult] $controlResult)
    {
        $this.CheckMetricAlertConfiguration($this.ControlSettings.MetricAlert.StreamAnalytics, $controlResult, "");
        return $controlResult;
     }
}