共用方式為


TenantDataBoundaryCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

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

Parameters

name
DataBoundaryName

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to