SubAssessmentsClient Interface

public interface SubAssessmentsClient

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

Method Summary

Modifier and Type Method and Description
abstract SecuritySubAssessmentInner get(String scope, String assessmentName, String subAssessmentName)

Get a security sub-assessment on your scanned resource.

abstract Response<SecuritySubAssessmentInner> getWithResponse(String scope, String assessmentName, String subAssessmentName, Context context)

Get a security sub-assessment on your scanned resource.

abstract PagedIterable<SecuritySubAssessmentInner> list(String scope, String assessmentName)

Get security sub-assessments on all your scanned resources inside a scope.

abstract PagedIterable<SecuritySubAssessmentInner> list(String scope, String assessmentName, Context context)

Get security sub-assessments on all your scanned resources inside a scope.

abstract PagedIterable<SecuritySubAssessmentInner> listAll(String scope)

Get security sub-assessments on all your scanned resources inside a subscription scope.

abstract PagedIterable<SecuritySubAssessmentInner> listAll(String scope, Context context)

Get security sub-assessments on all your scanned resources inside a subscription scope.

Method Details

get

public abstract SecuritySubAssessmentInner get(String scope, String assessmentName, String subAssessmentName)

Get a security sub-assessment on your scanned resource.

Parameters:

scope - The scope of the sub-assessment.
assessmentName - The security assessment key - unique key for the assessment type.
subAssessmentName - The Sub-Assessment Key - Unique key for the sub-assessment type.

Returns:

a security sub-assessment on your scanned resource.

getWithResponse

public abstract Response<SecuritySubAssessmentInner> getWithResponse(String scope, String assessmentName, String subAssessmentName, Context context)

Get a security sub-assessment on your scanned resource.

Parameters:

scope - The scope of the sub-assessment.
assessmentName - The security assessment key - unique key for the assessment type.
subAssessmentName - The Sub-Assessment Key - Unique key for the sub-assessment type.
context - The context to associate with this operation.

Returns:

a security sub-assessment on your scanned resource along with Response<T>.

list

public abstract PagedIterable<SecuritySubAssessmentInner> list(String scope, String assessmentName)

Get security sub-assessments on all your scanned resources inside a scope.

Parameters:

scope - The scope of the sub-assessment.
assessmentName - The security assessment key - unique key for the assessment type.

Returns:

security sub-assessments on all your scanned resources inside a scope as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<SecuritySubAssessmentInner> list(String scope, String assessmentName, Context context)

Get security sub-assessments on all your scanned resources inside a scope.

Parameters:

scope - The scope of the sub-assessment.
assessmentName - The security assessment key - unique key for the assessment type.
context - The context to associate with this operation.

Returns:

security sub-assessments on all your scanned resources inside a scope as paginated response with PagedIterable<T>.

listAll

public abstract PagedIterable<SecuritySubAssessmentInner> listAll(String scope)

Get security sub-assessments on all your scanned resources inside a subscription scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

security sub-assessments on all your scanned resources inside a subscription scope as paginated response with PagedIterable<T>.

listAll

public abstract PagedIterable<SecuritySubAssessmentInner> listAll(String scope, Context context)

Get security sub-assessments on all your scanned resources inside a subscription scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

security sub-assessments on all your scanned resources inside a subscription scope as paginated response with PagedIterable<T>.

Applies to