Share via


ApiManagementNotificationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementNotificationResource>> GetIfExistsAsync (Azure.ResourceManager.ApiManagement.Models.NotificationName notificationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.ApiManagement.Models.NotificationName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementNotificationResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.ApiManagement.Models.NotificationName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementNotificationResource>>
Public Overridable Function GetIfExistsAsync (notificationName As NotificationName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ApiManagementNotificationResource))

Parameters

notificationName
NotificationName

Notification Name Identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to