Class EncryptionPropertiesIdentity

java.lang.Object
com.azure.resourcemanager.loadtestservice.models.EncryptionPropertiesIdentity

public class EncryptionPropertiesIdentity extends Object
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
  • Constructor Details

    • EncryptionPropertiesIdentity

      public EncryptionPropertiesIdentity()
      Creates an instance of EncryptionPropertiesIdentity class.
  • Method Details

    • type

      public Type type()
      Get the type property: Managed identity type to use for accessing encryption key Url.
      Returns:
      the type value.
    • withType

      public EncryptionPropertiesIdentity withType(Type type)
      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

      public String 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

      public EncryptionPropertiesIdentity withResourceId(String resourceId)
      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.