Interface ManagedInstanceVulnerabilityAssessmentsClient
-
public interface ManagedInstanceVulnerabilityAssessmentsClientAn instance of this class provides access to all the operations defined in ManagedInstanceVulnerabilityAssessmentsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedInstanceVulnerabilityAssessmentInnercreateOrUpdate(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)Creates or updates the managed instance's vulnerability assessment.Mono<ManagedInstanceVulnerabilityAssessmentInner>createOrUpdateAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)Creates or updates the managed instance's vulnerability assessment.com.azure.core.http.rest.Response<ManagedInstanceVulnerabilityAssessmentInner>createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context)Creates or updates the managed instance's vulnerability assessment.Mono<com.azure.core.http.rest.Response<ManagedInstanceVulnerabilityAssessmentInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)Creates or updates the managed instance's vulnerability assessment.voiddelete(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the managed instance's vulnerability assessment.Mono<Void>deleteAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the managed instance's vulnerability assessment.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)Removes the managed instance's vulnerability assessment.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the managed instance's vulnerability assessment.ManagedInstanceVulnerabilityAssessmentInnerget(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the managed instance's vulnerability assessment.Mono<ManagedInstanceVulnerabilityAssessmentInner>getAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the managed instance's vulnerability assessment.com.azure.core.http.rest.Response<ManagedInstanceVulnerabilityAssessmentInner>getWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)Gets the managed instance's vulnerability assessment.Mono<com.azure.core.http.rest.Response<ManagedInstanceVulnerabilityAssessmentInner>>getWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the managed instance's vulnerability assessment.com.azure.core.http.rest.PagedIterable<ManagedInstanceVulnerabilityAssessmentInner>listByInstance(String resourceGroupName, String managedInstanceName)Gets the managed instance's vulnerability assessment policies.com.azure.core.http.rest.PagedIterable<ManagedInstanceVulnerabilityAssessmentInner>listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context)Gets the managed instance's vulnerability assessment policies.com.azure.core.http.rest.PagedFlux<ManagedInstanceVulnerabilityAssessmentInner>listByInstanceAsync(String resourceGroupName, String managedInstanceName)Gets the managed instance's vulnerability assessment policies.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedInstanceVulnerabilityAssessmentInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the managed instance'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.managedInstanceName- The name of the managed instance for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.- Returns:
- the managed instance'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<ManagedInstanceVulnerabilityAssessmentInner> getAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the managed instance'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.managedInstanceName- The name of the managed instance for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.- Returns:
- the managed instance'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
ManagedInstanceVulnerabilityAssessmentInner get(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the managed instance'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.managedInstanceName- The name of the managed instance for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.- Returns:
- the managed instance'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<ManagedInstanceVulnerabilityAssessmentInner> getWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
Gets the managed instance'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.managedInstanceName- The name of the managed instance for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.context- The context to associate with this operation.- Returns:
- the managed instance'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<ManagedInstanceVulnerabilityAssessmentInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)
Creates or updates the managed instance'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.managedInstanceName- The name of the managed instance for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.parameters- A managed instance vulnerability assessment.- Returns:
- a managed instance 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<ManagedInstanceVulnerabilityAssessmentInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)
Creates or updates the managed instance'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.managedInstanceName- The name of the managed instance for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.parameters- A managed instance vulnerability assessment.- Returns:
- a managed instance 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
ManagedInstanceVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)
Creates or updates the managed instance'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.managedInstanceName- The name of the managed instance for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.parameters- A managed instance vulnerability assessment.- Returns:
- a managed instance 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<ManagedInstanceVulnerabilityAssessmentInner> createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context)
Creates or updates the managed instance'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.managedInstanceName- The name of the managed instance for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.parameters- A managed instance vulnerability assessment.context- The context to associate with this operation.- Returns:
- a managed instance 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 managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Removes the managed instance'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.managedInstanceName- The name of the managed instance 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 managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Removes the managed instance'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.managedInstanceName- The name of the managed instance 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 managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Removes the managed instance'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.managedInstanceName- The name of the managed instance 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 managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
Removes the managed instance'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.managedInstanceName- The name of the managed instance 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.
-
listByInstanceAsync
com.azure.core.http.rest.PagedFlux<ManagedInstanceVulnerabilityAssessmentInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName)
Gets the managed instance's vulnerability assessment policies.- 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.managedInstanceName- The name of the managed instance for which the vulnerability assessments is defined.- Returns:
- the managed instance's vulnerability assessment policies.
- 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.
-
listByInstance
com.azure.core.http.rest.PagedIterable<ManagedInstanceVulnerabilityAssessmentInner> listByInstance(String resourceGroupName, String managedInstanceName)
Gets the managed instance's vulnerability assessment policies.- 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.managedInstanceName- The name of the managed instance for which the vulnerability assessments is defined.- Returns:
- the managed instance's vulnerability assessment policies.
- 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.
-
listByInstance
com.azure.core.http.rest.PagedIterable<ManagedInstanceVulnerabilityAssessmentInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context)
Gets the managed instance's vulnerability assessment policies.- 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.managedInstanceName- The name of the managed instance for which the vulnerability assessments is defined.context- The context to associate with this operation.- Returns:
- the managed instance's vulnerability assessment policies.
- 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.
-
-