Interface ScheduledQueryRulesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<LogSearchRuleResourceInner>,InnerSupportsListing<LogSearchRuleResourceInner>
public interface ScheduledQueryRulesClient
extends InnerSupportsGet<LogSearchRuleResourceInner>, InnerSupportsListing<LogSearchRuleResourceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ScheduledQueryRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters) Creates or updates an log search rule.createOrUpdateAsync(String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters) Creates or updates an log search rule.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.Mono<com.azure.core.http.rest.Response<LogSearchRuleResourceInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters) Creates or updates an log search rule.voidDeletes a Log Search rule.deleteAsync(String resourceGroupName, String ruleName) Deletes a Log Search rule.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String ruleName, com.azure.core.util.Context context) Deletes a Log Search rule.deleteWithResponseAsync(String resourceGroupName, String ruleName) Deletes a Log Search rule.getByResourceGroup(String resourceGroupName, String ruleName) Gets an Log Search rule.getByResourceGroupAsync(String resourceGroupName, String ruleName) Gets an Log Search rule.com.azure.core.http.rest.Response<LogSearchRuleResourceInner>getByResourceGroupWithResponse(String resourceGroupName, String ruleName, com.azure.core.util.Context context) Gets an Log Search rule.Mono<com.azure.core.http.rest.Response<LogSearchRuleResourceInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String ruleName) Gets an Log Search rule.com.azure.core.http.rest.PagedIterable<LogSearchRuleResourceInner>list()List the Log Search rules within a subscription group.com.azure.core.http.rest.PagedIterable<LogSearchRuleResourceInner>List the Log Search rules within a subscription group.com.azure.core.http.rest.PagedFlux<LogSearchRuleResourceInner>List the Log Search rules within a subscription group.com.azure.core.http.rest.PagedFlux<LogSearchRuleResourceInner>List the Log Search rules within a subscription group.com.azure.core.http.rest.PagedIterable<LogSearchRuleResourceInner>listByResourceGroup(String resourceGroupName) List the Log Search rules within a resource group.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.com.azure.core.http.rest.PagedFlux<LogSearchRuleResourceInner>listByResourceGroupAsync(String resourceGroupName) List the Log Search rules within a resource group.com.azure.core.http.rest.PagedFlux<LogSearchRuleResourceInner>listByResourceGroupAsync(String resourceGroupName, String filter) List the Log Search rules within a resource group.update(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters) Update log search Rule.updateAsync(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters) Update log search Rule.com.azure.core.http.rest.Response<LogSearchRuleResourceInner>updateWithResponse(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters, com.azure.core.util.Context context) Update log search Rule.Mono<com.azure.core.http.rest.Response<LogSearchRuleResourceInner>>updateWithResponseAsync(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters) Update log search Rule.
-
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
Gets an Log Search rule.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<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
Gets an Log Search rule.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<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
Deletes a Log Search rule.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<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
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
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:
listAsyncin interfaceInnerSupportsListing<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:
listin interfaceInnerSupportsListing<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:
listByResourceGroupAsyncin interfaceInnerSupportsListing<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:
listByResourceGroupin interfaceInnerSupportsListing<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.
-