Class AmlFilesystemIdentity
java.lang.Object
com.azure.resourcemanager.storagecache.models.AmlFilesystemIdentity
Managed Identity properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The principal ID for the user-assigned identity of the resource.tenantId()
Get the tenantId property: The tenant ID associated with the resource.type()
Get the type property: The type of identity used for the resource.Get the userAssignedIdentities property: A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.void
validate()
Validates the instance.Set the type property: The type of identity used for the resource.withUserAssignedIdentities
(Map<String, UserAssignedIdentitiesValueAutoGenerated> userAssignedIdentities) Set the userAssignedIdentities property: A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.
-
Constructor Details
-
AmlFilesystemIdentity
public AmlFilesystemIdentity()Creates an instance of AmlFilesystemIdentity class.
-
-
Method Details
-
principalId
Get the principalId property: The principal ID for the user-assigned identity of the resource.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: The tenant ID associated with the resource.- Returns:
- the tenantId value.
-
type
Get the type property: The type of identity used for the resource.- Returns:
- the type value.
-
withType
Set the type property: The type of identity used for the resource.- Parameters:
type
- the type value to set.- Returns:
- the AmlFilesystemIdentity object itself.
-
userAssignedIdentities
Get the userAssignedIdentities property: A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.- Returns:
- the userAssignedIdentities value.
-
withUserAssignedIdentities
public AmlFilesystemIdentity withUserAssignedIdentities(Map<String, UserAssignedIdentitiesValueAutoGenerated> userAssignedIdentities) Set the userAssignedIdentities property: A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the AmlFilesystemIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-