SnapshotsClient Interface

public interface SnapshotsClient

An instance of this class provides access to all the operations defined in SnapshotsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DownloadResponseInner>,DownloadResponseInner> beginDownload(String reportName, String snapshotName, SnapshotDownloadRequest body)

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

abstract SyncPoller<PollResult<DownloadResponseInner>,DownloadResponseInner> beginDownload(String reportName, String snapshotName, SnapshotDownloadRequest body, Context context)

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

abstract DownloadResponseInner download(String reportName, String snapshotName, SnapshotDownloadRequest body)

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

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

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

abstract SnapshotResourceInner get(String reportName, String snapshotName)

Get the AppComplianceAutomation snapshot and its properties.

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

Get the AppComplianceAutomation snapshot and its properties.

abstract PagedIterable<SnapshotResourceInner> list(String reportName)

Get the AppComplianceAutomation snapshot list.

abstract PagedIterable<SnapshotResourceInner> 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

beginDownload

public abstract SyncPoller<PollResult<DownloadResponseInner>,DownloadResponseInner> beginDownload(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:

the SyncPoller<T,U> for polling of object that includes all the possible response for the download operation.

beginDownload

public abstract SyncPoller<PollResult<DownloadResponseInner>,DownloadResponseInner> beginDownload(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:

the SyncPoller<T,U> for polling of object that includes all the possible response for the download operation.

download

public abstract DownloadResponseInner 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 DownloadResponseInner 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 SnapshotResourceInner 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<SnapshotResourceInner> 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<SnapshotResourceInner> 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<SnapshotResourceInner> 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