SandboxPort

class baseten.client.managementapi.SandboxPort(*, name=None, protocol=None, target)

Bases: BaseModel

Parameters:
  • name (str | None)

  • protocol (Literal['HTTP', 'TCP', 'UDP', 'TLS'] | str | None)

  • target (Annotated[int, Ge(ge=1), Le(le=65535)])

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].