This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
导入 StyleBook
这是您的 StyleBook 的第二部分,允许您声明当前 StyleBook 中要引用的其他 StyleBook。这使您能够导入和重用其他 StyleBook,而无需在您自己的 StyleBook 中重新构建相同的配置。这是一个强制性部分。
您必须声明要在当前 StyleBook 中引用的 StyleBook 的 命名空间 和 版本 号。如果任何 StyleBook 直接使用 NITRO 配置对象,则必须引用 netscaler.nitro.config 命名空间。此命名空间包含所有 NetScaler NITRO 类型,例如 lbvserver 服务或监视器。支持 NetScaler 10.5 及更高版本的 StyleBook,这意味着您可以使用 StyleBook 在运行 10.5 或更高版本的任何 NetScaler 实例上创建和运行配置。
import-stylebooks 部分中使用的 前缀 属性是引用命名空间和版本组合的简写。例如,“ns” 前缀可用于引用版本为 10.5 的 netscaler.nitro.config 命名空间。在 StyleBook 的后续部分中,您无需每次引用具有此命名空间和版本的 StyleBook 时都使用命名空间和版本,只需使用所选的前缀字符串以及 StyleBook 的名称即可对其进行唯一标识。
示例:
import-stylebooks:
-
namespace: netscaler.nitro.config
version: "10.5"
prefix: ns
-
namespace: com.acme.stylebooks
version: "0.1"
prefix: stlb
<!--NeedCopy-->
在上述示例中,定义的第一个前缀称为 ns,并引用 netscaler.nitro.config 命名空间和版本 10.5。定义的第二个前缀称为 stlb,并引用 com.acme.stylebooks 命名空间和版本 0.1。
定义前缀后,每当您要引用属于特定命名空间和版本的类型或 StyleBook 时,您可以使用表示法 <命名空间-简写>::<类型名称>。例如,ns::lbvserver 引用在 netscaler.nitro.config 命名空间版本 10.5 中定义的 lbvserver 类型。
同样,如果您想引用 com.acme.stylebooks 命名空间中版本为 “0.1” 的 StyleBook,您可以使用表示法 stlb::<StyleBook 名称>。
注意
按照惯例,前缀 “ns” 用于引用 NetScaler 的 NITRO 命名空间。
共享
共享
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.