Sha256: 2a11877941a06527a411089ca6775791dcc2db521e95c916f57cb382d87469f5
Contents?: true
Size: 897 Bytes
Versions: 10
Compression:
Stored size: 897 Bytes
Contents
# Add Confluent account returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new body = DatadogAPIClient::V2::ConfluentAccountCreateRequest.new({ data: DatadogAPIClient::V2::ConfluentAccountCreateRequestData.new({ attributes: DatadogAPIClient::V2::ConfluentAccountCreateRequestAttributes.new({ api_key: "TESTAPIKEY123", api_secret: "test-api-secret-123", resources: [ DatadogAPIClient::V2::ConfluentAccountResourceAttributes.new({ id: "resource-id-123", resource_type: "kafka", tags: [ "myTag", "myTag2:myValue", ], }), ], tags: [ "myTag", "myTag2:myValue", ], }), type: DatadogAPIClient::V2::ConfluentAccountType::CONFLUENT_CLOUD_ACCOUNTS, }), }) p api_instance.create_confluent_account(body)
Version data entries
10 entries across 10 versions & 1 rubygems