mws_gpt_deployment (Resource)
Заголовок раздела «mws_gpt_deployment (Resource)»Деплоймент модели – выделенный доступ к модели у пользователя, имеющий собственную конфигурацию
Примеры использования
Заголовок раздела «Примеры использования»resource "mws_gpt_deployment" "deployment" { deployment_name = var.deployment_name model = "glm-4.6-357b" is_active = true
metadata = { display_name = "Example GPT Deployment" description = "An example GPT model deployment" }}
variable "deployment_name" { type = string default = "my-gpt-deployment" description = "GPT deployment name"}Required
Заголовок раздела «Required»deployment_name(String) Параметр пути для имени деплоймента, уникальный в рамках проекта.
Optional
Заголовок раздела «Optional»is_active(Boolean) Флаг, устанавливающий активность деплоймента.kind(String) Указание на тип ресурса.metadata(Attributes) (see below for nested schema)model(String) Ссылка на типизированный референс базовой модели.project(String) Путь к проекту.timeouts(Attributes) (see below for nested schema)
Read-Only
Заголовок раздела «Read-Only»id(String) ID ресурса.status(Attributes) Текущее наблюдаемое состояние деплоймента. (see below for nested schema)
Nested Schema for metadata
Заголовок раздела «Nested Schema for metadata»Optional:
description(String) Описание ресурса.display_name(String) Отображаемое имя. Необязательное поле, можно свободно задавать и изменять для удобства организации ресурсов.
Read-Only:
create_time(String) Дата создания объекта.delete_time(String) Время запроса на удаление ресурса (не фактическое время удаления).id(String) Ссылка на типизированный референс.purge_time(String)usages(Attributes List) Связи с другими ресурсами. В зависимости от типа связи операции над ресурсом могут быть ограничены. (see below for nested schema)
Nested Schema for metadata.usages
Заголовок раздела «Nested Schema for metadata.usages»Read-Only:
name(String) Имя связи. Требуется для модификации коллекции.resource(String) Ссылка на ресурс.usage_type(String) Тип связи. Помимо стандартныхownиuseмогут быть добавлены специализированные типы для конкретных сервисов.
Nested Schema for timeouts
Заголовок раздела «Nested Schema for timeouts»Optional:
create(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as ”30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours).delete(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as ”30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.update(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as ”30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours).
Nested Schema for status
Заголовок раздела «Nested Schema for status»Read-Only:
capabilities(Attributes) (see below for nested schema)context_window_size(Number) Размер контекстного окна модели в токенах.deprecation(Attributes) (see below for nested schema)developer(String) Разработчик модели.input_modalities(Attributes) (see below for nested schema)modalities(Attributes) (see below for nested schema)output_modalities(Attributes) (see below for nested schema)ready(Attributes) Информация о статусе реконсиляции. (see below for nested schema)size(Number) Размер модели в миллиардах параметров.
Nested Schema for status.capabilities
Заголовок раздела «Nested Schema for status.capabilities»Read-Only:
chat_completion(Boolean, Deprecated)embedding(Boolean, Deprecated)reasoning(Boolean)tool_calling(Boolean)
Nested Schema for status.deprecation
Заголовок раздела «Nested Schema for status.deprecation»Read-Only:
inference(String)
Nested Schema for status.input_modalities
Заголовок раздела «Nested Schema for status.input_modalities»Read-Only:
audio(Boolean)file(Boolean)image(Boolean)text(Boolean)
Nested Schema for status.modalities
Заголовок раздела «Nested Schema for status.modalities»Read-Only:
audio(Boolean)text(Boolean)vision(Boolean)
Nested Schema for status.output_modalities
Заголовок раздела «Nested Schema for status.output_modalities»Read-Only:
audio(Boolean)embedding(Boolean)reranking(Boolean)text(Boolean)transcription(Boolean)
Nested Schema for status.ready
Заголовок раздела «Nested Schema for status.ready»Read-Only:
message(String) Описание статуса.state(String) Состояние ресурса.