Skip to content

Latest commit

 

History

History
130 lines (93 loc) · 3.82 KB

ProductLogExplorerInsightsApi.md

File metadata and controls

130 lines (93 loc) · 3.82 KB

Fastly::ProductLogExplorerInsightsApi

require 'fastly'
api_instance = Fastly::ProductLogExplorerInsightsApi.new

Methods

Note

All URIs are relative to https://api.fastly.com

Method HTTP request Description
disable_product_log_explorer_insights DELETE /enabled-products/v1/log_explorer_insights/services/{service_id} Disable product
enable_product_log_explorer_insights PUT /enabled-products/v1/log_explorer_insights/services/{service_id} Enable product
get_product_log_explorer_insights GET /enabled-products/v1/log_explorer_insights/services/{service_id} Get product enablement status

disable_product_log_explorer_insights()

disable_product_log_explorer_insights(opts) # Disable product

Disable the Log Explorer & Insights product on a service.

Examples

api_instance = Fastly::ProductLogExplorerInsightsApi.new
opts = {
    service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
}

begin
  # Disable product
  api_instance.disable_product_log_explorer_insights(opts)
rescue Fastly::ApiError => e
  puts "Error when calling ProductLogExplorerInsightsApi->disable_product_log_explorer_insights: #{e}"
end

Options

Name Type Description Notes
service_id String Alphanumeric string identifying the service.

Return type

nil (empty response body)

[Back to top] [Back to API list] [Back to README]

enable_product_log_explorer_insights()

enable_product_log_explorer_insights(opts): <LogExplorerInsightsResponseBodyEnable> # Enable product

Enable the Log Explorer & Insights product on a service.

Examples

api_instance = Fastly::ProductLogExplorerInsightsApi.new
opts = {
    service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
}

begin
  # Enable product
  result = api_instance.enable_product_log_explorer_insights(opts)
  p result
rescue Fastly::ApiError => e
  puts "Error when calling ProductLogExplorerInsightsApi->enable_product_log_explorer_insights: #{e}"
end

Options

Name Type Description Notes
service_id String Alphanumeric string identifying the service.

Return type

LogExplorerInsightsResponseBodyEnable

[Back to top] [Back to API list] [Back to README]

get_product_log_explorer_insights()

get_product_log_explorer_insights(opts): <LogExplorerInsightsResponseBodyEnable> # Get product enablement status

Get the enablement status of the Log Explorer & Insights product on a service.

Examples

api_instance = Fastly::ProductLogExplorerInsightsApi.new
opts = {
    service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
}

begin
  # Get product enablement status
  result = api_instance.get_product_log_explorer_insights(opts)
  p result
rescue Fastly::ApiError => e
  puts "Error when calling ProductLogExplorerInsightsApi->get_product_log_explorer_insights: #{e}"
end

Options

Name Type Description Notes
service_id String Alphanumeric string identifying the service.

Return type

LogExplorerInsightsResponseBodyEnable

[Back to top] [Back to API list] [Back to README]