Share via


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

ServicePrincipalImpl.IHasCredential<IUpdate>.WithPasswordCredential 方法

定义

将凭据附加到此模型。

Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate IHasCredential<IUpdate>.WithPasswordCredential (Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredentialImpl<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate> credential);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.IHasCredential<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate>.WithPasswordCredential : Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredentialImpl<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.IHasCredential<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate>.WithPasswordCredential : Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredentialImpl<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
Function WithPasswordCredential (credential As PasswordCredentialImpl(Of IUpdate)) As IUpdate Implements IHasCredential(Of IUpdate).WithPasswordCredential

参数

credential
PasswordCredentialImpl<IUpdate>

要附加到的凭据。

返回

实现

适用于