Sha256: 4d41bb342549606fe250ab06ff4976811dc2d0eaa1f548d698fefdbc396725a6
Contents?: true
Size: 746 Bytes
Versions: 1
Compression:
Stored size: 746 Bytes
Contents
# Create api handle returns "CREATED" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::MicrosoftTeamsIntegrationAPI.new body = DatadogAPIClient::V2::MicrosoftTeamsCreateApiHandleRequest.new({ data: DatadogAPIClient::V2::MicrosoftTeamsApiHandleRequestData.new({ attributes: DatadogAPIClient::V2::MicrosoftTeamsApiHandleRequestAttributes.new({ channel_id: "19:iD_D2xy_sAa-JV851JJYwIa6mlW9F9Nxm3SLyZq68qY1@thread.tacv2", name: "Example-Microsoft-Teams-Integration", team_id: "e5f50a58-c929-4fb3-8866-e2cd836de3c2", tenant_id: "4d3bac44-0230-4732-9e70-cc00736f0a97", }), type: DatadogAPIClient::V2::MicrosoftTeamsApiHandleType::HANDLE, }), }) p api_instance.create_api_handle(body)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-2.27.1 | examples/v2/microsoft-teams-integration/CreateApiHandle_1540689753.rb |