Interface ServicePrincipal

All Superinterfaces:
ActiveDirectoryObject, HasId, HasInnerModel<com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphServicePrincipalInner>, HasManager<AuthorizationManager>, HasName, Indexable, Updatable<ServicePrincipal.Update>

public interface ServicePrincipal extends ActiveDirectoryObject, HasInnerModel<com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphServicePrincipalInner>, 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