Snapshots Interface

public interface Snapshots

Resource collection API of Snapshots.

Method Summary

Modifier and Type Method and Description
abstract DownloadResponse download(String reportName, String snapshotName, SnapshotDownloadRequest body)

Download compliance needs from snapshot, like: Compliance Report, Resource List.

abstract DownloadResponse download(String reportName, String snapshotName, SnapshotDownloadRequest body, Context context)

Download compliance needs from snapshot, like: Compliance Report, Resource List.

abstract SnapshotResource get(String reportName, String snapshotName)

Get the AppComplianceAutomation snapshot and its properties.

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

Get the AppComplianceAutomation snapshot and its properties.

abstract PagedIterable<SnapshotResource> list(String reportName)

Get the AppComplianceAutomation snapshot list.

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

Get the AppComplianceAutomation snapshot list.

Method Details

download

public abstract DownloadResponse download(String reportName, String snapshotName, SnapshotDownloadRequest body)

Download compliance needs from snapshot, like: Compliance Report, Resource List.

Parameters:

reportName - Report Name.
snapshotName - Snapshot Name.
body - Parameters for the query operation.

Returns:

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

download

public abstract DownloadResponse download(String reportName, String snapshotName, SnapshotDownloadRequest body, Context context)

Download compliance needs from snapshot, like: Compliance Report, Resource List.

Parameters:

reportName - Report Name.
snapshotName - Snapshot 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 download operation.

get

public abstract SnapshotResource get(String reportName, String snapshotName)

Get the AppComplianceAutomation snapshot and its properties.

Parameters:

reportName - Report Name.
snapshotName - Snapshot Name.

Returns:

the AppComplianceAutomation snapshot and its properties.

getWithResponse

public abstract Response<SnapshotResource> getWithResponse(String reportName, String snapshotName, Context context)

Get the AppComplianceAutomation snapshot and its properties.

Parameters:

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

Returns:

the AppComplianceAutomation snapshot and its properties along with Response<T>.

list

public abstract PagedIterable<SnapshotResource> list(String reportName)

Get the AppComplianceAutomation snapshot list.

Parameters:

reportName - Report Name.

Returns:

the AppComplianceAutomation snapshot list as paginated response with PagedIterable<T>.

list

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

Get the AppComplianceAutomation snapshot list.

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 AppComplianceAutomation snapshot list as paginated response with PagedIterable<T>.

Applies to