Tambahkan definisi lingkungan baru ke properti envs[] dalam file penggantian Anda.
Perhatikan bahwa properti ini adalah array; oleh karena itu, Anda dapat menambahkan lebih dari satu definisi lingkungan ke dalamnya.
Beri nama lingkungan baru yang sama dengan yang Anda buat di UI.
Misalnya, konfigurasi berikut menentukan dua lingkungan: test
dan prod:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-04-09 UTC."],[[["This document details the process for creating new environments in Apigee hybrid version 1.9."],["Creating an environment involves first using the Apigee UI or API, then adding its configuration to the overrides file."],["Multiple environments can be defined within the `envs[]` property in the overrides file, using unique names."],["After defining new environments, the configuration must be applied to the cluster using the `apigeectl apply` command with the `--all-envs` flag."],["For more information about the virtual hosts please consult the documentation about configuring virtual hosts."]]],[]]