ManagedServiceIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. ManagedServiceIdentity
- com.
public final class ManagedServiceIdentity
The properties of the managed service identities assigned to this resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedServiceIdentity() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
principalId()
Get the principal |
| String |
tenantId()
Get the tenant |
|
Managed |
type()
Get the type property: The type of managed identity assigned to this resource. |
|
Map<String,User |
userAssignedIdentities()
Get the user |
| void |
validate()
Validates the instance. |
|
Managed |
withType(ManagedServiceIdentityType type)
Set the type property: The type of managed identity assigned to this resource. |
|
Managed |
withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
ManagedServiceIdentity
public ManagedServiceIdentity()
Creates an instance of ManagedServiceIdentity class.
Method Details
principalId
public String principalId()
Get the principalId property: The active directory identifier of this principal.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The Active Directory tenant id of the principal.
Returns:
type
public ManagedServiceIdentityType type()
Get the type property: The type of managed identity assigned to this resource.
Returns:
userAssignedIdentities
public Map<String,UserAssignedIdentity> userAssignedIdentities()
Get the userAssignedIdentities property: The identities assigned to this resource by the user.
Returns:
validate
public void validate()
Validates the instance.
withType
public ManagedServiceIdentity withType(ManagedServiceIdentityType type)
Set the type property: The type of managed identity assigned to this resource.
Parameters:
Returns:
withUserAssignedIdentities
public ManagedServiceIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The identities assigned to this resource by the user.
Parameters:
Returns: