Share via


ServiceWorkspaceNotificationCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}
  • Operation Id: WorkspaceNotification_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceNotificationResource
public virtual Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ServiceWorkspaceNotificationResource> 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.ServiceWorkspaceNotificationResource>
override this.GetIfExists : Azure.ResourceManager.ApiManagement.Models.NotificationName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ServiceWorkspaceNotificationResource>
Public Overridable Function GetIfExists (notificationName As NotificationName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ServiceWorkspaceNotificationResource)

Parameters

notificationName
NotificationName

Notification Name Identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to