ManagedInstanceVulnerabilityAssessmentsClient Interface

public interface ManagedInstanceVulnerabilityAssessmentsClient

An instance of this class provides access to all the operations defined in ManagedInstanceVulnerabilityAssessmentsClient.

Method Summary

Modifier and Type Method and Description
abstract ManagedInstanceVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)

Creates or updates the managed instance's vulnerability assessment.

abstract Mono<ManagedInstanceVulnerabilityAssessmentInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)

Creates or updates the managed instance's vulnerability assessment.

abstract Response<ManagedInstanceVulnerabilityAssessmentInner> createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters, Context context)

Creates or updates the managed instance's vulnerability assessment.

abstract Mono<Response<ManagedInstanceVulnerabilityAssessmentInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters)

Creates or updates the managed instance's vulnerability assessment.

abstract void delete(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the managed instance's vulnerability assessment.

abstract Mono<Void> deleteAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the managed instance's vulnerability assessment.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, Context context)

Removes the managed instance's vulnerability assessment.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the managed instance's vulnerability assessment.

abstract ManagedInstanceVulnerabilityAssessmentInner get(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the managed instance's vulnerability assessment.

abstract Mono<ManagedInstanceVulnerabilityAssessmentInner> getAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the managed instance's vulnerability assessment.

abstract Response<ManagedInstanceVulnerabilityAssessmentInner> getWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, Context context)

Gets the managed instance's vulnerability assessment.

abstract Mono<Response<ManagedInstanceVulnerabilityAssessmentInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the managed instance's vulnerability assessment.

abstract PagedIterable<ManagedInstanceVulnerabilityAssessmentInner> listByInstance(String resourceGroupName, String managedInstanceName)

Gets the managed instance's vulnerability assessment policies.

abstract PagedIterable<ManagedInstanceVulnerabilityAssessmentInner> listByInstance(String resourceGroupName, String managedInstanceName, Context context)

Gets the managed instance's vulnerability assessment policies.

abstract PagedFlux<ManagedInstanceVulnerabilityAssessmentInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName)

Gets the managed instance's vulnerability assessment policies.

Method Details

createOrUpdate

public abstract 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, ManagedInstanceVulnerabilityAssessmentInner parameters, 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<T>.

createOrUpdateWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

delete

public abstract 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.

deleteAsync

public abstract Mono 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 Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, 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:

deleteWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract Mono 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.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String managedInstanceName, VulnerabilityAssessmentName vulnerabilityAssessmentName, 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<T>.

getWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

listByInstance

public abstract PagedIterable 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<T>.

listByInstance

public abstract PagedIterable listByInstance(String resourceGroupName, String managedInstanceName, 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<T>.

listByInstanceAsync

public abstract PagedFlux 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<T>.

Applies to