次の方法で共有


NewRelicMonitorResource.SwitchBilling メソッド

定義

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

  • 要求パス/サブスクリプション/{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 です。

適用対象