ScriptExecution interface
使用者執行的文稿實例 - 自定義或 AVS
- Extends
屬性
errors | Powershell 執行的標準錯誤輸出資料流注意:此屬性將不會串行化。 它只能由伺服器填入。 |
failure |
如果腳本能夠執行,但腳本本身發生錯誤或 Powershell 擲回例外狀況,則錯誤訊息 |
finished |
腳本執行完成的時間注意:這個屬性將不會串行化。 它只能由伺服器填入。 |
hidden |
ARM 將隱藏/看不到的參數,例如密碼和認證 |
information | Powershell 執行中的標準資訊輸出注意:此屬性將不會串行化。 它只能由伺服器填入。 |
named |
用戶定義的字典。 |
output | Powershell 執行的標準輸出數據流 |
parameters | 腳本將接受的參數 |
provisioning |
腳本執行資源的狀態注意:此屬性將不會串行化。 它只能由伺服器填入。 |
retention | 資源存留時間。 如果未提供,將可使用 60 天 |
script |
如果使用者執行 AVS 文稿,則腳本 Cmdlet 資源的參考 |
started |
腳本執行開始的時間注意:這個屬性將不會串行化。 它只能由伺服器填入。 |
submitted |
提交文稿執行的時間注意:這個屬性將不會串行化。 它只能由伺服器填入。 |
timeout | 執行的時間限制 |
warnings | Powershell 執行中的標準警告數據流注意:此屬性將不會串行化。 它只能由伺服器填入。 |
繼承的屬性
id | 資源的完整資源標識碼。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” 附注:此屬性將不會串行化。 它只能由伺服器填入。 |
name | 資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。 |
system |
包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
type | 資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
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?: {[propertyName: string]: Record<string, unknown>}
屬性值
{[propertyName: string]: Record<string, unknown>}
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[]
繼承的屬性詳細資料
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