Freigeben über


RegionInfoResourceCollection.GetIfExistsAsync(CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default
  • Operation Id: NetAppResourceRegionInfos_Get
  • Default Api Version: 2024-07-01
  • Resource: RegionInfoResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.NetApp.RegionInfoResource>> GetIfExistsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.NetApp.RegionInfoResource>>
override this.GetIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.NetApp.RegionInfoResource>>
Public Overridable Function GetIfExistsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of RegionInfoResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to