Interface ServerVulnerabilityAssessments
public interface ServerVulnerabilityAssessments
Resource collection API of ServerVulnerabilityAssessments.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(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.com.azure.core.http.rest.Response<ServerVulnerabilityAssessment>
createOrUpdateWithResponse
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.Context context) Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it.void
delete
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName) Removing server vulnerability assessment from a resource.void
delete
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.Context context) Removing server vulnerability assessment from a resource.Gets a server vulnerability assessment onboarding statuses on a given resource.com.azure.core.http.rest.Response<ServerVulnerabilityAssessment>
getWithResponse
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.Context context) Gets a server vulnerability assessment onboarding statuses on a given resource.listByExtendedResource
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName) Gets a list of server vulnerability assessment onboarding statuses on a given resource.com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentsList>
listByExtendedResourceWithResponse
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.Context context) Gets a list of server vulnerability assessment onboarding statuses on a given resource.
-
Method Details
-
listByExtendedResource
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.
- 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.
-
listByExtendedResourceWithResponse
com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentsList> listByExtendedResourceWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.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
. - 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
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.
- 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<ServerVulnerabilityAssessment> getWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.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
. - 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
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.
- 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<ServerVulnerabilityAssessment> createOrUpdateWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.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
. - 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 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.- 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 resourceNamespace, String resourceType, String resourceName, com.azure.core.util.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.- 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.
-