Skip to main content

CREATE OR UPDATE Egress Sink

PATCH 

/workspaces/:workspaceId/egress-sinks/:egressSinkName

Creates new egress sink or updates existing one.

Request

Path Parameters

    workspaceId uuidrequired

    Name of the workspace.

    egressSinkName stringrequired

    Name of the egress sink.

Header Parameters

    If-None-Match string

    To ensure that no existing egress sink is updated pass If-None-Match header set to "*".

Body

    properties

    object

    isEnabled booleannullable

    config

    object

    azureEventHub

    object

    connectionString stringrequired

    azureServiceBus

    object

    connectionString stringrequired

    sql

    object

    postgreSql

    object

    required

    connectionString stringrequired

    grafana

    object

    otel

    object

    endpoint urinullable

    basicAuth

    object

    username stringnullable
    password stringnullable

    delta

    object

    azureBlobStorage

    object

    required

    connectionString stringnullable
    containerName stringnullable

    awsS3

    object

    bucketName stringnullable
    region stringnullable

    iamUserAccessKey

    object

    accessKey stringrequired
    secretAccessKey stringrequired

Responses

Updated egress sink or update is not needed.

Schema

    name stringrequired
    workspaceId uuidrequired

    properties

    object

    required

    isEnabled booleanrequired

    config

    object

    required

    azureEventHub

    object

    endpoint stringrequired
    eventHubName stringrequired
    sharedAccessKeyName stringrequired

    azureServiceBus

    object

    endpoint stringrequired
    entityName stringrequired
    sharedAccessKeyName stringrequired

    sql

    object

    postgreSql

    object

    required

    host stringrequired
    port stringrequired
    database stringrequired
    username stringrequired

    grafana

    object

    otel

    object

    endpoint urirequired

    basicAuth

    object

    required

    username stringrequired

    delta

    object

    azureBlobStorage

    object

    required

    blobServiceUri urirequired
    storageAccountName stringrequired
    containerName stringrequired

    awsS3

    object

    bucketName stringrequired
    region stringrequired

    iamUserAccessKey

    object

    required

    accessKey stringrequired
    protocolVersion int32required

    Possible values: [V1, V2, Mixed]

Loading...