ArmSecurityCenterModelFactory.ContainerRegistryVulnerabilityProperties 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 ContainerRegistryVulnerabilityProperties.
public static Azure.ResourceManager.SecurityCenter.Models.ContainerRegistryVulnerabilityProperties ContainerRegistryVulnerabilityProperties (string containerRegistryVulnerabilityPropertiesType = 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, DateTimeOffset? publishedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.VendorReference> vendorReferences = default, string repositoryName = default, string imageDigest = default);
static member ContainerRegistryVulnerabilityProperties : string * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.SecurityCenter.Models.SecurityCvss> * Nullable<bool> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityCve> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.SecurityCenter.Models.VendorReference> * string * string -> Azure.ResourceManager.SecurityCenter.Models.ContainerRegistryVulnerabilityProperties
Public Shared Function ContainerRegistryVulnerabilityProperties (Optional containerRegistryVulnerabilityPropertiesType 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 publishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional vendorReferences As IEnumerable(Of VendorReference) = Nothing, Optional repositoryName As String = Nothing, Optional imageDigest As String = Nothing) As ContainerRegistryVulnerabilityProperties
Parameters
- containerRegistryVulnerabilityPropertiesType
- String
Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered, Vulnerability.
Dictionary from cvss version to cvss details object.
- cve
- IEnumerable<SecurityCve>
List of CVEs.
- publishedOn
- Nullable<DateTimeOffset>
Published time.
- vendorReferences
- IEnumerable<VendorReference>
- repositoryName
- String
Name of the repository which the vulnerable image belongs to.
- imageDigest
- String
Digest of the vulnerable image.
Returns
A new ContainerRegistryVulnerabilityProperties instance for mocking.
Applies to
Azure SDK for .NET