Share via


ServicePrincipalImpl.IHasCredential<IUpdate>.WithPasswordCredential Method

Definition

Attach a credential to this model.

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

Parameters

credential
PasswordCredentialImpl<IUpdate>

The credential to attach to.

Returns

Implements

Applies to