Interface NetworkVirtualAppliancesClient

    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String networkVirtualApplianceName)
        Deletes the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual 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 networkVirtualApplianceName)
        Deletes the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual 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 networkVirtualApplianceName)
        Deletes the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual 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 networkVirtualApplianceName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual 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 networkVirtualApplianceName)
        Deletes the specified Network Virtual Appliance.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual 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 networkVirtualApplianceName)
        Deletes the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual 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 networkVirtualApplianceName,
                    com.azure.core.util.Context context)
        Deletes the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual 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<NetworkVirtualApplianceInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                                  String networkVirtualApplianceName,
                                                                                                                  String expand)
        Gets the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        expand - Expands referenced resources.
        Returns:
        the specified Network Virtual 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<NetworkVirtualApplianceInner> getByResourceGroupAsync​(String resourceGroupName,
                                                                   String networkVirtualApplianceName,
                                                                   String expand)
        Gets the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        expand - Expands referenced resources.
        Returns:
        the specified Network Virtual 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.
      • getByResourceGroupAsync

        Mono<NetworkVirtualApplianceInner> getByResourceGroupAsync​(String resourceGroupName,
                                                                   String networkVirtualApplianceName)
        Gets the specified Network Virtual Appliance.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<NetworkVirtualApplianceInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        Returns:
        the specified Network Virtual 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.
      • getByResourceGroup

        NetworkVirtualApplianceInner getByResourceGroup​(String resourceGroupName,
                                                        String networkVirtualApplianceName)
        Gets the specified Network Virtual Appliance.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<NetworkVirtualApplianceInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        Returns:
        the specified Network Virtual 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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<NetworkVirtualApplianceInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                       String networkVirtualApplianceName,
                                                                                                       String expand,
                                                                                                       com.azure.core.util.Context context)
        Gets the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        expand - Expands referenced resources.
        context - The context to associate with this operation.
        Returns:
        the specified Network Virtual 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.
      • updateTagsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<NetworkVirtualApplianceInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                                          String networkVirtualApplianceName,
                                                                                                          TagsObject parameters)
        Updates a Network Virtual Appliance.
        Parameters:
        resourceGroupName - The resource group name of Network Virtual Appliance.
        networkVirtualApplianceName - The name of Network Virtual Appliance being updated.
        parameters - Parameters supplied to Update Network Virtual Appliance Tags.
        Returns:
        networkVirtualAppliance 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<NetworkVirtualApplianceInner> updateTagsAsync​(String resourceGroupName,
                                                           String networkVirtualApplianceName,
                                                           TagsObject parameters)
        Updates a Network Virtual Appliance.
        Parameters:
        resourceGroupName - The resource group name of Network Virtual Appliance.
        networkVirtualApplianceName - The name of Network Virtual Appliance being updated.
        parameters - Parameters supplied to Update Network Virtual Appliance Tags.
        Returns:
        networkVirtualAppliance 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.
      • updateTags

        NetworkVirtualApplianceInner updateTags​(String resourceGroupName,
                                                String networkVirtualApplianceName,
                                                TagsObject parameters)
        Updates a Network Virtual Appliance.
        Parameters:
        resourceGroupName - The resource group name of Network Virtual Appliance.
        networkVirtualApplianceName - The name of Network Virtual Appliance being updated.
        parameters - Parameters supplied to Update Network Virtual Appliance Tags.
        Returns:
        networkVirtualAppliance 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.
      • updateTagsWithResponse

        com.azure.core.http.rest.Response<NetworkVirtualApplianceInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                               String networkVirtualApplianceName,
                                                                                               TagsObject parameters,
                                                                                               com.azure.core.util.Context context)
        Updates a Network Virtual Appliance.
        Parameters:
        resourceGroupName - The resource group name of Network Virtual Appliance.
        networkVirtualApplianceName - The name of Network Virtual Appliance being updated.
        parameters - Parameters supplied to Update Network Virtual Appliance Tags.
        context - The context to associate with this operation.
        Returns:
        networkVirtualAppliance 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.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String networkVirtualApplianceName,
                                                                                                  NetworkVirtualApplianceInner parameters)
        Creates or updates the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        parameters - Parameters supplied to the create or update Network Virtual Appliance.
        Returns:
        networkVirtualAppliance 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<NetworkVirtualApplianceInner>,​NetworkVirtualApplianceInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                       String networkVirtualApplianceName,
                                                                                                                                                                                       NetworkVirtualApplianceInner parameters)
        Creates or updates the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        parameters - Parameters supplied to the create or update Network Virtual Appliance.
        Returns:
        the PollerFlux for polling of networkVirtualAppliance 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<NetworkVirtualApplianceInner>,​NetworkVirtualApplianceInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                  String networkVirtualApplianceName,
                                                                                                                                                                                  NetworkVirtualApplianceInner parameters)
        Creates or updates the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        parameters - Parameters supplied to the create or update Network Virtual Appliance.
        Returns:
        the SyncPoller for polling of networkVirtualAppliance 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<NetworkVirtualApplianceInner>,​NetworkVirtualApplianceInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                  String networkVirtualApplianceName,
                                                                                                                                                                                  NetworkVirtualApplianceInner parameters,
                                                                                                                                                                                  com.azure.core.util.Context context)
        Creates or updates the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        parameters - Parameters supplied to the create or update Network Virtual Appliance.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of networkVirtualAppliance 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<NetworkVirtualApplianceInner> createOrUpdateAsync​(String resourceGroupName,
                                                               String networkVirtualApplianceName,
                                                               NetworkVirtualApplianceInner parameters)
        Creates or updates the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        parameters - Parameters supplied to the create or update Network Virtual Appliance.
        Returns:
        networkVirtualAppliance 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

        NetworkVirtualApplianceInner createOrUpdate​(String resourceGroupName,
                                                    String networkVirtualApplianceName,
                                                    NetworkVirtualApplianceInner parameters)
        Creates or updates the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        parameters - Parameters supplied to the create or update Network Virtual Appliance.
        Returns:
        networkVirtualAppliance 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

        NetworkVirtualApplianceInner createOrUpdate​(String resourceGroupName,
                                                    String networkVirtualApplianceName,
                                                    NetworkVirtualApplianceInner parameters,
                                                    com.azure.core.util.Context context)
        Creates or updates the specified Network Virtual Appliance.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of Network Virtual Appliance.
        parameters - Parameters supplied to the create or update Network Virtual Appliance.
        context - The context to associate with this operation.
        Returns:
        networkVirtualAppliance 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.
      • listByResourceGroupAsync

        com.azure.core.http.rest.PagedFlux<NetworkVirtualApplianceInner> listByResourceGroupAsync​(String resourceGroupName)
        Lists all Network Virtual Appliances in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<NetworkVirtualApplianceInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        response for ListNetworkVirtualAppliances API service call 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<NetworkVirtualApplianceInner> listByResourceGroup​(String resourceGroupName)
        Lists all Network Virtual Appliances in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<NetworkVirtualApplianceInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        response for ListNetworkVirtualAppliances API service call 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<NetworkVirtualApplianceInner> listByResourceGroup​(String resourceGroupName,
                                                                                                 com.azure.core.util.Context context)
        Lists all Network Virtual Appliances in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        response for ListNetworkVirtualAppliances API service call 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<NetworkVirtualApplianceInner> listAsync()
        Gets all Network Virtual Appliances in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<NetworkVirtualApplianceInner>
        Returns:
        all Network Virtual 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<NetworkVirtualApplianceInner> list()
        Gets all Network Virtual Appliances in a subscription.
        Specified by:
        list in interface InnerSupportsListing<NetworkVirtualApplianceInner>
        Returns:
        all Network Virtual 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<NetworkVirtualApplianceInner> list​(com.azure.core.util.Context context)
        Gets all Network Virtual Appliances in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all Network Virtual 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.