Interface VirtualNetworkAppliancesClient

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<VirtualNetworkApplianceInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<VirtualNetworkApplianceInner>

public interface VirtualNetworkAppliancesClient extends com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<VirtualNetworkApplianceInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<VirtualNetworkApplianceInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualNetworkAppliancesClient.
  • Method Details

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkApplianceName)
      Deletes the specified virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      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 virtualNetworkApplianceName)
      Deletes the specified virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      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 virtualNetworkApplianceName)
      Deletes the specified virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      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 virtualNetworkApplianceName, com.azure.core.util.Context context)
      Deletes the specified virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      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 virtualNetworkApplianceName)
      Deletes the specified virtual network appliance.
      Specified by:
      deleteAsync in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      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 virtualNetworkApplianceName)
      Deletes the specified virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      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 virtualNetworkApplianceName, com.azure.core.util.Context context)
      Deletes the specified virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      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<VirtualNetworkApplianceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkApplianceName)
      Gets information about the specified virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      Returns:
      information about the specified virtual network appliance 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<VirtualNetworkApplianceInner> getByResourceGroupAsync(String resourceGroupName, String virtualNetworkApplianceName)
      Gets information about the specified virtual network appliance.
      Specified by:
      getByResourceGroupAsync in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<VirtualNetworkApplianceInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      Returns:
      information about the specified virtual network appliance 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<VirtualNetworkApplianceInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualNetworkApplianceName, com.azure.core.util.Context context)
      Gets information about the specified virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      context - The context to associate with this operation.
      Returns:
      information about the specified virtual network appliance 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

      VirtualNetworkApplianceInner getByResourceGroup(String resourceGroupName, String virtualNetworkApplianceName)
      Gets information about the specified virtual network appliance.
      Specified by:
      getByResourceGroup in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<VirtualNetworkApplianceInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      Returns:
      information about the specified virtual network appliance.
      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 virtualNetworkApplianceName, VirtualNetworkApplianceInner parameters)
      Creates or updates a virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to the create or update virtual network appliance operation.
      Returns:
      a virtual network appliance 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkApplianceInner>, VirtualNetworkApplianceInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkApplianceName, VirtualNetworkApplianceInner parameters)
      Creates or updates a virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to the create or update virtual network appliance operation.
      Returns:
      the PollerFlux for polling of a virtual network appliance 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkApplianceInner>, VirtualNetworkApplianceInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkApplianceName, VirtualNetworkApplianceInner parameters)
      Creates or updates a virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to the create or update virtual network appliance operation.
      Returns:
      the SyncPoller for polling of a virtual network appliance 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkApplianceInner>, VirtualNetworkApplianceInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkApplianceName, VirtualNetworkApplianceInner parameters, com.azure.core.util.Context context)
      Creates or updates a virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to the create or update virtual network appliance operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a virtual network appliance 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.
    • createOrUpdateAsync

      Mono<VirtualNetworkApplianceInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkApplianceName, VirtualNetworkApplianceInner parameters)
      Creates or updates a virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to the create or update virtual network appliance operation.
      Returns:
      a virtual network appliance 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.
    • createOrUpdate

      VirtualNetworkApplianceInner createOrUpdate(String resourceGroupName, String virtualNetworkApplianceName, VirtualNetworkApplianceInner parameters)
      Creates or updates a virtual network appliance.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to the create or update virtual network appliance operation.
      Returns:
      a virtual network appliance 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.
    • createOrUpdate

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

      Mono<com.azure.core.http.rest.Response<VirtualNetworkApplianceInner>> updateTagsWithResponseAsync(String resourceGroupName, String virtualNetworkApplianceName, TagsObject parameters)
      Updates a virtual network appliance tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to update virtual network appliance tags.
      Returns:
      a virtual network appliance 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.
    • updateTagsAsync

      Mono<VirtualNetworkApplianceInner> updateTagsAsync(String resourceGroupName, String virtualNetworkApplianceName, TagsObject parameters)
      Updates a virtual network appliance tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to update virtual network appliance tags.
      Returns:
      a virtual network appliance 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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<VirtualNetworkApplianceInner> updateTagsWithResponse(String resourceGroupName, String virtualNetworkApplianceName, TagsObject parameters, com.azure.core.util.Context context)
      Updates a virtual network appliance tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to update virtual network appliance tags.
      context - The context to associate with this operation.
      Returns:
      a virtual network appliance 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.
    • updateTags

      VirtualNetworkApplianceInner updateTags(String resourceGroupName, String virtualNetworkApplianceName, TagsObject parameters)
      Updates a virtual network appliance tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkApplianceName - The name of the virtual network appliance.
      parameters - Parameters supplied to update virtual network appliance tags.
      Returns:
      a virtual network appliance 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<VirtualNetworkApplianceInner> listAsync()
      Gets all virtual network appliances in a subscription.
      Specified by:
      listAsync in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<VirtualNetworkApplianceInner>
      Returns:
      all virtual network appliances 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<VirtualNetworkApplianceInner> list()
      Gets all virtual network appliances in a subscription.
      Specified by:
      list in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<VirtualNetworkApplianceInner>
      Returns:
      all virtual network appliances 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<VirtualNetworkApplianceInner> list(com.azure.core.util.Context context)
      Gets all virtual network appliances in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all virtual network appliances 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<VirtualNetworkApplianceInner> listByResourceGroupAsync(String resourceGroupName)
      Gets all virtual network appliances in a resource group.
      Specified by:
      listByResourceGroupAsync in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<VirtualNetworkApplianceInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all virtual network appliances 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<VirtualNetworkApplianceInner> listByResourceGroup(String resourceGroupName)
      Gets all virtual network appliances in a resource group.
      Specified by:
      listByResourceGroup in interface com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<VirtualNetworkApplianceInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all virtual network appliances 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<VirtualNetworkApplianceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all virtual network appliances in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      all virtual network appliances 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.