ArmMonitorModelFactory.MonitoringAccountDestination Method

Definition

Initializes a new instance of MonitoringAccountDestination.

public static Azure.ResourceManager.Monitor.Models.MonitoringAccountDestination MonitoringAccountDestination (Azure.Core.ResourceIdentifier accountResourceId = default, string accountId = default, string name = default);
static member MonitoringAccountDestination : Azure.Core.ResourceIdentifier * string * string -> Azure.ResourceManager.Monitor.Models.MonitoringAccountDestination
Public Shared Function MonitoringAccountDestination (Optional accountResourceId As ResourceIdentifier = Nothing, Optional accountId As String = Nothing, Optional name As String = Nothing) As MonitoringAccountDestination

Parameters

accountResourceId
ResourceIdentifier

The resource ID of the monitoring account.

accountId
String

The immutable ID of the account.

name
String

A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.

Returns

A new MonitoringAccountDestination instance for mocking.

Applies to