Interface IpamPoolsClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<IpamPoolInner> listAsync(String resourceGroupName, String networkManagerName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue)
      Gets list of Pool resources at Network Manager level.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      skipToken - Optional skip token.
      skip - Optional num entries to skip.
      top - Optional num entries to show.
      sortKey - Optional key by which to sort.
      sortValue - Optional sort value for pagination.
      Returns:
      list of Pool resources at Network Manager level as paginated response with PagedFlux.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<IpamPoolInner> listAsync(String resourceGroupName, String networkManagerName)
      Gets list of Pool resources at Network Manager level.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      list of Pool resources at Network Manager level as paginated response with PagedFlux.
      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<IpamPoolInner> list(String resourceGroupName, String networkManagerName)
      Gets list of Pool resources at Network Manager level.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      list of Pool resources at Network Manager level 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<IpamPoolInner> list(String resourceGroupName, String networkManagerName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, com.azure.core.util.Context context)
      Gets list of Pool resources at Network Manager level.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      skipToken - Optional skip token.
      skip - Optional num entries to skip.
      top - Optional num entries to show.
      sortKey - Optional key by which to sort.
      sortValue - Optional sort value for pagination.
      context - The context to associate with this operation.
      Returns:
      list of Pool resources at Network Manager level 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.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName, IpamPoolInner body)
      Creates/Updates the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to create/update.
      Returns:
      instance of Pool resource along with Response on successful completion of Mono.
      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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<IpamPoolInner>,IpamPoolInner> beginCreateAsync(String resourceGroupName, String networkManagerName, String poolName, IpamPoolInner body)
      Creates/Updates the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to create/update.
      Returns:
      the PollerFlux for polling of instance of 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpamPoolInner>,IpamPoolInner> beginCreate(String resourceGroupName, String networkManagerName, String poolName, IpamPoolInner body)
      Creates/Updates the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to create/update.
      Returns:
      the SyncPoller for polling of instance of 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpamPoolInner>,IpamPoolInner> beginCreate(String resourceGroupName, String networkManagerName, String poolName, IpamPoolInner body, com.azure.core.util.Context context)
      Creates/Updates the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to create/update.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of instance of 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.
    • createAsync

      Mono<IpamPoolInner> createAsync(String resourceGroupName, String networkManagerName, String poolName, IpamPoolInner body)
      Creates/Updates the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to create/update.
      Returns:
      instance of Pool resource on successful completion of Mono.
      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.
    • create

      IpamPoolInner create(String resourceGroupName, String networkManagerName, String poolName, IpamPoolInner body)
      Creates/Updates the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to create/update.
      Returns:
      instance of 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.
    • create

      IpamPoolInner create(String resourceGroupName, String networkManagerName, String poolName, IpamPoolInner body, com.azure.core.util.Context context)
      Creates/Updates the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to create/update.
      context - The context to associate with this operation.
      Returns:
      instance of 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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<IpamPoolInner>> updateWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName, IpamPoolUpdate body)
      Updates the specific Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to update partially.
      Returns:
      instance of Pool resource along with Response on successful completion of Mono.
      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.
    • updateAsync

      Mono<IpamPoolInner> updateAsync(String resourceGroupName, String networkManagerName, String poolName)
      Updates the specific Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      Returns:
      instance of Pool resource on successful completion of Mono.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<IpamPoolInner> updateWithResponse(String resourceGroupName, String networkManagerName, String poolName, IpamPoolUpdate body, com.azure.core.util.Context context)
      Updates the specific Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      body - Pool resource object to update partially.
      context - The context to associate with this operation.
      Returns:
      instance of Pool resource 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.
    • update

      IpamPoolInner update(String resourceGroupName, String networkManagerName, String poolName)
      Updates the specific Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      Returns:
      instance of 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<IpamPoolInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName)
      Gets the specific Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      the specific Pool resource along with Response on successful completion of Mono.
      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<IpamPoolInner> getAsync(String resourceGroupName, String networkManagerName, String poolName)
      Gets the specific Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      the specific Pool resource on successful completion of Mono.
      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<IpamPoolInner> getWithResponse(String resourceGroupName, String networkManagerName, String poolName, com.azure.core.util.Context context)
      Gets the specific Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      context - The context to associate with this operation.
      Returns:
      the specific Pool resource 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.
    • get

      IpamPoolInner get(String resourceGroupName, String networkManagerName, String poolName)
      Gets the specific Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      the specific 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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName)
      Delete the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String poolName)
      Delete the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      the PollerFlux 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 networkManagerName, String poolName)
      Delete the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      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 networkManagerName, String poolName, com.azure.core.util.Context context)
      Delete the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String poolName)
      Delete the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      A Mono that completes when a successful response is received.
      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 networkManagerName, String poolName)
      Delete the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      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 networkManagerName, String poolName, com.azure.core.util.Context context)
      Delete the Pool resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      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.
    • getPoolUsageWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PoolUsageInner>> getPoolUsageWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName)
      Get the Pool Usage.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      the Pool Usage along with Response on successful completion of Mono.
      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.
    • getPoolUsageAsync

      Mono<PoolUsageInner> getPoolUsageAsync(String resourceGroupName, String networkManagerName, String poolName)
      Get the Pool Usage.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      the Pool Usage on successful completion of Mono.
      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.
    • getPoolUsageWithResponse

      com.azure.core.http.rest.Response<PoolUsageInner> getPoolUsageWithResponse(String resourceGroupName, String networkManagerName, String poolName, com.azure.core.util.Context context)
      Get the Pool Usage.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      context - The context to associate with this operation.
      Returns:
      the Pool Usage 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.
    • getPoolUsage

      PoolUsageInner getPoolUsage(String resourceGroupName, String networkManagerName, String poolName)
      Get the Pool Usage.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      the Pool Usage.
      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.
    • listAssociatedResourcesAsync

      com.azure.core.http.rest.PagedFlux<PoolAssociationInner> listAssociatedResourcesAsync(String resourceGroupName, String networkManagerName, String poolName)
      List Associated Resource in the Pool.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      list of PoolAssociation as paginated response with PagedFlux.
      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.
    • listAssociatedResources

      com.azure.core.http.rest.PagedIterable<PoolAssociationInner> listAssociatedResources(String resourceGroupName, String networkManagerName, String poolName)
      List Associated Resource in the Pool.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      list of PoolAssociation 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.
    • listAssociatedResources

      com.azure.core.http.rest.PagedIterable<PoolAssociationInner> listAssociatedResources(String resourceGroupName, String networkManagerName, String poolName, com.azure.core.util.Context context)
      List Associated Resource in the Pool.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      context - The context to associate with this operation.
      Returns:
      list of PoolAssociation 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.