Aracılığıyla paylaş


SecurityAssessmentCollection Class

Definition

A class representing a collection of SecurityAssessmentResource and their operations. Each SecurityAssessmentResource in the collection will belong to the same instance of ArmResource. To get a SecurityAssessmentCollection instance call the GetSecurityAssessments method from an instance of ArmResource.

public class SecurityAssessmentCollection : Azure.ResourceManager.ArmCollection
type SecurityAssessmentCollection = class
    inherit ArmCollection
Public Class SecurityAssessmentCollection
Inherits ArmCollection
Inheritance
SecurityAssessmentCollection

Constructors

SecurityAssessmentCollection()

Initializes a new instance of the SecurityAssessmentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SecurityAssessmentCreateOrUpdateContent, CancellationToken)

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

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_CreateOrUpdate
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
CreateOrUpdateAsync(WaitUntil, String, SecurityAssessmentCreateOrUpdateContent, CancellationToken)

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

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_CreateOrUpdate
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
Exists(String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_Get
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
ExistsAsync(String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_Get
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
Get(String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Get a security assessment on your scanned resource

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_Get
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
GetAsync(String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Get a security assessment on your scanned resource

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_Get
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
GetIfExists(String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_Get
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
GetIfExistsAsync(String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_Get
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to