你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NewRelicMonitorResource.GetAppServices 方法

定义

列出当前由 NewRelic 资源监视的应用服务资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listAppServices
  • 操作IdMonitors_ListAppServices
public virtual Azure.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicObservabilityAppServiceInfo> GetAppServices (Azure.ResourceManager.NewRelicObservability.Models.NewRelicAppServicesGetContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServices : Azure.ResourceManager.NewRelicObservability.Models.NewRelicAppServicesGetContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicObservabilityAppServiceInfo>
override this.GetAppServices : Azure.ResourceManager.NewRelicObservability.Models.NewRelicAppServicesGetContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicObservabilityAppServiceInfo>
Public Overridable Function GetAppServices (content As NewRelicAppServicesGetContent, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NewRelicObservabilityAppServiceInfo)

参数

content
NewRelicAppServicesGetContent

应用服务获取请求的详细信息。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的集合 NewRelicObservabilityAppServiceInfo ,可能需要多个服务请求才能循环访问。

例外

content 为 null。

适用于