ResourceIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. mysql. models. ResourceIdentity
- com.
public class ResourceIdentity
Azure Active Directory identity configuration for a resource.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ResourceIdentity() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| UUID |
principalId()
Get the principal |
| UUID |
tenantId()
Get the tenant |
|
Identity |
type()
Get the type property: The identity type. |
| void |
validate()
Validates the instance. |
|
Resource |
withType(IdentityType type)
Set the type property: The identity type. |
Methods inherited from java.lang.Object
Constructor Details
ResourceIdentity
public ResourceIdentity()
Method Details
principalId
public UUID principalId()
Get the principalId property: The Azure Active Directory principal id.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: The Azure Active Directory tenant id.
Returns:
type
public IdentityType type()
Get the type property: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
Returns:
validate
public void validate()
Validates the instance.
withType
public ResourceIdentity withType(IdentityType type)
Set the type property: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
Parameters:
Returns: