共用方式為


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: HeatMap_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerHeatMapResource
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 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