TrafficManagerHeatMapCollection.GetIfExists 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. : HeatMapModels_Get.
  • Default Api Version. : 2024-04-01-preview.
public virtual Azure.NullableResponse<Azure.ResourceManager.TrafficManager.TrafficManagerHeatMapResource> GetIfExists(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 GetIfExists : Azure.ResourceManager.TrafficManager.Models.TrafficManagerHeatMapType * seq<double> * seq<double> * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.TrafficManager.TrafficManagerHeatMapResource>
override this.GetIfExists : Azure.ResourceManager.TrafficManager.Models.TrafficManagerHeatMapType * seq<double> * seq<double> * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.TrafficManager.TrafficManagerHeatMapResource>
Public Overridable Function GetIfExists (heatMapType As TrafficManagerHeatMapType, Optional topLeft As IEnumerable(Of Double) = Nothing, Optional botRight As IEnumerable(Of Double) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of TrafficManagerHeatMapResource)

Parameters

heatMapType
TrafficManagerHeatMapType

The type of the heatmap.

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