共用方式為


ReplicationProtectionIntents interface

代表 ReplicationProtectionIntents 的介面。

方法

create(string, string, string, CreateProtectionIntentInput, ReplicationProtectionIntentsCreateOptionalParams)

建立 ASR 複寫保護意圖項目的作業。

get(string, string, string, ReplicationProtectionIntentsGetOptionalParams)

取得 ASR 複寫保護意圖的詳細數據。

list(string, string, ReplicationProtectionIntentsListOptionalParams)

取得保存庫中 ASR 複寫保護意圖物件的清單。

方法詳細資料

create(string, string, string, CreateProtectionIntentInput, ReplicationProtectionIntentsCreateOptionalParams)

建立 ASR 複寫保護意圖項目的作業。

function create(resourceName: string, resourceGroupName: string, intentObjectName: string, input: CreateProtectionIntentInput, options?: ReplicationProtectionIntentsCreateOptionalParams): Promise<ReplicationProtectionIntent>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

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

intentObjectName

string

複寫保護項目的名稱。

input
CreateProtectionIntentInput

建立保護意圖輸入。

傳回

get(string, string, string, ReplicationProtectionIntentsGetOptionalParams)

取得 ASR 複寫保護意圖的詳細數據。

function get(resourceName: string, resourceGroupName: string, intentObjectName: string, options?: ReplicationProtectionIntentsGetOptionalParams): Promise<ReplicationProtectionIntent>

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

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

intentObjectName

string

複寫保護意圖名稱。

傳回

list(string, string, ReplicationProtectionIntentsListOptionalParams)

取得保存庫中 ASR 複寫保護意圖物件的清單。

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

參數

resourceName

string

復原服務保存庫的名稱。

resourceGroupName

string

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

傳回