Class ResourceIdentity
java.lang.Object
com.microsoft.azure.management.sql.ResourceIdentity
Azure Active Directory identity configuration for a resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the Azure Active Directory principal id.tenantId()
Get the Azure Active Directory tenant id.type()
Get the identity type.withType
(IdentityType type) Set the identity type.
-
Constructor Details
-
ResourceIdentity
public ResourceIdentity()
-
-
Method Details
-
principalId
Get the Azure Active Directory principal id.- Returns:
- the principalId value
-
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:
- the type value
-
withType
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:
type
- the type value to set- Returns:
- the ResourceIdentity object itself.
-
tenantId
Get the Azure Active Directory tenant id.- Returns:
- the tenantId value
-