mws_gpt_deployment (Resource)
Заголовок раздела «mws_gpt_deployment (Resource)»Примеры использования
Заголовок раздела «Примеры использования»resource "mws_gpt_deployment" "deployment" { deployment_name = var.deployment_name model = "glm-5.2" 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) The ID of this resource.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) Дата создания объекта
Дата в формате RFC3339. Пример: 2006-01-02T15:04:05Z07:00
delete_time(String) Время запроса на удаление ресурса (не фактическое время удаления)
Дата в формате RFC3339. Пример: 2006-01-02T15:04:05Z07:00
id(String) Ссылка на типизированный референсpurge_time(String) Время удаления ресурса
Дата в формате RFC3339. Пример: 2006-01-02T15:04:05Z07:00
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) Дата в формате RFC3339. Пример: 2006-01-02T15:04:05Z07:00
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)image(Boolean)reranking(Boolean)text(Boolean)transcription(Boolean)
Nested Schema for status.ready
Заголовок раздела «Nested Schema for status.ready»Read-Only:
message(String) Описание статусаstate(String) Состояние ресурса