ServerVulnerabilityAssessments Interface

public interface ServerVulnerabilityAssessments

Resource collection API of ServerVulnerabilityAssessments.

Method Summary

Modifier and Type Method and Description
abstract ServerVulnerabilityAssessment createOrUpdate(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

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

abstract Response<ServerVulnerabilityAssessment> createOrUpdateWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

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

abstract void delete(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

Removing server vulnerability assessment from a resource.

abstract void delete(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

Removing server vulnerability assessment from a resource.

abstract ServerVulnerabilityAssessment get(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

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

abstract Response<ServerVulnerabilityAssessment> getWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

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

abstract ServerVulnerabilityAssessmentsList listByExtendedResource(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

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

abstract Response<ServerVulnerabilityAssessmentsList> listByExtendedResourceWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

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

Method Details

createOrUpdate

public abstract ServerVulnerabilityAssessment createOrUpdate(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
resourceNamespace - The Namespace of the resource.
resourceType - The type of the resource.
resourceName - Name of the resource.

Returns:

describes the server vulnerability assessment details on a resource.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
resourceNamespace - The Namespace of the resource.
resourceType - The type of the resource.
resourceName - Name of the resource.
context - The context to associate with this operation.

Returns:

describes the server vulnerability assessment details on a resource along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

Removing server vulnerability assessment from a resource.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
resourceNamespace - The Namespace of the resource.
resourceType - The type of the resource.
resourceName - Name of the resource.

delete

public abstract void delete(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

Removing server vulnerability assessment from a resource.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
resourceNamespace - The Namespace of the resource.
resourceType - The type of the resource.
resourceName - Name of the resource.
context - The context to associate with this operation.

get

public abstract ServerVulnerabilityAssessment get(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
resourceNamespace - The Namespace of the resource.
resourceType - The type of the resource.
resourceName - Name of the resource.

Returns:

a server vulnerability assessment onboarding statuses on a given resource.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
resourceNamespace - The Namespace of the resource.
resourceType - The type of the resource.
resourceName - Name of the resource.
context - The context to associate with this operation.

Returns:

a server vulnerability assessment onboarding statuses on a given resource along with Response<T>.

listByExtendedResource

public abstract ServerVulnerabilityAssessmentsList listByExtendedResource(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
resourceNamespace - The Namespace of the resource.
resourceType - The type of the resource.
resourceName - Name of the resource.

Returns:

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

listByExtendedResourceWithResponse

public abstract Response listByExtendedResourceWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
resourceNamespace - The Namespace of the resource.
resourceType - The type of the resource.
resourceName - Name of the resource.
context - The context to associate with this operation.

Returns:

a list of server vulnerability assessment onboarding statuses on a given resource along with Response<T>.

Applies to