ServicePrincipal Interface

Implements

ActiveDirectoryObject HasInner<com.microsoft.azure.management.graphrbac.implementation.ServicePrincipalInner> Updatable<Update>

public interface ServicePrincipal
extends ActiveDirectoryObject, HasInner<com.microsoft.azure.management.graphrbac.implementation.ServicePrincipalInner>, Updatable<Update>

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

Method Summary

Modifier and Type Method and Description
abstract java.lang.String applicationId()
abstract java.util.Map<java.lang.String,CertificateCredential> certificateCredentials()
abstract java.util.Map<java.lang.String,PasswordCredential> passwordCredentials()
abstract java.util.Set<RoleAssignment> roleAssignments()
abstract java.util.List<java.lang.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