共用方式為


ResourcesExtensions.GetTenantDataBoundaryAsync Method

Definition

Get data boundary of tenant.

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

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

name
DataBoundaryName

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource is null.

Applies to