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. Provide the matching type-specific configuration and leave the other type-specific configurations unset.

    isDeleted?: boolean

    Whether the destination's backing model or model provider service has been deleted. The destination remains visible so you can identify the broken dependency. Requests cannot use this destination until the backing resource is restored or the destination is replaced.

    name?: string

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

    trafficPercentage?: number

    Percentage of primary traffic sent to this destination, from 0 to 100. Required when there is more than one primary destination, in which case the primary percentages must sum to 100; a single primary destination receives all traffic. Fallback destinations are ordered and do not use this field.

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

    Destination-type-specific configuration.

    Type Declaration