Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.54 KB

SubscriptionPost.md

File metadata and controls

30 lines (24 loc) · 1.54 KB

LaunchDarklyApi::SubscriptionPost

Properties

Name Type Description Notes
name String A human-friendly name for your audit log subscription.
statements Array<StatementPost> [optional]
on Boolean Whether or not you want your subscription to actively send events. [optional]
tags Array<String> An array of tags for this subscription. [optional]
config Hash<String, Object> The unique set of fields required to configure an audit log subscription integration of this type. Refer to the <code>formVariables</code> field in the corresponding <code>manifest.json</code> at https://github.com/launchdarkly/integration-framework/tree/main/integrations for a full list of fields for the integration you wish to configure.
url String Slack webhook receiver URL. Only necessary for legacy Slack webhook integrations. [optional]
api_key String Datadog API key. Only necessary for legacy Datadog webhook integrations. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::SubscriptionPost.new(
  name: Example audit log subscription.,
  statements: null,
  on: false,
  tags: [&quot;testing-tag&quot;],
  config: {&quot;optional&quot;:&quot;an optional property&quot;,&quot;required&quot;:&quot;the required property&quot;,&quot;url&quot;:&quot;https://example.com&quot;},
  url: null,
  api_key: null
)