ServerVulnerabilityAssessmentsSettings interface

Interface representing a ServerVulnerabilityAssessmentsSettings.

Methods

createOrUpdate(string, ServerVulnerabilityAssessmentsSettingUnion, ServerVulnerabilityAssessmentsSettingsCreateOrUpdateOptionalParams)

Create or update a server vulnerability assessments setting of the requested kind on the subscription

delete(string, ServerVulnerabilityAssessmentsSettingsDeleteOptionalParams)

Delete the server vulnerability assessments setting of the requested kind from the subscription

get(string, ServerVulnerabilityAssessmentsSettingsGetOptionalParams)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription

listBySubscription(ServerVulnerabilityAssessmentsSettingsListBySubscriptionOptionalParams)

Get a list of all the server vulnerability assessments settings over a subscription level scope

Method Details

createOrUpdate(string, ServerVulnerabilityAssessmentsSettingUnion, ServerVulnerabilityAssessmentsSettingsCreateOrUpdateOptionalParams)

Create or update a server vulnerability assessments setting of the requested kind on the subscription

function createOrUpdate(settingKind: string, serverVulnerabilityAssessmentsSetting: ServerVulnerabilityAssessmentsSettingUnion, options?: ServerVulnerabilityAssessmentsSettingsCreateOrUpdateOptionalParams): Promise<ServerVulnerabilityAssessmentsSettingUnion>

Parameters

settingKind

string

The kind of the server vulnerability assessments setting

serverVulnerabilityAssessmentsSetting
ServerVulnerabilityAssessmentsSettingUnion

A server vulnerability assessments setting over a predefined scope

Returns

delete(string, ServerVulnerabilityAssessmentsSettingsDeleteOptionalParams)

Delete the server vulnerability assessments setting of the requested kind from the subscription

function delete(settingKind: string, options?: ServerVulnerabilityAssessmentsSettingsDeleteOptionalParams): Promise<void>

Parameters

settingKind

string

The kind of the server vulnerability assessments setting

Returns

Promise<void>

get(string, ServerVulnerabilityAssessmentsSettingsGetOptionalParams)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription

function get(settingKind: string, options?: ServerVulnerabilityAssessmentsSettingsGetOptionalParams): Promise<ServerVulnerabilityAssessmentsSettingUnion>

Parameters

settingKind

string

The kind of the server vulnerability assessments setting

Returns

listBySubscription(ServerVulnerabilityAssessmentsSettingsListBySubscriptionOptionalParams)

Get a list of all the server vulnerability assessments settings over a subscription level scope

function listBySubscription(options?: ServerVulnerabilityAssessmentsSettingsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ServerVulnerabilityAssessmentsSettingUnion, ServerVulnerabilityAssessmentsSettingUnion[], PageSettings>

Parameters

Returns