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.

list(string, SnapshotListOptionalParams)

Get the AppComplianceAutomation snapshot list.

Method Details

beginDownload(string, string, SnapshotDownloadRequest, SnapshotDownloadOptionalParams)

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

function beginDownload(reportName: string, snapshotName: string, body: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise<SimplePollerLike<OperationState<DownloadResponse>, DownloadResponse>>

Parameters

reportName

string

Report Name.

snapshotName

string

Snapshot Name.

body
SnapshotDownloadRequest

Parameters for the query operation

options
SnapshotDownloadOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DownloadResponse>, DownloadResponse>>

beginDownloadAndWait(string, string, SnapshotDownloadRequest, SnapshotDownloadOptionalParams)

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

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

Parameters

reportName

string

Report Name.

snapshotName

string

Snapshot Name.

body
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>

list(string, SnapshotListOptionalParams)

Get the AppComplianceAutomation snapshot list.

function list(reportName: string, options?: SnapshotListOptionalParams): PagedAsyncIterableIterator<SnapshotResource, SnapshotResource[], PageSettings>

Parameters

reportName

string

Report Name.

options
SnapshotListOptionalParams

The options parameters.

Returns