Share via


ApiManagementNotificationCollection.GetIfExists 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 Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementNotificationResource> GetIfExists (Azure.ResourceManager.ApiManagement.Models.NotificationName notificationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.ApiManagement.Models.NotificationName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementNotificationResource>
override this.GetIfExists : Azure.ResourceManager.ApiManagement.Models.NotificationName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementNotificationResource>
Public Overridable Function GetIfExists (notificationName As NotificationName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ApiManagementNotificationResource)

Parameters

notificationName
NotificationName

Notification Name Identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to