AnalyticsDefenderEasmModelFactory.AssetSecurityPolicy 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 AssetSecurityPolicy.
public static Azure.Analytics.Defender.Easm.AssetSecurityPolicy AssetSecurityPolicy (string policyName = default, bool? isAffected = default, string description = default, DateTimeOffset? firstSeen = default, DateTimeOffset? lastSeen = default, long? count = default, bool? recent = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SourceDetails> sources = default);
static member AssetSecurityPolicy : string * Nullable<bool> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<bool> * seq<Azure.Analytics.Defender.Easm.SourceDetails> -> Azure.Analytics.Defender.Easm.AssetSecurityPolicy
Public Shared Function AssetSecurityPolicy (Optional policyName As String = Nothing, Optional isAffected As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing, Optional firstSeen As Nullable(Of DateTimeOffset) = Nothing, Optional lastSeen As Nullable(Of DateTimeOffset) = Nothing, Optional count As Nullable(Of Long) = Nothing, Optional recent As Nullable(Of Boolean) = Nothing, Optional sources As IEnumerable(Of SourceDetails) = Nothing) As AssetSecurityPolicy
Parameters
- policyName
- String
- description
- String
- firstSeen
- Nullable<DateTimeOffset>
- lastSeen
- Nullable<DateTimeOffset>
- sources
- IEnumerable<SourceDetails>
Returns
A new AssetSecurityPolicy instance for mocking.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET