Dela via


AlertsManagementExtensions.GetServiceAlertMetadata Method

Definition

List alerts meta data information based on value of identifier parameter.

  • Request Path: /providers/Microsoft.AlertsManagement/alertsMetaData
  • Operation Id: Alerts_MetaData
public static Azure.Response<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadata> GetServiceAlertMetadata (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.AlertsManagement.Models.RetrievedInformationIdentifier identifier, System.Threading.CancellationToken cancellationToken = default);
static member GetServiceAlertMetadata : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.AlertsManagement.Models.RetrievedInformationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadata>
<Extension()>
Public Function GetServiceAlertMetadata (tenantResource As TenantResource, identifier As RetrievedInformationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceAlertMetadata)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

identifier
RetrievedInformationIdentifier

Identification of the information to be retrieved by API call.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource is null.

Applies to