Interface NetworkVirtualApplianceConnectionsClient


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

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String connectionName, NetworkVirtualApplianceConnectionInner networkVirtualApplianceConnectionParameters)
      Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      networkVirtualApplianceConnectionParameters - Parameters supplied in an NetworkVirtualApplianceConnection PUT operation.
      Returns:
      networkVirtualApplianceConnection 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceConnectionInner>,NetworkVirtualApplianceConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, String connectionName, NetworkVirtualApplianceConnectionInner networkVirtualApplianceConnectionParameters)
      Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      networkVirtualApplianceConnectionParameters - Parameters supplied in an NetworkVirtualApplianceConnection PUT operation.
      Returns:
      the PollerFlux for polling of networkVirtualApplianceConnection 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<NetworkVirtualApplianceConnectionInner>,NetworkVirtualApplianceConnectionInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String connectionName, NetworkVirtualApplianceConnectionInner networkVirtualApplianceConnectionParameters)
      Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      networkVirtualApplianceConnectionParameters - Parameters supplied in an NetworkVirtualApplianceConnection PUT operation.
      Returns:
      the SyncPoller for polling of networkVirtualApplianceConnection 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<NetworkVirtualApplianceConnectionInner>,NetworkVirtualApplianceConnectionInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String connectionName, NetworkVirtualApplianceConnectionInner networkVirtualApplianceConnectionParameters, com.azure.core.util.Context context)
      Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      networkVirtualApplianceConnectionParameters - Parameters supplied in an NetworkVirtualApplianceConnection PUT operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of networkVirtualApplianceConnection 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.
    • createOrUpdateAsync

      Mono<NetworkVirtualApplianceConnectionInner> createOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, String connectionName, NetworkVirtualApplianceConnectionInner networkVirtualApplianceConnectionParameters)
      Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      networkVirtualApplianceConnectionParameters - Parameters supplied in an NetworkVirtualApplianceConnection PUT operation.
      Returns:
      networkVirtualApplianceConnection 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.
    • createOrUpdate

      NetworkVirtualApplianceConnectionInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String connectionName, NetworkVirtualApplianceConnectionInner networkVirtualApplianceConnectionParameters)
      Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      networkVirtualApplianceConnectionParameters - Parameters supplied in an NetworkVirtualApplianceConnection PUT operation.
      Returns:
      networkVirtualApplianceConnection 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

      NetworkVirtualApplianceConnectionInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String connectionName, NetworkVirtualApplianceConnectionInner networkVirtualApplianceConnectionParameters, com.azure.core.util.Context context)
      Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      networkVirtualApplianceConnectionParameters - Parameters supplied in an NetworkVirtualApplianceConnection PUT operation.
      context - The context to associate with this operation.
      Returns:
      networkVirtualApplianceConnection 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<NetworkVirtualApplianceConnectionInner>> getWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String connectionName)
      Retrieves the details of specified NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      Returns:
      networkVirtualApplianceConnection 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<NetworkVirtualApplianceConnectionInner> getAsync(String resourceGroupName, String networkVirtualApplianceName, String connectionName)
      Retrieves the details of specified NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      Returns:
      networkVirtualApplianceConnection 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<NetworkVirtualApplianceConnectionInner> getWithResponse(String resourceGroupName, String networkVirtualApplianceName, String connectionName, com.azure.core.util.Context context)
      Retrieves the details of specified NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      context - The context to associate with this operation.
      Returns:
      networkVirtualApplianceConnection 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

      NetworkVirtualApplianceConnectionInner get(String resourceGroupName, String networkVirtualApplianceName, String connectionName)
      Retrieves the details of specified NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      Returns:
      networkVirtualApplianceConnection 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 networkVirtualApplianceName, String connectionName)
      Deletes a NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA 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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkVirtualApplianceName, String connectionName)
      Deletes a NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      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 networkVirtualApplianceName, String connectionName)
      Deletes a NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      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 networkVirtualApplianceName, String connectionName, com.azure.core.util.Context context)
      Deletes a NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      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 networkVirtualApplianceName, String connectionName)
      Deletes a NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA 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.
    • delete

      void delete(String resourceGroupName, String networkVirtualApplianceName, String connectionName)
      Deletes a NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA 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.
    • delete

      void delete(String resourceGroupName, String networkVirtualApplianceName, String connectionName, com.azure.core.util.Context context)
      Deletes a NVA connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      connectionName - The name of the NVA connection.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<NetworkVirtualApplianceConnectionInner> listAsync(String resourceGroupName, String networkVirtualApplianceName)
      Lists NetworkVirtualApplianceConnections under the NVA.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      Returns:
      networkVirtualApplianceConnection list 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<NetworkVirtualApplianceConnectionInner> list(String resourceGroupName, String networkVirtualApplianceName)
      Lists NetworkVirtualApplianceConnections under the NVA.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      Returns:
      networkVirtualApplianceConnection list 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<NetworkVirtualApplianceConnectionInner> list(String resourceGroupName, String networkVirtualApplianceName, com.azure.core.util.Context context)
      Lists NetworkVirtualApplianceConnections under the NVA.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkVirtualApplianceName - The name of the Network Virtual Appliance.
      context - The context to associate with this operation.
      Returns:
      networkVirtualApplianceConnection list 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.