語言

ManagedIdentitySource 列舉

定義

支援管理式身份來源。 這些資料會由圖書館內部處理。

public enum ManagedIdentitySource
type ManagedIdentitySource = 
Public Enum ManagedIdentitySource
繼承
ManagedIdentitySource

欄位

名稱 值 Description
None 0

Default.

Imds 1

取得管理身份憑證的來源是 IMDS。

AppService 2

取得管理身份憑證的來源是 App Service。

AzureArc 3

取得管理身份憑證的來源是 Azure Arc。

CloudShell 4

取得管理身份憑證的來源是 Cloud Shell。

ServiceFabric 5

取得管理身份憑證的來源是 Service Fabric。

DefaultToImds 6

表示來源預設為 IMDS,因為沒有設定環境變數。 這用來偵測受管理身份的來源。

MachineLearning 7

取得管理身份憑證的來源是 機器學習 Service。

適用於