Interface ReportOperations
public interface ReportOperations
Resource collection API of ReportOperations.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String reportName, ReportResourceInner parameters) Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.createOrUpdate
(String reportName, ReportResourceInner parameters, com.azure.core.util.Context context) Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.void
Delete an AppComplianceAutomation report.void
Delete an AppComplianceAutomation report.Get the AppComplianceAutomation report and its properties.com.azure.core.http.rest.Response<ReportResource>
getWithResponse
(String reportName, com.azure.core.util.Context context) Get the AppComplianceAutomation report and its properties.update
(String reportName, ReportResourcePatch parameters) Update an exiting AppComplianceAutomation report.update
(String reportName, ReportResourcePatch parameters, com.azure.core.util.Context context) Update an exiting AppComplianceAutomation report.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ReportResource> getWithResponse(String reportName, com.azure.core.util.Context context) Get the AppComplianceAutomation report and its properties.- Parameters:
reportName
- Report Name.context
- The context to associate with this operation.- Returns:
- the AppComplianceAutomation report and its properties along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get the AppComplianceAutomation report and its properties.- Parameters:
reportName
- Report Name.- Returns:
- the AppComplianceAutomation report and its properties.
- 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
Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.- Parameters:
reportName
- Report Name.parameters
- Parameters for the create or update operation.- Returns:
- a class represent an AppComplianceAutomation report 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
ReportResource createOrUpdate(String reportName, ReportResourceInner parameters, com.azure.core.util.Context context) Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.- Parameters:
reportName
- Report Name.parameters
- Parameters for the create or update operation.context
- The context to associate with this operation.- Returns:
- a class represent an AppComplianceAutomation report 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
Update an exiting AppComplianceAutomation report.- Parameters:
reportName
- Report Name.parameters
- Parameters for the create or update operation.- Returns:
- a class represent an AppComplianceAutomation report 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
ReportResource update(String reportName, ReportResourcePatch parameters, com.azure.core.util.Context context) Update an exiting AppComplianceAutomation report.- Parameters:
reportName
- Report Name.parameters
- Parameters for the create or update operation.context
- The context to associate with this operation.- Returns:
- a class represent an AppComplianceAutomation report resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete an AppComplianceAutomation report.- Parameters:
reportName
- Report Name.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete an AppComplianceAutomation report.- Parameters:
reportName
- Report Name.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-