Assessments Interface
public interface Assessments
Resource collection API of Assessments.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Security |
| abstract void |
deleteById(String id)
Delete a security assessment on your resource. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, Context context)
Delete a security assessment on your resource. |
| abstract void |
deleteByResourceGroup(String resourceId, String assessmentName)
Delete a security assessment on your resource. |
| abstract Response<Void> |
deleteByResourceGroupWithResponse(String resourceId, String assessmentName, Context context)
Delete a security assessment on your resource. |
|
abstract
Security |
get(String resourceId, String assessmentName)
Get a security assessment on your scanned resource. |
|
abstract
Security |
getById(String id)
Get a security assessment on your scanned resource. |
|
abstract
Response<Security |
getByIdWithResponse(String id, ExpandEnum expand, Context context)
Get a security assessment on your scanned resource. |
|
abstract
Response<Security |
getWithResponse(String resourceId, String assessmentName, ExpandEnum expand, Context context)
Get a security assessment on your scanned resource. |
|
abstract
Paged |
list(String scope)
Get security assessments on all your scanned resources inside a scope. |
|
abstract
Paged |
list(String scope, Context context)
Get security assessments on all your scanned resources inside a scope. |
Method Details
define
public abstract SecurityAssessmentResponse.DefinitionStages.Blank define(String name)
Begins definition for a new SecurityAssessmentResponse resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
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:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, 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:
deleteByResourceGroup
public abstract void deleteByResourceGroup(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:
deleteByResourceGroupWithResponse
public abstract Response<Void> deleteByResourceGroupWithResponse(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 SecurityAssessmentResponse get(String resourceId, String assessmentName)
Get a security assessment on your scanned resource.
Parameters:
Returns:
getById
public abstract SecurityAssessmentResponse getById(String id)
Get a security assessment on your scanned resource.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<SecurityAssessmentResponse> getByIdWithResponse(String id, ExpandEnum expand, Context context)
Get a security assessment on your scanned resource.
Parameters:
Returns:
getWithResponse
public abstract Response<SecurityAssessmentResponse> getWithResponse(String resourceId, String assessmentName, ExpandEnum expand, Context context)
Get a security assessment on your scanned resource.
Parameters:
Returns:
list
public abstract PagedIterable<SecurityAssessmentResponse> list(String scope)
Get security assessments on all your scanned resources inside a scope.
Parameters:
Returns:
list
public abstract PagedIterable<SecurityAssessmentResponse> list(String scope, Context context)
Get security assessments on all your scanned resources inside a scope.
Parameters:
Returns: