Watcher interface
監看員類型的定義。
- Extends
屬性
| creation |
取得或設定建立時間。 |
| description | 取得或設定描述。 |
| etag | 取得或設定資源的 etag。 |
| execution |
取得或設定叫用監看員的頻率。 |
| last |
上次修改監看員的使用者詳細數據。 |
| last |
取得或設定上次修改的時間。 |
| location | 資源所在的地理位置 |
| script |
取得或設定監看員附加的腳本名稱,也就是現有 Runbook 的名稱。 |
| script |
取得或設定腳本的參數。 |
| script |
取得或設定監看員將執行之混合式背景工作角色群組的名稱。 |
| status | 取得監看員的目前狀態。 |
| tags | 資源標籤。 |
繼承的屬性
| id | 資源的完整資源標識碼。 範例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| name | 資源的名稱 |
| system |
包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 |
| type | 資源的類型。 例如:「Microsoft.Compute/virtualMachines」或「Microsoft.Storage/storageAccounts」 |
屬性詳細資料
creationTime
取得或設定建立時間。
creationTime?: Date
屬性值
Date
description
取得或設定描述。
description?: string
屬性值
string
etag
取得或設定資源的 etag。
etag?: string
屬性值
string
executionFrequencyInSeconds
取得或設定叫用監看員的頻率。
executionFrequencyInSeconds?: number
屬性值
number
lastModifiedBy
上次修改監看員的使用者詳細數據。
lastModifiedBy?: string
屬性值
string
lastModifiedTime
取得或設定上次修改的時間。
lastModifiedTime?: Date
屬性值
Date
location
資源所在的地理位置
location?: string
屬性值
string
scriptName
取得或設定監看員附加的腳本名稱,也就是現有 Runbook 的名稱。
scriptName?: string
屬性值
string
scriptParameters
取得或設定腳本的參數。
scriptParameters?: Record<string, string>
屬性值
Record<string, string>
scriptRunOn
取得或設定監看員將執行之混合式背景工作角色群組的名稱。
scriptRunOn?: string
屬性值
string
status
取得監看員的目前狀態。
status?: string
屬性值
string
tags
資源標籤。
tags?: Record<string, string>
屬性值
Record<string, string>
繼承的屬性詳細資料
id
資源的完整資源標識碼。 範例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
id?: string
屬性值
string
name
systemData
包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。
systemData?: SystemData
屬性值
type
資源的類型。 例如:「Microsoft.Compute/virtualMachines」或「Microsoft.Storage/storageAccounts」
type?: string
屬性值
string