ServerVulnerabilityAssessmentOperations interface

Interface representing a ServerVulnerabilityAssessmentOperations.

Methods

beginDelete(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)

Removing server vulnerability assessment from a resource.

beginDeleteAndWait(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)

Removing server vulnerability assessment from a resource.

createOrUpdate(string, string, string, string, ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams)

Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it

get(string, string, string, string, ServerVulnerabilityAssessmentGetOptionalParams)

Gets a server vulnerability assessment onboarding statuses on a given resource.

listByExtendedResource(string, string, string, string, ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams)

Gets a list of server vulnerability assessment onboarding statuses on a given resource.

Method Details

beginDelete(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)

Removing server vulnerability assessment from a resource.

function beginDelete(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

options
ServerVulnerabilityAssessmentDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)

Removing server vulnerability assessment from a resource.

function beginDeleteAndWait(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

options
ServerVulnerabilityAssessmentDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, string, ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams)

Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it

function createOrUpdate(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams): Promise<ServerVulnerabilityAssessment>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

Returns

get(string, string, string, string, ServerVulnerabilityAssessmentGetOptionalParams)

Gets a server vulnerability assessment onboarding statuses on a given resource.

function get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentGetOptionalParams): Promise<ServerVulnerabilityAssessment>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

options
ServerVulnerabilityAssessmentGetOptionalParams

The options parameters.

Returns

listByExtendedResource(string, string, string, string, ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams)

Gets a list of server vulnerability assessment onboarding statuses on a given resource.

function listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams): Promise<ServerVulnerabilityAssessmentsList>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

Returns