AssessmentsClient Interface
public interface AssessmentsClient
An instance of this class provides access to all the operations defined in AssessmentsClient.
Method Summary
Method Details
createOrUpdate
public abstract SecurityAssessmentResponseInner createOrUpdate(String resourceId, String assessmentName, SecurityAssessment assessment)
Create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<SecurityAssessmentResponseInner> createOrUpdateWithResponse(String resourceId, String assessmentName, SecurityAssessment assessment, Context context)
Create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result.
Parameters:
Returns:
delete
public abstract void delete(String resourceId, String assessmentName)
Delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceId, String assessmentName, Context context)
Delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result.
Parameters:
Returns:
get
public abstract SecurityAssessmentResponseInner get(String resourceId, String assessmentName)
Get a security assessment on your scanned resource.
Parameters:
Returns:
getWithResponse
public abstract Response<SecurityAssessmentResponseInner> getWithResponse(String resourceId, String assessmentName, ExpandEnum expand, Context context)
Get a security assessment on your scanned resource.
Parameters:
Returns:
list
public abstract PagedIterable<SecurityAssessmentResponseInner> list(String scope)
Get security assessments on all your scanned resources inside a scope.
Parameters:
Returns:
list
public abstract PagedIterable<SecurityAssessmentResponseInner> list(String scope, Context context)
Get security assessments on all your scanned resources inside a scope.
Parameters:
Returns: