Interface ManagedInstanceEncryptionProtectorsClient


  • public interface ManagedInstanceEncryptionProtectorsClient
    An instance of this class provides access to all the operations defined in ManagedInstanceEncryptionProtectorsClient.
    • Method Detail

      • revalidateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> revalidateWithResponseAsync​(String resourceGroupName,
                                                                                              String managedInstanceName,
                                                                                              EncryptionProtectorName encryptionProtectorName)
        Revalidates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        Returns:
        the completion.
        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.
      • beginRevalidateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginRevalidateAsync​(String resourceGroupName,
                                                                                                                                   String managedInstanceName,
                                                                                                                                   EncryptionProtectorName encryptionProtectorName)
        Revalidates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        Returns:
        the completion.
        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.
      • beginRevalidate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginRevalidate​(String resourceGroupName,
                                                                                                                              String managedInstanceName,
                                                                                                                              EncryptionProtectorName encryptionProtectorName)
        Revalidates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        Returns:
        the completion.
        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.
      • beginRevalidate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginRevalidate​(String resourceGroupName,
                                                                                                                              String managedInstanceName,
                                                                                                                              EncryptionProtectorName encryptionProtectorName,
                                                                                                                              com.azure.core.util.Context context)
        Revalidates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • revalidateAsync

        Mono<Void> revalidateAsync​(String resourceGroupName,
                                   String managedInstanceName,
                                   EncryptionProtectorName encryptionProtectorName)
        Revalidates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        Returns:
        the completion.
        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.
      • revalidate

        void revalidate​(String resourceGroupName,
                        String managedInstanceName,
                        EncryptionProtectorName encryptionProtectorName)
        Revalidates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        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.
      • revalidate

        void revalidate​(String resourceGroupName,
                        String managedInstanceName,
                        EncryptionProtectorName encryptionProtectorName,
                        com.azure.core.util.Context context)
        Revalidates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        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.
      • listByInstanceAsync

        com.azure.core.http.rest.PagedFlux<ManagedInstanceEncryptionProtectorInner> listByInstanceAsync​(String resourceGroupName,
                                                                                                        String managedInstanceName)
        Gets a list of managed instance encryption protectors.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        Returns:
        a list of managed instance encryption protectors.
        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.
      • listByInstance

        com.azure.core.http.rest.PagedIterable<ManagedInstanceEncryptionProtectorInner> listByInstance​(String resourceGroupName,
                                                                                                       String managedInstanceName)
        Gets a list of managed instance encryption protectors.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        Returns:
        a list of managed instance encryption protectors.
        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.
      • listByInstance

        com.azure.core.http.rest.PagedIterable<ManagedInstanceEncryptionProtectorInner> listByInstance​(String resourceGroupName,
                                                                                                       String managedInstanceName,
                                                                                                       com.azure.core.util.Context context)
        Gets a list of managed instance encryption protectors.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        context - The context to associate with this operation.
        Returns:
        a list of managed instance encryption protectors.
        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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ManagedInstanceEncryptionProtectorInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                              String managedInstanceName,
                                                                                                              EncryptionProtectorName encryptionProtectorName)
        Gets a managed instance encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be retrieved.
        Returns:
        a managed instance encryption protector.
        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.
      • getAsync

        Mono<ManagedInstanceEncryptionProtectorInner> getAsync​(String resourceGroupName,
                                                               String managedInstanceName,
                                                               EncryptionProtectorName encryptionProtectorName)
        Gets a managed instance encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be retrieved.
        Returns:
        a managed instance encryption protector.
        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.
      • get

        ManagedInstanceEncryptionProtectorInner get​(String resourceGroupName,
                                                    String managedInstanceName,
                                                    EncryptionProtectorName encryptionProtectorName)
        Gets a managed instance encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be retrieved.
        Returns:
        a managed instance encryption protector.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<ManagedInstanceEncryptionProtectorInner> getWithResponse​(String resourceGroupName,
                                                                                                   String managedInstanceName,
                                                                                                   EncryptionProtectorName encryptionProtectorName,
                                                                                                   com.azure.core.util.Context context)
        Gets a managed instance encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be retrieved.
        context - The context to associate with this operation.
        Returns:
        a managed instance encryption protector.
        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.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String managedInstanceName,
                                                                                                  EncryptionProtectorName encryptionProtectorName,
                                                                                                  ManagedInstanceEncryptionProtectorInner parameters)
        Updates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        parameters - The managed instance encryption protector.
        Returns:
        the managed instance encryption protector.
        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.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>,​ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                                             String managedInstanceName,
                                                                                                                                                                                                             EncryptionProtectorName encryptionProtectorName,
                                                                                                                                                                                                             ManagedInstanceEncryptionProtectorInner parameters)
        Updates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        parameters - The managed instance encryption protector.
        Returns:
        the managed instance encryption protector.
        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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>,​ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                        String managedInstanceName,
                                                                                                                                                                                                        EncryptionProtectorName encryptionProtectorName,
                                                                                                                                                                                                        ManagedInstanceEncryptionProtectorInner parameters)
        Updates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        parameters - The managed instance encryption protector.
        Returns:
        the managed instance encryption protector.
        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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>,​ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                        String managedInstanceName,
                                                                                                                                                                                                        EncryptionProtectorName encryptionProtectorName,
                                                                                                                                                                                                        ManagedInstanceEncryptionProtectorInner parameters,
                                                                                                                                                                                                        com.azure.core.util.Context context)
        Updates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        parameters - The managed instance encryption protector.
        context - The context to associate with this operation.
        Returns:
        the managed instance encryption protector.
        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.
      • createOrUpdateAsync

        Mono<ManagedInstanceEncryptionProtectorInner> createOrUpdateAsync​(String resourceGroupName,
                                                                          String managedInstanceName,
                                                                          EncryptionProtectorName encryptionProtectorName,
                                                                          ManagedInstanceEncryptionProtectorInner parameters)
        Updates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        parameters - The managed instance encryption protector.
        Returns:
        the managed instance encryption protector.
        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.
      • createOrUpdate

        ManagedInstanceEncryptionProtectorInner createOrUpdate​(String resourceGroupName,
                                                               String managedInstanceName,
                                                               EncryptionProtectorName encryptionProtectorName,
                                                               ManagedInstanceEncryptionProtectorInner parameters)
        Updates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        parameters - The managed instance encryption protector.
        Returns:
        the managed instance encryption protector.
        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.
      • createOrUpdate

        ManagedInstanceEncryptionProtectorInner createOrUpdate​(String resourceGroupName,
                                                               String managedInstanceName,
                                                               EncryptionProtectorName encryptionProtectorName,
                                                               ManagedInstanceEncryptionProtectorInner parameters,
                                                               com.azure.core.util.Context context)
        Updates an existing encryption protector.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        managedInstanceName - The name of the managed instance.
        encryptionProtectorName - The name of the encryption protector to be updated.
        parameters - The managed instance encryption protector.
        context - The context to associate with this operation.
        Returns:
        the managed instance encryption protector.
        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.