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の2番目のセクションであり、現在のStyleBookから参照したい他のStyleBookを宣言できます。これにより、独自のStyleBookで同じコンフィギュレーションを再構築する代わりに、他のStyleBookをインポートして再利用できます。これは必須のセクションです。
現在のStyleBookで参照したいStyleBookのネームスペースとバージョン番号を宣言する必要があります。すべてのStyleBookは、NITROコンフィギュレーションオブジェクトを直接使用する場合、netscaler.nitro.configネームスペースを参照する必要があります。このネームスペースには、lbvserverサービスやモニターなど、すべてのNetScaler NITROタイプが含まれています。NetScalerバージョン10.5以降のStyleBookがサポートされており、これにより、リリース10.5以降を実行している任意のNetScalerインスタンスでコンフィギュレーションを作成および実行するためにStyleBookを使用できます。
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を参照します。2番目に定義されたプレフィックスはstlbと呼ばれ、com.acme.stylebooksネームスペースとバージョン0.1を参照します。
プレフィックスを定義した後、特定のネームスペースとバージョンに属するタイプまたはStyleBookを参照したい場合はいつでも、<namespace-shorthand>::<type-name>という表記を使用できます。たとえば、ns::lbvserverは、netscaler.nitro.configネームスペース、バージョン10.5で定義されているlbvserverタイプを参照します。
同様に、com.acme.stylebooksネームスペースでバージョン「0.1」のStyleBookを参照したい場合は、stlb::<stylebook-name>という表記を使用できます。
注記
慣例により、プレフィックス「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.