Partilhar via


ArmAlertsManagementModelFactory.ServiceAlertMetadata Method

Definition

Initializes a new instance of ServiceAlertMetadata.

public static Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadata ServiceAlertMetadata (Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadataProperties properties = default);
static member ServiceAlertMetadata : Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadataProperties -> Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadata
Public Shared Function ServiceAlertMetadata (Optional properties As ServiceAlertMetadataProperties = Nothing) As ServiceAlertMetadata

Parameters

properties
ServiceAlertMetadataProperties

alert meta data property bag Please note ServiceAlertMetadataProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MonitorServiceList.

Returns

A new ServiceAlertMetadata instance for mocking.

Applies to