Class EncryptionPropertiesIdentity
java.lang.Object
com.azure.resourcemanager.automation.models.EncryptionPropertiesIdentity
User identity used for CMK.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the userAssignedIdentity property: The user identity used for CMK.void
validate()
Validates the instance.withUserAssignedIdentity
(Object userAssignedIdentity) Set the userAssignedIdentity property: The user identity used for CMK.
-
Constructor Details
-
EncryptionPropertiesIdentity
public EncryptionPropertiesIdentity()
-
-
Method Details
-
userAssignedIdentity
Get the userAssignedIdentity property: The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.- Returns:
- the userAssignedIdentity value.
-
withUserAssignedIdentity
Set the userAssignedIdentity property: The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.- Parameters:
userAssignedIdentity
- the userAssignedIdentity value to set.- Returns:
- the EncryptionPropertiesIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-