Interface PoolsClient


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

      • list

        com.azure.core.http.rest.PagedIterable<CapacityPoolInner> list​(String resourceGroupName,
                                                                       String accountName)
        List all capacity pools in the NetApp Account.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        Returns:
        list of capacity pool 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<CapacityPoolInner> list​(String resourceGroupName,
                                                                       String accountName,
                                                                       com.azure.core.util.Context context)
        List all capacity pools in the NetApp Account.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        context - The context to associate with this operation.
        Returns:
        list of capacity pool 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

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

        CapacityPoolInner createOrUpdate​(String resourceGroupName,
                                         String accountName,
                                         String poolName,
                                         CapacityPoolInner body)
        Create or Update a capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        body - Capacity pool object supplied in the body of the operation.
        Returns:
        capacity pool 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

        CapacityPoolInner createOrUpdate​(String resourceGroupName,
                                         String accountName,
                                         String poolName,
                                         CapacityPoolInner body,
                                         com.azure.core.util.Context context)
        Create or Update a capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        body - Capacity pool object supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        capacity pool 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<CapacityPoolInner>,​CapacityPoolInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                    String accountName,
                                                                                                                                                    String poolName,
                                                                                                                                                    CapacityPoolPatch body)
        Patch the specified capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        body - Capacity pool object supplied in the body of the operation.
        Returns:
        the SyncPoller for polling of capacity pool 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<CapacityPoolInner>,​CapacityPoolInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                    String accountName,
                                                                                                                                                    String poolName,
                                                                                                                                                    CapacityPoolPatch body,
                                                                                                                                                    com.azure.core.util.Context context)
        Patch the specified capacity pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        accountName - The name of the NetApp account.
        poolName - The name of the capacity pool.
        body - Capacity pool object supplied in the body of the operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of capacity pool 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

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

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