@azure/arm-containerservicesafeguards package

類別

ContainerServiceClient

介面

ContainerServiceClientOptionalParams

用戶端的選用參數。

DeploymentSafeguard

部署保護措施

DeploymentSafeguardCreateOrUpdate

部署保護措施

DeploymentSafeguardsCreateOptionalParams

選擇性參數。

DeploymentSafeguardsDeleteOptionalParams

選擇性參數。

DeploymentSafeguardsGetOptionalParams

選擇性參數。

DeploymentSafeguardsListOptionalParams

選擇性參數。

DeploymentSafeguardsOperations

代表 DeploymentSafeguards 作業的介面。

DeploymentSafeguardsProperties

DeploymentSafeguards 屬性

DeploymentSafeguardsPropertiesCreateOrUpdate

DeploymentSafeguards 屬性

ErrorAdditionalInfo

資源管理錯誤其他資訊。

ErrorDetail

錯誤詳細數據。

ErrorResponse

所有 Azure Resource Manager API 的常見錯誤回應,以傳回失敗作業的錯誤詳細數據。

ExtensionResource

基底延伸模組資源。

Operation

從資源提供者作業 API API 傳回的 REST API 作業詳細數據

OperationDisplay

本地化顯示資訊和操作。

OperationsListOptionalParams

選擇性參數。

OperationsOperations

代表作業作業的介面。

PageSettings

byPage 方法的選項

PagedAsyncIterableIterator

允許非同步迭代迭代完成和按頁面進行的介面。

Resource

回應中針對所有 Azure Resource Manager 資源傳回的常見欄位

RestorePollerOptions
SystemData

與建立和上次修改資源相關的元數據。

類型別名

ActionType

可延伸列舉。 表示動作類型。 「內部」是指僅供內部 API 使用的動作。
KnownActionType 可以與 ActionType 交替使用,此列舉包含服務支援的已知值。

服務支援的已知值

內部:動作適用於僅限內部的 API。

ContinuablePage

描述結果頁面的介面。

CreatedByType

建立資源的實體類型。
<xref:KnowncreatedByType> 可以與 createdByType 互換使用,此列舉包含服務支援的已知值。

服務支援的已知值

使用者:實體是由使用者建立的。
應用程式:實體是由應用程式所建立。
ManagedIdentity:實體是由受控識別所建立。
金鑰:實體是由金鑰建立的。

DeploymentSafeguardsLevel

指定部署保護措施的層級
KnownDeploymentSafeguardsLevel 可以與 DeploymentSafeguardsLevel 互換使用,此列舉包含服務支援的已知值。

服務支援的已知值

警告:最佳做法違規只會顯示警告
強制執行:最佳做法違規行為將被拒絕

Origin

作業的預期執行程式;如同資源型訪問控制 (RBAC) 和稽核記錄 UX。 預設值為「user,system」
KnownOrigin 可以與 Origin 互換使用,此列舉包含服務支援的已知值。

服務支援的已知值

user:表示作業是由使用者起始。
system:指出作業是由系統起始。
user,system:指出作業是由使用者或系統起始。

PodSecurityStandardsLevel

指定 Pod 安全標準層級
KnownPodSecurityStandardsLevel 可以與 PodSecurityStandardsLevel 互換使用,此列舉包含服務支援的已知值。

服務支援的已知值

特權:特權層級是不受限制的原則,提供盡可能廣泛的權限層級。 此原則允許已知的權限提升。
基準線:基準層級是防止已知權限提升的最低限制性原則。 允許預設 (最低限度指定) Pod 組態。
受限:受限層級是嚴格限制的政策,遵循目前的 Pod 強化最佳實務。

ProvisioningState

上次接受作業的佈建狀態。
KnownProvisioningState 可以與 ProvisioningState 交替使用,此列舉包含服務支援的已知值。

服務支援的已知值

成功:已建立資源。
失敗:資源建立失敗。
已取消:已取消資源建立。
正在建立:正在建立的 DeploymentSafeguards 的佈建狀態。
更新:正在更新的 DeploymentSafeguards 的佈建狀態。
刪除正在刪除的 DeploymentSafeguards 的佈建狀態。

列舉

KnownActionType

可延伸列舉。 表示動作類型。 「內部」是指僅供內部 API 使用的動作。

KnownCreatedByType

建立資源的實體類型。

KnownDeploymentSafeguardsLevel

指定部署保護措施的層級

KnownOrigin

作業的預期執行程式;如同資源型訪問控制 (RBAC) 和稽核記錄 UX。 默認值為 “user,system”

KnownPodSecurityStandardsLevel

指定 Pod 安全標準層級

KnownProvisioningState

上次接受作業的佈建狀態。

KnownVersions

Azure Kubernetes Service 部署保護 API 版本。

函式

restorePoller<TResponse, TResult>(ContainerServiceClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

從另一個輪詢器的序列化狀態建立輪詢器。 當您想要在不同的主機上建立輪詢器,或需要在原始輪詢器不在範圍內之後建構輪詢器時,這會很有用。

函式詳細資料

restorePoller<TResponse, TResult>(ContainerServiceClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

從另一個輪詢器的序列化狀態建立輪詢器。 當您想要在不同的主機上建立輪詢器,或需要在原始輪詢器不在範圍內之後建構輪詢器時,這會很有用。

function restorePoller<TResponse, TResult>(client: ContainerServiceClient, 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>

傳回

PollerLike<OperationState<TResult>, TResult>