ResourceIdentity Class
- java.
lang. Object - com.
microsoft. azure. management. sql. 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 |
---|---|
java.util.UUID |
principalId()
Get the Azure Active Directory principal id. |
java.util.UUID |
tenantId()
Get the Azure Active Directory tenant id. |
Identity |
type()
Get the identity type. |
Resource |
withType(IdentityType type)
Set the identity type. |
Methods inherited from java.lang.Object
Constructor Details
ResourceIdentity
public ResourceIdentity()
Method Details
principalId
public UUID principalId()
Get the Azure Active Directory principal id.
Returns:
tenantId
public UUID tenantId()
Get the Azure Active Directory tenant id.
Returns:
type
public IdentityType type()
Get the identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned'.
Returns:
withType
public ResourceIdentity withType(IdentityType type)
Set the identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned'.
Parameters:
Returns:
Applies to
Azure SDK for Java
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla