次の方法で共有


NewRelicMonitorResource.SwitchBillingAsync メソッド

定義

NewRelic モニター リソースの課金を切り替えます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/switchBilling
  • 操作IdMonitors_SwitchBilling
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>> SwitchBillingAsync (Azure.ResourceManager.NewRelicObservability.Models.NewRelicSwitchBillingContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SwitchBillingAsync : Azure.ResourceManager.NewRelicObservability.Models.NewRelicSwitchBillingContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>>
override this.SwitchBillingAsync : Azure.ResourceManager.NewRelicObservability.Models.NewRelicSwitchBillingContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>>
Public Overridable Function SwitchBillingAsync (content As NewRelicSwitchBillingContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NewRelicMonitorResource))

パラメーター

content
NewRelicSwitchBillingContent

スイッチ課金要求の詳細。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

content が null です。

適用対象