Freigeben über


HostingEnvironmentDetectorCollection.Get Methode

Definition

Beschreibung für Get Hosting Environment Detector Response

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}
  • Vorgang IdDiagnostics_GetHostingEnvironmentDetectorResponse
public virtual Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentDetectorResource> Get (string detectorName, DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, string timeGrain = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentDetectorResource>
override this.Get : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentDetectorResource>
Public Overridable Function Get (detectorName As String, Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing, Optional timeGrain As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HostingEnvironmentDetectorResource)

Parameter

detectorName
String

Name der Detektorressource.

startTime
Nullable<DateTimeOffset>

Startzeit.

endTime
Nullable<DateTimeOffset>

Endzeit.

timeGrain
String

Time Grain.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

detectorName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

detectorName ist NULL.

Gilt für: