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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContainer interface for all the definitions that need to be implemented.static interfaceGrouping of all the service principal definition stages.static interfaceThe template for a service principal update operation, containing all the settings that can be modified.static interfaceGrouping of all the service principal update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets app id.Gets the mapping of certificate credentials from their names.Gets the mapping of password credentials from their names.Gets the mapping from scopes to role assignments.Gets the list of names.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Method Details
-
applicationId
String applicationId()Gets app id.- Returns:
- app id.
-
servicePrincipalNames
Gets the list of names.- Returns:
- the list of names.
-
passwordCredentials
Map<String,PasswordCredential> passwordCredentials()Gets the mapping of password credentials from their names.- Returns:
- the mapping of password credentials from their names
-
certificateCredentials
Map<String,CertificateCredential> certificateCredentials()Gets the mapping of certificate credentials from their names.- Returns:
- the mapping of certificate credentials from their names
-
roleAssignments
Set<RoleAssignment> roleAssignments()Gets the mapping from scopes to role assignments.- Returns:
- the mapping from scopes to role assignments
-