ServicePrincipal Interface
public interface ServicePrincipal extends ActiveDirectoryObject,HasInner,Updatable<ServicePrincipal.Update>
An immutable client-side representation of an Azure AD service principal.
Method Summary
Modifier and Type | Method and Description |
---|---|
String | applicationId() |
Map<String, Certificate |
certificateCredentials() |
Map<String, Password |
passwordCredentials() |
Set<Role |
roleAssignments() |
List<String> | servicePrincipalNames() |
Inherited Members
HasId.id()
HasInner<T>.inner()
Indexable.key()
HasManager<ManagerT>.manager()
HasName.name()
Updatable<T>.update()
Method Details
applicationId
public String applicationId()
Returns:
app id.
certificateCredentials
public Map
Returns:
the mapping of certificate credentials from their names
passwordCredentials
public Map
Returns:
the mapping of password credentials from their names
roleAssignments
public Set
Returns:
the mapping from scopes to role assignments
servicePrincipalNames
public List
Returns:
the list of names.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java