Interface EncryptionProtector


  • public interface EncryptionProtector
    An immutable client-side representation of EncryptionProtector.
    • Method Detail

      • id

        String id()
        Gets the id property: Fully qualified resource Id for the resource.
        Returns:
        the id value.
      • name

        String name()
        Gets the name property: The name of the resource.
        Returns:
        the name value.
      • type

        String type()
        Gets the type property: The type of the resource.
        Returns:
        the type value.
      • kind

        String kind()
        Gets the kind property: Kind of encryption protector. This is metadata used for the Azure portal experience.
        Returns:
        the kind value.
      • location

        String location()
        Gets the location property: Resource location.
        Returns:
        the location value.
      • subregion

        String subregion()
        Gets the subregion property: Subregion of the encryption protector.
        Returns:
        the subregion value.
      • serverKeyName

        String serverKeyName()
        Gets the serverKeyName property: The name of the server key.
        Returns:
        the serverKeyName value.
      • serverKeyType

        ServerKeyType serverKeyType()
        Gets the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
        Returns:
        the serverKeyType value.
      • uri

        String uri()
        Gets the uri property: The URI of the server key.
        Returns:
        the uri value.
      • thumbprint

        String thumbprint()
        Gets the thumbprint property: Thumbprint of the server key.
        Returns:
        the thumbprint value.
      • region

        com.azure.core.management.Region region()
        Gets the region of the resource.
        Returns:
        the region of the resource.
      • regionName

        String regionName()
        Gets the name of the resource region.
        Returns:
        the name of the resource region.
      • innerModel

        EncryptionProtectorInner innerModel()
        Gets the inner com.azure.resourcemanager.synapse.fluent.models.EncryptionProtectorInner object.
        Returns:
        the inner object.
      • update

        EncryptionProtector.Update update()
        Begins update for the EncryptionProtector resource.
        Returns:
        the stage of resource update.
      • refresh

        EncryptionProtector refresh()
        Refreshes the resource to sync with Azure.
        Returns:
        the refreshed resource.
      • refresh

        EncryptionProtector refresh​(com.azure.core.util.Context context)
        Refreshes the resource to sync with Azure.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        the refreshed resource.
      • revalidate

        void revalidate()
        Revalidates workspace managed sql server's existing encryption protector.
        Throws:
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • revalidate

        void revalidate​(com.azure.core.util.Context context)
        Revalidates workspace managed sql server's existing encryption protector.
        Parameters:
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.