共用方式為


ProtectedItem interface

表示 ProtectedItem 的介面。

方法

beginCreate(string, string, string, ProtectedItemCreateOptionalParams)

建立受保護的專案。

beginCreateAndWait(string, string, string, ProtectedItemCreateOptionalParams)

建立受保護的專案。

beginDelete(string, string, string, ProtectedItemDeleteOptionalParams)

移除受保護的專案。

beginDeleteAndWait(string, string, string, ProtectedItemDeleteOptionalParams)

移除受保護的專案。

beginPlannedFailover(string, string, string, ProtectedItemPlannedFailoverOptionalParams)

在受保護的專案上執行容錯移轉。

beginPlannedFailoverAndWait(string, string, string, ProtectedItemPlannedFailoverOptionalParams)

在受保護的專案上執行容錯移轉。

get(string, string, string, ProtectedItemGetOptionalParams)

取得受保護專案的詳細資料。

list(string, string, ProtectedItemListOptionalParams)

取得指定保存庫中受保護專案的清單。

方法詳細資料

beginCreate(string, string, string, ProtectedItemCreateOptionalParams)

建立受保護的專案。

function beginCreate(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemCreateOptionalParams): Promise<SimplePollerLike<OperationState<ProtectedItemModel>, ProtectedItemModel>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

vaultName

string

保存庫名稱。

protectedItemName

string

受保護的專案名稱。

options
ProtectedItemCreateOptionalParams

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<ProtectedItemModel>, ProtectedItemModel>>

beginCreateAndWait(string, string, string, ProtectedItemCreateOptionalParams)

建立受保護的專案。

function beginCreateAndWait(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemCreateOptionalParams): Promise<ProtectedItemModel>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

vaultName

string

保存庫名稱。

protectedItemName

string

受保護的專案名稱。

options
ProtectedItemCreateOptionalParams

選項參數。

傳回

beginDelete(string, string, string, ProtectedItemDeleteOptionalParams)

移除受保護的專案。

function beginDelete(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ProtectedItemDeleteHeaders>, ProtectedItemDeleteHeaders>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

vaultName

string

保存庫名稱。

protectedItemName

string

受保護的專案名稱。

options
ProtectedItemDeleteOptionalParams

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<ProtectedItemDeleteHeaders>, ProtectedItemDeleteHeaders>>

beginDeleteAndWait(string, string, string, ProtectedItemDeleteOptionalParams)

移除受保護的專案。

function beginDeleteAndWait(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemDeleteOptionalParams): Promise<ProtectedItemDeleteHeaders>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

vaultName

string

保存庫名稱。

protectedItemName

string

受保護的專案名稱。

options
ProtectedItemDeleteOptionalParams

選項參數。

傳回

beginPlannedFailover(string, string, string, ProtectedItemPlannedFailoverOptionalParams)

在受保護的專案上執行容錯移轉。

function beginPlannedFailover(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemPlannedFailoverOptionalParams): Promise<SimplePollerLike<OperationState<PlannedFailoverModel>, PlannedFailoverModel>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

vaultName

string

保存庫名稱。

protectedItemName

string

受保護的專案名稱。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<PlannedFailoverModel>, PlannedFailoverModel>>

beginPlannedFailoverAndWait(string, string, string, ProtectedItemPlannedFailoverOptionalParams)

在受保護的專案上執行容錯移轉。

function beginPlannedFailoverAndWait(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemPlannedFailoverOptionalParams): Promise<PlannedFailoverModel>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

vaultName

string

保存庫名稱。

protectedItemName

string

受保護的專案名稱。

傳回

get(string, string, string, ProtectedItemGetOptionalParams)

取得受保護專案的詳細資料。

function get(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemGetOptionalParams): Promise<ProtectedItemModel>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

vaultName

string

保存庫名稱。

protectedItemName

string

受保護的專案名稱。

options
ProtectedItemGetOptionalParams

選項參數。

傳回

list(string, string, ProtectedItemListOptionalParams)

取得指定保存庫中受保護專案的清單。

function list(resourceGroupName: string, vaultName: string, options?: ProtectedItemListOptionalParams): PagedAsyncIterableIterator<ProtectedItemModel, ProtectedItemModel[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

vaultName

string

保存庫名稱。

options
ProtectedItemListOptionalParams

選項參數。

傳回