Udostępnij za pośrednictwem


ArmDatadogModelFactory.DatadogHost Method

Definition

Initializes a new instance of DatadogHost.

public static Azure.ResourceManager.Datadog.Models.DatadogHost DatadogHost (string name = default, System.Collections.Generic.IEnumerable<string> aliases = default, System.Collections.Generic.IEnumerable<string> apps = default, Azure.ResourceManager.Datadog.Models.DatadogHostMetadata meta = default);
static member DatadogHost : string * seq<string> * seq<string> * Azure.ResourceManager.Datadog.Models.DatadogHostMetadata -> Azure.ResourceManager.Datadog.Models.DatadogHost
Public Shared Function DatadogHost (Optional name As String = Nothing, Optional aliases As IEnumerable(Of String) = Nothing, Optional apps As IEnumerable(Of String) = Nothing, Optional meta As DatadogHostMetadata = Nothing) As DatadogHost

Parameters

name
String

The name of the host.

aliases
IEnumerable<String>

The aliases for the host.

apps
IEnumerable<String>

The Datadog integrations reporting metrics for the host.

Returns

A new DatadogHost instance for mocking.

Applies to