ArmSecurityCenterModelFactory.ServerVulnerabilityProperties 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 ServerVulnerabilityProperties.
public static Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityProperties ServerVulnerabilityProperties(string serverVulnerabilityType = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.SecurityCenter.Models.SecurityCvss> cvss = default, bool? isPatchable = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityCve> cve = default, string threat = default, DateTimeOffset? publishedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.VendorReference> vendorReferences = default);
static member ServerVulnerabilityProperties : string * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.SecurityCenter.Models.SecurityCvss> * Nullable<bool> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityCve> * string * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.SecurityCenter.Models.VendorReference> -> Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityProperties
Public Shared Function ServerVulnerabilityProperties (Optional serverVulnerabilityType As String = Nothing, Optional cvss As IReadOnlyDictionary(Of String, SecurityCvss) = Nothing, Optional isPatchable As Nullable(Of Boolean) = Nothing, Optional cve As IEnumerable(Of SecurityCve) = Nothing, Optional threat As String = Nothing, Optional publishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional vendorReferences As IEnumerable(Of VendorReference) = Nothing) As ServerVulnerabilityProperties
Parameters
- serverVulnerabilityType
- String
Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered.
Dictionary from cvss version to cvss details object.
- cve
- IEnumerable<SecurityCve>
List of CVEs.
- threat
- String
Threat name.
- publishedOn
- Nullable<DateTimeOffset>
Published time.
- vendorReferences
- IEnumerable<VendorReference>
Returns
A new ServerVulnerabilityProperties instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET