Sha256: 585b0256391adaa987856830e0e369fa7b9a69a8f92bb88233ff8bc8e863837d
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V2::KeyManagementAPI.new opts = { page_size: 10, # Integer | Size for a given page. page_number: 0, # Integer | Specific page number to return. sort: DatadogAPIClient::V2::ApplicationKeysSort::CREATED_AT_ASCENDING, # ApplicationKeysSort | Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign. filter: "filter_example", # String | Filter application keys by the specified string. filter_created_at_start: "2020-11-24T18:46:21+00:00", # String | Only include application keys created on or after the specified date. filter_created_at_end: "2020-11-24T18:46:21+00:00", # String | Only include application keys created on or before the specified date. } begin # Get all application keys owned by current user result = api_instance.list_current_user_application_keys(opts) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling KeyManagementAPI->list_current_user_application_keys: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v2/key-management/ListCurrentUserApplicationKeys.rb |