Interface ScheduledQueryRulesClient

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

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

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<LogSearchRuleResourceInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters)
      Creates or updates an log search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      parameters - The parameters of the rule to create or update.
      Returns:
      the Log Search Rule 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<LogSearchRuleResourceInner> createOrUpdateAsync(String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters)
      Creates or updates an log search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      parameters - The parameters of the rule to create or update.
      Returns:
      the Log Search Rule 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

      LogSearchRuleResourceInner createOrUpdate(String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters)
      Creates or updates an log search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      parameters - The parameters of the rule to create or update.
      Returns:
      the Log Search Rule 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<LogSearchRuleResourceInner> createOrUpdateWithResponse(String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters, com.azure.core.util.Context context)
      Creates or updates an log search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      parameters - The parameters of the rule to create or update.
      context - The context to associate with this operation.
      Returns:
      the Log Search Rule 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.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<LogSearchRuleResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ruleName)
      Gets an Log Search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      Returns:
      an Log Search rule.
      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<LogSearchRuleResourceInner> getByResourceGroupAsync(String resourceGroupName, String ruleName)
      Gets an Log Search rule.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<LogSearchRuleResourceInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      Returns:
      an Log Search rule.
      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

      LogSearchRuleResourceInner getByResourceGroup(String resourceGroupName, String ruleName)
      Gets an Log Search rule.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<LogSearchRuleResourceInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      Returns:
      an Log Search rule.
      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<LogSearchRuleResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String ruleName, com.azure.core.util.Context context)
      Gets an Log Search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      context - The context to associate with this operation.
      Returns:
      an Log Search rule.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<LogSearchRuleResourceInner>> updateWithResponseAsync(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters)
      Update log search Rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      parameters - The parameters of the rule to update.
      Returns:
      the Log Search Rule 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.
    • updateAsync

      Mono<LogSearchRuleResourceInner> updateAsync(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters)
      Update log search Rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      parameters - The parameters of the rule to update.
      Returns:
      the Log Search Rule 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.
    • update

      LogSearchRuleResourceInner update(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters)
      Update log search Rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      parameters - The parameters of the rule to update.
      Returns:
      the Log Search Rule 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<LogSearchRuleResourceInner> updateWithResponse(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters, com.azure.core.util.Context context)
      Update log search Rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      parameters - The parameters of the rule to update.
      context - The context to associate with this operation.
      Returns:
      the Log Search Rule 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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String ruleName)
      Deletes a Log Search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      Returns:
      the completion.
      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 ruleName)
      Deletes a Log Search rule.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      Returns:
      the completion.
      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 ruleName)
      Deletes a Log Search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String ruleName, com.azure.core.util.Context context)
      Deletes a Log Search rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      ruleName - The name of the rule.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<LogSearchRuleResourceInner> listAsync(String filter)
      List the Log Search rules within a subscription group.
      Parameters:
      filter - The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx.
      Returns:
      represents a collection of Log Search rule resources.
      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<LogSearchRuleResourceInner> listAsync()
      List the Log Search rules within a subscription group.
      Specified by:
      listAsync in interface InnerSupportsListing<LogSearchRuleResourceInner>
      Returns:
      represents a collection of Log Search rule resources.
      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<LogSearchRuleResourceInner> list()
      List the Log Search rules within a subscription group.
      Specified by:
      list in interface InnerSupportsListing<LogSearchRuleResourceInner>
      Returns:
      represents a collection of Log Search rule resources.
      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<LogSearchRuleResourceInner> list(String filter, com.azure.core.util.Context context)
      List the Log Search rules within a subscription group.
      Parameters:
      filter - The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx.
      context - The context to associate with this operation.
      Returns:
      represents a collection of Log Search rule resources.
      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<LogSearchRuleResourceInner> listByResourceGroupAsync(String resourceGroupName, String filter)
      List the Log Search rules within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      filter - The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx.
      Returns:
      represents a collection of Log Search rule resources.
      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<LogSearchRuleResourceInner> listByResourceGroupAsync(String resourceGroupName)
      List the Log Search rules within a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<LogSearchRuleResourceInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      represents a collection of Log Search rule resources.
      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<LogSearchRuleResourceInner> listByResourceGroup(String resourceGroupName)
      List the Log Search rules within a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<LogSearchRuleResourceInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      represents a collection of Log Search rule resources.
      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<LogSearchRuleResourceInner> listByResourceGroup(String resourceGroupName, String filter, com.azure.core.util.Context context)
      List the Log Search rules within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      filter - The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx.
      context - The context to associate with this operation.
      Returns:
      represents a collection of Log Search rule resources.
      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.