ScriptExecutionProperties interface
用戶調用的腳本的屬性
屬性
| errors | Powershell 執行的標準錯誤輸出數據流 |
| failure |
如果腳本能夠執行,但腳本本身發生錯誤或 Powershell 擲回例外狀況,則錯誤訊息 |
| finished |
腳本執行完成的時間 |
| hidden |
ARM 將隱藏/看不到的參數,例如密碼和認證 |
| information | PowerShell 執行中的標準資訊輸出數據流 |
| named |
用戶定義的字典。 |
| output | Powershell 執行的標準輸出數據流 |
| parameters | 腳本將接受的參數 |
| provisioning |
腳本執行資源的狀態 |
| retention | 資源存留時間。 如果未提供,將可使用 60 天 |
| script |
如果使用者執行 AVS 文稿,則腳本 Cmdlet 資源的參考 |
| started |
腳本執行開始的時間 |
| submitted |
提交腳本執行的時間 |
| timeout | 執行的時間限制 |
| warnings | Powershell 執行中的標準警告輸出數據流 |
屬性詳細資料
errors
Powershell 執行的標準錯誤輸出數據流
errors?: string[]
屬性值
string[]
failureReason
如果腳本能夠執行,但腳本本身發生錯誤或 Powershell 擲回例外狀況,則錯誤訊息
failureReason?: string
屬性值
string
finishedAt
腳本執行完成的時間
finishedAt?: Date
屬性值
Date
hiddenParameters
ARM 將隱藏/看不到的參數,例如密碼和認證
hiddenParameters?: ScriptExecutionParameterUnion[]
屬性值
information
PowerShell 執行中的標準資訊輸出數據流
information?: string[]
屬性值
string[]
namedOutputs
用戶定義的字典。
namedOutputs?: Record<string, Record<string, any>>
屬性值
Record<string, Record<string, any>>
output
Powershell 執行的標準輸出數據流
output?: string[]
屬性值
string[]
parameters
provisioningState
腳本執行資源的狀態
provisioningState?: string
屬性值
string
retention
資源存留時間。 如果未提供,將可使用 60 天
retention?: string
屬性值
string
scriptCmdletId
如果使用者執行 AVS 文稿,則腳本 Cmdlet 資源的參考
scriptCmdletId?: string
屬性值
string
startedAt
腳本執行開始的時間
startedAt?: Date
屬性值
Date
submittedAt
提交腳本執行的時間
submittedAt?: Date
屬性值
Date
timeout
執行的時間限制
timeout: string
屬性值
string
warnings
Powershell 執行中的標準警告輸出數據流
warnings?: string[]
屬性值
string[]