@azure/arm-extendedlocation package
介面
類型別名
| AzureSupportedClouds |
雲端設定為字串常值類型的支援值 |
| ContinuablePage |
描述結果頁面的介面。 |
| CreatedByType |
建立資源的實體種類。 服務支援的已知值
使用者:實體是由使用者建立的。 |
| HostType |
自訂地點所參考的主機類型(例如 Kubernetes 等)。 服務支援的已知值Kubernetes:Kubernetes |
| ResourceIdentityType |
識別類型。 服務支援的已知值
系統指派:系統指派 |
列舉
| AzureClouds |
一個用來描述 Azure Cloud 環境的 enum。 |
| KnownCreatedByType |
建立資源的實體種類。 |
| KnownHostType |
自定義位置所參考的主機類型(Kubernetes 等...)。 |
| KnownResourceIdentityType |
識別類型。 |
| KnownVersions |
可用的 API 版本。 |
函式
| is |
RestError 的 Typeguard |
| restore |
從另一個輪詢程式的串行化狀態建立輪詢器。 當您想要在不同的主機上建立輪詢器,或在原始輪詢器不在範圍內之後建構投票器時,這非常有用。 |
變數
| Rest |
失敗管線要求的自定義錯誤類型。 |
函式詳細資料
isRestError(unknown)
RestError 的 Typeguard
function isRestError(e: unknown): e
參數
- e
-
unknown
catch 子句攔截到的東西。
傳回
e
restorePoller<TResponse, TResult>(CustomLocationsManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
從另一個輪詢程式的串行化狀態建立輪詢器。 當您想要在不同的主機上建立輪詢器,或在原始輪詢器不在範圍內之後建構投票器時,這非常有用。
function restorePoller<TResponse, TResult>(client: CustomLocationsManagementClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
參數
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
傳回
PollerLike<OperationState<TResult>, TResult>