Interface VirtualWansClient

    • Method Detail

      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<VirtualWanInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                     String virtualWanName)
        Retrieves the details of a VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being retrieved.
        Returns:
        virtualWAN 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.
      • getByResourceGroupAsync

        Mono<VirtualWanInner> getByResourceGroupAsync​(String resourceGroupName,
                                                      String virtualWanName)
        Retrieves the details of a VirtualWAN.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<VirtualWanInner>
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being retrieved.
        Returns:
        virtualWAN 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.
      • getByResourceGroup

        VirtualWanInner getByResourceGroup​(String resourceGroupName,
                                           String virtualWanName)
        Retrieves the details of a VirtualWAN.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<VirtualWanInner>
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being retrieved.
        Returns:
        virtualWAN 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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<VirtualWanInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                          String virtualWanName,
                                                                                          com.azure.core.util.Context context)
        Retrieves the details of a VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being retrieved.
        context - The context to associate with this operation.
        Returns:
        virtualWAN 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 virtualWanName,
                                                                                                  VirtualWanInner wanParameters)
        Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being created or updated.
        wanParameters - Parameters supplied to create or update VirtualWAN.
        Returns:
        virtualWAN 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<VirtualWanInner>,​VirtualWanInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                             String virtualWanName,
                                                                                                                                                             VirtualWanInner wanParameters)
        Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being created or updated.
        wanParameters - Parameters supplied to create or update VirtualWAN.
        Returns:
        the PollerFlux for polling of virtualWAN 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<VirtualWanInner>,​VirtualWanInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                        String virtualWanName,
                                                                                                                                                        VirtualWanInner wanParameters)
        Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being created or updated.
        wanParameters - Parameters supplied to create or update VirtualWAN.
        Returns:
        the SyncPoller for polling of virtualWAN 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<VirtualWanInner>,​VirtualWanInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                        String virtualWanName,
                                                                                                                                                        VirtualWanInner wanParameters,
                                                                                                                                                        com.azure.core.util.Context context)
        Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being created or updated.
        wanParameters - Parameters supplied to create or update VirtualWAN.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of virtualWAN 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<VirtualWanInner> createOrUpdateAsync​(String resourceGroupName,
                                                  String virtualWanName,
                                                  VirtualWanInner wanParameters)
        Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being created or updated.
        wanParameters - Parameters supplied to create or update VirtualWAN.
        Returns:
        virtualWAN 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

        VirtualWanInner createOrUpdate​(String resourceGroupName,
                                       String virtualWanName,
                                       VirtualWanInner wanParameters)
        Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being created or updated.
        wanParameters - Parameters supplied to create or update VirtualWAN.
        Returns:
        virtualWAN 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

        VirtualWanInner createOrUpdate​(String resourceGroupName,
                                       String virtualWanName,
                                       VirtualWanInner wanParameters,
                                       com.azure.core.util.Context context)
        Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being created or updated.
        wanParameters - Parameters supplied to create or update VirtualWAN.
        context - The context to associate with this operation.
        Returns:
        virtualWAN 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<VirtualWanInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                             String virtualWanName,
                                                                                             TagsObject wanParameters)
        Updates a VirtualWAN tags.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being updated.
        wanParameters - Parameters supplied to Update VirtualWAN tags.
        Returns:
        virtualWAN 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<VirtualWanInner> updateTagsAsync​(String resourceGroupName,
                                              String virtualWanName,
                                              TagsObject wanParameters)
        Updates a VirtualWAN tags.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being updated.
        wanParameters - Parameters supplied to Update VirtualWAN tags.
        Returns:
        virtualWAN 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

        VirtualWanInner updateTags​(String resourceGroupName,
                                   String virtualWanName,
                                   TagsObject wanParameters)
        Updates a VirtualWAN tags.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being updated.
        wanParameters - Parameters supplied to Update VirtualWAN tags.
        Returns:
        virtualWAN 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<VirtualWanInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                  String virtualWanName,
                                                                                  TagsObject wanParameters,
                                                                                  com.azure.core.util.Context context)
        Updates a VirtualWAN tags.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being updated.
        wanParameters - Parameters supplied to Update VirtualWAN tags.
        context - The context to associate with this operation.
        Returns:
        virtualWAN 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.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String virtualWanName)
        Deletes a VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being deleted.
        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 virtualWanName)
        Deletes a VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being deleted.
        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 virtualWanName)
        Deletes a VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being deleted.
        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 virtualWanName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being deleted.
        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 virtualWanName)
        Deletes a VirtualWAN.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being deleted.
        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 virtualWanName)
        Deletes a VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being deleted.
        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 virtualWanName,
                    com.azure.core.util.Context context)
        Deletes a VirtualWAN.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        virtualWanName - The name of the VirtualWAN being deleted.
        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.
      • listByResourceGroupAsync

        com.azure.core.http.rest.PagedFlux<VirtualWanInner> listByResourceGroupAsync​(String resourceGroupName)
        Lists all the VirtualWANs in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<VirtualWanInner>
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        Returns:
        result of the request to list VirtualWANs 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<VirtualWanInner> listByResourceGroup​(String resourceGroupName)
        Lists all the VirtualWANs in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<VirtualWanInner>
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        Returns:
        result of the request to list VirtualWANs 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<VirtualWanInner> listByResourceGroup​(String resourceGroupName,
                                                                                    com.azure.core.util.Context context)
        Lists all the VirtualWANs in a resource group.
        Parameters:
        resourceGroupName - The resource group name of the VirtualWan.
        context - The context to associate with this operation.
        Returns:
        result of the request to list VirtualWANs 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<VirtualWanInner> listAsync()
        Lists all the VirtualWANs in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<VirtualWanInner>
        Returns:
        result of the request to list VirtualWANs 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<VirtualWanInner> list()
        Lists all the VirtualWANs in a subscription.
        Specified by:
        list in interface InnerSupportsListing<VirtualWanInner>
        Returns:
        result of the request to list VirtualWANs 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<VirtualWanInner> list​(com.azure.core.util.Context context)
        Lists all the VirtualWANs in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        result of the request to list VirtualWANs 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.