Skip to content

Commit 1c04973

Browse files
authored
expose condition api (Azure#26316)
1 parent 5f9ae32 commit 1c04973

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/implementation/RoleAssignmentImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ public String principalId() {
141141
return innerModel().principalId();
142142
}
143143

144+
@Override
145+
public String condition() {
146+
return innerModel().condition();
147+
}
148+
144149
@Override
145150
public RoleAssignmentImpl forObjectId(String objectId) {
146151
this.objectId = objectId;

sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/models/RoleAssignment.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ public interface RoleAssignment
2828
/** @return the principal ID */
2929
String principalId();
3030

31+
/** @return the condition */
32+
String condition();
33+
3134
/**************************************************************
3235
* Fluent interfaces to provision an role assignment
3336
**************************************************************/

0 commit comments

Comments
 (0)