monitorConnectorResources

Sets connector resources to monitor and replaces any existing monitoring configuration.

Complete replacement operation

Examples

mutation MonitorConnectorResources($monitorConnectorResourceInput: MonitorConnectorResourceInput!) {
  monitorConnectorResources(monitorConnectorResourceInput: $monitorConnectorResourceInput) {
    success
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "monitorConnectorResourceInput": {
    "connectorID": "2",
    "credentialsId": "example",
    "resources": [
      {
        "id": "30966426",
        "name": "some-repo",
        "isMonitored": true,
        "resourceType": "edge"
      }
    ],
    "monitorAllResources": true,
    "monitorAllNewlyCreatedResources": 1749000000000
  }
}

Arguments

You can use the following argument(s) to customize your monitorConnectorResources mutation.

Argument
Description
Supported fields

monitorConnectorResourceInput MonitorConnectorResourceInput! required

Input specifying which connector resources to monitor and monitoring configuration

connectorID String! credentialsId String resources [ResourceInput] monitorAllResources Boolean monitorAllNewlyCreatedResources Float

Fields

Return type: MonitorConnectorResourceResponse

You can use the following field(s) to specify what information your monitorConnectorResources mutation will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

success Boolean

boolean indication if operation succeeded

Last updated