Sha256: 101358ce83c7f17ed0bfa08d81c3aa6279fd5db5677f0fbb902fe58667767da0

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

# Get All Containers returns "OK" response with pagination

require "datadog_api_client"
DatadogAPIClient.configure do |config|
  config.unstable_operations["v2.list_containers".to_sym] = true
end
api_instance = DatadogAPIClient::V2::ContainersAPI.new
opts = {
  page_size: 2,
}
api_instance.list_containers_with_pagination(opts) { |item| puts item }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-2.17.0 examples/v2/containers/ListContainers_931009654.rb