Aracılığıyla paylaş


ArmAppServiceModelFactory.PerfMonSet Method

Definition

Initializes a new instance of PerfMonSet.

public static Azure.ResourceManager.AppService.Models.PerfMonSet PerfMonSet (string name = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string timeGrain = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.PerfMonSample> values = default);
static member PerfMonSet : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.AppService.Models.PerfMonSample> -> Azure.ResourceManager.AppService.Models.PerfMonSet
Public Shared Function PerfMonSet (Optional name As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional timeGrain As String = Nothing, Optional values As IEnumerable(Of PerfMonSample) = Nothing) As PerfMonSet

Parameters

name
String

Unique key name of the counter.

startOn
Nullable<DateTimeOffset>

Start time of the period.

endOn
Nullable<DateTimeOffset>

End time of the period.

timeGrain
String

Presented time grain.

values
IEnumerable<PerfMonSample>

Collection of workers that are active during this time.

Returns

A new PerfMonSet instance for mocking.

Applies to