Skip to content

Delete Scraper

prometheusservice_delete_scraper R Documentation

The DeleteScraper operation deletes one scraper, and stops any metrics collection that the scraper performs

Description

The delete_scraper operation deletes one scraper, and stops any metrics collection that the scraper performs.

Usage

prometheusservice_delete_scraper(clientToken, scraperId)

Arguments

clientToken

(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.

scraperId

[required] The ID of the scraper to delete.

Value

A list with the following syntax:

list(
  scraperId = "string",
  status = list(
    statusCode = "CREATING"|"ACTIVE"|"DELETING"|"CREATION_FAILED"|"DELETION_FAILED"
  )
)

Request syntax

svc$delete_scraper(
  clientToken = "string",
  scraperId = "string"
)