AssessmentsOperations interface
Interface representing a Assessments operations.
Properties
| create |
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 |
| delete | 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 |
| get | Get a security assessment on your scanned resource |
| list | Get security assessments on all your scanned resources inside a scope |
Property Details
createOrUpdate
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
createOrUpdate: (resourceId: string, assessmentName: string, assessment: SecurityAssessment, options?: AssessmentsCreateOrUpdateOptionalParams) => Promise<SecurityAssessmentResponse>
Property Value
(resourceId: string, assessmentName: string, assessment: SecurityAssessment, options?: AssessmentsCreateOrUpdateOptionalParams) => Promise<SecurityAssessmentResponse>
delete
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
delete: (resourceId: string, assessmentName: string, options?: AssessmentsDeleteOptionalParams) => Promise<void>
Property Value
(resourceId: string, assessmentName: string, options?: AssessmentsDeleteOptionalParams) => Promise<void>
get
Get a security assessment on your scanned resource
get: (resourceId: string, assessmentName: string, options?: AssessmentsGetOptionalParams) => Promise<SecurityAssessmentResponse>
Property Value
(resourceId: string, assessmentName: string, options?: AssessmentsGetOptionalParams) => Promise<SecurityAssessmentResponse>
list
Get security assessments on all your scanned resources inside a scope
list: (scope: string, options?: AssessmentsListOptionalParams) => PagedAsyncIterableIterator<SecurityAssessmentResponse, SecurityAssessmentResponse[], PageSettings>
Property Value
(scope: string, options?: AssessmentsListOptionalParams) => PagedAsyncIterableIterator<SecurityAssessmentResponse, SecurityAssessmentResponse[], PageSettings>