public class ManagedServiceIdentity extends Object
| Constructor and Description |
|---|
ManagedServiceIdentity() |
| Modifier and Type | Method and Description |
|---|---|
String |
principalId()
Get the principalId property: Principal Id of managed service identity.
|
String |
tenantId()
Get the tenantId property: Tenant of managed service identity.
|
ManagedServiceIdentityType |
type()
Get the type property: Type of managed service identity.
|
Map<String,UserAssignedIdentity> |
userAssignedIdentities()
Get the userAssignedIdentities property: The list of user assigned identities associated with the resource.
|
void |
validate()
Validates the instance.
|
ManagedServiceIdentity |
withType(ManagedServiceIdentityType type)
Set the type property: Type of managed service identity.
|
ManagedServiceIdentity |
withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The list of user assigned identities associated with the resource.
|
public ManagedServiceIdentityType type()
public ManagedServiceIdentity withType(ManagedServiceIdentityType type)
type - the type value to set.public String tenantId()
public String principalId()
public Map<String,UserAssignedIdentity> userAssignedIdentities()
public ManagedServiceIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
userAssignedIdentities - the userAssignedIdentities value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.