Interface ManagedInstanceVulnerabilityAssessmentsClient
public interface ManagedInstanceVulnerabilityAssessmentsClient
An instance of this class provides access to all the operations defined in
ManagedInstanceVulnerabilityAssessmentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters) Creates or updates the managed instance's vulnerability assessment.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.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.deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName) Removes the managed instance's vulnerability assessment.get(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName) Gets the managed instance's vulnerability assessment.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 Details
-
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 as paginated response with
PagedFlux. - 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 as paginated response with
PagedIterable. - 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 as paginated response with
PagedIterable. - 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.
-
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 along with
Responseon successful completion ofMono. - 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 on successful completion of
Mono. - 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 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
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.
-
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. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage.- 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- The requested resource.- Returns:
- a managed instance vulnerability assessment along with
Responseon successful completion ofMono. - 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. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage.- 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- The requested resource.- Returns:
- a managed instance vulnerability assessment on successful completion of
Mono. - 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. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage.- 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- The requested resource.context- The context to associate with this operation.- Returns:
- a managed instance vulnerability assessment 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
ManagedInstanceVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters) Creates or updates the managed instance's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage.- 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- The requested resource.- 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
Responseon successful completion ofMono. - 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:
- A
Monothat completes when a successful response is received. - 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.
-
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.
-