Bagikan melalui


TrafficManagerHeatMapCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}
  • Operation Id: HeatMap_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerHeatMapResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.TrafficManager.TrafficManagerHeatMapResource>> GetIfExistsAsync (Azure.ResourceManager.TrafficManager.Models.TrafficManagerHeatMapType heatMapType, System.Collections.Generic.IEnumerable<double> topLeft = default, System.Collections.Generic.IEnumerable<double> botRight = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.TrafficManager.Models.TrafficManagerHeatMapType * seq<double> * seq<double> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.TrafficManager.TrafficManagerHeatMapResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.TrafficManager.Models.TrafficManagerHeatMapType * seq<double> * seq<double> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.TrafficManager.TrafficManagerHeatMapResource>>
Public Overridable Function GetIfExistsAsync (heatMapType As TrafficManagerHeatMapType, Optional topLeft As IEnumerable(Of Double) = Nothing, Optional botRight As IEnumerable(Of Double) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of TrafficManagerHeatMapResource))

Parameters

heatMapType
TrafficManagerHeatMapType

The type of HeatMap for the Traffic Manager profile.

topLeft
IEnumerable<Double>

The top left latitude,longitude pair of the rectangular viewport to query for.

botRight
IEnumerable<Double>

The bottom right latitude,longitude pair of the rectangular viewport to query for.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to