TenantActionGroupResource.GetTestNotificationsAtTenantActionGroupResourceLevelAsync 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.
Get the test notifications by the notification id
- Request Path. : /providers/microsoft.Management/managementGroups/{managementGroupId}/providers/microsoft.Insights/tenantActionGroups/{tenantActionGroupName}/notificationStatus/{notificationId}.
- Operation Id. : TenantActionGroups_GetTestNotificationsAtTenantActionGroupResourceLevel.
- Default Api Version. : 2023-05-01-preview.
- Resource. : TenantActionGroupResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.Models.TestNotificationDetailsResult>> GetTestNotificationsAtTenantActionGroupResourceLevelAsync(string notificationId, string xMsClientTenantId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTestNotificationsAtTenantActionGroupResourceLevelAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.Models.TestNotificationDetailsResult>>
override this.GetTestNotificationsAtTenantActionGroupResourceLevelAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.Models.TestNotificationDetailsResult>>
Public Overridable Function GetTestNotificationsAtTenantActionGroupResourceLevelAsync (notificationId As String, xMsClientTenantId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TestNotificationDetailsResult))
Parameters
- notificationId
- String
The notification id.
- xMsClientTenantId
- String
The tenant ID of the client making the request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
notificationId or xMsClientTenantId is null.
notificationId or xMsClientTenantId is an empty string, and was expected to be non-empty.