Language

TenantActionGroupResource.GetTestNotificationsAtTenantActionGroupResourceLevel Method

Definition

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 Azure.Response<Azure.ResourceManager.Monitor.Models.TestNotificationDetailsResult> GetTestNotificationsAtTenantActionGroupResourceLevel(string notificationId, string xMsClientTenantId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTestNotificationsAtTenantActionGroupResourceLevel : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.Models.TestNotificationDetailsResult>
override this.GetTestNotificationsAtTenantActionGroupResourceLevel : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.Models.TestNotificationDetailsResult>
Public Overridable Function GetTestNotificationsAtTenantActionGroupResourceLevel (notificationId As String, xMsClientTenantId As String, Optional cancellationToken As CancellationToken = Nothing) As 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.

Applies to