public interface Remediations
Modifier and Type | Method and Description |
---|---|
Remediation |
cancelAtManagementGroup(String managementGroupId,
String remediationName)
Cancels a remediation at management group scope.
|
com.azure.core.http.rest.Response<Remediation> |
cancelAtManagementGroupWithResponse(String managementGroupId,
String remediationName,
com.azure.core.util.Context context)
Cancels a remediation at management group scope.
|
Remediation |
cancelAtResource(String resourceId,
String remediationName)
Cancel a remediation at resource scope.
|
Remediation |
cancelAtResourceGroup(String resourceGroupName,
String remediationName)
Cancels a remediation at resource group scope.
|
com.azure.core.http.rest.Response<Remediation> |
cancelAtResourceGroupWithResponse(String resourceGroupName,
String remediationName,
com.azure.core.util.Context context)
Cancels a remediation at resource group scope.
|
com.azure.core.http.rest.Response<Remediation> |
cancelAtResourceWithResponse(String resourceId,
String remediationName,
com.azure.core.util.Context context)
Cancel a remediation at resource scope.
|
Remediation |
cancelAtSubscription(String remediationName)
Cancels a remediation at subscription scope.
|
com.azure.core.http.rest.Response<Remediation> |
cancelAtSubscriptionWithResponse(String remediationName,
com.azure.core.util.Context context)
Cancels a remediation at subscription scope.
|
Remediation |
createOrUpdateAtManagementGroup(String managementGroupId,
String remediationName,
RemediationInner parameters)
Creates or updates a remediation at management group scope.
|
com.azure.core.http.rest.Response<Remediation> |
createOrUpdateAtManagementGroupWithResponse(String managementGroupId,
String remediationName,
RemediationInner parameters,
com.azure.core.util.Context context)
Creates or updates a remediation at management group scope.
|
Remediation |
createOrUpdateAtResource(String resourceId,
String remediationName,
RemediationInner parameters)
Creates or updates a remediation at resource scope.
|
com.azure.core.http.rest.Response<Remediation> |
createOrUpdateAtResourceWithResponse(String resourceId,
String remediationName,
RemediationInner parameters,
com.azure.core.util.Context context)
Creates or updates a remediation at resource scope.
|
Remediation |
createOrUpdateAtSubscription(String remediationName,
RemediationInner parameters)
Creates or updates a remediation at subscription scope.
|
com.azure.core.http.rest.Response<Remediation> |
createOrUpdateAtSubscriptionWithResponse(String remediationName,
RemediationInner parameters,
com.azure.core.util.Context context)
Creates or updates a remediation at subscription scope.
|
Remediation.DefinitionStages.Blank |
define(String name)
Begins definition for a new Remediation resource.
|
Remediation |
deleteAtManagementGroup(String managementGroupId,
String remediationName)
Deletes an existing remediation at management group scope.
|
com.azure.core.http.rest.Response<Remediation> |
deleteAtManagementGroupWithResponse(String managementGroupId,
String remediationName,
com.azure.core.util.Context context)
Deletes an existing remediation at management group scope.
|
Remediation |
deleteAtResource(String resourceId,
String remediationName)
Deletes an existing remediation at individual resource scope.
|
com.azure.core.http.rest.Response<Remediation> |
deleteAtResourceWithResponse(String resourceId,
String remediationName,
com.azure.core.util.Context context)
Deletes an existing remediation at individual resource scope.
|
Remediation |
deleteAtSubscription(String remediationName)
Deletes an existing remediation at subscription scope.
|
com.azure.core.http.rest.Response<Remediation> |
deleteAtSubscriptionWithResponse(String remediationName,
com.azure.core.util.Context context)
Deletes an existing remediation at subscription scope.
|
Remediation |
deleteById(String id)
Deletes an existing remediation at resource group scope.
|
com.azure.core.http.rest.Response<Remediation> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes an existing remediation at resource group scope.
|
Remediation |
deleteByResourceGroup(String resourceGroupName,
String remediationName)
Deletes an existing remediation at resource group scope.
|
com.azure.core.http.rest.Response<Remediation> |
deleteWithResponse(String resourceGroupName,
String remediationName,
com.azure.core.util.Context context)
Deletes an existing remediation at resource group scope.
|
Remediation |
getAtManagementGroup(String managementGroupId,
String remediationName)
Gets an existing remediation at management group scope.
|
com.azure.core.http.rest.Response<Remediation> |
getAtManagementGroupWithResponse(String managementGroupId,
String remediationName,
com.azure.core.util.Context context)
Gets an existing remediation at management group scope.
|
Remediation |
getAtResource(String resourceId,
String remediationName)
Gets an existing remediation at resource scope.
|
com.azure.core.http.rest.Response<Remediation> |
getAtResourceWithResponse(String resourceId,
String remediationName,
com.azure.core.util.Context context)
Gets an existing remediation at resource scope.
|
Remediation |
getAtSubscription(String remediationName)
Gets an existing remediation at subscription scope.
|
com.azure.core.http.rest.Response<Remediation> |
getAtSubscriptionWithResponse(String remediationName,
com.azure.core.util.Context context)
Gets an existing remediation at subscription scope.
|
Remediation |
getById(String id)
Gets an existing remediation at resource group scope.
|
com.azure.core.http.rest.Response<Remediation> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Gets an existing remediation at resource group scope.
|
Remediation |
getByResourceGroup(String resourceGroupName,
String remediationName)
Gets an existing remediation at resource group scope.
|
com.azure.core.http.rest.Response<Remediation> |
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<Remediation> |
list()
Gets all remediations for the subscription.
|
com.azure.core.http.rest.PagedIterable<Remediation> |
list(Integer top,
String filter,
com.azure.core.util.Context context)
Gets all remediations for the subscription.
|
com.azure.core.http.rest.PagedIterable<Remediation> |
listByResourceGroup(String resourceGroupName)
Gets all remediations for the subscription.
|
com.azure.core.http.rest.PagedIterable<Remediation> |
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<RemediationDeployment> |
listDeploymentsAtManagementGroup(String managementGroupId,
String remediationName)
Gets all deployments for a remediation at management group scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeployment> |
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<RemediationDeployment> |
listDeploymentsAtResource(String resourceId,
String remediationName)
Gets all deployments for a remediation at resource scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeployment> |
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<RemediationDeployment> |
listDeploymentsAtResourceGroup(String resourceGroupName,
String remediationName)
Gets all deployments for a remediation at resource group scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeployment> |
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<RemediationDeployment> |
listDeploymentsAtSubscription(String remediationName)
Gets all deployments for a remediation at subscription scope.
|
com.azure.core.http.rest.PagedIterable<RemediationDeployment> |
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<Remediation> |
listForManagementGroup(String managementGroupId)
Gets all remediations for the management group.
|
com.azure.core.http.rest.PagedIterable<Remediation> |
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<Remediation> |
listForResource(String resourceId)
Gets all remediations for a resource.
|
com.azure.core.http.rest.PagedIterable<Remediation> |
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<RemediationDeployment> 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<RemediationDeployment> 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.Remediation 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<Remediation> 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<Remediation> 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<Remediation> 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.Remediation 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<Remediation> 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.Remediation 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<Remediation> 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.Remediation 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<Remediation> 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<RemediationDeployment> 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<RemediationDeployment> 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.Remediation 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<Remediation> 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<Remediation> 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<Remediation> 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.Remediation 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<Remediation> 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.Remediation 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<Remediation> 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.Remediation 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<Remediation> 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<RemediationDeployment> 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<RemediationDeployment> 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.Remediation 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<Remediation> 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<Remediation> 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<Remediation> 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.Remediation 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<Remediation> 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.Remediation deleteByResourceGroup(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<Remediation> 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<RemediationDeployment> 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<RemediationDeployment> 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.Remediation 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<Remediation> 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<Remediation> 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<Remediation> 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.Remediation 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<Remediation> 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.Remediation 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<Remediation> 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.Remediation 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<Remediation> 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.Remediation getById(String id)
id
- the 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.Response<Remediation> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.Remediation deleteById(String id)
id
- the 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.Response<Remediation> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.Remediation.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.