NewRelicMonitorResource.RefreshIngestionKeyAsync(CancellationToken) Method

Definition

Refreshes the ingestion key for all monitors linked to the same account associated to the underlying monitor.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/refreshIngestionKey.
  • Operation Id. : NewRelicMonitorResources_RefreshIngestionKey.
  • Default Api Version. : 2025-05-01-preview.
  • Resource. : NewRelicMonitorResource.
public virtual System.Threading.Tasks.Task<Azure.Response> RefreshIngestionKeyAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member RefreshIngestionKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RefreshIngestionKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RefreshIngestionKeyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to