Delen via


AppComplianceReportWebhookCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}
  • Operation Id: Webhook_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportWebhookResource
public virtual Azure.NullableResponse<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportWebhookResource> GetIfExists (string webhookName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportWebhookResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportWebhookResource>
Public Overridable Function GetIfExists (webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of AppComplianceReportWebhookResource)

Parameters

webhookName
String

Webhook Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

webhookName is an empty string, and was expected to be non-empty.

webhookName is null.

Applies to