Class IdentityProperties
java.lang.Object
com.azure.resourcemanager.logz.models.IdentityProperties
The IdentityProperties model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The identity ID.tenantId()
Get the tenantId property: The tenant ID of resource.type()
Get the type property: The type property.void
validate()
Validates the instance.withType
(ManagedIdentityTypes type) Set the type property: The type property.
-
Constructor Details
-
IdentityProperties
public IdentityProperties()Creates an instance of IdentityProperties class.
-
-
Method Details
-
principalId
Get the principalId property: The identity ID.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: The tenant ID of resource.- Returns:
- the tenantId value.
-
type
Get the type property: The type property.- Returns:
- the type value.
-
withType
Set the type property: The type property.- Parameters:
type
- the type value to set.- Returns:
- the IdentityProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-