Interface ServerVulnerabilityAssessmentsClient
-
public interface ServerVulnerabilityAssessmentsClientAn instance of this class provides access to all the operations defined in ServerVulnerabilityAssessmentsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerVulnerabilityAssessmentInnercreateOrUpdate(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)Creates or updates the server's vulnerability assessment.Mono<ServerVulnerabilityAssessmentInner>createOrUpdateAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)Creates or updates the server's vulnerability assessment.com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner>createOrUpdateWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context)Creates or updates the server's vulnerability assessment.Mono<com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)Creates or updates the server's vulnerability assessment.voiddelete(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the server's vulnerability assessment.Mono<Void>deleteAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the server's vulnerability assessment.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)Removes the server's vulnerability assessment.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the server's vulnerability assessment.ServerVulnerabilityAssessmentInnerget(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the server's vulnerability assessment.Mono<ServerVulnerabilityAssessmentInner>getAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the server's vulnerability assessment.com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner>getWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)Gets the server's vulnerability assessment.Mono<com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner>>getWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the server's vulnerability assessment.com.azure.core.http.rest.PagedIterable<ServerVulnerabilityAssessmentInner>listByServer(String resourceGroupName, String serverName)Lists the vulnerability assessment policies associated with a server.com.azure.core.http.rest.PagedIterable<ServerVulnerabilityAssessmentInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)Lists the vulnerability assessment policies associated with a server.com.azure.core.http.rest.PagedFlux<ServerVulnerabilityAssessmentInner>listByServerAsync(String resourceGroupName, String serverName)Lists the vulnerability assessment policies associated with a server.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner>> 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<ServerVulnerabilityAssessmentInner> 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner> getWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)
Creates or updates 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.parameters- A server vulnerability assessment.- Returns:
- a server vulnerability assessment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ServerVulnerabilityAssessmentInner> createOrUpdateAsync(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)
Creates or updates 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.parameters- A server vulnerability assessment.- Returns:
- a server vulnerability assessment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ServerVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)
Creates or updates 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.parameters- A server vulnerability assessment.- Returns:
- a server vulnerability assessment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context)
Creates or updates 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.parameters- A server vulnerability assessment.context- The context to associate with this operation.- Returns:
- a server vulnerability assessment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> 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 completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> 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:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String serverName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.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:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<ServerVulnerabilityAssessmentInner> 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerVulnerabilityAssessmentInner> 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerVulnerabilityAssessmentInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-