Interface ServicePrincipal
-
- All Superinterfaces:
ActiveDirectoryObject,HasId,HasInnerModel<MicrosoftGraphServicePrincipalInner>,HasManager<AuthorizationManager>,HasName,Indexable,Updatable<ServicePrincipal.Update>
public interface ServicePrincipal extends ActiveDirectoryObject, HasInnerModel<MicrosoftGraphServicePrincipalInner>, Updatable<ServicePrincipal.Update>
An immutable client-side representation of an Azure AD service principal.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceServicePrincipal.DefinitionContainer interface for all the definitions that need to be implemented.static interfaceServicePrincipal.DefinitionStagesGrouping of all the service principal definition stages.static interfaceServicePrincipal.UpdateThe template for a service principal update operation, containing all the settings that can be modified.static interfaceServicePrincipal.UpdateStagesGrouping of all the service principal update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringapplicationId()Map<String,CertificateCredential>certificateCredentials()Map<String,PasswordCredential>passwordCredentials()Set<RoleAssignment>roleAssignments()List<String>servicePrincipalNames()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
-
-
-
Method Detail
-
applicationId
String applicationId()
- Returns:
- app id.
-
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
-
-