EventSubscriptionIdentity Class
- java.
lang. Object - com.
microsoft. azure. management. eventgrid. v2020_04_01_preview. EventSubscriptionIdentity
- com.
public class EventSubscriptionIdentity
The identity information with the event subscription.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| EventSubscriptionIdentity() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Event |
type()
Get the type of managed identity used. |
| java.lang.String |
userAssignedIdentity()
Get the user identity associated with the resource. |
|
Event |
withType(EventSubscriptionIdentityType type)
Set the type of managed identity used. |
|
Event |
withUserAssignedIdentity(String userAssignedIdentity)
Set the user identity associated with the resource. |
Methods inherited from java.lang.Object
Constructor Details
EventSubscriptionIdentity
public EventSubscriptionIdentity()
Method Details
type
public EventSubscriptionIdentityType type()
Get the type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. Possible values include: 'SystemAssigned', 'UserAssigned'.
Returns:
userAssignedIdentity
public String userAssignedIdentity()
Get the user identity associated with the resource.
Returns:
withType
public EventSubscriptionIdentity withType(EventSubscriptionIdentityType type)
Set the type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. Possible values include: 'SystemAssigned', 'UserAssigned'.
Parameters:
Returns:
withUserAssignedIdentity
public EventSubscriptionIdentity withUserAssignedIdentity(String userAssignedIdentity)
Set the user identity associated with the resource.
Parameters:
Returns: