Interface ServicePrincipal

All Superinterfaces:
ActiveDirectoryObject, HasId, HasInner<com.microsoft.azure.management.graphrbac.implementation.ServicePrincipalInner>, HasManager<com.microsoft.azure.management.graphrbac.implementation.GraphRbacManager>, HasName, Indexable, Updatable<ServicePrincipal.Update>

public interface ServicePrincipal extends ActiveDirectoryObject, HasInner<com.microsoft.azure.management.graphrbac.implementation.ServicePrincipalInner>, Updatable<ServicePrincipal.Update>
An immutable client-side representation of an Azure AD service principal.
  • Method Details

    • applicationId

      String applicationId()
      Returns:
      app id.
    • servicePrincipalNames

      List<String> servicePrincipalNames()
      Returns:
      the list of names.
    • passwordCredentials

      Map<String,PasswordCredential> passwordCredentials()
      Returns:
      the mapping of password credentials from their names
    • certificateCredentials

      Map<String,CertificateCredential> certificateCredentials()
      Returns:
      the mapping of certificate credentials from their names
    • roleAssignments

      Set<RoleAssignment> roleAssignments()
      Returns:
      the mapping from scopes to role assignments