ServicePrincipalImpl.IHasCredential<IWithCreate>.WithPasswordCredential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attach a credential to this model.
Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate IHasCredential<IWithCreate>.WithPasswordCredential (Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredentialImpl<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate> credential);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.IHasCredential<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate>.WithPasswordCredential : Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredentialImpl<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.IHasCredential<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate>.WithPasswordCredential : Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredentialImpl<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
Function WithPasswordCredential (credential As PasswordCredentialImpl(Of IWithCreate)) As IWithCreate Implements IHasCredential(Of IWithCreate).WithPasswordCredential
Parameters
- credential
- PasswordCredentialImpl<IWithCreate>
The credential to attach to.
Returns
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET