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 interface
ServicePrincipal.Definition
Container interface for all the definitions that need to be implemented.static interface
ServicePrincipal.DefinitionStages
Grouping of all the service principal definition stages.static interface
ServicePrincipal.Update
The template for a service principal update operation, containing all the settings that can be modified.static interface
ServicePrincipal.UpdateStages
Grouping of all the service principal update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
applicationId()
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
-
-