Sha256: 4232f9d9a8a9fe1888288aa285a0ea8d38c0b6770ec0865b8da80dbc05a4635c

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
agent_rule_id = "3b5-v82-ns6" # String | The ID of the Agent rule.

begin
  # Delete a Cloud Workload Security Agent rule
  api_instance.delete_cloud_workload_security_agent_rule(agent_rule_id)
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling CloudWorkloadSecurityAPI->delete_cloud_workload_security_agent_rule: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb