Interface VirtualNetworkTapsClient

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

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

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String tapName)
      Deletes the specified virtual network tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      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 tapName)
      Deletes the specified virtual network tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      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 tapName)
      Deletes the specified virtual network tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      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 tapName, com.azure.core.util.Context context)
      Deletes the specified virtual network tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      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 tapName)
      Deletes the specified virtual network tap.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      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 tapName)
      Deletes the specified virtual network tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      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 tapName, com.azure.core.util.Context context)
      Deletes the specified virtual network tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      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.
    • getByResourceGroupWithResponseAsync

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

      VirtualNetworkTapInner getByResourceGroup(String resourceGroupName, String tapName)
      Gets information about the specified virtual network tap.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<VirtualNetworkTapInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of virtual network tap.
      Returns:
      information about the specified virtual network tap.
      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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
      Creates or updates a Virtual Network Tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      parameters - Parameters supplied to the create or update virtual network tap operation.
      Returns:
      virtual Network Tap 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<VirtualNetworkTapInner>,VirtualNetworkTapInner> beginCreateOrUpdateAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
      Creates or updates a Virtual Network Tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      parameters - Parameters supplied to the create or update virtual network tap operation.
      Returns:
      the PollerFlux for polling of virtual Network Tap 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<VirtualNetworkTapInner>,VirtualNetworkTapInner> beginCreateOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
      Creates or updates a Virtual Network Tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      parameters - Parameters supplied to the create or update virtual network tap operation.
      Returns:
      the SyncPoller for polling of virtual Network Tap 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<VirtualNetworkTapInner>,VirtualNetworkTapInner> beginCreateOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters, com.azure.core.util.Context context)
      Creates or updates a Virtual Network Tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      parameters - Parameters supplied to the create or update virtual network tap operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of virtual Network Tap 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<VirtualNetworkTapInner> createOrUpdateAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
      Creates or updates a Virtual Network Tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      parameters - Parameters supplied to the create or update virtual network tap operation.
      Returns:
      virtual Network Tap 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

      VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
      Creates or updates a Virtual Network Tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      parameters - Parameters supplied to the create or update virtual network tap operation.
      Returns:
      virtual Network Tap 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

      VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters, com.azure.core.util.Context context)
      Creates or updates a Virtual Network Tap.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the virtual network tap.
      parameters - Parameters supplied to the create or update virtual network tap operation.
      context - The context to associate with this operation.
      Returns:
      virtual Network Tap 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.
    • updateTagsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VirtualNetworkTapInner>> updateTagsWithResponseAsync(String resourceGroupName, String tapName, TagsObject tapParameters)
      Updates an VirtualNetworkTap tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the tap.
      tapParameters - Parameters supplied to update VirtualNetworkTap tags.
      Returns:
      virtual Network Tap 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.
    • updateTagsAsync

      Mono<VirtualNetworkTapInner> updateTagsAsync(String resourceGroupName, String tapName, TagsObject tapParameters)
      Updates an VirtualNetworkTap tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the tap.
      tapParameters - Parameters supplied to update VirtualNetworkTap tags.
      Returns:
      virtual Network Tap 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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<VirtualNetworkTapInner> updateTagsWithResponse(String resourceGroupName, String tapName, TagsObject tapParameters, com.azure.core.util.Context context)
      Updates an VirtualNetworkTap tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the tap.
      tapParameters - Parameters supplied to update VirtualNetworkTap tags.
      context - The context to associate with this operation.
      Returns:
      virtual Network Tap 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.
    • updateTags

      VirtualNetworkTapInner updateTags(String resourceGroupName, String tapName, TagsObject tapParameters)
      Updates an VirtualNetworkTap tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      tapName - The name of the tap.
      tapParameters - Parameters supplied to update VirtualNetworkTap tags.
      Returns:
      virtual Network Tap 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<VirtualNetworkTapInner> listAsync()
      Gets all the VirtualNetworkTaps in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<VirtualNetworkTapInner>
      Returns:
      all the VirtualNetworkTaps in a subscription 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<VirtualNetworkTapInner> list()
      Gets all the VirtualNetworkTaps in a subscription.
      Specified by:
      list in interface InnerSupportsListing<VirtualNetworkTapInner>
      Returns:
      all the VirtualNetworkTaps in a subscription 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<VirtualNetworkTapInner> list(com.azure.core.util.Context context)
      Gets all the VirtualNetworkTaps in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all the VirtualNetworkTaps in a subscription 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<VirtualNetworkTapInner> listByResourceGroupAsync(String resourceGroupName)
      Gets all the VirtualNetworkTaps in a subscription.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<VirtualNetworkTapInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all the VirtualNetworkTaps in a subscription 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<VirtualNetworkTapInner> listByResourceGroup(String resourceGroupName)
      Gets all the VirtualNetworkTaps in a subscription.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<VirtualNetworkTapInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all the VirtualNetworkTaps in a subscription 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<VirtualNetworkTapInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all the VirtualNetworkTaps in a subscription.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      all the VirtualNetworkTaps in a subscription 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.