public interface WorkspaceManagedSqlServerVulnerabilityAssessmentsClient
Modifier and Type | Method and Description |
---|---|
ServerVulnerabilityAssessmentInner |
createOrUpdate(String resourceGroupName,
String workspaceName,
VulnerabilityAssessmentName vulnerabilityAssessmentName,
ServerVulnerabilityAssessmentInner parameters)
Create or Update workspace managed sql server's vulnerability assessment.
|
com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner> |
createOrUpdateWithResponse(String resourceGroupName,
String workspaceName,
VulnerabilityAssessmentName vulnerabilityAssessmentName,
ServerVulnerabilityAssessmentInner parameters,
com.azure.core.util.Context context)
Create or Update workspace managed sql server's vulnerability assessment.
|
void |
delete(String resourceGroupName,
String workspaceName,
VulnerabilityAssessmentName vulnerabilityAssessmentName)
Remove workspace managed sql server's vulnerability assessment.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String workspaceName,
VulnerabilityAssessmentName vulnerabilityAssessmentName,
com.azure.core.util.Context context)
Remove workspace managed sql server's vulnerability assessment.
|
ServerVulnerabilityAssessmentInner |
get(String resourceGroupName,
String workspaceName,
VulnerabilityAssessmentName vulnerabilityAssessmentName)
Get workspace managed sql server's vulnerability assessment.
|
com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner> |
getWithResponse(String resourceGroupName,
String workspaceName,
VulnerabilityAssessmentName vulnerabilityAssessmentName,
com.azure.core.util.Context context)
Get workspace managed sql server's vulnerability assessment.
|
com.azure.core.http.rest.PagedIterable<ServerVulnerabilityAssessmentInner> |
list(String resourceGroupName,
String workspaceName)
Lists the vulnerability assessment policies associated with a workspace managed sql server.
|
com.azure.core.http.rest.PagedIterable<ServerVulnerabilityAssessmentInner> |
list(String resourceGroupName,
String workspaceName,
com.azure.core.util.Context context)
Lists the vulnerability assessment policies associated with a workspace managed sql server.
|
ServerVulnerabilityAssessmentInner get(String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.vulnerabilityAssessmentName
- The name of the vulnerability assessment.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.com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner> getWithResponse(String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.vulnerabilityAssessmentName
- The name of the vulnerability assessment.context
- The context to associate with this operation.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.ServerVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.vulnerabilityAssessmentName
- The name of the vulnerability assessment.parameters
- Properties for vulnerability assessment.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.com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ServerVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.vulnerabilityAssessmentName
- The name of the vulnerability assessment.parameters
- Properties for vulnerability assessment.context
- The context to associate with this operation.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.void delete(String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.vulnerabilityAssessmentName
- The name of the vulnerability assessment.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.vulnerabilityAssessmentName
- The name of the vulnerability assessment.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<ServerVulnerabilityAssessmentInner> list(String resourceGroupName, String workspaceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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.com.azure.core.http.rest.PagedIterable<ServerVulnerabilityAssessmentInner> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.