Databricks SDK for JavaScript
    Preparing search index...

    Interface ModelServiceConfig_DestinationConfig

    A destination the model service can route traffic to. Exactly one of the per-type configs inside type_config must be set, and it must match destination_type.

    interface ModelServiceConfig_DestinationConfig {
        destinationType?: ModelServiceConfig_DestinationConfig_DestinationType;
        isDeleted?: boolean;
        name?: string;
        trafficPercentage?: number;
        typeConfig?:
            | {
                $case: "payPerTokenConfig";
                payPerTokenConfig: ModelServiceConfig_PayPerTokenConfig;
            }
            | {
                $case: "provisionedThroughputConfig";
                provisionedThroughputConfig: ModelServiceConfig_ProvisionedThroughputConfig;
            }
            | {
                $case: "externalModelConfig";
                externalModelConfig: ModelServiceConfig_ExternalModelConfig;
            };
    }
    Index

    Properties

    Backing-model category. Determines which oneof variant is populated.

    isDeleted?: boolean

    True when the destination's backing UC entity (MODEL for foundation-model destinations, MODEL_PROVIDER_SERVICE for external destinations) has been deleted but the destination row still references it. The dangling destination is surfaced (not silently dropped) so callers can see the broken routing. Inference traffic through this destination fails closed (BAD_REQUEST / FAILED_PRECONDITION).

    name?: string

    User-facing label for this destination, used in routing references.

    trafficPercentage?: number

    Share of traffic sent to this destination, 0-100. Optional on fallback destinations; see FallbackConfig.

    typeConfig?:
        | {
            $case: "payPerTokenConfig";
            payPerTokenConfig: ModelServiceConfig_PayPerTokenConfig;
        }
        | {
            $case: "provisionedThroughputConfig";
            provisionedThroughputConfig: ModelServiceConfig_ProvisionedThroughputConfig;
        }
        | {
            $case: "externalModelConfig";
            externalModelConfig: ModelServiceConfig_ExternalModelConfig;
        }

    Destination-type-specific configuration.