ライブラリのアップロードおよびデプロイ
post
/management/weblogic/{version}/edit/libraries
クライアントからサーバーにライブラリをアップロードしてから、デプロイします。
このメソッドは、非同期呼出しとベスト・エフォート同期呼出しの両方をサポートします。動作は'Prefer'ヘッダーによって制御されます。
リクエスト
サポートされているメディア・タイプ
- multipart/form-data
パス・パラメータ
- version(required): string
WebLogic RESTインタフェースのバージョン。
ヘッダー・パラメータ
- Prefer: string
Preferヘッダー・パラメータを使用すると、このメソッドの実行方法に関するプリファレンスを指定できます。値respond-asyncは、リクエストを発行し完了を待機せずにすぐに返すプリファレンスを指定します。また、値wait=#secondsは、返す前にメソッドの完了を#seconds待機するプリファレンスを指定します。Preferヘッダーが指定されていないか無効な場合、300秒の待機が使用されます。
- X-Requested-By(required): string
X-Requested-Byヘッダーは、クロスサイト・リクエスト・フォージェリ(CSRF)攻撃からの保護に使用されます。値は、MyClientなどの任意の名前です。
フォーム・パラメータ
- model(required): string
残りのデプロイメント情報を含みます。
この文字列パラメータには、次のスキーマに一致するJSONオブジェクトを含める必要があります:
{ "type": "object", "properties": { "name": { "type": "string", "description": "The user-specified name of this deployment.This name is included as one of the key properties in the MBean's javax.management.ObjectNameName=user-specified-name" }, "targets": { "title": "Target References", "type": "array", "items": { "title": "Target Reference", "type": "object", "properties": { "identity": { "title": "Identity", "type": "array", "items": { "type": "string", "description": "" }, "description": "DOC TEAM TBD - describe an identity - it's a reference to another WLS REST resource." } }, "description": "Contains the target reference." }, "description": "Contains the array of target references. The clusters and/or servers on which this library will be deployed.The deployment will only occur once if the targets overlap." } }, "required": [ "name" ] }
- sourcePath(required): file
アップロードするライブラリ。
セキュリティ