Interface ConnectivityConfigurationsClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ConnectivityConfigurationInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName)
      Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      Returns:
      a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name 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<ConnectivityConfigurationInner> getAsync(String resourceGroupName, String networkManagerName, String configurationName)
      Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      Returns:
      a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name 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<ConnectivityConfigurationInner> getWithResponse(String resourceGroupName, String networkManagerName, String configurationName, com.azure.core.util.Context context)
      Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      context - The context to associate with this operation.
      Returns:
      a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name 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

      ConnectivityConfigurationInner get(String resourceGroupName, String networkManagerName, String configurationName)
      Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      Returns:
      a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration 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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ConnectivityConfigurationInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, ConnectivityConfigurationInner connectivityConfiguration)
      Creates/Updates a new network manager connectivity configuration.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      connectivityConfiguration - Parameters supplied to create/update a network manager connectivity configuration.
      Returns:
      the network manager connectivity configuration 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<ConnectivityConfigurationInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String configurationName, ConnectivityConfigurationInner connectivityConfiguration)
      Creates/Updates a new network manager connectivity configuration.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      connectivityConfiguration - Parameters supplied to create/update a network manager connectivity configuration.
      Returns:
      the network manager connectivity configuration 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<ConnectivityConfigurationInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String configurationName, ConnectivityConfigurationInner connectivityConfiguration, com.azure.core.util.Context context)
      Creates/Updates a new network manager connectivity configuration.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      connectivityConfiguration - Parameters supplied to create/update a network manager connectivity configuration.
      context - The context to associate with this operation.
      Returns:
      the network manager connectivity configuration 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

      ConnectivityConfigurationInner createOrUpdate(String resourceGroupName, String networkManagerName, String configurationName, ConnectivityConfigurationInner connectivityConfiguration)
      Creates/Updates a new network manager connectivity configuration.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      connectivityConfiguration - Parameters supplied to create/update a network manager connectivity configuration.
      Returns:
      the network manager connectivity configuration 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 configurationName, Boolean force)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the 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 configurationName, Boolean force)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the 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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      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 configurationName)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      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 configurationName, Boolean force, com.azure.core.util.Context context)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the 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 configurationName, Boolean force)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String configurationName)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      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 configurationName)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      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 configurationName, Boolean force, com.azure.core.util.Context context)
      Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      configurationName - The name of the network manager connectivity configuration.
      force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<ConnectivityConfigurationInner> listAsync(String resourceGroupName, String networkManagerName, Integer top, String skipToken)
      Lists all the network manager connectivity configuration in a specified network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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:
      result of the request to list network manager connectivity configurations 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<ConnectivityConfigurationInner> listAsync(String resourceGroupName, String networkManagerName)
      Lists all the network manager connectivity configuration in a specified network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      result of the request to list network manager connectivity configurations 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<ConnectivityConfigurationInner> list(String resourceGroupName, String networkManagerName)
      Lists all the network manager connectivity configuration in a specified network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      result of the request to list network manager connectivity configurations 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<ConnectivityConfigurationInner> list(String resourceGroupName, String networkManagerName, Integer top, String skipToken, com.azure.core.util.Context context)
      Lists all the network manager connectivity configuration in a specified network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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:
      result of the request to list network manager connectivity configurations 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.