diff --git a/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml b/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml index a690049d523e..5a712a558311 100644 --- a/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml @@ -44,7 +44,6 @@ --add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED - - diff --git a/sdk/resourcemanager/azure-resourcemanager-msi/src/main/java/com/azure/resourcemanager/msi/MsiManager.java b/sdk/resourcemanager/azure-resourcemanager-msi/src/main/java/com/azure/resourcemanager/msi/MsiManager.java index 47a96b9f5528..7572c74ca229 100644 --- a/sdk/resourcemanager/azure-resourcemanager-msi/src/main/java/com/azure/resourcemanager/msi/MsiManager.java +++ b/sdk/resourcemanager/azure-resourcemanager-msi/src/main/java/com/azure/resourcemanager/msi/MsiManager.java @@ -97,6 +97,8 @@ private MsiManager(HttpPipeline httpPipeline, AzureProfile profile) { } /** + * Gets entry point to Azure MSI Identity resource management API. + * * @return entry point to Azure MSI Identity resource management API */ public Identities identities() { @@ -107,6 +109,8 @@ public Identities identities() { } /** + * Gets the authorization manager. + * * @return the authorization manager. */ public AuthorizationManager authorizationManager() { diff --git a/sdk/resourcemanager/azure-resourcemanager-msi/src/main/java/com/azure/resourcemanager/msi/models/Identity.java b/sdk/resourcemanager/azure-resourcemanager-msi/src/main/java/com/azure/resourcemanager/msi/models/Identity.java index f6dd57ee1cdd..7a184d519910 100644 --- a/sdk/resourcemanager/azure-resourcemanager-msi/src/main/java/com/azure/resourcemanager/msi/models/Identity.java +++ b/sdk/resourcemanager/azure-resourcemanager-msi/src/main/java/com/azure/resourcemanager/msi/models/Identity.java @@ -22,16 +22,22 @@ public interface Identity extends GroupableResource, Refreshable, Updatable { /** + * Gets the ID of the Azure Active Directory tenant to which the identity belongs to. + * * @return id of the Azure Active Directory tenant to which the identity belongs to */ String tenantId(); /** + * Gets the ID of the Azure Active Directory service principal object associated with the identity. + * * @return id of the Azure Active Directory service principal object associated with the identity */ String principalId(); /** + * Gets the ID of the Azure Active Directory application associated with the identity. + * * @return id of the Azure Active Directory application associated with the identity */ String clientId();