Class DppIdentityDetails
java.lang.Object
com.azure.resourcemanager.dataprotection.models.DppIdentityDetails
DppIdentityDetails
Identity details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.tenantId()
Get the tenantId property: A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.type()
Get the type property: The identityType which can be either SystemAssigned or None.void
validate()
Validates the instance.Set the type property: The identityType which can be either SystemAssigned or None.
-
Constructor Details
-
DppIdentityDetails
public DppIdentityDetails()Creates an instance of DppIdentityDetails class.
-
-
Method Details
-
principalId
Get the principalId property: The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.- Returns:
- the tenantId value.
-
type
Get the type property: The identityType which can be either SystemAssigned or None.- Returns:
- the type value.
-
withType
Set the type property: The identityType which can be either SystemAssigned or None.- Parameters:
type
- the type value to set.- Returns:
- the DppIdentityDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-