ServerVulnerabilityAssessmentsClient Interface

public interface ServerVulnerabilityAssessmentsClient

An instance of this class provides access to all the operations defined in ServerVulnerabilityAssessmentsClient.

Method Summary

Modifier and Type Method and Description
abstract ServerVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)

Creates or updates the server's vulnerability assessment.

abstract Mono<ServerVulnerabilityAssessmentInner> createOrUpdateAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)

Creates or updates the server's vulnerability assessment.

abstract Response<ServerVulnerabilityAssessmentInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters, Context context)

Creates or updates the server's vulnerability assessment.

abstract Mono<Response<ServerVulnerabilityAssessmentInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)

Creates or updates the server's vulnerability assessment.

abstract void delete(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the server's vulnerability assessment.

abstract Mono<Void> deleteAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the server's vulnerability assessment.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, Context context)

Removes the server's vulnerability assessment.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the server's vulnerability assessment.

abstract ServerVulnerabilityAssessmentInner get(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the server's vulnerability assessment.

abstract Mono<ServerVulnerabilityAssessmentInner> getAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the server's vulnerability assessment.

abstract Response<ServerVulnerabilityAssessmentInner> getWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, Context context)

Gets the server's vulnerability assessment.

abstract Mono<Response<ServerVulnerabilityAssessmentInner>> getWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the server's vulnerability assessment.

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

Lists the vulnerability assessment policies associated with a server.

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

Lists the vulnerability assessment policies associated with a server.

abstract PagedFlux<ServerVulnerabilityAssessmentInner> listByServerAsync(String resourceGroupName, String serverName)

Lists the vulnerability assessment policies associated with a server.

Method Details

createOrUpdate

public abstract ServerVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)

Creates or updates the server's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
parameters - The requested resource.

Returns:

a server vulnerability assessment.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)

Creates or updates the server's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
parameters - The requested resource.

Returns:

a server vulnerability assessment on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters, Context context)

Creates or updates the server's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
parameters - The requested resource.
context - The context to associate with this operation.

Returns:

a server vulnerability assessment along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono<>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)

Creates or updates the server's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
parameters - The requested resource.

Returns:

a server vulnerability assessment along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the server's vulnerability assessment.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the server's vulnerability assessment.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, Context context)

Removes the server's vulnerability assessment.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono<>> deleteWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the server's vulnerability assessment.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract ServerVulnerabilityAssessmentInner get(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the server's vulnerability assessment.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

Returns:

the server's vulnerability assessment.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the server's vulnerability assessment.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

Returns:

the server's vulnerability assessment on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, Context context)

Gets the server's vulnerability assessment.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
context - The context to associate with this operation.

Returns:

the server's vulnerability assessment along with Response<T>.

getWithResponseAsync

public abstract Mono<>> getWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the server's vulnerability assessment.

Parameters:

resourceGroupName - 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 - The name of the server for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

Returns:

the server's vulnerability assessment along with Response<T> on successful completion of Mono.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Lists the vulnerability assessment policies associated with a server.

Parameters:

resourceGroupName - 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 - The name of the server.

Returns:

a list of the server's vulnerability assessments as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Context context)

Lists the vulnerability assessment policies associated with a server.

Parameters:

resourceGroupName - 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 - The name of the server.
context - The context to associate with this operation.

Returns:

a list of the server's vulnerability assessments as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Lists the vulnerability assessment policies associated with a server.

Parameters:

resourceGroupName - 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 - The name of the server.

Returns:

a list of the server's vulnerability assessments as paginated response with PagedFlux<T>.

Applies to