Identity Class
- java.
lang. Object - com.
microsoft. azure. management. resources. Identity
- com.
public class Identity
Identity for the resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principalId value. |
String |
tenantId()
Get the tenantId value. |
Resource |
type()
Get the type value. |
Identity |
withType(ResourceIdentityType type)
Set the type value. |
Method Details
principalId
public String principalId()
Get the principalId value.
Returns:
the principalId value
tenantId
public String tenantId()
Get the tenantId value.
Returns:
the tenantId value
type
public ResourceIdentityType type()
Get the type value.
Returns:
the type value
withType
public Identity withType(ResourceIdentityType type)
Set the type value.
Parameters:
type
- the type value to set
Returns:
the Identity object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java