Interface ServicePrincipal

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

public interface ServicePrincipal extends ActiveDirectoryObject, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphServicePrincipalInner>, com.azure.resourcemanager.resources.fluentcore.model.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 
    Container interface for all the definitions that need to be implemented.
    static interface 
    Grouping of all the service principal definition stages.
    static interface 
    The template for a service principal update operation, containing all the settings that can be modified.
    static interface 
    Grouping of all the service principal update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets 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.arm.models.HasId

    id

    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

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • Method Details

    • applicationId

      String applicationId()
      Gets app id.
      Returns:
      app id.
    • servicePrincipalNames

      List<String> 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