ArmFrontDoorModelFactory.LatencyScorecard Method

Definition

Initializes a new instance of LatencyScorecard.

public static Azure.ResourceManager.FrontDoor.Models.LatencyScorecard LatencyScorecard (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string latencyScorecardId = default, string latencyScorecardName = default, string description = default, Uri scorecardEndpointA = default, Uri scorecardEndpointB = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string country = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.LatencyMetric> latencyMetrics = default);
static member LatencyScorecard : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * Uri * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.FrontDoor.Models.LatencyMetric> -> Azure.ResourceManager.FrontDoor.Models.LatencyScorecard
Public Shared Function LatencyScorecard (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional latencyScorecardId As String = Nothing, Optional latencyScorecardName As String = Nothing, Optional description As String = Nothing, Optional scorecardEndpointA As Uri = Nothing, Optional scorecardEndpointB As Uri = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional country As String = Nothing, Optional latencyMetrics As IEnumerable(Of LatencyMetric) = Nothing) As LatencyScorecard

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

latencyScorecardId
String

The unique identifier of the Latency Scorecard.

latencyScorecardName
String

The name of the Latency Scorecard.

description
String

The description of the Latency Scorecard.

scorecardEndpointA
Uri

The A endpoint in the scorecard.

scorecardEndpointB
Uri

The B endpoint in the scorecard.

startOn
Nullable<DateTimeOffset>

The start time of the Latency Scorecard in UTC.

endOn
Nullable<DateTimeOffset>

The end time of the Latency Scorecard in UTC.

country
String

The country associated with the Latency Scorecard. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html.

latencyMetrics
IEnumerable<LatencyMetric>

The latency metrics of the Latency Scorecard.

Returns

A new LatencyScorecard instance for mocking.

Applies to