Interface FlowLogsClient


  • public interface FlowLogsClient
    An instance of this class provides access to all the operations defined in FlowLogsClient.
    • Method Detail

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String networkWatcherName,
                                                                                                  String flowLogName,
                                                                                                  FlowLogInner parameters)
        Create or update a flow log for the specified network security group.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters that define the create or update flow log resource.
        Returns:
        a flow log 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<FlowLogInner>,​FlowLogInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                       String networkWatcherName,
                                                                                                                                                       String flowLogName,
                                                                                                                                                       FlowLogInner parameters)
        Create or update a flow log for the specified network security group.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters that define the create or update flow log resource.
        Returns:
        the PollerFlux for polling of a flow log 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<FlowLogInner>,​FlowLogInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                  String networkWatcherName,
                                                                                                                                                  String flowLogName,
                                                                                                                                                  FlowLogInner parameters)
        Create or update a flow log for the specified network security group.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters that define the create or update flow log resource.
        Returns:
        the SyncPoller for polling of a flow log 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<FlowLogInner>,​FlowLogInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                  String networkWatcherName,
                                                                                                                                                  String flowLogName,
                                                                                                                                                  FlowLogInner parameters,
                                                                                                                                                  com.azure.core.util.Context context)
        Create or update a flow log for the specified network security group.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters that define the create or update flow log resource.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of a flow log 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<FlowLogInner> createOrUpdateAsync​(String resourceGroupName,
                                               String networkWatcherName,
                                               String flowLogName,
                                               FlowLogInner parameters)
        Create or update a flow log for the specified network security group.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters that define the create or update flow log resource.
        Returns:
        a flow log 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

        FlowLogInner createOrUpdate​(String resourceGroupName,
                                    String networkWatcherName,
                                    String flowLogName,
                                    FlowLogInner parameters)
        Create or update a flow log for the specified network security group.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters that define the create or update flow log resource.
        Returns:
        a flow log 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

        FlowLogInner createOrUpdate​(String resourceGroupName,
                                    String networkWatcherName,
                                    String flowLogName,
                                    FlowLogInner parameters,
                                    com.azure.core.util.Context context)
        Create or update a flow log for the specified network security group.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters that define the create or update flow log resource.
        context - The context to associate with this operation.
        Returns:
        a flow log 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<FlowLogInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                          String networkWatcherName,
                                                                                          String flowLogName,
                                                                                          TagsObject parameters)
        Update tags of the specified flow log.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters supplied to update flow log tags.
        Returns:
        a flow log 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<FlowLogInner> updateTagsAsync​(String resourceGroupName,
                                           String networkWatcherName,
                                           String flowLogName,
                                           TagsObject parameters)
        Update tags of the specified flow log.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters supplied to update flow log tags.
        Returns:
        a flow log 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

        FlowLogInner updateTags​(String resourceGroupName,
                                String networkWatcherName,
                                String flowLogName,
                                TagsObject parameters)
        Update tags of the specified flow log.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters supplied to update flow log tags.
        Returns:
        a flow log 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<FlowLogInner> updateTagsWithResponse​(String resourceGroupName,
                                                                               String networkWatcherName,
                                                                               String flowLogName,
                                                                               TagsObject parameters,
                                                                               com.azure.core.util.Context context)
        Update tags of the specified flow log.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log.
        parameters - Parameters supplied to update flow log tags.
        context - The context to associate with this operation.
        Returns:
        a flow log 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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<FlowLogInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                   String networkWatcherName,
                                                                                   String flowLogName)
        Gets a flow log resource by name.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        Returns:
        a flow log resource by name 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.
      • getAsync

        Mono<FlowLogInner> getAsync​(String resourceGroupName,
                                    String networkWatcherName,
                                    String flowLogName)
        Gets a flow log resource by name.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        Returns:
        a flow log resource by name 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.
      • get

        FlowLogInner get​(String resourceGroupName,
                         String networkWatcherName,
                         String flowLogName)
        Gets a flow log resource by name.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        Returns:
        a flow log resource by name.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<FlowLogInner> getWithResponse​(String resourceGroupName,
                                                                        String networkWatcherName,
                                                                        String flowLogName,
                                                                        com.azure.core.util.Context context)
        Gets a flow log resource by name.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        context - The context to associate with this operation.
        Returns:
        a flow log resource by name 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 networkWatcherName,
                                                                                          String flowLogName)
        Deletes the specified flow log resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        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 networkWatcherName,
                                                                                                                               String flowLogName)
        Deletes the specified flow log resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        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 networkWatcherName,
                                                                                                                          String flowLogName)
        Deletes the specified flow log resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        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 networkWatcherName,
                                                                                                                          String flowLogName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified flow log resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        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 networkWatcherName,
                               String flowLogName)
        Deletes the specified flow log resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        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 networkWatcherName,
                    String flowLogName)
        Deletes the specified flow log resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log 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.
      • delete

        void delete​(String resourceGroupName,
                    String networkWatcherName,
                    String flowLogName,
                    com.azure.core.util.Context context)
        Deletes the specified flow log resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkWatcherName - The name of the network watcher.
        flowLogName - The name of the flow log resource.
        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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<FlowLogInner> listAsync​(String resourceGroupName,
                                                                   String networkWatcherName)
        Lists all flow log resources for the specified Network Watcher.
        Parameters:
        resourceGroupName - The name of the resource group containing Network Watcher.
        networkWatcherName - The name of the Network Watcher resource.
        Returns:
        list of flow logs 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.
      • list

        com.azure.core.http.rest.PagedIterable<FlowLogInner> list​(String resourceGroupName,
                                                                  String networkWatcherName)
        Lists all flow log resources for the specified Network Watcher.
        Parameters:
        resourceGroupName - The name of the resource group containing Network Watcher.
        networkWatcherName - The name of the Network Watcher resource.
        Returns:
        list of flow logs 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.
      • list

        com.azure.core.http.rest.PagedIterable<FlowLogInner> list​(String resourceGroupName,
                                                                  String networkWatcherName,
                                                                  com.azure.core.util.Context context)
        Lists all flow log resources for the specified Network Watcher.
        Parameters:
        resourceGroupName - The name of the resource group containing Network Watcher.
        networkWatcherName - The name of the Network Watcher resource.
        context - The context to associate with this operation.
        Returns:
        list of flow logs 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.