你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmResourcesModelFactory.ArmDeploymentScriptManagedIdentity 方法

定义

初始化 ArmDeploymentScriptManagedIdentity 的新实例。

public static Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentity ArmDeploymentScriptManagedIdentity (Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentityType? identityType = default, Guid? tenantId = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Models.UserAssignedIdentity> userAssignedIdentities = default);
static member ArmDeploymentScriptManagedIdentity : Nullable<Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentityType> * Nullable<Guid> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Models.UserAssignedIdentity> -> Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentity
Public Shared Function ArmDeploymentScriptManagedIdentity (Optional identityType As Nullable(Of ArmDeploymentScriptManagedIdentityType) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing) As ArmDeploymentScriptManagedIdentity

参数

identityType
Nullable<ArmDeploymentScriptManagedIdentityType>

托管标识的类型。

tenantId
Nullable<Guid>

Azure Active Directory 的 ID。

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

与资源关联的用户分配的托管标识的列表。 密钥是托管标识的 Azure 资源 ID。

返回

用于模拟的新 ArmDeploymentScriptManagedIdentity 实例。

适用于