Sha256: fa2432c4ffdded64749abfd9ec183753c133e8830202c4f8844d23419e3ca771
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::HostsAPI.new host_name = "host_name_example" # String | Name of the host to mute. body = DatadogAPIClient::V1::HostMuteSettings.new # HostMuteSettings | Mute a host request body. begin # Mute a host result = api_instance.mute_host(host_name, body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling HostsAPI->mute_host: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/hosts/MuteHost.rb |