Sdílet prostřednictvím


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()

Gets app id.

abstract Map<String,CertificateCredential> certificateCredentials()

Gets the mapping of certificate credentials from their names.

abstract Map<String,PasswordCredential> passwordCredentials()

Gets the mapping of password credentials from their names.

abstract Set<RoleAssignment> roleAssignments()

Gets the mapping from scopes to role assignments.

abstract List<String> servicePrincipalNames()

Gets the list of names.

Method Details

applicationId

public abstract String applicationId()

Gets app id.

Returns:

app id.

certificateCredentials

public abstract Map certificateCredentials()

Gets the mapping of certificate credentials from their names.

Returns:

the mapping of certificate credentials from their names

passwordCredentials

public abstract Map passwordCredentials()

Gets the mapping of password credentials from their names.

Returns:

the mapping of password credentials from their names

roleAssignments

public abstract Set roleAssignments()

Gets the mapping from scopes to role assignments.

Returns:

the mapping from scopes to role assignments

servicePrincipalNames

public abstract List servicePrincipalNames()

Gets the list of names.

Returns:

the list of names.

Applies to