SubAssessments interface
Interface representing a SubAssessments.
Methods
get(string, string, string, Sub |
Get a security sub-assessment on your scanned resource |
list(string, string, Sub |
Get security sub-assessments on all your scanned resources inside a scope |
list |
Get security sub-assessments on all your scanned resources inside a subscription scope |
Method Details
get(string, string, string, SubAssessmentsGetOptionalParams)
Get a security sub-assessment on your scanned resource
function get(scope: string, assessmentName: string, subAssessmentName: string, options?: SubAssessmentsGetOptionalParams): Promise<SecuritySubAssessment>
Parameters
- scope
-
string
Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
- assessmentName
-
string
The Assessment Key - Unique key for the assessment type
- subAssessmentName
-
string
The Sub-Assessment Key - Unique key for the sub-assessment type
- options
- SubAssessmentsGetOptionalParams
The options parameters.
Returns
Promise<SecuritySubAssessment>
list(string, string, SubAssessmentsListOptionalParams)
Get security sub-assessments on all your scanned resources inside a scope
function list(scope: string, assessmentName: string, options?: SubAssessmentsListOptionalParams): PagedAsyncIterableIterator<SecuritySubAssessment, SecuritySubAssessment[], PageSettings>
Parameters
- scope
-
string
Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
- assessmentName
-
string
The Assessment Key - Unique key for the assessment type
- options
- SubAssessmentsListOptionalParams
The options parameters.
Returns
listAll(string, SubAssessmentsListAllOptionalParams)
Get security sub-assessments on all your scanned resources inside a subscription scope
function listAll(scope: string, options?: SubAssessmentsListAllOptionalParams): PagedAsyncIterableIterator<SecuritySubAssessment, SecuritySubAssessment[], PageSettings>
Parameters
- scope
-
string
Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
The options parameters.