ArmSecurityCenterModelFactory.InformationProtectionPolicy Method

Definition

Initializes a new instance of InformationProtectionPolicy.

public static Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicy InformationProtectionPolicy (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? lastModifiedUtc = default, string version = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.SecurityCenter.Models.SensitivityLabel> labels = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.SecurityCenter.Models.SecurityInformationTypeInfo> informationTypes = default);
static member InformationProtectionPolicy : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * string * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.SecurityCenter.Models.SensitivityLabel> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.SecurityCenter.Models.SecurityInformationTypeInfo> -> Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicy
Public Shared Function InformationProtectionPolicy (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional lastModifiedUtc As Nullable(Of DateTimeOffset) = Nothing, Optional version As String = Nothing, Optional labels As IDictionary(Of String, SensitivityLabel) = Nothing, Optional informationTypes As IDictionary(Of String, SecurityInformationTypeInfo) = Nothing) As InformationProtectionPolicy

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

lastModifiedUtc
Nullable<DateTimeOffset>

Describes the last UTC time the policy was modified.

version
String

Describes the version of the policy.

labels
IDictionary<String,SensitivityLabel>

Dictionary of sensitivity labels.

informationTypes
IDictionary<String,SecurityInformationTypeInfo>

The sensitivity information types.

Returns

A new InformationProtectionPolicy instance for mocking.

Applies to