共用方式為


TenantDataBoundaryCollection.GetIfExists 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 Azure.NullableResponse<Azure.ResourceManager.Resources.TenantDataBoundaryResource> GetIfExists (Azure.ResourceManager.Resources.Models.DataBoundaryName name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Resources.Models.DataBoundaryName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Resources.TenantDataBoundaryResource>
override this.GetIfExists : Azure.ResourceManager.Resources.Models.DataBoundaryName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Resources.TenantDataBoundaryResource>
Public Overridable Function GetIfExists (name As DataBoundaryName, Optional cancellationToken As CancellationToken = Nothing) As 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