共用方式為


ResourcesExtensions.GetDataBoundaryAsync Method

Definition

Get data boundary at specified scope

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

name
DataBoundaryName

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to