diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/implementation/RoleAssignmentImpl.java b/sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/implementation/RoleAssignmentImpl.java index ec1184fa977d2..37478ce3a9d43 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/implementation/RoleAssignmentImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/implementation/RoleAssignmentImpl.java @@ -141,6 +141,11 @@ public String principalId() { return innerModel().principalId(); } + @Override + public String condition() { + return innerModel().condition(); + } + @Override public RoleAssignmentImpl forObjectId(String objectId) { this.objectId = objectId; diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/models/RoleAssignment.java b/sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/models/RoleAssignment.java index 388dfa0df7ce2..163dc10ebf872 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/models/RoleAssignment.java +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/models/RoleAssignment.java @@ -28,6 +28,9 @@ public interface RoleAssignment /** @return the principal ID */ String principalId(); + /** @return the condition */ + String condition(); + /************************************************************** * Fluent interfaces to provision an role assignment **************************************************************/