Reports Interface

public interface Reports

Resource collection API of Reports.

Method Summary

Modifier and Type Method and Description
abstract ReportResource createOrUpdate(String reportName, ReportResourceInner properties)

Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.

abstract ReportResource createOrUpdate(String reportName, ReportResourceInner properties, Context context)

Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.

abstract void delete(String reportName)

Delete an AppComplianceAutomation report.

abstract void delete(String reportName, Context context)

Delete an AppComplianceAutomation report.

abstract ReportFixResult fix(String reportName)

Fix the AppComplianceAutomation report error.

abstract ReportFixResult fix(String reportName, Context context)

Fix the AppComplianceAutomation report error.

abstract ReportResource get(String reportName)

Get the AppComplianceAutomation report and its properties.

abstract ScopingQuestions getScopingQuestions(String reportName)

Fix the AppComplianceAutomation report error.

abstract Response<ScopingQuestions> getScopingQuestionsWithResponse(String reportName, Context context)

Fix the AppComplianceAutomation report error.

abstract Response<ReportResource> getWithResponse(String reportName, Context context)

Get the AppComplianceAutomation report and its properties.

abstract PagedIterable<ReportResource> list()

Get the AppComplianceAutomation report list for the tenant.

abstract PagedIterable<ReportResource> list(String skipToken, Integer top, String select, String filter, String orderby, String offerGuid, String reportCreatorTenantId, Context context)

Get the AppComplianceAutomation report list for the tenant.

abstract CheckNameAvailabilityResponse nestedResourceCheckNameAvailability(String reportName, CheckNameAvailabilityRequest body)

Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots.

abstract Response<CheckNameAvailabilityResponse> nestedResourceCheckNameAvailabilityWithResponse(String reportName, CheckNameAvailabilityRequest body, Context context)

Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots.

abstract SyncCertRecordResponse syncCertRecord(String reportName, SyncCertRecordRequest body)

Synchronize attestation record from app compliance.

abstract SyncCertRecordResponse syncCertRecord(String reportName, SyncCertRecordRequest body, Context context)

Synchronize attestation record from app compliance.

abstract ReportResource update(String reportName, ReportResourcePatch properties)

Update an exiting AppComplianceAutomation report.

abstract ReportResource update(String reportName, ReportResourcePatch properties, Context context)

Update an exiting AppComplianceAutomation report.

abstract ReportVerificationResult verify(String reportName)

Verify the AppComplianceAutomation report health status.

abstract ReportVerificationResult verify(String reportName, Context context)

Verify the AppComplianceAutomation report health status.

Method Details

createOrUpdate

public abstract ReportResource createOrUpdate(String reportName, ReportResourceInner properties)

Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.

Parameters:

reportName - Report Name.
properties - Parameters for the create or update operation.

Returns:

a class represent an AppComplianceAutomation report resource.

createOrUpdate

public abstract ReportResource createOrUpdate(String reportName, ReportResourceInner properties, Context context)

Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.

Parameters:

reportName - Report Name.
properties - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

a class represent an AppComplianceAutomation report resource.

delete

public abstract void delete(String reportName)

Delete an AppComplianceAutomation report.

Parameters:

reportName - Report Name.

delete

public abstract void delete(String reportName, Context context)

Delete an AppComplianceAutomation report.

Parameters:

reportName - Report Name.
context - The context to associate with this operation.

fix

public abstract ReportFixResult fix(String reportName)

Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed.

Parameters:

reportName - Report Name.

Returns:

report fix result.

fix

public abstract ReportFixResult fix(String reportName, Context context)

Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed.

Parameters:

reportName - Report Name.
context - The context to associate with this operation.

Returns:

report fix result.

get

public abstract ReportResource get(String reportName)

Get the AppComplianceAutomation report and its properties.

Parameters:

reportName - Report Name.

Returns:

the AppComplianceAutomation report and its properties.

getScopingQuestions

public abstract ScopingQuestions getScopingQuestions(String reportName)

Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed.

Parameters:

reportName - Report Name.

Returns:

scoping question list.

getScopingQuestionsWithResponse

public abstract Response<ScopingQuestions> getScopingQuestionsWithResponse(String reportName, Context context)

Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed.

Parameters:

reportName - Report Name.
context - The context to associate with this operation.

Returns:

scoping question list along with Response<T>.

getWithResponse

public abstract Response<ReportResource> getWithResponse(String reportName, 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<T>.

list

public abstract PagedIterable<ReportResource> list()

Get the AppComplianceAutomation report list for the tenant.

Returns:

the AppComplianceAutomation report list for the tenant as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ReportResource> list(String skipToken, Integer top, String select, String filter, String orderby, String offerGuid, String reportCreatorTenantId, Context context)

Get the AppComplianceAutomation report list for the tenant.

Parameters:

skipToken - Skip over when retrieving results.
top - Number of elements to return when retrieving results.
select - OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id.
filter - The filter to apply on the operation.
orderby - OData order by query option.
offerGuid - The offerGuid which mapping to the reports.
reportCreatorTenantId - The tenant id of the report creator.
context - The context to associate with this operation.

Returns:

the AppComplianceAutomation report list for the tenant as paginated response with PagedIterable<T>.

nestedResourceCheckNameAvailability

public abstract CheckNameAvailabilityResponse nestedResourceCheckNameAvailability(String reportName, CheckNameAvailabilityRequest body)

Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots.

Parameters:

reportName - Report Name.
body - NameAvailabilityRequest object.

Returns:

the check availability result.

nestedResourceCheckNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityResponse> nestedResourceCheckNameAvailabilityWithResponse(String reportName, CheckNameAvailabilityRequest body, Context context)

Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots.

Parameters:

reportName - Report Name.
body - NameAvailabilityRequest object.
context - The context to associate with this operation.

Returns:

the check availability result along with Response<T>.

syncCertRecord

public abstract SyncCertRecordResponse syncCertRecord(String reportName, SyncCertRecordRequest body)

Synchronize attestation record from app compliance.

Parameters:

reportName - Report Name.
body - Parameters for synchronize certification record operation.

Returns:

synchronize certification record response.

syncCertRecord

public abstract SyncCertRecordResponse syncCertRecord(String reportName, SyncCertRecordRequest body, Context context)

Synchronize attestation record from app compliance.

Parameters:

reportName - Report Name.
body - Parameters for synchronize certification record operation.
context - The context to associate with this operation.

Returns:

synchronize certification record response.

update

public abstract ReportResource update(String reportName, ReportResourcePatch properties)

Update an exiting AppComplianceAutomation report.

Parameters:

reportName - Report Name.
properties - Parameters for the create or update operation.

Returns:

a class represent an AppComplianceAutomation report resource.

update

public abstract ReportResource update(String reportName, ReportResourcePatch properties, Context context)

Update an exiting AppComplianceAutomation report.

Parameters:

reportName - Report Name.
properties - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

a class represent an AppComplianceAutomation report resource.

verify

public abstract ReportVerificationResult verify(String reportName)

Verify the AppComplianceAutomation report health status.

Parameters:

reportName - Report Name.

Returns:

report health status verification result.

verify

public abstract ReportVerificationResult verify(String reportName, Context context)

Verify the AppComplianceAutomation report health status.

Parameters:

reportName - Report Name.
context - The context to associate with this operation.

Returns:

report health status verification result.

Applies to