ArmAlertsManagementModelFactory.ServiceAlertProperties Method

Definition

Initializes a new instance of ServiceAlertProperties.

public static Azure.ResourceManager.AlertsManagement.Models.ServiceAlertProperties ServiceAlertProperties (Azure.ResourceManager.AlertsManagement.Models.ServiceAlertEssentials essentials = default, BinaryData context = default, BinaryData egressConfig = default);
static member ServiceAlertProperties : Azure.ResourceManager.AlertsManagement.Models.ServiceAlertEssentials * BinaryData * BinaryData -> Azure.ResourceManager.AlertsManagement.Models.ServiceAlertProperties
Public Shared Function ServiceAlertProperties (Optional essentials As ServiceAlertEssentials = Nothing, Optional context As BinaryData = Nothing, Optional egressConfig As BinaryData = Nothing) As ServiceAlertProperties

Parameters

essentials
ServiceAlertEssentials

This object contains consistent fields across different monitor services.

context
BinaryData

Information specific to the monitor service that gives more contextual details about the alert.

egressConfig
BinaryData

Config which would be used for displaying the data in portal.

Returns

A new ServiceAlertProperties instance for mocking.

Applies to