public interface RemediationsClient
Modifier and Type | Method and Description |
---|---|
RemediationInner |
cancelAtManagementGroup(String managementGroupId,
String remediationName)
Cancels a remediation at management group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
cancelAtManagementGroupWithResponse(String managementGroupId,
String remediationName,
com.azure.core.util.Context context)
Cancels a remediation at management group scope.
|
RemediationInner |
cancelAtResource(String resourceId,
String remediationName)
Cancel a remediation at resource scope.
|
RemediationInner |
cancelAtResourceGroup(String resourceGroupName,
String remediationName)
Cancels a remediation at resource group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
cancelAtResourceGroupWithResponse(String resourceGroupName,
String remediationName,
com.azure.core.util.Context context)
Cancels a remediation at resource group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
cancelAtResourceWithResponse(String resourceId,
String remediationName,
com.azure.core.util.Context context)
Cancel a remediation at resource scope.
|
RemediationInner |
cancelAtSubscription(String remediationName)
Cancels a remediation at subscription scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
cancelAtSubscriptionWithResponse(String remediationName,
com.azure.core.util.Context context)
Cancels a remediation at subscription scope.
|
RemediationInner |
createOrUpdateAtManagementGroup(String managementGroupId,
String remediationName,
RemediationInner parameters)
Creates or updates a remediation at management group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
createOrUpdateAtManagementGroupWithResponse(String managementGroupId,
String remediationName,
RemediationInner parameters,
com.azure.core.util.Context context)
Creates or updates a remediation at management group scope.
|
RemediationInner |
createOrUpdateAtResource(String resourceId,
String remediationName,
RemediationInner parameters)
Creates or updates a remediation at resource scope.
|
RemediationInner |
createOrUpdateAtResourceGroup(String resourceGroupName,
String remediationName,
RemediationInner parameters)
Creates or updates a remediation at resource group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
createOrUpdateAtResourceGroupWithResponse(String resourceGroupName,
String remediationName,
RemediationInner parameters,
com.azure.core.util.Context context)
Creates or updates a remediation at resource group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
createOrUpdateAtResourceWithResponse(String resourceId,
String remediationName,
RemediationInner parameters,
com.azure.core.util.Context context)
Creates or updates a remediation at resource scope.
|
RemediationInner |
createOrUpdateAtSubscription(String remediationName,
RemediationInner parameters)
Creates or updates a remediation at subscription scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
createOrUpdateAtSubscriptionWithResponse(String remediationName,
RemediationInner parameters,
com.azure.core.util.Context context)
Creates or updates a remediation at subscription scope.
|
RemediationInner |
delete(String resourceGroupName,
String remediationName)
Deletes an existing remediation at resource group scope.
|
RemediationInner |
deleteAtManagementGroup(String managementGroupId,
String remediationName)
Deletes an existing remediation at management group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
deleteAtManagementGroupWithResponse(String managementGroupId,
String remediationName,
com.azure.core.util.Context context)
Deletes an existing remediation at management group scope.
|
RemediationInner |
deleteAtResource(String resourceId,
String remediationName)
Deletes an existing remediation at individual resource scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
deleteAtResourceWithResponse(String resourceId,
String remediationName,
com.azure.core.util.Context context)
Deletes an existing remediation at individual resource scope.
|
RemediationInner |
deleteAtSubscription(String remediationName)
Deletes an existing remediation at subscription scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
deleteAtSubscriptionWithResponse(String remediationName,
com.azure.core.util.Context context)
Deletes an existing remediation at subscription scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
deleteWithResponse(String resourceGroupName,
String remediationName,
com.azure.core.util.Context context)
Deletes an existing remediation at resource group scope.
|
RemediationInner |
getAtManagementGroup(String managementGroupId,
String remediationName)
Gets an existing remediation at management group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
getAtManagementGroupWithResponse(String managementGroupId,
String remediationName,
com.azure.core.util.Context context)
Gets an existing remediation at management group scope.
|
RemediationInner |
getAtResource(String resourceId,
String remediationName)
Gets an existing remediation at resource scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
getAtResourceWithResponse(String resourceId,
String remediationName,
com.azure.core.util.Context context)
Gets an existing remediation at resource scope.
|
RemediationInner |
getAtSubscription(String remediationName)
Gets an existing remediation at subscription scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
getAtSubscriptionWithResponse(String remediationName,
com.azure.core.util.Context context)
Gets an existing remediation at subscription scope.
|
RemediationInner |
getByResourceGroup(String resourceGroupName,
String remediationName)
Gets an existing remediation at resource group scope.
|
com.azure.core.http.rest.Response<RemediationInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String remediationName,
com.azure.core.util.Context context)
Gets an existing remediation at resource group scope.
|
com.azure.core.http.rest.PagedIterable<RemediationInner> |
list()
Gets all remediations for the subscription.
|
com.azure.core.http.rest.PagedIterable<RemediationInner> |
list(Integer top,
String filter,
com.azure.core.util.Context context)
Gets all remediations for the subscription.
|
com.azure.core.http.rest.PagedIterable<RemediationInner> |
listByResourceGroup(String resourceGroupName)
Gets all remediations for the subscription.
|
com.azure.core.http.rest.PagedIterable<RemediationInner> |
listByResourceGroup(String resourceGroupName,
Integer top,
String filter,
com.azure.core.util.Context context)
Gets all remediations for the subscription.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> |
listDeploymentsAtManagementGroup(String managementGroupId,
String remediationName)
Gets all deployments for a remediation at management group scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> |
listDeploymentsAtManagementGroup(String managementGroupId,
String remediationName,
Integer top,
com.azure.core.util.Context context)
Gets all deployments for a remediation at management group scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> |
listDeploymentsAtResource(String resourceId,
String remediationName)
Gets all deployments for a remediation at resource scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> |
listDeploymentsAtResource(String resourceId,
String remediationName,
Integer top,
com.azure.core.util.Context context)
Gets all deployments for a remediation at resource scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> |
listDeploymentsAtResourceGroup(String resourceGroupName,
String remediationName)
Gets all deployments for a remediation at resource group scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> |
listDeploymentsAtResourceGroup(String resourceGroupName,
String remediationName,
Integer top,
com.azure.core.util.Context context)
Gets all deployments for a remediation at resource group scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> |
listDeploymentsAtSubscription(String remediationName)
Gets all deployments for a remediation at subscription scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> |
listDeploymentsAtSubscription(String remediationName,
Integer top,
com.azure.core.util.Context context)
Gets all deployments for a remediation at subscription scope.
|
com.azure.core.http.rest.PagedIterable<RemediationInner> |
listForManagementGroup(String managementGroupId)
Gets all remediations for the management group.
|
com.azure.core.http.rest.PagedIterable<RemediationInner> |
listForManagementGroup(String managementGroupId,
Integer top,
String filter,
com.azure.core.util.Context context)
Gets all remediations for the management group.
|
com.azure.core.http.rest.PagedIterable<RemediationInner> |
listForResource(String resourceId)
Gets all remediations for a resource.
|
com.azure.core.http.rest.PagedIterable<RemediationInner> |
listForResource(String resourceId,
Integer top,
String filter,
com.azure.core.util.Context context)
Gets all remediations for a resource.
|
com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> listDeploymentsAtManagementGroup(String managementGroupId, String remediationName)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.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.com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> listDeploymentsAtManagementGroup(String managementGroupId, String remediationName, Integer top, com.azure.core.util.Context context)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.top
- Maximum number of records to return.context
- The context to associate with this operation.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.RemediationInner cancelAtManagementGroup(String managementGroupId, String remediationName)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> cancelAtManagementGroupWithResponse(String managementGroupId, String remediationName, com.azure.core.util.Context context)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<RemediationInner> listForManagementGroup(String managementGroupId)
managementGroupId
- Management group ID.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.com.azure.core.http.rest.PagedIterable<RemediationInner> listForManagementGroup(String managementGroupId, Integer top, String filter, com.azure.core.util.Context context)
managementGroupId
- Management group ID.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.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.RemediationInner createOrUpdateAtManagementGroup(String managementGroupId, String remediationName, RemediationInner parameters)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.parameters
- The remediation parameters.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.com.azure.core.http.rest.Response<RemediationInner> createOrUpdateAtManagementGroupWithResponse(String managementGroupId, String remediationName, RemediationInner parameters, com.azure.core.util.Context context)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.parameters
- The remediation parameters.context
- The context to associate with this operation.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.RemediationInner getAtManagementGroup(String managementGroupId, String remediationName)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> getAtManagementGroupWithResponse(String managementGroupId, String remediationName, com.azure.core.util.Context context)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.RemediationInner deleteAtManagementGroup(String managementGroupId, String remediationName)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> deleteAtManagementGroupWithResponse(String managementGroupId, String remediationName, com.azure.core.util.Context context)
managementGroupId
- Management group ID.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> listDeploymentsAtSubscription(String remediationName)
remediationName
- The name of the remediation.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.com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> listDeploymentsAtSubscription(String remediationName, Integer top, com.azure.core.util.Context context)
remediationName
- The name of the remediation.top
- Maximum number of records to return.context
- The context to associate with this operation.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.RemediationInner cancelAtSubscription(String remediationName)
remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> cancelAtSubscriptionWithResponse(String remediationName, com.azure.core.util.Context context)
remediationName
- The name of the remediation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<RemediationInner> list()
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.com.azure.core.http.rest.PagedIterable<RemediationInner> list(Integer top, String filter, com.azure.core.util.Context context)
top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.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.RemediationInner createOrUpdateAtSubscription(String remediationName, RemediationInner parameters)
remediationName
- The name of the remediation.parameters
- The remediation parameters.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.com.azure.core.http.rest.Response<RemediationInner> createOrUpdateAtSubscriptionWithResponse(String remediationName, RemediationInner parameters, com.azure.core.util.Context context)
remediationName
- The name of the remediation.parameters
- The remediation parameters.context
- The context to associate with this operation.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.RemediationInner getAtSubscription(String remediationName)
remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> getAtSubscriptionWithResponse(String remediationName, com.azure.core.util.Context context)
remediationName
- The name of the remediation.context
- The context to associate with this operation.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.RemediationInner deleteAtSubscription(String remediationName)
remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> deleteAtSubscriptionWithResponse(String remediationName, com.azure.core.util.Context context)
remediationName
- The name of the remediation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> listDeploymentsAtResourceGroup(String resourceGroupName, String remediationName)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.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.com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> listDeploymentsAtResourceGroup(String resourceGroupName, String remediationName, Integer top, com.azure.core.util.Context context)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.top
- Maximum number of records to return.context
- The context to associate with this operation.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.RemediationInner cancelAtResourceGroup(String resourceGroupName, String remediationName)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> cancelAtResourceGroupWithResponse(String resourceGroupName, String remediationName, com.azure.core.util.Context context)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<RemediationInner> listByResourceGroup(String resourceGroupName)
resourceGroupName
- Resource group name.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.com.azure.core.http.rest.PagedIterable<RemediationInner> listByResourceGroup(String resourceGroupName, Integer top, String filter, com.azure.core.util.Context context)
resourceGroupName
- Resource group name.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.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.RemediationInner createOrUpdateAtResourceGroup(String resourceGroupName, String remediationName, RemediationInner parameters)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.parameters
- The remediation parameters.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.com.azure.core.http.rest.Response<RemediationInner> createOrUpdateAtResourceGroupWithResponse(String resourceGroupName, String remediationName, RemediationInner parameters, com.azure.core.util.Context context)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.parameters
- The remediation parameters.context
- The context to associate with this operation.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.RemediationInner getByResourceGroup(String resourceGroupName, String remediationName)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> getByResourceGroupWithResponse(String resourceGroupName, String remediationName, com.azure.core.util.Context context)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.RemediationInner delete(String resourceGroupName, String remediationName)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> deleteWithResponse(String resourceGroupName, String remediationName, com.azure.core.util.Context context)
resourceGroupName
- Resource group name.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> listDeploymentsAtResource(String resourceId, String remediationName)
resourceId
- Resource ID.remediationName
- The name of the remediation.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.com.azure.core.http.rest.PagedIterable<RemediationDeploymentInner> listDeploymentsAtResource(String resourceId, String remediationName, Integer top, com.azure.core.util.Context context)
resourceId
- Resource ID.remediationName
- The name of the remediation.top
- Maximum number of records to return.context
- The context to associate with this operation.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.RemediationInner cancelAtResource(String resourceId, String remediationName)
resourceId
- Resource ID.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> cancelAtResourceWithResponse(String resourceId, String remediationName, com.azure.core.util.Context context)
resourceId
- Resource ID.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<RemediationInner> listForResource(String resourceId)
resourceId
- Resource ID.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.com.azure.core.http.rest.PagedIterable<RemediationInner> listForResource(String resourceId, Integer top, String filter, com.azure.core.util.Context context)
resourceId
- Resource ID.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.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.RemediationInner createOrUpdateAtResource(String resourceId, String remediationName, RemediationInner parameters)
resourceId
- Resource ID.remediationName
- The name of the remediation.parameters
- The remediation parameters.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.com.azure.core.http.rest.Response<RemediationInner> createOrUpdateAtResourceWithResponse(String resourceId, String remediationName, RemediationInner parameters, com.azure.core.util.Context context)
resourceId
- Resource ID.remediationName
- The name of the remediation.parameters
- The remediation parameters.context
- The context to associate with this operation.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.RemediationInner getAtResource(String resourceId, String remediationName)
resourceId
- Resource ID.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> getAtResourceWithResponse(String resourceId, String remediationName, com.azure.core.util.Context context)
resourceId
- Resource ID.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.RemediationInner deleteAtResource(String resourceId, String remediationName)
resourceId
- Resource ID.remediationName
- The name of the remediation.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.com.azure.core.http.rest.Response<RemediationInner> deleteAtResourceWithResponse(String resourceId, String remediationName, com.azure.core.util.Context context)
resourceId
- Resource ID.remediationName
- The name of the remediation.context
- The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.