Databricks SDK for JavaScript
    Preparing search index...

    Interface UpdateModelProviderServiceRequest

    Request to update a model provider service. name and config.provider_type cannot appear in update_mask.

    interface UpdateModelProviderServiceRequest {
        etag?: Uint8Array<ArrayBufferLike>;
        modelProviderService?: ModelProviderService;
        updateMask?: FieldMask<ModelProviderService>;
    }
    Index

    Properties

    etag?: Uint8Array<ArrayBufferLike>

    Optimistic concurrency token from the most recent read. When set, the update succeeds only if the resource has not changed. Leave unset for an unconditional update. For REST requests, URL-encode the base64 string returned by the API when setting the etag query parameter.

    modelProviderService?: ModelProviderService

    The model provider service with the updated field values. name identifies the resource (model-provider-services/{catalog}.{schema}.{model_provider_service}); only fields listed in update_mask are applied.

    Fields to update. Use config to replace the entire configuration. The replacement must include every required field; any optional field you omit is cleared. To preserve sibling fields, use one or more granular paths: comment; config.provider to replace the active provider-specific value (for example, config.openai; the mask path remains config.provider); config.allow_all_targets, config.targets, config.forward_headers, config.forward_query_parameters, config.forward_unmanaged_paths, config.rate_limits, config.pricing.default_discount_basis_points, or config.inference_table. For a pricing update, an explicitly empty pricing object clears the discount but retains the object; omitting pricing clears it. config.pricing is not a supported mask path. The provider type is immutable. A config or config.provider replacement that carries no authentication material preserves the existing authentication binding; input-only plaintext does not need to be read back and re-sent.