public class ManagedIdentity extends Object
Constructor and Description |
---|
ManagedIdentity() |
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principalId property: The principal ID of the workspace managed identity.
|
UUID |
tenantId()
Get the tenantId property: The tenant ID of the workspace managed identity.
|
ResourceIdentityType |
type()
Get the type property: The type of managed identity for the workspace.
|
Map<String,UserAssignedManagedIdentity> |
userAssignedIdentities()
Get the userAssignedIdentities property: The user assigned managed identities.
|
void |
validate()
Validates the instance.
|
ManagedIdentity |
withType(ResourceIdentityType type)
Set the type property: The type of managed identity for the workspace.
|
ManagedIdentity |
withUserAssignedIdentities(Map<String,UserAssignedManagedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The user assigned managed identities.
|
public String principalId()
public UUID tenantId()
public ResourceIdentityType type()
public ManagedIdentity withType(ResourceIdentityType type)
type
- the type value to set.public Map<String,UserAssignedManagedIdentity> userAssignedIdentities()
public ManagedIdentity withUserAssignedIdentities(Map<String,UserAssignedManagedIdentity> userAssignedIdentities)
userAssignedIdentities
- the userAssignedIdentities value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.