Class AzureCredentials.ServicePrincipal

java.lang.Object
com.microsoft.azure.util.AzureCredentials.ServicePrincipal
All Implemented Interfaces:
Serializable
Enclosing class:
AzureCredentials

public static class AzureCredentials.ServicePrincipal extends Object implements Serializable
See Also:
  • Constructor Details

    • ServicePrincipal

      public ServicePrincipal(String subscriptionId, String clientId, Secret clientSecret)
    • ServicePrincipal

      @Deprecated public ServicePrincipal(String subscriptionId, String clientId, String clientSecret)
      Deprecated.
    • ServicePrincipal

      @Deprecated public ServicePrincipal(String subscriptionId, String clientId, String clientSecret, String oauth2TokenEndpoint, String serviceManagementURL, String authenticationEndpoint, String resourceManagerEndpoint, String graphEndpoint)
      Deprecated.
      leave for backward compatibility.
    • ServicePrincipal

      public ServicePrincipal()
  • Method Details

    • getSubscriptionId

      public String getSubscriptionId()
    • getClientId

      public String getClientId()
    • getClientSecret

      public String getClientSecret()
    • getCertificateId

      public String getCertificateId()
    • setCertificateId

      public void setCertificateId(String certificateId)
    • getTenant

      public String getTenant()
    • getAzureEnvironmentName

      public String getAzureEnvironmentName()
    • getAzureEnvironment

      public com.azure.core.management.AzureEnvironment getAzureEnvironment()
    • getServiceManagementURL

      @Deprecated public String getServiceManagementURL()
      Deprecated.
    • getManagementEndpoint

      public String getManagementEndpoint()
    • getAuthenticationEndpoint

      @Deprecated public String getAuthenticationEndpoint()
    • getActiveDirectoryEndpoint

      public String getActiveDirectoryEndpoint()
    • getResourceManagerEndpoint

      public String getResourceManagerEndpoint()
    • getGraphEndpoint

      public String getGraphEndpoint()
    • isBlank

      public boolean isBlank()
    • validate

      public boolean validate() throws AzureCredentials.ValidationException
      Throws:
      AzureCredentials.ValidationException