Snapshot interface

Interface representing a Snapshot.

Methods

beginDownload(string, string, SnapshotDownloadRequest, SnapshotDownloadOptionalParams)

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

beginDownloadAndWait(string, string, SnapshotDownloadRequest, SnapshotDownloadOptionalParams)

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

get(string, string, SnapshotGetOptionalParams)

Get the AppComplianceAutomation snapshot and its properties.

Method Details

beginDownload(string, string, SnapshotDownloadRequest, SnapshotDownloadOptionalParams)

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

function beginDownload(reportName: string, snapshotName: string, parameters: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise<PollerLike<PollOperationState<DownloadResponse>, DownloadResponse>>

Parameters

reportName

string

Report Name.

snapshotName

string

Snapshot Name.

parameters
SnapshotDownloadRequest

Parameters for the query operation

options
SnapshotDownloadOptionalParams

The options parameters.

Returns

beginDownloadAndWait(string, string, SnapshotDownloadRequest, SnapshotDownloadOptionalParams)

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

function beginDownloadAndWait(reportName: string, snapshotName: string, parameters: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise<DownloadResponse>

Parameters

reportName

string

Report Name.

snapshotName

string

Snapshot Name.

parameters
SnapshotDownloadRequest

Parameters for the query operation

options
SnapshotDownloadOptionalParams

The options parameters.

Returns

Promise<DownloadResponse>

get(string, string, SnapshotGetOptionalParams)

Get the AppComplianceAutomation snapshot and its properties.

function get(reportName: string, snapshotName: string, options?: SnapshotGetOptionalParams): Promise<SnapshotResource>

Parameters

reportName

string

Report Name.

snapshotName

string

Snapshot Name.

options
SnapshotGetOptionalParams

The options parameters.

Returns

Promise<SnapshotResource>