lib/datadog_api_client/v2/api/metrics_api.rb
# Configure tags for multiple metrics
# Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
# Metrics are selected by passing a metric name prefix.
# Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
# Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
# @param body [MetricBulkTagConfigDeleteRequest] 
# @param opts [Hash] the optional parameters
# @return [Array<(MetricBulkTagConfigResponse, Integer, Hash)>] MetricBulkTagConfigResponse data, response status code and response headers
Configure tags for multiple metrics
Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
Metrics are selected by passing a metric name prefix.
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
Configure tags for multiple metrics Delete all custom lists of queryable tag keys for a set of existing count gauge rate and distribution metrics . Metrics are selected by passing a metric name prefix . Results can be sent to a set of account email addresses just like the same operation in the Datadog web app . Can only be used with application keys of users with the ` Manage Tags for Metrics ` permission .
def delete_bulk_tags_metrics_configuration_with_http_info(body, opts = {})
      if @api_client.config.unstable_operations.has_key?(:delete_bulk_tags_metrics_configuration)
        unstable_enabled = @api_client.config.unstable_operations[:delete_bulk_tags_metrics_configuration]
        if unstable_enabled
          @api_client.config.logger.warn format("Using unstable operation '%s'", "delete_bulk_tags_metrics_configuration")
        else
          raise APIError.new(message: format("Unstable operation '%s' is disabled", "delete_bulk_tags_metrics_configuration"))
        end
      end
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: MetricsAPI.delete_bulk_tags_metrics_configuration ...'
      end
      if @api_client.config.client_side_validation && body.nil?
        fail ArgumentError, "Missing the required parameter 'body' when calling MetricsAPI.delete_bulk_tags_metrics_configuration"
      end
      local_var_path = '/api/v2/metrics/config/bulk-tags'
      query_params = opts[:query_params] || {}
      header_params = opts[:header_params] || {}
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
      form_params = opts[:form_params] || {}
      post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
      return_type = opts[:debug_return_type] || 'MetricBulkTagConfigResponse'
      auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
      new_options = opts.merge(
        :operation => :delete_bulk_tags_metrics_configuration,
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => return_type
      )
      data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: MetricsAPI#delete_bulk_tags_metrics_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def delete_bulk_tags_metrics_configuration_with_http_info ( body , opts = { } ) if @api_client . config . unstable_operations . has_key? ( :delete_bulk_tags_metrics_configuration ) unstable_enabled = @api_client . config . unstable_operations [ :delete_bulk_tags_metrics_configuration ] if unstable_enabled @api_client . config . logger . warn format ( "Using unstable operation '%s'" , "delete_bulk_tags_metrics_configuration" ) else raise APIError . new ( message : format ( "Unstable operation '%s' is disabled" , "delete_bulk_tags_metrics_configuration" ) ) end end if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: MetricsAPI.delete_bulk_tags_metrics_configuration ...' end if @api_client . config . client_side_validation && body . nil? fail ArgumentError , "Missing the required parameter 'body' when calling MetricsAPI.delete_bulk_tags_metrics_configuration" end local_var_path = '/api/v2/metrics/config/bulk-tags' query_params = opts [ :query_params ] || { } header_params = opts [ :header_params ] || { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'application/json' ] ) form_params = opts [ :form_params ] || { } post_body = opts [ :debug_body ] || @api_client . object_to_http_body ( body ) return_type = opts [ :debug_return_type ] || 'MetricBulkTagConfigResponse' auth_names = opts [ :debug_auth_names ] || [ :apiKeyAuth , :appKeyAuth ] new_options = opts . merge ( :operation => :delete_bulk_tags_metrics_configuration , :header_params => header_params , :query_params => query_params , :form_params => form_params , :body => post_body , :auth_names => auth_names , :return_type => return_type ) data , status_code , headers = @api_client . call_api ( :DELETE , local_var_path , new_options ) if @api_client . config . debugging @api_client . config . logger . debug "API called: MetricsAPI#delete_bulk_tags_metrics_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Configure tags for multiple metrics
Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
Configure tags for multiple metrics Delete all custom lists of queryable tag keys for a set of existing count gauge rate and distribution metrics .
# verify the required parameter 'body' is set # resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model) # return_type # auth_names
MetricBulkTagConfigResponse data, response status code and response headers
MetricBulkTagConfigResponse data response status code and response headers
Array<(MetricBulkTagConfigResponse, Integer, Hash)>
body
<not_specific>
opts
the optional parameters
the optional parameters
<not_specific>
None