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

NewRelicMonitorResource.SwitchBilling 方法

定义

切换 NewRelic 监视器资源的计费。

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

参数

content
NewRelicSwitchBillingContent

切换计费请求的详细信息。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于