ArmSecurityCenterModelFactory.SecurityAssessmentCreateOrUpdateContent Method

Definition

Initializes a new instance of SecurityAssessmentCreateOrUpdateContent.

public static Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentCreateOrUpdateContent SecurityAssessmentCreateOrUpdateContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityCenterResourceDetails resourceDetails = default, string displayName = default, System.Collections.Generic.IDictionary<string,string> additionalData = default, Uri linksAzurePortalUri = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties metadata = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentPartner partnersData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatus status = default);
static member SecurityAssessmentCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.SecurityCenter.Models.SecurityCenterResourceDetails * string * System.Collections.Generic.IDictionary<string, string> * Uri * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentPartner * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatus -> Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentCreateOrUpdateContent
Public Shared Function SecurityAssessmentCreateOrUpdateContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional resourceDetails As SecurityCenterResourceDetails = Nothing, Optional displayName As String = Nothing, Optional additionalData As IDictionary(Of String, String) = Nothing, Optional linksAzurePortalUri As Uri = Nothing, Optional metadata As SecurityAssessmentMetadataProperties = Nothing, Optional partnersData As SecurityAssessmentPartner = Nothing, Optional status As SecurityAssessmentStatus = Nothing) As SecurityAssessmentCreateOrUpdateContent

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

resourceDetails
SecurityCenterResourceDetails

Details of the resource that was assessed Please note SecurityCenterResourceDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureResourceDetails, OnPremiseResourceDetails and OnPremiseSqlResourceDetails.

displayName
String

User friendly display name of the assessment.

additionalData
IDictionary<String,String>

Additional data regarding the assessment.

linksAzurePortalUri
Uri

Links relevant to the assessment.

metadata
SecurityAssessmentMetadataProperties

Describes properties of an assessment metadata.

partnersData
SecurityAssessmentPartner

Data regarding 3rd party partner integration.

status
SecurityAssessmentStatus

The result of the assessment.

Returns

A new SecurityAssessmentCreateOrUpdateContent instance for mocking.

Applies to