Class IdentityProperties

java.lang.Object
com.azure.resourcemanager.dynatrace.models.IdentityProperties

public final class IdentityProperties extends Object
The properties of the managed service identities assigned to this resource.
  • Constructor Details

    • IdentityProperties

      public IdentityProperties()
  • Method Details

    • tenantId

      public String tenantId()
      Get the tenantId property: The Active Directory tenant id of the principal.
      Returns:
      the tenantId value.
    • principalId

      public String principalId()
      Get the principalId property: The active directory identifier of this principal.
      Returns:
      the principalId value.
    • type

      public ManagedIdentityType type()
      Get the type property: The type of managed identity assigned to this resource.
      Returns:
      the type value.
    • withType

      public IdentityProperties withType(ManagedIdentityType type)
      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

      public Map<String,UserAssignedIdentity> 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.