RecommendationProperties interface
建議資源特定屬性
屬性
| action |
這個物件建議的動作名稱。 |
| blade |
入口網站上刀鋒視窗的深層連結。 |
| channels | 此建議可以套用的通道清單。 |
| creation |
建立此實例時的時間戳。 |
| display |
規則的UI易記名稱(可能不是唯一的)。 |
| enabled | True 是表示 如果這項建議仍然有效(即「可採取動作」)。 如果無效,則為 False。 |
| end |
建議所參考範圍的UTC結束時間。 |
| extension |
如果存在,則為入口網站的延伸模組名稱。 |
| forward |
將連結轉寄至與規則相關聯的外部檔。 |
| is |
如果這與動態新增的規則相關聯,則為 True |
| level | 指出這項建議如何影響此建議的層級。 |
| message | 建議文字。 |
| next |
在UTC中下一次通知此建議的時機。 Null 表示永遠不會再收到通知。 |
| notification |
此通知到期的 UTC 日期和時間。 |
| notified |
此實例在 UTC 中的最後一個時間戳實際上已收到通知。 Null 表示此建議尚未收到通知。 |
| recommendation |
每個建議對象相關聯的 GUID 值。 值可能包含 UUID |
| resource |
此建議對象相關聯的完整ARM資源識別符字串。 |
| resource |
此建議適用的資源類型名稱,例如 Subscription、ServerFarm、Site。 |
| rule |
規則的唯一名稱。 |
| score | 規則測量的計量值。 |
| start |
建議所參考範圍的UTC開始時間。 |
| states | 此建議的狀態清單。 如果它是 null,則應該視為「作用中」。 |
屬性詳細資料
actionName
這個物件建議的動作名稱。
actionName?: string
屬性值
string
bladeName
入口網站上刀鋒視窗的深層連結。
bladeName?: string
屬性值
string
channels
此建議可以套用的通道清單。
channels?: "All" | "Email" | "Notification" | "Api" | "Webhook"
屬性值
"All" | "Email" | "Notification" | "Api" | "Webhook"
creationTime
建立此實例時的時間戳。
creationTime?: string | Date
屬性值
string | Date
displayName
規則的UI易記名稱(可能不是唯一的)。
displayName?: string
屬性值
string
enabled
True 是表示 如果這項建議仍然有效(即「可採取動作」)。 如果無效,則為 False。
enabled?: number
屬性值
number
endTime
建議所參考範圍的UTC結束時間。
endTime?: string | Date
屬性值
string | Date
extensionName
如果存在,則為入口網站的延伸模組名稱。
extensionName?: string
屬性值
string
forwardLink
將連結轉寄至與規則相關聯的外部檔。
forwardLink?: string
屬性值
string
isDynamic
如果這與動態新增的規則相關聯,則為 True
isDynamic?: boolean
屬性值
boolean
level
指出這項建議如何影響此建議的層級。
level?: "Critical" | "Warning" | "Information" | "NonUrgentSuggestion"
屬性值
"Critical" | "Warning" | "Information" | "NonUrgentSuggestion"
message
建議文字。
message?: string
屬性值
string
nextNotificationTime
在UTC中下一次通知此建議的時機。 Null 表示永遠不會再收到通知。
nextNotificationTime?: string | Date
屬性值
string | Date
notificationExpirationTime
此通知到期的 UTC 日期和時間。
notificationExpirationTime?: string | Date
屬性值
string | Date
notifiedTime
此實例在 UTC 中的最後一個時間戳實際上已收到通知。 Null 表示此建議尚未收到通知。
notifiedTime?: string | Date
屬性值
string | Date
recommendationId
每個建議對象相關聯的 GUID 值。
值可能包含 UUID
recommendationId?: string
屬性值
string
resourceId
此建議對象相關聯的完整ARM資源識別符字串。
resourceId?: string
屬性值
string
resourceScope
此建議適用的資源類型名稱,例如 Subscription、ServerFarm、Site。
resourceScope?: "ServerFarm" | "Subscription" | "WebSite"
屬性值
"ServerFarm" | "Subscription" | "WebSite"
ruleName
規則的唯一名稱。
ruleName?: string
屬性值
string
score
規則測量的計量值。
score?: number
屬性值
number
startTime
建議所參考範圍的UTC開始時間。
startTime?: string | Date
屬性值
string | Date
states
此建議的狀態清單。 如果它是 null,則應該視為「作用中」。
states?: string[]
屬性值
string[]