ApplicationInsightsComponentResource.GetAnalyticsItem Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft bestimmte Analytics-Elemente ab, die in einer Application Insights-Komponente definiert sind.
- Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
- Vorgang IdAnalyticsItems_Get
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem> GetAnalyticsItem (Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnalyticsItem : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
override this.GetAnalyticsItem : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
Public Overridable Function GetAnalyticsItem (scopePath As ItemScopePath, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApplicationInsightsComponentAnalyticsItem)
Parameter
- scopePath
- ItemScopePath
Eine Aufzählung, die angibt, ob diese Elementdefinition einem bestimmten Benutzer gehört oder von allen Benutzern mit Zugriff auf die Application Insights-Komponente freigegeben wird.
- id
- String
Die ID eines bestimmten Elements, das in der Application Insights-Komponente definiert ist.
- name
- String
Der Name eines bestimmten Elements, das in der Application Insights-Komponente definiert ist.
- cancellationToken
- CancellationToken
Das zu verwendende Abbruchtoken.
Gibt zurück
Gilt für:
Azure SDK for .NET