檢查 Active Directory 設定
產品版本:10.11
最後修改日期:2024年7月31日
檢查 Active Directory 是否已預先設定。
注意!!!
若 NAKIVO Backup & Replication 是以多租戶模式安裝的,則僅有主租戶可使用 API。
終點
https://<Director_IP_address>:4443/c/router
請求範例
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "ADDomainManagement",
"method": "isADConfigurationEstablishedBefore",
"data": null,
"type": "rpc",
"tid": 1}'
請求欄位
|
領域 |
類型 |
值(們) |
|---|---|---|
|
|
字串 |
|
|
|
字串 |
|
|
|
null
|
|
|
|
字串 |
|
|
|
整數 |
|
回應範例
{
"action": "ADDomainManagement",
"method": "isADConfigurationEstablishedBefore",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": true
}
回應欄位
|
領域 |
類型 |
值(們) |
|---|---|---|
|
|
字串 |
|
|
|
字串 |
|
|
|
字串 |
|
|
|
字串 |
|
|
|
null
|
|
where
|
null
|
|
cause
|
null
|
|
data
|
布林值 | true 如果先前已儲存過 AD 設定; false 否則
|