Partager via


NewRelicMonitorResource.SwitchBillingAsync Méthode

Définition

Bascule la facturation pour la ressource de moniteur NewRelic.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/switchBilling
  • IdMonitors_SwitchBilling d’opération
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))

Paramètres

content
NewRelicSwitchBillingContent

Détails de la demande de changement de facturation.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à