Class EncryptionPropertiesIdentity
java.lang.Object
com.azure.resourcemanager.loadtestservice.models.EncryptionPropertiesIdentity
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key
Vault.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EncryptionPropertiesIdentity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceId property: user assigned identity to use for accessing key encryption key Url.type()
Get the type property: Managed identity type to use for accessing encryption key Url.void
validate()
Validates the instance.withResourceId
(String resourceId) Set the resourceId property: user assigned identity to use for accessing key encryption key Url.Set the type property: Managed identity type to use for accessing encryption key Url.
-
Constructor Details
-
EncryptionPropertiesIdentity
public EncryptionPropertiesIdentity()Creates an instance of EncryptionPropertiesIdentity class.
-
-
Method Details
-
type
Get the type property: Managed identity type to use for accessing encryption key Url.- Returns:
- the type value.
-
withType
Set the type property: Managed identity type to use for accessing encryption key Url.- Parameters:
type
- the type value to set.- Returns:
- the EncryptionPropertiesIdentity object itself.
-
resourceId
Get the resourceId property: user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the EncryptionPropertiesIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-