AlertsManagementExtensions.GetServiceAlertMetadataAsync 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.
List alerts meta data information based on value of identifier parameter.
- Request Path: /providers/Microsoft.AlertsManagement/alertsMetaData
- Operation Id: Alerts_MetaData
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadata>> GetServiceAlertMetadataAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.AlertsManagement.Models.RetrievedInformationIdentifier identifier, System.Threading.CancellationToken cancellationToken = default);
static member GetServiceAlertMetadataAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.AlertsManagement.Models.RetrievedInformationIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadata>>
<Extension()>
Public Function GetServiceAlertMetadataAsync (tenantResource As TenantResource, identifier As RetrievedInformationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET