Interface LocalNetworkGatewaysClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<LocalNetworkGatewayInner>

public interface LocalNetworkGatewaysClient extends InnerSupportsGet<LocalNetworkGatewayInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in LocalNetworkGatewaysClient.
  • Method Details

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters)
      Creates or updates a local network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to the create or update local network gateway operation.
      Returns:
      a common class for general resource information 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<LocalNetworkGatewayInner>,LocalNetworkGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters)
      Creates or updates a local network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to the create or update local network gateway operation.
      Returns:
      the PollerFlux for polling of a common class for general resource information.
      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<LocalNetworkGatewayInner>,LocalNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters)
      Creates or updates a local network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to the create or update local network gateway operation.
      Returns:
      the SyncPoller for polling of a common class for general resource information.
      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<LocalNetworkGatewayInner>,LocalNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters, com.azure.core.util.Context context)
      Creates or updates a local network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to the create or update local network gateway operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a common class for general resource information.
      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<LocalNetworkGatewayInner> createOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters)
      Creates or updates a local network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to the create or update local network gateway operation.
      Returns:
      a common class for general resource information 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

      LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters)
      Creates or updates a local network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to the create or update local network gateway operation.
      Returns:
      a common class for general resource information.
      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

      LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGatewayInner parameters, com.azure.core.util.Context context)
      Creates or updates a local network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to the create or update local network gateway operation.
      context - The context to associate with this operation.
      Returns:
      a common class for general resource information.
      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.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<LocalNetworkGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String localNetworkGatewayName)
      Gets the specified local network gateway in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      Returns:
      the specified local network gateway in a resource group 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<LocalNetworkGatewayInner> getByResourceGroupAsync(String resourceGroupName, String localNetworkGatewayName)
      Gets the specified local network gateway in a resource group.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<LocalNetworkGatewayInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      Returns:
      the specified local network gateway in a resource group 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<LocalNetworkGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String localNetworkGatewayName, com.azure.core.util.Context context)
      Gets the specified local network gateway in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      context - The context to associate with this operation.
      Returns:
      the specified local network gateway in a resource group 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

      LocalNetworkGatewayInner getByResourceGroup(String resourceGroupName, String localNetworkGatewayName)
      Gets the specified local network gateway in a resource group.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<LocalNetworkGatewayInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      Returns:
      the specified local network gateway in a resource group.
      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 localNetworkGatewayName)
      Deletes the specified local network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      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 localNetworkGatewayName)
      Deletes the specified local network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      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 localNetworkGatewayName)
      Deletes the specified local network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      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 localNetworkGatewayName, com.azure.core.util.Context context)
      Deletes the specified local network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      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 localNetworkGatewayName)
      Deletes the specified local network gateway.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      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 localNetworkGatewayName)
      Deletes the specified local network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      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 localNetworkGatewayName, com.azure.core.util.Context context)
      Deletes the specified local network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      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.
    • updateTagsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<LocalNetworkGatewayInner>> updateTagsWithResponseAsync(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters)
      Updates a local network gateway tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to update local network gateway tags.
      Returns:
      a common class for general resource information 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.
    • updateTagsAsync

      Mono<LocalNetworkGatewayInner> updateTagsAsync(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters)
      Updates a local network gateway tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to update local network gateway tags.
      Returns:
      a common class for general resource information 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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<LocalNetworkGatewayInner> updateTagsWithResponse(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters, com.azure.core.util.Context context)
      Updates a local network gateway tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to update local network gateway tags.
      context - The context to associate with this operation.
      Returns:
      a common class for general resource information 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.
    • updateTags

      LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetworkGatewayName, TagsObject parameters)
      Updates a local network gateway tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      localNetworkGatewayName - The name of the local network gateway.
      parameters - Parameters supplied to update local network gateway tags.
      Returns:
      a common class for general resource information.
      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<LocalNetworkGatewayInner> listByResourceGroupAsync(String resourceGroupName)
      Gets all the local network gateways in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all the local network gateways in a resource group 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<LocalNetworkGatewayInner> listByResourceGroup(String resourceGroupName)
      Gets all the local network gateways in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all the local network gateways in a resource group 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<LocalNetworkGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all the local network gateways in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      all the local network gateways in a resource group 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.