Skip to content

Inline documentation in nodjes Monitor class is wrong for onMissingData #944

@yawhide

Description

@yawhide

Describe what happened

the jsdoc on this line: https://github.com/pulumi/pulumi-datadog/blob/master/sdk/nodejs/monitor.ts#L163 mentions values for onMissingData to be in camelCase. When i try to use them in camelCase, i get a 400 when the monitors are validated

  	* error validating monitor from /api/v1/monitor/213953366/validate: 400 Bad Request: {"errors":["Invalid on_missing_data value: showAndNotifyNoData; valid values are: show_no_data, show_and_notify_no_data, resolve, default"]}

Sample program

try onMissingData: "showNoData"

Log output

No response

Affected Resource(s)

No response

Output of pulumi about

i dont have access to this. i copied the error from my CI

Additional context

No response

Contributing

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsImprovements or additions to documentationarea/providerskind/bugSome behavior is incorrect or out of spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions