MockableAppComplianceAutomationTenantResource.CheckAppComplianceReportNameAvailabilityAsync Method

Definition

Check if the given name is available for a report.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/checkNameAvailability
  • Operation Id: ProviderActions_CheckNameAvailability
  • Default Api Version: 2024-06-27
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceReportNameAvailabilityResult>> CheckAppComplianceReportNameAvailabilityAsync (Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceReportNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckAppComplianceReportNameAvailabilityAsync : Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceReportNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceReportNameAvailabilityResult>>
override this.CheckAppComplianceReportNameAvailabilityAsync : Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceReportNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceReportNameAvailabilityResult>>
Public Overridable Function CheckAppComplianceReportNameAvailabilityAsync (content As AppComplianceReportNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppComplianceReportNameAvailabilityResult))

Parameters

content
AppComplianceReportNameAvailabilityContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to