Interface StaticCidrsClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<StaticCidrInner> listAsync(String resourceGroupName, String networkManagerName, String poolName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue)
      Gets list of Static CIDR resources at Network Manager level.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      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 Static CIDR 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<StaticCidrInner> listAsync(String resourceGroupName, String networkManagerName, String poolName)
      Gets list of Static CIDR resources at Network Manager level.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      list of Static CIDR 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<StaticCidrInner> list(String resourceGroupName, String networkManagerName, String poolName)
      Gets list of Static CIDR resources at Network Manager level.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      Returns:
      list of Static CIDR 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<StaticCidrInner> list(String resourceGroupName, String networkManagerName, String poolName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, com.azure.core.util.Context context)
      Gets list of Static CIDR resources at Network Manager level.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      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 Static CIDR 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<StaticCidrInner>> createWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName, StaticCidrInner body)
      Creates/Updates the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      staticCidrName - Static Cidr allocation name.
      body - StaticCidr resource object to create/update.
      Returns:
      instance of StaticCidr 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.
    • createAsync

      Mono<StaticCidrInner> createAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName)
      Creates/Updates the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      staticCidrName - Static Cidr allocation name.
      Returns:
      instance of StaticCidr 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.
    • createWithResponse

      com.azure.core.http.rest.Response<StaticCidrInner> createWithResponse(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName, StaticCidrInner body, com.azure.core.util.Context context)
      Creates/Updates the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      staticCidrName - Static Cidr allocation name.
      body - StaticCidr resource object to create/update.
      context - The context to associate with this operation.
      Returns:
      instance of StaticCidr 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.
    • create

      StaticCidrInner create(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName)
      Creates/Updates the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - IP Address Manager Pool resource name.
      staticCidrName - Static Cidr allocation name.
      Returns:
      instance of StaticCidr 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<StaticCidrInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName)
      Gets the specific Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to retrieve.
      Returns:
      the specific Static CIDR 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<StaticCidrInner> getAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName)
      Gets the specific Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to retrieve.
      Returns:
      the specific Static CIDR 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<StaticCidrInner> getWithResponse(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName, com.azure.core.util.Context context)
      Gets the specific Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to retrieve.
      context - The context to associate with this operation.
      Returns:
      the specific Static CIDR 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

      StaticCidrInner get(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName)
      Gets the specific Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to retrieve.
      Returns:
      the specific Static CIDR 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, String staticCidrName)
      Delete the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to delete.
      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, String staticCidrName)
      Delete the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to delete.
      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, String staticCidrName)
      Delete the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to delete.
      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, String staticCidrName, com.azure.core.util.Context context)
      Delete the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to delete.
      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, String staticCidrName)
      Delete the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to delete.
      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, String staticCidrName)
      Delete the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to delete.
      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, String staticCidrName, com.azure.core.util.Context context)
      Delete the Static CIDR resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      poolName - Pool resource name.
      staticCidrName - StaticCidr resource name to delete.
      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.