ServerVulnerabilityAssessmentsClientImpl.listByServer Method

Definition

Overloads

listByServer(String resourceGroupName, String serverName)

Lists the vulnerability assessment policies associated with a server.

listByServer(String resourceGroupName, String serverName, Context context)

Lists the vulnerability assessment policies associated with a server.

listByServer(String resourceGroupName, String serverName)

Lists the vulnerability assessment policies associated with a server.

public PagedIterable<ServerVulnerabilityAssessmentInner> listByServer(String resourceGroupName, String serverName)

Parameters

resourceGroupName
java.lang.String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
java.lang.String

The name of the server.

Returns

a list of the server's vulnerability assessments.

listByServer(String resourceGroupName, String serverName, Context context)

Lists the vulnerability assessment policies associated with a server.

public PagedIterable<ServerVulnerabilityAssessmentInner> listByServer(String resourceGroupName, String serverName, Context context)

Parameters

resourceGroupName
java.lang.String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
java.lang.String

The name of the server.

context
Context

The context to associate with this operation.

Returns

a list of the server's vulnerability assessments.

Applies to