@azure/arm-imagebuilder package
介面
類型別名
| AutoRunState |
啟用此欄位將會在映像範本建立或更新時觸發自動建置。 |
| AzureSupportedClouds |
雲端設定為字串常值類型的支援值 |
| ContinuablePage |
描述結果頁面的介面。 |
| CreatedByType |
建立資源的實體種類。 服務支援的已知值
使用者:實體是由使用者建立的。 |
| DistributeVersionerUnion |
DistributeVersionerUnion 的別名 |
| ImageTemplateCustomizerUnion |
Alias for ImageTemplateCustomizerUnion |
| ImageTemplateDistributorUnion |
ImageTemplateDistributorUnion 的別名 |
| ImageTemplateInVMValidatorUnion |
Alias for ImageTemplateInVMValidatorUnion |
| ImageTemplateSourceUnion |
ImageTemplateSourceUnion 的別名 |
| OnBuildError |
建置失敗時的錯誤處理行為 服務支援的已知值
清理:清理 |
| ProvisioningErrorCode |
配置失敗的錯誤代碼 服務支援的已知值
BadSourceType:BadSourceType |
| ProvisioningState |
資源的布建狀態 |
| ReplicationMode |
描述 Azure Compute Gallery 中分發的複製模式。 避免使用預設(完整版)。 服務支援的已知值
完整:完整複製模式 |
| ResourceIdentityType |
用於映像範本的身分識別類型。 類型 『None』 會從映像範本中移除任何身分識別。 |
| RunState |
上次演出的狀況 |
| RunSubState |
上次運行的子國家 |
| SharedImageStorageAccountType |
指定用於存放 Azure Compute Gallery 映像版本的儲存帳號類型。 服務支援的已知值
Standard_LRS:Standard_LRS |
| TriggerPropertiesUnion |
TriggerPropertiesUnion 的別名 |
| VMBootOptimizationState |
啟用此欄位可藉由優化最終自定義映像輸出來改善 VM 開機時間。 |
| WorkloadOptimizationState |
啟用此欄位將優化虛擬機映像以符合特定工作負載。 |
列舉
| AzureClouds |
一個用來描述 Azure Cloud 環境的 enum。 |
| KnownCreatedByType |
建立資源的實體種類。 |
| KnownOnBuildError |
建置失敗時的錯誤處理行為 |
| KnownProvisioningErrorCode |
配置失敗的錯誤代碼 |
| KnownReplicationMode |
描述 Azure Compute Gallery 中分發的複製模式。 避免使用預設(完整版)。 |
| KnownSharedImageStorageAccountType |
指定用於存放 Azure Compute Gallery 映像版本的儲存帳號類型。 |
| KnownVersions |
可用的 API 版本。 |
函式
| is |
RestError 的 Typeguard |
| restore |
從另一個輪詢器的序列化狀態建立輪詢器。 當您想要在不同的主機上建立輪詢器,或需要在原始輪詢器不在範圍內之後建構輪詢器時,這會很有用。 |
變數
| Rest |
失敗管線要求的自定義錯誤類型。 |
函式詳細資料
isRestError(unknown)
RestError 的 Typeguard
function isRestError(e: unknown): e
參數
- e
-
unknown
catch 子句攔截到的東西。
傳回
e
restorePoller<TResponse, TResult>(ImageBuilderClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
從另一個輪詢器的序列化狀態建立輪詢器。 當您想要在不同的主機上建立輪詢器,或需要在原始輪詢器不在範圍內之後建構輪詢器時,這會很有用。
function restorePoller<TResponse, TResult>(client: ImageBuilderClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
參數
- client
- ImageBuilderClient
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
傳回
PollerLike<OperationState<TResult>, TResult>