examples/v2/monitors/CreateMonitorConfigPolicy.rb in datadog_api_client-2.10.0 vs examples/v2/monitors/CreateMonitorConfigPolicy.rb in datadog_api_client-2.11.0
- old
+ new
@@ -6,11 +6,11 @@
body = DatadogAPIClient::V2::MonitorConfigPolicyCreateRequest.new({
data: DatadogAPIClient::V2::MonitorConfigPolicyCreateData.new({
attributes: DatadogAPIClient::V2::MonitorConfigPolicyAttributeCreateRequest.new({
policy_type: DatadogAPIClient::V2::MonitorConfigPolicyType::TAG,
policy: DatadogAPIClient::V2::MonitorConfigPolicyTagPolicyCreateRequest.new({
- tag_key: "datacenter",
- tag_key_required: true,
+ tag_key: "examplemonitor",
+ tag_key_required: false,
valid_tag_values: [
"prod",
"staging",
],
}),