Interface NetworkManagersClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<NetworkManagerInner>, InnerSupportsListing<NetworkManagerInner>

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

    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkManagerInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkManagerName)
      Gets the specified Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      the specified Network Manager 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.
    • getByResourceGroupAsync

      Mono<NetworkManagerInner> getByResourceGroupAsync(String resourceGroupName, String networkManagerName)
      Gets the specified Network Manager.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<NetworkManagerInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      the specified Network Manager 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<NetworkManagerInner> getByResourceGroupWithResponse(String resourceGroupName, String networkManagerName, com.azure.core.util.Context context)
      Gets the specified Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      context - The context to associate with this operation.
      Returns:
      the specified Network Manager 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.
    • getByResourceGroup

      NetworkManagerInner getByResourceGroup(String resourceGroupName, String networkManagerName)
      Gets the specified Network Manager.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<NetworkManagerInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      Returns:
      the specified Network Manager.
      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<NetworkManagerInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters)
      Creates or updates a Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      parameters - Parameters supplied to specify which network manager is.
      Returns:
      the Managed Network 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<NetworkManagerInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters)
      Creates or updates a Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      parameters - Parameters supplied to specify which network manager is.
      Returns:
      the Managed Network 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<NetworkManagerInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters, com.azure.core.util.Context context)
      Creates or updates a Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      parameters - Parameters supplied to specify which network manager is.
      context - The context to associate with this operation.
      Returns:
      the Managed Network 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

      NetworkManagerInner createOrUpdate(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters)
      Creates or updates a Network Manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      parameters - Parameters supplied to specify which network manager is.
      Returns:
      the Managed Network 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, Boolean force)
      Deletes a network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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, Boolean force)
      Deletes a network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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)
      Deletes a network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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)
      Deletes a network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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, Boolean force, com.azure.core.util.Context context)
      Deletes a network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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, Boolean force)
      Deletes a network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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)
      Deletes a network manager.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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)
      Deletes a network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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, Boolean force, com.azure.core.util.Context context)
      Deletes a network manager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      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.
    • patchWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkManagerInner>> patchWithResponseAsync(String resourceGroupName, String networkManagerName, PatchObject parameters)
      Patch NetworkManager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      parameters - Parameters supplied to specify which network manager is.
      Returns:
      the Managed Network 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.
    • patchAsync

      Mono<NetworkManagerInner> patchAsync(String resourceGroupName, String networkManagerName, PatchObject parameters)
      Patch NetworkManager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      parameters - Parameters supplied to specify which network manager is.
      Returns:
      the Managed Network 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.
    • patchWithResponse

      com.azure.core.http.rest.Response<NetworkManagerInner> patchWithResponse(String resourceGroupName, String networkManagerName, PatchObject parameters, com.azure.core.util.Context context)
      Patch NetworkManager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      parameters - Parameters supplied to specify which network manager is.
      context - The context to associate with this operation.
      Returns:
      the Managed Network 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.
    • patch

      NetworkManagerInner patch(String resourceGroupName, String networkManagerName, PatchObject parameters)
      Patch NetworkManager.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkManagerName - The name of the network manager.
      parameters - Parameters supplied to specify which network manager is.
      Returns:
      the Managed Network 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<NetworkManagerInner> listAsync(Integer top, String skipToken)
      List all network managers in a 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:
      result of the request to list NetworkManager 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<NetworkManagerInner> listAsync()
      List all network managers in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<NetworkManagerInner>
      Returns:
      result of the request to list NetworkManager 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<NetworkManagerInner> list()
      List all network managers in a subscription.
      Specified by:
      list in interface InnerSupportsListing<NetworkManagerInner>
      Returns:
      result of the request to list NetworkManager 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<NetworkManagerInner> list(Integer top, String skipToken, com.azure.core.util.Context context)
      List all network managers in a 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:
      result of the request to list NetworkManager 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<NetworkManagerInner> listByResourceGroupAsync(String resourceGroupName, Integer top, String skipToken)
      List network managers in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      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 NetworkManager 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<NetworkManagerInner> listByResourceGroupAsync(String resourceGroupName)
      List network managers in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<NetworkManagerInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      result of the request to list NetworkManager 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<NetworkManagerInner> listByResourceGroup(String resourceGroupName)
      List network managers in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<NetworkManagerInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      result of the request to list NetworkManager 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<NetworkManagerInner> listByResourceGroup(String resourceGroupName, Integer top, String skipToken, com.azure.core.util.Context context)
      List network managers in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      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 NetworkManager 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.