Classes

Rate this page:

DataProviderResponse

Constructors

new DataProviderResponse(externalSourceId: String, definitions: ): DataProviderResponse

1
2
const dataProviderResponse = new DataProviderResponse(
  "string"
)

Properties

Property NameTypeDescription
eventsDataProviderEventsConfiguration
externalSourceIdString
metricsDataProviderMetricsConfiguration

Methods

AddAlerts

addAlerts(alerts: Array<DataProviderAlertEvent>): DataProviderResponse

1
2
const resp = dataProviderResponse.addAlerts(
  [
    null
  ]
)

AddBuilds

addBuilds(builds: Array<DataProviderBuildEvent>): DataProviderResponse

1
2
const resp = dataProviderResponse.addBuilds(
  [
    null
  ]
)

AddBuiltInMetricValue

addBuiltInMetricValue(metricName: BuiltinMetricDefinitions, value: Number): DataProviderResponse

1
2
const resp = dataProviderResponse.addBuiltInMetricValue(
  "ari:cloud:compass::metric-definition/builtin/availability-28d",
  42
)

AddCustomEvents

addCustomEvents(customEvents: Array<DataProviderCustomEvent>): DataProviderResponse

1
2
const resp = dataProviderResponse.addCustomEvents(
  [
    null
  ]
)

AddCustomMetricValue

addCustomMetricValue(metricName: String, value: Number): DataProviderResponse

1
2
const resp = dataProviderResponse.addCustomMetricValue(
  "string",
  87
)

AddDeployments

addDeployments(deployments: Array<DataProviderDeploymentEvent>): DataProviderResponse

1
2
const resp = dataProviderResponse.addDeployments(
  [
    null
  ]
)

AddFlags

addFlags(flags: Array<DataProviderFlagEvent>): DataProviderResponse

1
2
const resp = dataProviderResponse.addFlags(
  [
    null
  ]
)

AddIncidents

addIncidents(incidents: Array<DataProviderIncidentEvent>): DataProviderResponse

1
2
const resp = dataProviderResponse.addIncidents(
  [
    null
  ]
)

AddLifecycles

addLifecycles(lifecycles: Array<DataProviderLifecycleEvent>): DataProviderResponse

1
2
const resp = dataProviderResponse.addLifecycles(
  [
    null
  ]
)

Build

build(): DataProviderResult

1
2
const resp = dataProviderResponse.build()

BuildMetrics

buildMetrics(): DataProviderMetricsConfiguration

1
2
const resp = dataProviderResponse.buildMetrics()

Validate

validate(): Void

1
2
const resp = dataProviderResponse.validate()

Rate this page: