ArmSecurityCenterModelFactory.SecurityAssessmentData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SecurityAssessmentData.
public static Azure.ResourceManager.SecurityCenter.SecurityAssessmentData SecurityAssessmentData (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.SecurityAssessmentStatusResult status = default);
static member SecurityAssessmentData : 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.SecurityAssessmentStatusResult -> Azure.ResourceManager.SecurityCenter.SecurityAssessmentData
Public Shared Function SecurityAssessmentData (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 SecurityAssessmentStatusResult = Nothing) As SecurityAssessmentData
Parameters
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.
The result of the assessment.
Returns
A new SecurityAssessmentData instance for mocking.
Applies to
Azure SDK for .NET