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

ServicePrincipalUpdateParameters 构造函数

定义

重载

ServicePrincipalUpdateParameters()

初始化 ServicePrincipalUpdateParameters 类的新实例。

ServicePrincipalUpdateParameters(Nullable<Boolean>, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>)

初始化 ServicePrincipalUpdateParameters 类的新实例。

ServicePrincipalUpdateParameters()

初始化 ServicePrincipalUpdateParameters 类的新实例。

public ServicePrincipalUpdateParameters ();
Public Sub New ()

适用于

ServicePrincipalUpdateParameters(Nullable<Boolean>, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>)

初始化 ServicePrincipalUpdateParameters 类的新实例。

public ServicePrincipalUpdateParameters (bool? accountEnabled = default, bool? appRoleAssignmentRequired = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> keyCredentials = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordCredential> passwordCredentials = default, string servicePrincipalType = default, System.Collections.Generic.IList<string> tags = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalUpdateParameters : Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordCredential> * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalUpdateParameters
Public Sub New (Optional accountEnabled As Nullable(Of Boolean) = Nothing, Optional appRoleAssignmentRequired As Nullable(Of Boolean) = Nothing, Optional keyCredentials As IList(Of KeyCredential) = Nothing, Optional passwordCredentials As IList(Of PasswordCredential) = Nothing, Optional servicePrincipalType As String = Nothing, Optional tags As IList(Of String) = Nothing)

参数

accountEnabled
Nullable<Boolean>

是否启用服务主体帐户

appRoleAssignmentRequired
Nullable<Boolean>

指定在 Azure AD 向应用程序分发用户或访问令牌之前,是否需要对用户或组执行 AppRoleAssignment。

keyCredentials
IList<KeyCredential>

与服务主体关联的密钥凭据的集合。

passwordCredentials
IList<PasswordCredential>

与服务主体关联的密码凭据的集合。

servicePrincipalType
String

服务主体的类型

tags
IList<String>

可应用于服务主体的可选标记列表。 不可为 Null。

适用于