ArmAlertsManagementModelFactory.ServiceAlertMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET