共用方式為


DataBoundaryCollection.ExistsAsync Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Resources/dataBoundaries/{default}
  • Operation Id: DataBoundaries_GetScope
  • Default Api Version: 2024-08-01
  • Resource: DataBoundaryResource
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (Azure.ResourceManager.Resources.Models.DataBoundaryName name, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : Azure.ResourceManager.Resources.Models.DataBoundaryName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : Azure.ResourceManager.Resources.Models.DataBoundaryName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (name As DataBoundaryName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameters

name
DataBoundaryName

Default string modeled as parameter for auto generation to work correctly.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to