Share via


SqlAssessmentV2Operations interface

Interface representing a SqlAssessmentV2Operations.

Methods

beginCreate(string, string, string, string, SqlAssessmentV2, SqlAssessmentV2OperationsCreateOptionalParams)

Create a SqlAssessmentV2

beginCreateAndWait(string, string, string, string, SqlAssessmentV2, SqlAssessmentV2OperationsCreateOptionalParams)

Create a SqlAssessmentV2

beginDownloadUrl(string, string, string, string, Record<string, unknown>, SqlAssessmentV2OperationsDownloadUrlOptionalParams)

Get the URL for downloading the assessment in a report format.

beginDownloadUrlAndWait(string, string, string, string, Record<string, unknown>, SqlAssessmentV2OperationsDownloadUrlOptionalParams)

Get the URL for downloading the assessment in a report format.

delete(string, string, string, string, SqlAssessmentV2OperationsDeleteOptionalParams)

Delete a SqlAssessmentV2

get(string, string, string, string, SqlAssessmentV2OperationsGetOptionalParams)

Get a SqlAssessmentV2

listByGroup(string, string, string, SqlAssessmentV2OperationsListByGroupOptionalParams)

List SqlAssessmentV2 resources by Group

Method Details

beginCreate(string, string, string, string, SqlAssessmentV2, SqlAssessmentV2OperationsCreateOptionalParams)

Create a SqlAssessmentV2

function beginCreate(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, resource: SqlAssessmentV2, options?: SqlAssessmentV2OperationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<SqlAssessmentV2>, SqlAssessmentV2>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

projectName

string

Assessment Project Name

groupName

string

Group ARM name

assessmentName

string

SQL Assessment arm name.

resource
SqlAssessmentV2

Resource create parameters.

options
SqlAssessmentV2OperationsCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, string, SqlAssessmentV2, SqlAssessmentV2OperationsCreateOptionalParams)

Create a SqlAssessmentV2

function beginCreateAndWait(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, resource: SqlAssessmentV2, options?: SqlAssessmentV2OperationsCreateOptionalParams): Promise<SqlAssessmentV2>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

projectName

string

Assessment Project Name

groupName

string

Group ARM name

assessmentName

string

SQL Assessment arm name.

resource
SqlAssessmentV2

Resource create parameters.

options
SqlAssessmentV2OperationsCreateOptionalParams

The options parameters.

Returns

Promise<SqlAssessmentV2>

beginDownloadUrl(string, string, string, string, Record<string, unknown>, SqlAssessmentV2OperationsDownloadUrlOptionalParams)

Get the URL for downloading the assessment in a report format.

function beginDownloadUrl(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, body: Record<string, unknown>, options?: SqlAssessmentV2OperationsDownloadUrlOptionalParams): Promise<SimplePollerLike<OperationState<DownloadUrl>, DownloadUrl>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

projectName

string

Assessment Project Name

groupName

string

Group ARM name

assessmentName

string

SQL Assessment arm name.

body

Record<string, unknown>

The content of the action request

options
SqlAssessmentV2OperationsDownloadUrlOptionalParams

The options parameters.

Returns

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

beginDownloadUrlAndWait(string, string, string, string, Record<string, unknown>, SqlAssessmentV2OperationsDownloadUrlOptionalParams)

Get the URL for downloading the assessment in a report format.

function beginDownloadUrlAndWait(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, body: Record<string, unknown>, options?: SqlAssessmentV2OperationsDownloadUrlOptionalParams): Promise<DownloadUrl>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

projectName

string

Assessment Project Name

groupName

string

Group ARM name

assessmentName

string

SQL Assessment arm name.

body

Record<string, unknown>

The content of the action request

options
SqlAssessmentV2OperationsDownloadUrlOptionalParams

The options parameters.

Returns

Promise<DownloadUrl>

delete(string, string, string, string, SqlAssessmentV2OperationsDeleteOptionalParams)

Delete a SqlAssessmentV2

function delete(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: SqlAssessmentV2OperationsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

projectName

string

Assessment Project Name

groupName

string

Group ARM name

assessmentName

string

SQL Assessment arm name.

options
SqlAssessmentV2OperationsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, SqlAssessmentV2OperationsGetOptionalParams)

Get a SqlAssessmentV2

function get(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: SqlAssessmentV2OperationsGetOptionalParams): Promise<SqlAssessmentV2>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

projectName

string

Assessment Project Name

groupName

string

Group ARM name

assessmentName

string

SQL Assessment arm name.

options
SqlAssessmentV2OperationsGetOptionalParams

The options parameters.

Returns

Promise<SqlAssessmentV2>

listByGroup(string, string, string, SqlAssessmentV2OperationsListByGroupOptionalParams)

List SqlAssessmentV2 resources by Group

function listByGroup(resourceGroupName: string, projectName: string, groupName: string, options?: SqlAssessmentV2OperationsListByGroupOptionalParams): PagedAsyncIterableIterator<SqlAssessmentV2, SqlAssessmentV2[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

projectName

string

Assessment Project Name

groupName

string

Group ARM name

options
SqlAssessmentV2OperationsListByGroupOptionalParams

The options parameters.

Returns