ServicePrincipal Interface

Implements

public interface ServicePrincipal
extends ActiveDirectoryObject, HasInnerModel<MicrosoftGraphServicePrincipalInner>, Updatable<Update>

An immutable client-side representation of an Azure AD service principal.

Method Summary

Modifier and Type Method and Description
abstract String applicationId()
abstract Map<String,CertificateCredential> certificateCredentials()
abstract Map<String,PasswordCredential> passwordCredentials()
abstract Set<RoleAssignment> roleAssignments()
abstract List<String> servicePrincipalNames()

Method Details

applicationId

public abstract String applicationId()

Returns:

app id.

certificateCredentials

public abstract Map certificateCredentials()

Returns:

the mapping of certificate credentials from their names

passwordCredentials

public abstract Map passwordCredentials()

Returns:

the mapping of password credentials from their names

roleAssignments

public abstract Set roleAssignments()

Returns:

the mapping from scopes to role assignments

servicePrincipalNames

public abstract List servicePrincipalNames()

Returns:

the list of names.

Applies to