Sha256: 6d02a129529c93463132e80a6280314f0a1c114c08e3d95d24f31748a3d6dbb5
Contents?: true
Size: 745 Bytes
Versions: 2
Compression:
Stored size: 745 Bytes
Contents
# Create tenant-based handle returns "CREATED" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::MicrosoftTeamsIntegrationAPI.new body = DatadogAPIClient::V2::MicrosoftTeamsCreateTenantBasedHandleRequest.new({ data: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleRequestData.new({ attributes: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleRequestAttributes.new({ channel_id: "fake-channel-id", name: "fake-handle-name", team_id: "00000000-0000-0000-0000-000000000000", tenant_id: "00000000-0000-0000-0000-000000000001", }), type: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleType::TENANT_BASED_HANDLE, }), }) p api_instance.create_tenant_based_handle(body)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-2.29.1 | examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb |
datadog_api_client-2.28.1 | examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb |