共用方式為


ResourceSyncRules interface

表示 ResourceSyncRules 的介面。

方法

beginCreateOrUpdate(string, string, string, ResourceSyncRule, ResourceSyncRulesCreateOrUpdateOptionalParams)

在父自定義位置、訂用帳戶標識碼和資源群組中建立或更新資源同步規則

beginCreateOrUpdateAndWait(string, string, string, ResourceSyncRule, ResourceSyncRulesCreateOrUpdateOptionalParams)

在父自定義位置、訂用帳戶標識碼和資源群組中建立或更新資源同步規則

beginUpdate(string, string, string, ResourceSyncRulesUpdateOptionalParams)

使用指定資源群組、訂用帳戶和自定義位置名稱中的指定資源同步規則名稱來更新資源同步規則。

beginUpdateAndWait(string, string, string, ResourceSyncRulesUpdateOptionalParams)

使用指定資源群組、訂用帳戶和自定義位置名稱中的指定資源同步規則名稱來更新資源同步規則。

delete(string, string, string, ResourceSyncRulesDeleteOptionalParams)

刪除具有指定資源同步規則名稱、自定義位置資源名稱、資源群組和訂用帳戶標識碼的資源同步規則。

get(string, string, string, ResourceSyncRulesGetOptionalParams)

使用指定的資源群組、訂用帳戶標識元自定義位置資源名稱和資源同步規則名稱,取得 resourceSyncRule 的詳細數據。

listByCustomLocationID(string, string, ResourceSyncRulesListByCustomLocationIDOptionalParams)

取得指定訂用帳戶中的資源同步規則清單。 作業會傳回每個資源同步規則的屬性

方法詳細資料

beginCreateOrUpdate(string, string, string, ResourceSyncRule, ResourceSyncRulesCreateOrUpdateOptionalParams)

在父自定義位置、訂用帳戶標識碼和資源群組中建立或更新資源同步規則

function beginCreateOrUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ResourceSyncRule>, ResourceSyncRule>>

參數

resourceGroupName

string

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

resourceName

string

自訂位置名稱。

childResourceName

string

資源同步規則名稱。

parameters
ResourceSyncRule

用於創建或更新資源同步規則的參數。

傳回

Promise<PollerLike<@azure/core-lro.PollOperationState<ResourceSyncRule>, ResourceSyncRule>>

beginCreateOrUpdateAndWait(string, string, string, ResourceSyncRule, ResourceSyncRulesCreateOrUpdateOptionalParams)

在父自定義位置、訂用帳戶標識碼和資源群組中建立或更新資源同步規則

function beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams): Promise<ResourceSyncRule>

參數

resourceGroupName

string

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

resourceName

string

自訂位置名稱。

childResourceName

string

資源同步規則名稱。

parameters
ResourceSyncRule

用於創建或更新資源同步規則的參數。

傳回

Promise<ResourceSyncRule>

beginUpdate(string, string, string, ResourceSyncRulesUpdateOptionalParams)

使用指定資源群組、訂用帳戶和自定義位置名稱中的指定資源同步規則名稱來更新資源同步規則。

function beginUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams): Promise<PollerLike<PollOperationState<ResourceSyncRule>, ResourceSyncRule>>

參數

resourceGroupName

string

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

resourceName

string

自訂位置名稱。

childResourceName

string

資源同步規則名稱。

options
ResourceSyncRulesUpdateOptionalParams

選項參數。

傳回

Promise<PollerLike<@azure/core-lro.PollOperationState<ResourceSyncRule>, ResourceSyncRule>>

beginUpdateAndWait(string, string, string, ResourceSyncRulesUpdateOptionalParams)

使用指定資源群組、訂用帳戶和自定義位置名稱中的指定資源同步規則名稱來更新資源同步規則。

function beginUpdateAndWait(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams): Promise<ResourceSyncRule>

參數

resourceGroupName

string

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

resourceName

string

自訂位置名稱。

childResourceName

string

資源同步規則名稱。

options
ResourceSyncRulesUpdateOptionalParams

選項參數。

傳回

Promise<ResourceSyncRule>

delete(string, string, string, ResourceSyncRulesDeleteOptionalParams)

刪除具有指定資源同步規則名稱、自定義位置資源名稱、資源群組和訂用帳戶標識碼的資源同步規則。

function delete(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

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

resourceName

string

自訂位置名稱。

childResourceName

string

資源同步規則名稱。

options
ResourceSyncRulesDeleteOptionalParams

選項參數。

傳回

Promise<void>

get(string, string, string, ResourceSyncRulesGetOptionalParams)

使用指定的資源群組、訂用帳戶標識元自定義位置資源名稱和資源同步規則名稱,取得 resourceSyncRule 的詳細數據。

function get(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesGetOptionalParams): Promise<ResourceSyncRule>

參數

resourceGroupName

string

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

resourceName

string

自訂位置名稱。

childResourceName

string

資源同步規則名稱。

options
ResourceSyncRulesGetOptionalParams

選項參數。

傳回

Promise<ResourceSyncRule>

listByCustomLocationID(string, string, ResourceSyncRulesListByCustomLocationIDOptionalParams)

取得指定訂用帳戶中的資源同步規則清單。 作業會傳回每個資源同步規則的屬性

function listByCustomLocationID(resourceGroupName: string, resourceName: string, options?: ResourceSyncRulesListByCustomLocationIDOptionalParams): PagedAsyncIterableIterator<ResourceSyncRule, ResourceSyncRule[], PageSettings>

參數

resourceGroupName

string

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

resourceName

string

自訂位置名稱。

傳回