Interface VolumesClient


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

      • list

        com.azure.core.http.rest.PagedIterable<VolumeInner> list​(String resourceGroupName,
                                                                 String accountName,
                                                                 String poolName)
        List all volumes within the capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        Returns:
        list of volume resources as paginated response with PagedIterable.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<VolumeInner> list​(String resourceGroupName,
                                                                 String accountName,
                                                                 String poolName,
                                                                 com.azure.core.util.Context context)
        List all volumes within the capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        context - The context to associate with this operation.
        Returns:
        list of volume resources as paginated response with PagedIterable.
        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

        VolumeInner get​(String resourceGroupName,
                        String accountName,
                        String poolName,
                        String volumeName)
        Get the details of the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        Returns:
        the details of the specified volume.
        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<VolumeInner> getWithResponse​(String resourceGroupName,
                                                                       String accountName,
                                                                       String poolName,
                                                                       String volumeName,
                                                                       com.azure.core.util.Context context)
        Get the details of the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        context - The context to associate with this operation.
        Returns:
        the details of the specified volume along with Response.
        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<VolumeInner>,​VolumeInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                String accountName,
                                                                                                                                                String poolName,
                                                                                                                                                String volumeName,
                                                                                                                                                VolumeInner body)
        Create or update the specified volume within the capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Volume object supplied in the body of the operation.
        Returns:
        the SyncPoller for polling of volume resource.
        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<VolumeInner>,​VolumeInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                String accountName,
                                                                                                                                                String poolName,
                                                                                                                                                String volumeName,
                                                                                                                                                VolumeInner body,
                                                                                                                                                com.azure.core.util.Context context)
        Create or update the specified volume within the capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Volume object supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of volume resource.
        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

        VolumeInner createOrUpdate​(String resourceGroupName,
                                   String accountName,
                                   String poolName,
                                   String volumeName,
                                   VolumeInner body)
        Create or update the specified volume within the capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Volume object supplied in the body of the operation.
        Returns:
        volume resource.
        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

        VolumeInner createOrUpdate​(String resourceGroupName,
                                   String accountName,
                                   String poolName,
                                   String volumeName,
                                   VolumeInner body,
                                   com.azure.core.util.Context context)
        Create or update the specified volume within the capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Volume object supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        volume resource.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeInner>,​VolumeInner> beginUpdate​(String resourceGroupName,
                                                                                                                                        String accountName,
                                                                                                                                        String poolName,
                                                                                                                                        String volumeName,
                                                                                                                                        VolumePatch body)
        Patch the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Volume object supplied in the body of the operation.
        Returns:
        the SyncPoller for polling of volume resource.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeInner>,​VolumeInner> beginUpdate​(String resourceGroupName,
                                                                                                                                        String accountName,
                                                                                                                                        String poolName,
                                                                                                                                        String volumeName,
                                                                                                                                        VolumePatch body,
                                                                                                                                        com.azure.core.util.Context context)
        Patch the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Volume object supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of volume resource.
        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.
      • update

        VolumeInner update​(String resourceGroupName,
                           String accountName,
                           String poolName,
                           String volumeName,
                           VolumePatch body)
        Patch the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Volume object supplied in the body of the operation.
        Returns:
        volume resource.
        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.
      • update

        VolumeInner update​(String resourceGroupName,
                           String accountName,
                           String poolName,
                           String volumeName,
                           VolumePatch body,
                           com.azure.core.util.Context context)
        Patch the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Volume object supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        volume resource.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String accountName,
                                                                                                                          String poolName,
                                                                                                                          String volumeName,
                                                                                                                          Boolean forceDelete)
        Delete the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        forceDelete - An option to force delete the volume. Will cleanup resources connected to the particular volume.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String accountName,
                                                                                                                          String poolName,
                                                                                                                          String volumeName,
                                                                                                                          Boolean forceDelete,
                                                                                                                          com.azure.core.util.Context context)
        Delete the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        forceDelete - An option to force delete the volume. Will cleanup resources connected to the particular volume.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • delete

        void delete​(String resourceGroupName,
                    String accountName,
                    String poolName,
                    String volumeName,
                    Boolean forceDelete)
        Delete the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        forceDelete - An option to force delete the volume. Will cleanup resources connected to the particular volume.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String accountName,
                    String poolName,
                    String volumeName)
        Delete the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String accountName,
                    String poolName,
                    String volumeName,
                    Boolean forceDelete,
                    com.azure.core.util.Context context)
        Delete the specified volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        forceDelete - An option to force delete the volume. Will cleanup resources connected to the particular volume.
        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.
      • beginRevert

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginRevert​(String resourceGroupName,
                                                                                                                          String accountName,
                                                                                                                          String poolName,
                                                                                                                          String volumeName,
                                                                                                                          VolumeRevert body)
        Revert a volume to the snapshot specified in the body.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Object for snapshot to revert supplied in the body of the operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginRevert

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginRevert​(String resourceGroupName,
                                                                                                                          String accountName,
                                                                                                                          String poolName,
                                                                                                                          String volumeName,
                                                                                                                          VolumeRevert body,
                                                                                                                          com.azure.core.util.Context context)
        Revert a volume to the snapshot specified in the body.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Object for snapshot to revert supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • revert

        void revert​(String resourceGroupName,
                    String accountName,
                    String poolName,
                    String volumeName,
                    VolumeRevert body)
        Revert a volume to the snapshot specified in the body.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Object for snapshot to revert supplied in the body of the 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.
      • revert

        void revert​(String resourceGroupName,
                    String accountName,
                    String poolName,
                    String volumeName,
                    VolumeRevert body,
                    com.azure.core.util.Context context)
        Revert a volume to the snapshot specified in the body.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Object for snapshot to revert supplied in the body of the operation.
        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.
      • beginBreakReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginBreakReplication​(String resourceGroupName,
                                                                                                                                    String accountName,
                                                                                                                                    String poolName,
                                                                                                                                    String volumeName,
                                                                                                                                    BreakReplicationRequest body)
        Break the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Optional body to force break the replication.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginBreakReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginBreakReplication​(String resourceGroupName,
                                                                                                                                    String accountName,
                                                                                                                                    String poolName,
                                                                                                                                    String volumeName,
                                                                                                                                    BreakReplicationRequest body,
                                                                                                                                    com.azure.core.util.Context context)
        Break the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Optional body to force break the replication.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • breakReplication

        void breakReplication​(String resourceGroupName,
                              String accountName,
                              String poolName,
                              String volumeName,
                              BreakReplicationRequest body)
        Break the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Optional body to force break the replication.
        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.
      • breakReplication

        void breakReplication​(String resourceGroupName,
                              String accountName,
                              String poolName,
                              String volumeName)
        Break the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        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.
      • breakReplication

        void breakReplication​(String resourceGroupName,
                              String accountName,
                              String poolName,
                              String volumeName,
                              BreakReplicationRequest body,
                              com.azure.core.util.Context context)
        Break the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Optional body to force break the replication.
        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.
      • replicationStatus

        ReplicationStatusInner replicationStatus​(String resourceGroupName,
                                                 String accountName,
                                                 String poolName,
                                                 String volumeName)
        Get the status of the replication.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        Returns:
        the status of the replication.
        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.
      • replicationStatusWithResponse

        com.azure.core.http.rest.Response<ReplicationStatusInner> replicationStatusWithResponse​(String resourceGroupName,
                                                                                                String accountName,
                                                                                                String poolName,
                                                                                                String volumeName,
                                                                                                com.azure.core.util.Context context)
        Get the status of the replication.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        context - The context to associate with this operation.
        Returns:
        the status of the replication along with Response.
        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.
      • beginResyncReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginResyncReplication​(String resourceGroupName,
                                                                                                                                     String accountName,
                                                                                                                                     String poolName,
                                                                                                                                     String volumeName)
        Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginResyncReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginResyncReplication​(String resourceGroupName,
                                                                                                                                     String accountName,
                                                                                                                                     String poolName,
                                                                                                                                     String volumeName,
                                                                                                                                     com.azure.core.util.Context context)
        Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • resyncReplication

        void resyncReplication​(String resourceGroupName,
                               String accountName,
                               String poolName,
                               String volumeName)
        Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        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.
      • resyncReplication

        void resyncReplication​(String resourceGroupName,
                               String accountName,
                               String poolName,
                               String volumeName,
                               com.azure.core.util.Context context)
        Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        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.
      • beginDeleteReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteReplication​(String resourceGroupName,
                                                                                                                                     String accountName,
                                                                                                                                     String poolName,
                                                                                                                                     String volumeName)
        Delete the replication connection on the destination volume, and send release to the source replication.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginDeleteReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteReplication​(String resourceGroupName,
                                                                                                                                     String accountName,
                                                                                                                                     String poolName,
                                                                                                                                     String volumeName,
                                                                                                                                     com.azure.core.util.Context context)
        Delete the replication connection on the destination volume, and send release to the source replication.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • deleteReplication

        void deleteReplication​(String resourceGroupName,
                               String accountName,
                               String poolName,
                               String volumeName)
        Delete the replication connection on the destination volume, and send release to the source replication.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        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.
      • deleteReplication

        void deleteReplication​(String resourceGroupName,
                               String accountName,
                               String poolName,
                               String volumeName,
                               com.azure.core.util.Context context)
        Delete the replication connection on the destination volume, and send release to the source replication.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        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.
      • beginAuthorizeReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginAuthorizeReplication​(String resourceGroupName,
                                                                                                                                        String accountName,
                                                                                                                                        String poolName,
                                                                                                                                        String volumeName,
                                                                                                                                        AuthorizeRequest body)
        Authorize the replication connection on the source volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Authorize request object supplied in the body of the operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginAuthorizeReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginAuthorizeReplication​(String resourceGroupName,
                                                                                                                                        String accountName,
                                                                                                                                        String poolName,
                                                                                                                                        String volumeName,
                                                                                                                                        AuthorizeRequest body,
                                                                                                                                        com.azure.core.util.Context context)
        Authorize the replication connection on the source volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Authorize request object supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • authorizeReplication

        void authorizeReplication​(String resourceGroupName,
                                  String accountName,
                                  String poolName,
                                  String volumeName,
                                  AuthorizeRequest body)
        Authorize the replication connection on the source volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Authorize request object supplied in the body of the 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.
      • authorizeReplication

        void authorizeReplication​(String resourceGroupName,
                                  String accountName,
                                  String poolName,
                                  String volumeName,
                                  AuthorizeRequest body,
                                  com.azure.core.util.Context context)
        Authorize the replication connection on the source volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Authorize request object supplied in the body of the operation.
        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.
      • beginReInitializeReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginReInitializeReplication​(String resourceGroupName,
                                                                                                                                           String accountName,
                                                                                                                                           String poolName,
                                                                                                                                           String volumeName)
        Re-Initializes the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginReInitializeReplication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginReInitializeReplication​(String resourceGroupName,
                                                                                                                                           String accountName,
                                                                                                                                           String poolName,
                                                                                                                                           String volumeName,
                                                                                                                                           com.azure.core.util.Context context)
        Re-Initializes the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • reInitializeReplication

        void reInitializeReplication​(String resourceGroupName,
                                     String accountName,
                                     String poolName,
                                     String volumeName)
        Re-Initializes the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        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.
      • reInitializeReplication

        void reInitializeReplication​(String resourceGroupName,
                                     String accountName,
                                     String poolName,
                                     String volumeName,
                                     com.azure.core.util.Context context)
        Re-Initializes the replication connection on the destination volume.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        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.
      • beginPoolChange

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginPoolChange​(String resourceGroupName,
                                                                                                                              String accountName,
                                                                                                                              String poolName,
                                                                                                                              String volumeName,
                                                                                                                              PoolChangeRequest body)
        Moves volume to another pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Move volume to the pool supplied in the body of the operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • beginPoolChange

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginPoolChange​(String resourceGroupName,
                                                                                                                              String accountName,
                                                                                                                              String poolName,
                                                                                                                              String volumeName,
                                                                                                                              PoolChangeRequest body,
                                                                                                                              com.azure.core.util.Context context)
        Moves volume to another pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Move volume to the pool supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running 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.
      • poolChange

        void poolChange​(String resourceGroupName,
                        String accountName,
                        String poolName,
                        String volumeName,
                        PoolChangeRequest body)
        Moves volume to another pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Move volume to the pool supplied in the body of the 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.
      • poolChange

        void poolChange​(String resourceGroupName,
                        String accountName,
                        String poolName,
                        String volumeName,
                        PoolChangeRequest body,
                        com.azure.core.util.Context context)
        Moves volume to another pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        volumeName - The name of the volume.
        body - Move volume to the pool supplied in the body of the operation.
        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.