Class IdentityProperties
java.lang.Object
com.azure.resourcemanager.dynatrace.models.IdentityProperties
The properties of the managed service identities assigned to this resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The active directory identifier of this principal.tenantId()
Get the tenantId property: The Active Directory tenant id of the principal.type()
Get the type property: The type of managed identity assigned to this resource.Get the userAssignedIdentities property: The identities assigned to this resource by the user.void
validate()
Validates the instance.withType
(ManagedIdentityType type) Set the type property: The type of managed identity assigned to this resource.withUserAssignedIdentities
(Map<String, UserAssignedIdentity> userAssignedIdentities) Set the userAssignedIdentities property: The identities assigned to this resource by the user.
-
Constructor Details
-
IdentityProperties
public IdentityProperties()
-
-
Method Details
-
tenantId
Get the tenantId property: The Active Directory tenant id of the principal.- Returns:
- the tenantId value.
-
principalId
Get the principalId property: The active directory identifier of this principal.- Returns:
- the principalId value.
-
type
Get the type property: The type of managed identity assigned to this resource.- Returns:
- the type value.
-
withType
Set the type property: The type of managed identity assigned to this resource.- Parameters:
type
- the type value to set.- Returns:
- the IdentityProperties object itself.
-
userAssignedIdentities
Get the userAssignedIdentities property: The identities assigned to this resource by the user.- Returns:
- the userAssignedIdentities value.
-
withUserAssignedIdentities
public IdentityProperties withUserAssignedIdentities(Map<String, UserAssignedIdentity> userAssignedIdentities) Set the userAssignedIdentities property: The identities assigned to this resource by the user.- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the IdentityProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-