承認機能が Cisco 仮想マネージド サービスで有効になっている場合、関連する許可を持っているユーザーは、サービスリクエストの承認または拒否を行うことができます。
承認者は、次の要求タイプを承認または拒否することができます:
-
新しいサービス リクエスト
-
既存のサービス リクエストのを更新
-
サービスのキャンセル リクエスト
ユーザの承認を有効にするために必要な権限の詳細については、『Cisco 仮想マネージド サービス (VMS) 3.3 プラットフォームおよびサービス パック、権限についての付録』を参照してください。
承認メタデータは、サービス オファー レベルで有効になっている必要があります。このメタデータは、Consume Service API の 'Import' サービス POSTリクエストを使用してインポートする必要があります。
承認を有効にするには、次のメタデータを、Consume Service API の インポート サービス POST リクエストの 'offers' セクションに追加します。
API の詳細については、[VMS portal] > [Account Settings] でアクセスできる Swagger のマニュアルを参照してください。
"approvals": {
"supportedApprovalOperations": [
"NEW_ORDER","UPDATE_ORDER","DELETE_ORDER"
承認に関連した、許可済みの操作 (新規サービス、サービスの更新、登録解除) を編集するには、同じ API を使用できます。サービス提供に関連した承認機能を有効にした後は、APPROVE_SERVICE 権限を持つすべてのユーザが、サービス リクエストの承認または拒否を行えます。
次に示すのは、承認メタデータを含む、ConsumeService API のサンプルです。
{
"id": "16daba64-f788-4138-8977-6d5def97e16a",
"name": "cloudvpn",
"configuration": {},
"options": [],
"properties": [],
"offers": [
{
"id": "17b1d14c-60ee-4cce-8475-b9e2bb0fa9a8",
"name": "basic",
"approvals": {
"supportedApprovalOperations": [
"NEW_ORDER","UPDATE_ORDER","DELETE_ORDER"
]
}
},
{
"id": "ab0ef666-965a-4c20-b97e-709ab66394f8",
"name": "medium",
"approvals": {
"supportedApprovalOperations": [
"NEW_ORDER","UPDATE_ORDER","DELETE_ORDER"
]
}
},
"offers": [
{
"id": "17b1d14c-60ee-4cce-8475-b9e2bb0fa9a8",
"name": "basic",
"approvals": {
"supportedApprovalOperations": [
"NEW_ORDER","UPDATE_ORDER","DELETE_ORDER"
]