共用方式為


ReplicationProtectionContainers interface

代表 ReplicationProtectionContainers 的介面。

方法

beginCreate(string, string, string, string, CreateProtectionContainerInput, ReplicationProtectionContainersCreateOptionalParams)

建立保護容器的作業。

beginCreateAndWait(string, string, string, string, CreateProtectionContainerInput, ReplicationProtectionContainersCreateOptionalParams)

建立保護容器的作業。

beginDelete(string, string, string, string, ReplicationProtectionContainersDeleteOptionalParams)

拿掉保護容器的作業。

beginDeleteAndWait(string, string, string, string, ReplicationProtectionContainersDeleteOptionalParams)

拿掉保護容器的作業。

beginDiscoverProtectableItem(string, string, string, string, DiscoverProtectableItemRequest, ReplicationProtectionContainersDiscoverProtectableItemOptionalParams)

將可保護專案新增至保護容器的作業(新增實體伺服器)。

beginDiscoverProtectableItemAndWait(string, string, string, string, DiscoverProtectableItemRequest, ReplicationProtectionContainersDiscoverProtectableItemOptionalParams)

將可保護專案新增至保護容器的作業(新增實體伺服器)。

beginSwitchProtection(string, string, string, string, SwitchProtectionInput, ReplicationProtectionContainersSwitchProtectionOptionalParams)

將保護從一個容器切換到另一個容器或另一個復寫提供者的作業。

beginSwitchProtectionAndWait(string, string, string, string, SwitchProtectionInput, ReplicationProtectionContainersSwitchProtectionOptionalParams)

將保護從一個容器切換到另一個容器或另一個復寫提供者的作業。

get(string, string, string, string, ReplicationProtectionContainersGetOptionalParams)

取得保護容器的詳細數據。

list(string, string, ReplicationProtectionContainersListOptionalParams)

列出保存庫中的保護容器。

listByReplicationFabrics(string, string, string, ReplicationProtectionContainersListByReplicationFabricsOptionalParams)

列出指定網狀架構中的保護容器。

方法詳細資料

beginCreate(string, string, string, string, CreateProtectionContainerInput, ReplicationProtectionContainersCreateOptionalParams)

建立保護容器的作業。

function beginCreate(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: ReplicationProtectionContainersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

唯一網狀架構 ARM 名稱。

protectionContainerName

string

唯一保護容器 ARM 名稱。

creationInput
CreateProtectionContainerInput

建立輸入。

傳回

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

beginCreateAndWait(string, string, string, string, CreateProtectionContainerInput, ReplicationProtectionContainersCreateOptionalParams)

建立保護容器的作業。

function beginCreateAndWait(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: ReplicationProtectionContainersCreateOptionalParams): Promise<ProtectionContainer>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

唯一網狀架構 ARM 名稱。

protectionContainerName

string

唯一保護容器 ARM 名稱。

creationInput
CreateProtectionContainerInput

建立輸入。

傳回

beginDelete(string, string, string, string, ReplicationProtectionContainersDeleteOptionalParams)

拿掉保護容器的作業。

function beginDelete(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

唯一網狀架構 ARM 名稱。

protectionContainerName

string

唯一保護容器 ARM 名稱。

傳回

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

beginDeleteAndWait(string, string, string, string, ReplicationProtectionContainersDeleteOptionalParams)

拿掉保護容器的作業。

function beginDeleteAndWait(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersDeleteOptionalParams): Promise<void>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

唯一網狀架構 ARM 名稱。

protectionContainerName

string

唯一保護容器 ARM 名稱。

傳回

Promise<void>

beginDiscoverProtectableItem(string, string, string, string, DiscoverProtectableItemRequest, ReplicationProtectionContainersDiscoverProtectableItemOptionalParams)

將可保護專案新增至保護容器的作業(新增實體伺服器)。

function beginDiscoverProtectableItem(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: ReplicationProtectionContainersDiscoverProtectableItemOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

網狀架構的名稱。

protectionContainerName

string

保護容器的名稱。

discoverProtectableItemRequest
DiscoverProtectableItemRequest

要加入可保護專案的要求物件。

傳回

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

beginDiscoverProtectableItemAndWait(string, string, string, string, DiscoverProtectableItemRequest, ReplicationProtectionContainersDiscoverProtectableItemOptionalParams)

將可保護專案新增至保護容器的作業(新增實體伺服器)。

function beginDiscoverProtectableItemAndWait(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: ReplicationProtectionContainersDiscoverProtectableItemOptionalParams): Promise<ProtectionContainer>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

網狀架構的名稱。

protectionContainerName

string

保護容器的名稱。

discoverProtectableItemRequest
DiscoverProtectableItemRequest

要加入可保護專案的要求物件。

傳回

beginSwitchProtection(string, string, string, string, SwitchProtectionInput, ReplicationProtectionContainersSwitchProtectionOptionalParams)

將保護從一個容器切換到另一個容器或另一個復寫提供者的作業。

function beginSwitchProtection(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: ReplicationProtectionContainersSwitchProtectionOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

唯一的網狀架構名稱。

protectionContainerName

string

保護容器名稱。

switchInput
SwitchProtectionInput

切換保護輸入。

傳回

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

beginSwitchProtectionAndWait(string, string, string, string, SwitchProtectionInput, ReplicationProtectionContainersSwitchProtectionOptionalParams)

將保護從一個容器切換到另一個容器或另一個復寫提供者的作業。

function beginSwitchProtectionAndWait(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: ReplicationProtectionContainersSwitchProtectionOptionalParams): Promise<ProtectionContainer>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

唯一的網狀架構名稱。

protectionContainerName

string

保護容器名稱。

switchInput
SwitchProtectionInput

切換保護輸入。

傳回

get(string, string, string, string, ReplicationProtectionContainersGetOptionalParams)

取得保護容器的詳細數據。

function get(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersGetOptionalParams): Promise<ProtectionContainer>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

網狀架構名稱。

protectionContainerName

string

保護容器名稱。

傳回

list(string, string, ReplicationProtectionContainersListOptionalParams)

列出保存庫中的保護容器。

function list(resourceName: string, resourceGroupName: string, options?: ReplicationProtectionContainersListOptionalParams): PagedAsyncIterableIterator<ProtectionContainer, ProtectionContainer[], PageSettings>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

傳回

listByReplicationFabrics(string, string, string, ReplicationProtectionContainersListByReplicationFabricsOptionalParams)

列出指定網狀架構中的保護容器。

function listByReplicationFabrics(resourceName: string, resourceGroupName: string, fabricName: string, options?: ReplicationProtectionContainersListByReplicationFabricsOptionalParams): PagedAsyncIterableIterator<ProtectionContainer, ProtectionContainer[], PageSettings>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

復原服務保存庫所在的資源群組名稱。

fabricName

string

網狀架構名稱。

傳回