ライブラリのアップロードおよびデプロイ
post
/management/weblogic/{version}/edit/partitions/{name}/resourceGroups/{name}/libraries
クライアントからサーバーにライブラリをアップロードしてから、デプロイします。
このメソッドは、非同期呼出しとベスト・エフォート同期呼出しの両方をサポートします。動作は'Prefer'ヘッダーによって制御されます。
リクエスト
サポートされているメディア・タイプ
- multipart/form-data
パス・パラメータ
- name: string
コレクション内のインスタンスの名前プロパティ。
- version: string
WebLogicのRESTインタフェースのバージョン。
ヘッダー・パラメータ
- Prefer(optional): string
'Prefer'ヘッダー・パラメータを使用すると、このメソッドの実行方法に関するプリファレンスを指定できます。値'respond-async'は、リクエストを発行しすぐに完了を待機せずに返すプリファレンスを指定します。また、値'wait=#seconds'は、返される前にメソッド完了の#secondsを待機するプリファレンスを指定します。Preferヘッダーが指定されていないか無効な場合、300秒の待機が使用されます。
- X-Requested-By: string
'X-Requested-By'ヘッダーは、クロスサイト・リクエスト・フォージェリ(CSRF)攻撃からの保護に使用されます。値は、'MyClient'などの任意の名前です。
フォーム・パラメータ
- model: 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: file
アップロードするライブラリ。
セキュリティ
- Admin: basic
タイプ:
Basic
説明:A user in the Admin security role.
- Deployer: basic
タイプ:
Basic
説明:A user in the Deployer security role.