ServerVulnerabilityAssessmentsSettings interface
Interface representing a ServerVulnerabilityAssessmentsSettings.
Methods
create |
Create or update a server vulnerability assessments setting of the requested kind on the subscription |
delete(string, Server |
Delete the server vulnerability assessments setting of the requested kind from the subscription |
get(string, Server |
Get a server vulnerability assessments setting of the requested kind, that is set on the subscription |
list |
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
The options parameters.
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
The options parameters.
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
The options parameters.
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
The options parameters.
Returns
Azure SDK for JavaScript