ServicePrincipal.UpdateStages.WithCredential Interface

public interface WithCredential

A service principal update allowing credentials to be specified.

Method Summary

Modifier and Type Method and Description
CertificateCredential.UpdateDefinitionStages.Blank<ServicePrincipal.Update> defineCertificateCredential(String name)

Starts the definition of a certificate credential.

PasswordCredential.UpdateDefinitionStages.Blank<ServicePrincipal.Update> definePasswordCredential(String name)

Starts the definition of a password credential.

ServicePrincipal.Update withoutCredential(String name)

Removes a credential.

Method Details

defineCertificateCredential

public CertificateCredential.UpdateDefinitionStages.Blank defineCertificateCredential(String name)

Starts the definition of a certificate credential.

Parameters:

name - the descriptive name of the certificate credential

Returns:

the first stage in certificate credential update

definePasswordCredential

public PasswordCredential.UpdateDefinitionStages.Blank definePasswordCredential(String name)

Starts the definition of a password credential.

Parameters:

name - the descriptive name of the password credential

Returns:

the first stage in password credential update

withoutCredential

public Update withoutCredential(String name)

Removes a credential.

Parameters:

name - the name of the credential

Returns:

the next stage of the service principal update

Applies to