Interface SubscriptionNetworkManagerConnectionsClient


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

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkManagerConnectionInner>> createOrUpdateWithResponseAsync(String networkManagerConnectionName, NetworkManagerConnectionInner parameters)
      Create a network manager connection on this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      parameters - Network manager connection to be created/updated.
      Returns:
      the Network Manager Connection 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.
    • createOrUpdateAsync

      Mono<NetworkManagerConnectionInner> createOrUpdateAsync(String networkManagerConnectionName, NetworkManagerConnectionInner parameters)
      Create a network manager connection on this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      parameters - Network manager connection to be created/updated.
      Returns:
      the Network Manager Connection 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<NetworkManagerConnectionInner> createOrUpdateWithResponse(String networkManagerConnectionName, NetworkManagerConnectionInner parameters, com.azure.core.util.Context context)
      Create a network manager connection on this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      parameters - Network manager connection to be created/updated.
      context - The context to associate with this operation.
      Returns:
      the Network Manager Connection 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.
    • createOrUpdate

      NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName, NetworkManagerConnectionInner parameters)
      Create a network manager connection on this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      parameters - Network manager connection to be created/updated.
      Returns:
      the Network Manager Connection 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<NetworkManagerConnectionInner>> getWithResponseAsync(String networkManagerConnectionName)
      Get a specified connection created by this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      Returns:
      a specified connection created by this subscription 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<NetworkManagerConnectionInner> getAsync(String networkManagerConnectionName)
      Get a specified connection created by this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      Returns:
      a specified connection created by this subscription 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<NetworkManagerConnectionInner> getWithResponse(String networkManagerConnectionName, com.azure.core.util.Context context)
      Get a specified connection created by this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      context - The context to associate with this operation.
      Returns:
      a specified connection created by this subscription 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

      NetworkManagerConnectionInner get(String networkManagerConnectionName)
      Get a specified connection created by this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      Returns:
      a specified connection created by this subscription.
      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<Void>> deleteWithResponseAsync(String networkManagerConnectionName)
      Delete specified connection created by this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String networkManagerConnectionName)
      Delete specified connection created by this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String networkManagerConnectionName, com.azure.core.util.Context context)
      Delete specified connection created by this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • delete

      void delete(String networkManagerConnectionName)
      Delete specified connection created by this subscription.
      Parameters:
      networkManagerConnectionName - Name for the network manager connection.
      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<NetworkManagerConnectionInner> listAsync(Integer top, String skipToken)
      List all network manager connections created by this subscription.
      Parameters:
      top - An optional query parameter which specifies the maximum number of records to be returned by the server.
      skipToken - SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
      Returns:
      list of network manager connections 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<NetworkManagerConnectionInner> listAsync()
      List all network manager connections created by this subscription.
      Returns:
      list of network manager connections as paginated response with PagedFlux.
      Throws:
      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<NetworkManagerConnectionInner> list()
      List all network manager connections created by this subscription.
      Returns:
      list of network manager connections as paginated response with PagedIterable.
      Throws:
      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<NetworkManagerConnectionInner> list(Integer top, String skipToken, com.azure.core.util.Context context)
      List all network manager connections created by this subscription.
      Parameters:
      top - An optional query parameter which specifies the maximum number of records to be returned by the server.
      skipToken - SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
      context - The context to associate with this operation.
      Returns:
      list of network manager connections 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.