Evidences Interface

public interface Evidences

Resource collection API of Evidences.

Method Summary

Modifier and Type Method and Description
abstract EvidenceResource createOrUpdate(String reportName, String evidenceName, EvidenceResourceInner properties)

Create or Update an evidence a specified report.

abstract Response<EvidenceResource> createOrUpdateWithResponse(String reportName, String evidenceName, EvidenceResourceInner properties, String offerGuid, String reportCreatorTenantId, Context context)

Create or Update an evidence a specified report.

abstract void deleteByResourceGroup(String reportName, String evidenceName)

Delete an existent evidence from a specified report.

abstract Response<Void> deleteByResourceGroupWithResponse(String reportName, String evidenceName, Context context)

Delete an existent evidence from a specified report.

abstract EvidenceFileDownloadResponse download(String reportName, String evidenceName, EvidenceFileDownloadRequest body)

Download evidence file.

abstract Response<EvidenceFileDownloadResponse> downloadWithResponse(String reportName, String evidenceName, EvidenceFileDownloadRequest body, Context context)

Download evidence file.

abstract EvidenceResource get(String reportName, String evidenceName)

Get the evidence metadata.

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

Get the evidence metadata.

abstract PagedIterable<EvidenceResource> listByReport(String reportName)

Returns a paginated list of evidences for a specified report.

abstract PagedIterable<EvidenceResource> listByReport(String reportName, String skipToken, Integer top, String select, String filter, String orderby, String offerGuid, String reportCreatorTenantId, Context context)

Returns a paginated list of evidences for a specified report.

Method Details

createOrUpdate

public abstract EvidenceResource createOrUpdate(String reportName, String evidenceName, EvidenceResourceInner properties)

Create or Update an evidence a specified report.

Parameters:

reportName - Report Name.
evidenceName - The evidence name.
properties - Parameters for the create or update operation.

Returns:

a class represent an AppComplianceAutomation evidence resource.

createOrUpdateWithResponse

public abstract Response<EvidenceResource> createOrUpdateWithResponse(String reportName, String evidenceName, EvidenceResourceInner properties, String offerGuid, String reportCreatorTenantId, Context context)

Create or Update an evidence a specified report.

Parameters:

reportName - Report Name.
evidenceName - The evidence name.
properties - Parameters for the create or update operation.
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:

a class represent an AppComplianceAutomation evidence resource along with Response<T>.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String reportName, String evidenceName)

Delete an existent evidence from a specified report.

Parameters:

reportName - Report Name.
evidenceName - The evidence name.

deleteByResourceGroupWithResponse

public abstract Response<Void> deleteByResourceGroupWithResponse(String reportName, String evidenceName, Context context)

Delete an existent evidence from a specified report.

Parameters:

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

Returns:

download

public abstract EvidenceFileDownloadResponse download(String reportName, String evidenceName, EvidenceFileDownloadRequest body)

Download evidence file.

Parameters:

reportName - Report Name.
evidenceName - The evidence name.
body - Parameters for the query operation.

Returns:

object that includes all the possible response for the evidence file download operation.

downloadWithResponse

public abstract Response<EvidenceFileDownloadResponse> downloadWithResponse(String reportName, String evidenceName, EvidenceFileDownloadRequest body, Context context)

Download evidence file.

Parameters:

reportName - Report Name.
evidenceName - The evidence name.
body - Parameters for the query operation.
context - The context to associate with this operation.

Returns:

object that includes all the possible response for the evidence file download operation along with Response<T>.

get

public abstract EvidenceResource get(String reportName, String evidenceName)

Get the evidence metadata.

Parameters:

reportName - Report Name.
evidenceName - The evidence name.

Returns:

the evidence metadata.

getWithResponse

public abstract Response<EvidenceResource> getWithResponse(String reportName, String evidenceName, Context context)

Get the evidence metadata.

Parameters:

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

Returns:

the evidence metadata along with Response<T>.

listByReport

public abstract PagedIterable<EvidenceResource> listByReport(String reportName)

Returns a paginated list of evidences for a specified report.

Parameters:

reportName - Report Name.

Returns:

the response of a EvidenceResource list operation as paginated response with PagedIterable<T>.

listByReport

public abstract PagedIterable<EvidenceResource> listByReport(String reportName, String skipToken, Integer top, String select, String filter, String orderby, String offerGuid, String reportCreatorTenantId, Context context)

Returns a paginated list of evidences for a specified report.

Parameters:

reportName - Report Name.
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 response of a EvidenceResource list operation as paginated response with PagedIterable<T>.

Applies to