Interface ServerVulnerabilityAssessmentsClient
public interface ServerVulnerabilityAssessmentsClient
An instance of this class provides access to all the operations defined in ServerVulnerabilityAssessmentsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName) Removing server vulnerability assessment from a resource.beginDelete
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.Context context) Removing server vulnerability assessment from a resource.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.com.azure.core.http.rest.Response<ServerVulnerabilityAssessmentInner>
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<ServerVulnerabilityAssessmentInner>
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<ServerVulnerabilityAssessmentsListInner>
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
ServerVulnerabilityAssessmentsListInner 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<ServerVulnerabilityAssessmentsListInner> 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
ServerVulnerabilityAssessmentInner 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<ServerVulnerabilityAssessmentInner> 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
ServerVulnerabilityAssessmentInner 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<ServerVulnerabilityAssessmentInner> 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
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.
-