AutomationRules interface

表示 AutomationRules 的介面。

方法

createOrUpdate(string, string, string, AutomationRulesCreateOrUpdateOptionalParams)

建立或更新自動化規則。

delete(string, string, string, AutomationRulesDeleteOptionalParams)

刪除自動化規則。

get(string, string, string, AutomationRulesGetOptionalParams)

取得自動化規則。

list(string, string, AutomationRulesListOptionalParams)

取得所有自動化規則。

方法詳細資料

createOrUpdate(string, string, string, AutomationRulesCreateOrUpdateOptionalParams)

建立或更新自動化規則。

function createOrUpdate(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesCreateOrUpdateOptionalParams): Promise<AutomationRule>

參數

resourceGroupName

string

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

workspaceName

string

工作區的名稱。

automationRuleId

string

自動化規則標識碼

傳回

Promise<AutomationRule>

delete(string, string, string, AutomationRulesDeleteOptionalParams)

刪除自動化規則。

function delete(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesDeleteOptionalParams): Promise<AutomationRulesDeleteResponse>

參數

resourceGroupName

string

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

workspaceName

string

工作區的名稱。

automationRuleId

string

自動化規則標識碼

options
AutomationRulesDeleteOptionalParams

選項參數。

傳回

get(string, string, string, AutomationRulesGetOptionalParams)

取得自動化規則。

function get(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesGetOptionalParams): Promise<AutomationRule>

參數

resourceGroupName

string

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

workspaceName

string

工作區的名稱。

automationRuleId

string

自動化規則標識碼

options
AutomationRulesGetOptionalParams

選項參數。

傳回

Promise<AutomationRule>

list(string, string, AutomationRulesListOptionalParams)

取得所有自動化規則。

function list(resourceGroupName: string, workspaceName: string, options?: AutomationRulesListOptionalParams): PagedAsyncIterableIterator<AutomationRule, AutomationRule[], PageSettings>

參數

resourceGroupName

string

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

workspaceName

string

工作區的名稱。

options
AutomationRulesListOptionalParams

選項參數。

傳回